--- Log opened Mon Apr 01 00:00:28 2013 2013-04-01T00:01:25 -!- barthess [~barthess@178.154.1.125] has quit [Quit: Leaving.] 2013-04-01T00:01:51 -!- Erlkoenig [~erlkoenig@pD95ECC37.dip.t-dialin.net] has quit [Quit: Leaving.] 2013-04-01T00:02:47 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Read error: Connection reset by peer] 2013-04-01T00:02:57 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-01T00:14:29 -!- CRF_Peter [~Peter@dhcp-179031.eduroam.chalmers.se] has quit [Ping timeout: 240 seconds] 2013-04-01T00:20:39 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Read error: Connection reset by peer] 2013-04-01T00:21:10 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-01T00:21:24 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-01T00:26:40 -!- MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-01T00:38:23 <+Steffanx> What is that temp. thingy controlled by jpa- ? 2013-04-01T00:38:32 <+Steffanx> tiny pic/avr? 2013-04-01T00:38:36 <+Steffanx> msp430? 2013-04-01T00:39:08 < jpa-> pic10f200 2013-04-01T00:39:34 <+Steffanx> Aw, too bd 2013-04-01T00:39:41 < jpa-> full 228 instructions of excellent jpa code 2013-04-01T00:39:46 < jpa-> why bad? 2013-04-01T00:39:48 < jpa-> it's great 2013-04-01T00:39:54 <+Steffanx> Nah, pic :) 2013-04-01T00:40:02 <+Steffanx> but yeah, if it works :) 2013-04-01T00:40:07 < jpa-> pic is perfect architecture at that scale 2013-04-01T00:40:14 -!- CRF_Peter [~Peter@193.11.200.145] has joined ##stm32 2013-04-01T00:40:21 < jpa-> (and it runs on 100µA or so) 2013-04-01T00:47:29 -!- CRF_Peter [~Peter@193.11.200.145] has quit [Ping timeout: 240 seconds] 2013-04-01T00:49:26 < upgrdman> :( seems like im not the only one who cant get the f0 spi to work in 8bit mode 2013-04-01T01:12:03 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-01T01:16:55 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-01T01:22:59 -!- DaKu is now known as daku 2013-04-01T01:25:04 -!- baird [~cjb@ppp121-45-182-147.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-04-01T01:40:04 <+Steffanx> Weird upgrdman 2013-04-01T01:40:17 < upgrdman> ya 2013-04-01T01:40:39 < upgrdman> i keep gettings 16 clock cycles per byte 2013-04-01T01:40:56 < upgrdman> and some guy posted on the HaD comments last year having the same problem 2013-04-01T01:42:09 < jpa-> send 2 bytes at a time 2013-04-01T01:42:11 < jpa-> problem solved 2013-04-01T01:42:28 <+Steffanx> /banforlife jpa- 2013-04-01T01:44:09 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-01T01:44:12 < upgrdman> in this case i could, but that would not be realistic for other spi devices i plan to use later or 2013-04-01T01:44:16 < upgrdman> on* 2013-04-01T01:44:27 < jpa-> upgrdman: do any of the other bit widths work? 2013-04-01T01:44:42 < upgrdman> i've only tried 8bit 2013-04-01T01:44:45 < jpa-> i.e. is the setting just totally ignored 2013-04-01T01:44:51 < upgrdman> hum 2013-04-01T01:44:54 < upgrdman> i'll try others 2013-04-01T01:47:39 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Remote host closed the connection] 2013-04-01T01:47:42 < zyp> did you see the errata sheet? 2013-04-01T01:47:49 < zyp> http://www.st.com/st-web-ui/static/active/en/resource/technical/document/errata_sheet/DM00058837.pdf 2013-04-01T01:47:50 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-01T01:47:50 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-01T01:47:50 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-01T01:47:53 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-01T01:47:59 < zyp> 2.3.1, is that what you observe? 2013-04-01T01:48:39 <+Steffanx> zlog 2013-04-01T01:48:39 < zlog> Steffanx: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2013-03-31.html 2013-04-01T01:50:23 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Client Quit] 2013-04-01T01:53:22 < upgrdman> hum it still sends 16 bits at a time, padding with zeros. tried 4bit and 12bit mode 2013-04-01T01:53:29 < upgrdman> *clicks* pdf 2013-04-01T01:57:19 < upgrdman> zyp: i dont quite understand what they're saying. are they saying use 16bit more or expect problems? if so... wtf is wrong with them. 2013-04-01T01:58:53 < jpa-> it seems they are saying that "reception will do funny things" 2013-04-01T01:59:03 < jpa-> no idea why transmission would do funny things, though 2013-04-01T02:00:18 < upgrdman> so in other words, spi is broken 2013-04-01T02:00:29 < upgrdman> why would they put that into production? 2013-04-01T02:00:43 < jpa-> i wonder what "packing" mode is 2013-04-01T02:01:33 < zyp> upgrdman, I suspect you are just doing something wrong then 2013-04-01T02:02:01 < zyp> but I don't have any hardware available to test it for myself 2013-04-01T02:02:09 < jpa-> his CR1 and CR2 looked fine yesterday :) 2013-04-01T02:04:08 < zyp> even so, independent reproduction is a nice way to check where the problem is located 2013-04-01T02:04:19 < jpa-> indeed 2013-04-01T02:04:41 < jpa-> i haven't bought F0 discovery because i see no point in F0 devices :P 2013-04-01T02:05:14 < zyp> I have, but I didn't bring it with me 2013-04-01T02:06:01 -!- baird [~cjb@ppp121-45-182-147.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-01T02:06:44 < zyp> of course, it's so cheap I could run out and pick up another today, but I'm not that interested :p 2013-04-01T02:09:57 < upgrdman> zyp: my code right now is trivial: http://pastebin.com/rSkh4hvQ .... which results in: http://farrellf.com/temp/logic_analyzer.png 2013-04-01T02:11:13 < Thorn> upgrdman: is there a busy flag in SR? 2013-04-01T02:11:48 < upgrdman> yes 2013-04-01T02:12:02 < upgrdman> i guess i could poll it 2013-04-01T02:12:04 < Thorn> try waiting for it to clear 2013-04-01T02:12:04 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: and like that, he's gone] 2013-04-01T02:12:16 < upgrdman> waiting before reading the DR? 2013-04-01T02:13:01 < Thorn> everywhere you can at first 2013-04-01T02:13:06 < upgrdman> ok 2013-04-01T02:15:39 < dongs> hello dongs 2013-04-01T02:20:04 < upgrdman> Thorn: i added a wait for busy to clear before and after writing to the DR, but the waveforms are the same. 2013-04-01T02:21:43 < upgrdman> it looks like i'll have to send two bytes, then receive two bytes... instead of one at a time. 2013-04-01T02:22:38 < dongs> youre doing it wrong 2013-04-01T02:23:38 < Thorn> are you sure it's not the DR read that causes extra 8 clock cycles? 2013-04-01T02:24:04 < upgrdman> dongs: elaborate please? 2013-04-01T02:24:13 < upgrdman> Thorn: i'll try not reading the DR 2013-04-01T02:24:15 < upgrdman> brb 2013-04-01T02:25:41 < upgrdman> not readind DR had no effect :( 2013-04-01T02:27:39 < upgrdman> from the rm "When the data frame size fits into one byte (less than or equal to 8 bits), data packing is used automatically when any read or write 16-bit access is performed on the SPIx_DR register." ... i dont think you can read the DR as a byte. i tried and nother ran, probably ended up in a fault handler 2013-04-01T02:27:57 < upgrdman> nothing* 2013-04-01T02:33:20 < zyp> oh, maybe that's it 2013-04-01T02:34:21 < zyp> try making a pointer like this: volatile uint8_t* dr = (volatile uint8_t*)&SPI2->DR; 2013-04-01T02:34:40 < zyp> then access *dr instead of SPI2->DR 2013-04-01T02:35:32 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-01T02:37:11 < upgrdman> i tried *(uint8_t*) 0x4000380c 2013-04-01T02:37:15 < upgrdman> i'll try that 2013-04-01T02:40:17 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Read error: Operation timed out] 2013-04-01T02:40:40 < upgrdman> zyp: ya, nothing happens. probably fault handler 2013-04-01T02:41:00 < upgrdman> i cant debug though :( had to reuse swd pins as gpios 2013-04-01T02:41:59 < Thorn> void HardFault_Handler(void) { LED_PORT |= RED_LED; /* to be sure */ while(1) ;; } 2013-04-01T02:42:40 -!- Laurenceb_ [~Laurence@host86-174-20-97.range86-174.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-01T03:50:24 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-01T03:54:09 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-01T04:29:13 < upgrdman> well i got it works in 16bit mode. sucks that stm would release a mcu that couldnt do 8bit spi properly. i would expect that from a chinese company... not someone like STM 2013-04-01T04:33:38 < zippe> upgrdman: it's more likely that you're doing it wrong 2013-04-01T04:33:56 < upgrdman> zippe: my code works fine with the f4 2013-04-01T04:34:06 < upgrdman> so logic wise, it should be ok 2013-04-01T04:34:10 < upgrdman> and looking at the rm 2013-04-01T04:34:21 < upgrdman> i dont see what i would be doing wrong. 2013-04-01T04:34:32 < gxti> if you did see it then you would have solved it already 2013-04-01T04:34:35 < zippe> Well, trusting their documentation, for starters. 2013-04-01T04:34:45 < gxti> the fact that you haven't seen it yet does not mean that you aren't in fact doing it wrong 2013-04-01T04:34:51 < upgrdman> sure 2013-04-01T04:35:03 < upgrdman> but the errata linked to earlier spells it out 2013-04-01T04:38:44 < upgrdman> "trusting their documentation, for starters." do you mean i should not trust their docs? 2013-04-01T04:45:56 < zippe> To tell you the truth, the whole truth and nothing but the truth? 2013-04-01T04:45:57 < zippe> No. 2013-04-01T04:46:11 < zippe> Go look at their reference code. 2013-04-01T04:48:16 < zippe> Bitscope people screwed me. *anger* 2013-04-01T04:48:48 < qyx_> why? 2013-04-01T04:51:12 < zippe> Their software doesn't work, and they're not answering my emails 2013-04-01T04:51:33 < qyx_> which os? i was considering buying one 2013-04-01T04:51:50 < zippe> This is on the Mac 2013-04-01T04:54:19 < qyx_> linux support probably won't be much better :S 2013-04-01T04:55:17 < zippe> Almost certainly. 2013-04-01T04:56:24 -!- peque [~peque@249.Red-95-121-251.dynamicIP.rima-tde.net] has quit [Quit: peque] 2013-04-01T05:03:14 < dongs> im pretty sure no reputable company is *required* to support 3rd world/niche OSs 2013-04-01T05:03:24 < dongs> and I'm sure their windows software works great. 2013-04-01T05:06:46 -!- fst [~stf@cpe-173-88-167-240.neo.res.rr.com] has joined ##stm32 2013-04-01T05:07:35 < zippe> Didn't say anything about "required" to support anything 2013-04-01T05:07:38 < qyx_> and i am sure your hate kills you once 2013-04-01T05:07:42 < zippe> They claim to support it 2013-04-01T05:07:45 < zippe> So I paid them money 2013-04-01T05:07:51 < zippe> It turns out they were liars 2013-04-01T05:07:54 < zippe> So I hate them. 2013-04-01T05:08:03 < zippe> That all seems fairly straightforward to me. 2013-04-01T05:08:33 < zippe> In my position, I can shrug off a $600 tool that's not supported by the vendor with a bit of ranting on various forums. 2013-04-01T05:08:48 < zippe> For some other people, perhaps not so much. 2013-04-01T05:09:34 < zippe> If I find myself in Sydney anytime soon, I may go take a dump on their doorstep, of course. 2013-04-01T05:10:01 < dongs> or you can just hire baird to do it 2013-04-01T05:10:05 < baird> \o/ 2013-04-01T05:11:13 < zippe> Also an option I guess. 2013-04-01T05:11:46 < zippe> In the meantime, I want ST to explain why they seem to think that holding SCL and SDA low for 30µs before starting an I2C transaction is a good idea. 2013-04-01T05:12:50 < baird> 28kms from here, but also near to a train station. Shall I hit the prunes? :D 2013-04-01T05:13:20 < dongs> zippe: are you sure youre not doing it wrong 2013-04-01T05:14:01 < zippe> I am fairly sure something is wrong 2013-04-01T05:14:20 < zippe> Especially when a new build of the code means that instead of SCL toggling, I just get noise 2013-04-01T05:14:36 < zippe> baird: honestly, I'd rather they just answered my email and got back to their Pascal 2013-04-01T05:14:58 < zippe> baird: but I haven't heard from them in three months, so I am assuming I'm being roundfiled 2013-04-01T05:16:16 < dongs> ive been very happy with the taiwan la that I have. 2013-04-01T05:16:29 < dongs> well worth it and windows software is great + support response is instant 2013-04-01T05:16:52 < dongs> they had fixed bugs in decoder modules within minutes of me reporting them at times. 2013-04-01T05:21:47 -!- Netsplit *.net <-> *.split quits: Simon--, rlc 2013-04-01T05:38:50 -!- rlc [~ubuntu@CPE002191edd529-CM001bd7aa324e.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-01T05:38:50 -!- Simon-- [~sim@2606:6a00:0:28:5604:a6ff:fe02:702b] has joined ##stm32 2013-04-01T05:43:03 -!- BusError [~michel@host81-152-148-34.range81-152.btcentralplus.com] has quit [Excess Flood] 2013-04-01T05:43:13 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Excess Flood] 2013-04-01T05:43:25 -!- Vutral_ [~ss@vutral.net] has joined ##stm32 2013-04-01T05:43:27 -!- BusError [~michel@host81-152-148-34.range81-152.btcentralplus.com] has joined ##stm32 2013-04-01T05:45:53 < fst> anyone from Black Magic Probe around? 2013-04-01T05:47:09 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-04-01T05:47:27 < gsmcmullin> fst: How can I help you? 2013-04-01T05:48:35 < fst> gsmcmullin: I was told that BMP can run on most of the ST discovery boards as the ST-Link does on the F103 chip 2013-04-01T05:49:21 < gsmcmullin> You can replace the st-link firmware with the bmp firmware if you like. 2013-04-01T05:49:28 < fst> As such, I am curious about a DFU approach for flashing over USB as opposed to the method described on embdev.net (http://embdev.net/articles/STM_Discovery_as_Black_Magic_Probe#Recovering_from_broken_application_software) 2013-04-01T05:49:33 -!- Netsplit *.net <-> *.split quits: HTT-Bird 2013-04-01T05:49:33 < gsmcmullin> There is no way to get back the st-link firmware as far as I know 2013-04-01T05:49:50 * fst nods 2013-04-01T05:50:23 < gsmcmullin> You need to get the DFU bootloader on there first. 2013-04-01T05:50:29 < fst> I saw the Taylor Killian blog which seems to have gotten close to fruition, though it seems to have dropped off. 2013-04-01T05:50:45 < fst> How does the ST-Link.exe windows app do this for firmware updates? 2013-04-01T05:50:57 < gsmcmullin> I have no idea, and nor do I care. 2013-04-01T05:51:25 < fst> Well, the reason I care is because this may be a plug-and-flash method that is appropriate for BMP. 2013-04-01T05:52:28 < gsmcmullin> I don't have any st-links that still have st's firmware on them, nor do I have windows or st-link.exe, so I really can't help you. 2013-04-01T05:53:32 < gsmcmullin> But if it has a bootloader that can flash an arbitrary binary it can probably be made to work. 2013-04-01T05:53:51 < fst> In any case, I have some experience with RE on the embedded side though I am weak in USB. I have the windows and pre-flashed ST's. I may also have the original firmware from a russian forum, though I intend to verify that independently before blindly flashing. 2013-04-01T05:55:18 < fst> Indeed. I suppose I ought to contact Texane and the other st-util-esque developers about the USB side of things for ST-Link/V2 2013-04-01T05:55:52 < gsmcmullin> That would probably be a good start. 2013-04-01T05:55:58 -!- HTT-Bird [~Birdz0r@unaffiliated/htt-bird] has joined ##stm32 2013-04-01T05:56:22 < fst> gsmcmullin, anyway, I wanted to ping you to gauge interest. Is this something that is worth developing? 2013-04-01T05:57:11 < gsmcmullin> For me no, for everyone else out there with an st-link, probably yes. 2013-04-01T05:57:21 < fst> ok. 2013-04-01T05:58:09 < fst> Thanks. I'll let you know if anything else comes up on the BMP side of things. 2013-04-01T05:58:20 < gsmcmullin> Note the st-link only has the 64k device, and my firmware is close to filling this. As support is added for new devices or other features it may not fit in future. 2013-04-01T05:58:59 < fst> It should not be difficult to compile/recompile for the targets under development 2013-04-01T05:59:25 < fst> or even have a module approach (I hate complexity like this in embedded, but it is nice when it works) 2013-04-01T05:59:36 < fst> anyway, cross that bridge when we get there. 2013-04-01T05:59:59 < gsmcmullin> fst: Sure. Let me know how it goes. Call me by name, I don't follow this channel closely. 2013-04-01T06:00:20 < fst> copy that. where do you idle actively? 2013-04-01T06:01:37 < gsmcmullin> Not so much on irc at the moment, but more often on #libopencm3. 2013-04-01T06:04:07 < fst> I will keep that in mind. Thank you much! 2013-04-01T06:04:24 < gsmcmullin> No problem. 2013-04-01T06:05:00 < gxti> afaik the stlink bootloader has indeed been cracked 2013-04-01T06:06:02 < fst> gxti: know of a hello kitty world example? I would love to bootstrap that into a BMP flash script 2013-04-01T06:07:44 < gxti> this guy was just interested in getting the original payload but there's some info: http://www.taylorkillian.com/2013/01/retrieving-st-linkv2-firmware-from.html 2013-04-01T06:10:25 < fst> I have sent him a letter, though from his bio I expect he will be busy with school at the moment. 2013-04-01T06:10:50 < fst> I wish I were better at USB hacking =) 2013-04-01T06:11:52 < fst> well, no time like the present 2013-04-01T06:16:22 < dongs> gsmcmullin: C8T6 still has 128k of flash 2013-04-01T06:16:32 < dongs> (same as CBT6, just flash size register is wrong). 2013-04-01T06:16:38 < dongs> so you can safely use 128k on them anyway. 2013-04-01T06:21:10 < qyx_> http://i.imgur.com/hCdXiwh.png 2013-04-01T06:21:23 < qyx_> anyone know wha does this kind of errors in constellation plot? 2013-04-01T06:22:57 < dongs> nice 2013-04-01T06:23:15 < gxti> indeed 2013-04-01T06:24:03 < qyx_> not really 2013-04-01T06:24:22 < qyx_> that points doverging from 4x4 matrix causes that it is not usable using wam256 2013-04-01T06:24:36 < gxti> still neat, even if it's derpy :p 2013-04-01T06:25:05 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-01T06:25:41 < fst> dongs: how do you know you can use 128 KB on the C8T6? 2013-04-01T06:26:32 < fst> the data sheet seems to indicate that B = 128 KB and 8 = 64 KB of flash on the STM32F103C[8B]T6 2013-04-01T06:27:20 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-01T06:27:24 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-01T06:27:24 < gxti> he is implying that the C8s may just be fused CBs 2013-04-01T06:27:43 < gxti> same hardware but with a bit flipped to advertise a lower size 2013-04-01T06:27:55 < gsmcmullin> dongs: It may, but you can't depend on it. I don't want some idiot crying to me because it didn't work. 2013-04-01T06:27:57 < gxti> not something you can rely on, but maybe useful 2013-04-01T06:28:45 < fst> Might that be a marketing ploy or could it serve some utility for, say, quality of the flash on the die? 2013-04-01T06:29:15 < zippe> fst: likely to be a bit of both 2013-04-01T06:29:35 < fst> so lower quality flash chips get the 8 and the round robin read/write for flash gets to the guaranteed whatever cycles of use? 2013-04-01T06:29:41 < zippe> There's probably a fuse that lets them pick the high or low half 2013-04-01T06:29:51 < zippe> Silly not to fuse the other half off though 2013-04-01T06:30:00 < gxti> that's why i don't think that's the case 2013-04-01T06:30:08 < gxti> if they can remap it then they can disable the other half 2013-04-01T06:30:23 < gxti> which means it's probably not yield-related 2013-04-01T06:30:30 < fst> it's probably used, just remapped for rotation and with a greater number of dead blocks 2013-04-01T06:30:37 < fst> hmm 2013-04-01T06:30:57 < fst> this is not very high density flash, but then again ST is fairly economy 2013-04-01T06:31:01 < gxti> it doesn't have wear levelling 2013-04-01T06:31:10 * fst shrugs 2013-04-01T06:31:25 < fst> read, fire, AIM! 2013-04-01T06:32:07 < gxti> probably the answer is "marketing" i.e. they can sell more units if they offer a cheaper part with less flash 2013-04-01T06:34:42 < dongs> gsmcmullin: it does work 2013-04-01T06:35:16 < dongs> gsmcmullin: price difference between C8 and CB is so minimal it would cost ST more to actually have half the flash on the device. 2013-04-01T06:35:28 < dongs> ive shipped > 1000 things with C8 and I store settings in top 128K 2013-04-01T06:35:30 < gsmcmullin> dongs: Yours does, today. There's no way you can guarantee it always will. 2013-04-01T06:35:32 < dongs> never had any issues 2013-04-01T06:35:55 < gxti> lol. 2013-04-01T06:35:57 < dongs> of course, I just stopped buying C8 and just use CB. 2013-04-01T06:36:04 < dongs> since the price is same. 2013-04-01T06:36:14 < dongs> but until I ran out of C8 thats what i did. 2013-04-01T06:37:17 < dongs> gxti: is that gnuuradio 2013-04-01T06:37:31 < dongs> fst: yes, but there's actually 128k physical flash on both devices. 2013-04-01T06:37:37 < gxti> not me, doofus 2013-04-01T06:37:42 < dongs> fst: you can address, read, write, erase, etc top 64k. 2013-04-01T06:37:52 < dongs> o that was qyx_ 2013-04-01T06:37:54 < dongs> k nvm 2013-04-01T06:38:10 < dongs> looks like gnu/lunix GUI 2013-04-01T06:38:23 < dongs> no access keys on controls, and spacing/padding is nonexistent 2013-04-01T06:39:01 < gxti> it's probably autogenerated from the modules or something 2013-04-01T06:39:29 < gxti> it's drag and drop, you should like it 2013-04-01T06:41:16 < dongs> drama and drop 2013-04-01T06:41:24 < dongs> and console probably full of GTK Assert messages 2013-04-01T06:41:34 < gxti> well yeah, that's how you know it's working 2013-04-01T06:41:39 < fst> It appears the commercial ST-Link/V2 standalone unit also has a STM32F103C8 2013-04-01T06:41:50 < fst> thanks dongs 2013-04-01T06:42:40 < dongs> fst: you cna go ahead and listen to gsmcmullin but based on my experience with 1k units I can say *currently available* C8T6 chips all have 128K flash addressable. Flash Size register of course reports 64K, but you can still access upper bank. 2013-04-01T06:43:36 < fst> if there is any trouble with BMP, we can just cut out unused target architectures on a per app basis for the mean time 2013-04-01T06:43:37 < qyx_> dongs: yes it is 2013-04-01T06:45:52 < gsmcmullin> Flash whatever you like on your st-link, whether it fits or not, but don't complain to me if it doesn't work. 2013-04-01T06:49:56 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-04-01T06:56:54 < fst> Wait… it wasn't 4/1 for you guys half an hour ago, was it? 2013-04-01T06:56:57 < fst> =) 2013-04-01T06:58:37 < fst> and it looks like the original STLinkV2 bin file is just about 66 KB 2013-04-01T07:18:00 -!- R2COM1 [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-01T07:21:34 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 240 seconds] 2013-04-01T07:38:16 < upgrdman> anyone know if the pcb of a discovery board and be cut to result in a small stlinkv2? 2013-04-01T07:38:47 < dongs> STM8S stlink can be cut 2013-04-01T07:38:50 < dongs> others might be a bit harder 2013-04-01T07:39:24 < upgrdman> i have an f4 laying around... and was planning to hot-air remove the f4 for a custom pcb 2013-04-01T07:39:35 < dongs> are you that fucking cheap? 2013-04-01T07:39:36 < dongs> jesus christ. 2013-04-01T07:39:37 < upgrdman> maybe i should try poking around after pulling the f4 2013-04-01T07:40:22 < upgrdman> dongs: no, but i have an f4disco that i probably wont use. and i have a hot air station... so might as well put the f4 and the stlink to good use, separatelt 2013-04-01T07:59:18 < R2COM1> removing tqfp64 or even 100 with hot air rework takes almost no time 2013-04-01T07:59:24 -!- R2COM1 is now known as R2COM 2013-04-01T08:04:43 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 260 seconds] 2013-04-01T08:06:43 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-01T08:17:28 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-01T08:30:48 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-01T08:41:58 -!- BJfreeman [~bjfree@178.sub-75-233-43.myvzw.com] has quit [Quit: had a good time] 2013-04-01T08:53:41 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-01T08:53:45 < Robint91> hi all 2013-04-01T08:53:49 < Robint91> seen the eevblog vid 2013-04-01T09:02:19 < R2COM> no 2013-04-01T09:05:07 -!- dekar_ [~dekar@212.255.252.14] has joined ##stm32 2013-04-01T09:05:08 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-04-01T09:08:53 -!- dekar__ [~dekar@212.255.248.166] has quit [Ping timeout: 255 seconds] 2013-04-01T09:10:04 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Quit: my exit] 2013-04-01T09:10:29 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-01T09:10:59 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 240 seconds] 2013-04-01T09:23:20 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 245 seconds] 2013-04-01T09:27:33 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-04-01T09:35:19 < dongs> i need a ~5A PTC, am i gonna get that in 1206 or should i look for somethin bigger 2013-04-01T09:37:20 < qyx_> lol 2013-04-01T09:37:34 < dongs> all im seeing for 5A is bullshit throughole stuff 2013-04-01T09:37:38 < qyx_> ep 2013-04-01T09:37:39 < qyx_> yep 2013-04-01T09:37:48 < qyx_> the ones in smd packages are up to ~2A 2013-04-01T09:37:54 < qyx_> at least according to what i saw 2013-04-01T09:56:07 -!- rlc [~ubuntu@CPE002191edd529-CM001bd7aa324e.cpe.net.cable.rogers.com] has quit [Ping timeout: 246 seconds] 2013-04-01T10:00:48 < fst> Robint91, the unholy AVR+PIC union? 2013-04-01T10:01:02 < Robint91> yeah 2013-04-01T10:02:26 < fst> someone has to do it 2013-04-01T10:04:16 -!- rlc [~ubuntu@CPE002191edd529-CM001bd7aa324e.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-01T10:06:19 < dongs> what hte fuck is it 2013-04-01T10:06:20 < dongs> i dont read blogs 2013-04-01T10:07:15 < fst> it's an annoying high-pitched aussi who is one of 3 people to do regular tronics social media video casts 2013-04-01T10:09:13 < R2COM> well, looks like some HP dudes do give him some attention 2013-04-01T10:09:42 < fst> I can tell by his tone that he now has sponsors 2013-04-01T10:09:47 < dongs> haha 2013-04-01T10:09:48 < R2COM> I think dongs should send him some of his boards for evaluation 2013-04-01T10:09:56 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-01T10:09:59 < dongs> dude's a sellout 2013-04-01T10:10:00 < dongs> fuckhim 2013-04-01T10:10:25 < fst> his earlier eps are pretty irreverent 2013-04-01T10:10:36 < fst> in the Simpsons kind of way 2013-04-01T10:11:44 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Client Quit] 2013-04-01T10:12:17 < fst> but oh how that advertising money tastes once you get it… all for the low low price of 2013-04-01T10:12:23 < fst> your integrity 2013-04-01T10:12:44 < R2COM> well... he wants some more pussy, gotta pay for that 2013-04-01T10:14:32 < fst> he can practice his sales pitches in the bar then. Salesmen and embedded engineering haven't yet blended 2013-04-01T10:15:57 < R2COM> watching 2013-04-01T10:15:58 < fst> I mean, seriously think about it… would you watch EE advertisements for fun? 2013-04-01T10:16:20 < R2COM> I just sometimes while drink beer watch this and that shit, just to see whats up, not seriouslu into all that 2013-04-01T10:16:37 < fst> it's getting late 2013-04-01T10:21:50 < R2COM> lol 2013-04-01T10:21:51 < R2COM> http://www.youtube.com/watch?v=iHFm-kVTXW8 2013-04-01T10:24:11 < fst> well it looks like the Russians have a legit dump of the ST-Link/V2 firmware 2013-04-01T10:24:32 < fst> STLinkV2.J16.S4.bin 2013-04-01T10:25:43 < fst> http://forum.easyelectronics.ru/viewtopic.php?p=236648&sid=2bd9b84f0369442d53a4fbd79a310402#p236648 2013-04-01T10:29:03 < fst> I am not sure if it just gets DFU'd into flash. Need to read AN3154, 55, 56 and the USB dumps of the flash 2013-04-01T10:29:31 < fst> It might have a separate boot loader that allows the DFU to work 2013-04-01T10:30:41 < fst> that's about all I have for that tonight. good night! 2013-04-01T10:54:06 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-01T10:55:16 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-04-01T10:56:08 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-04-01T11:04:22 -!- rlc [~ubuntu@CPE002191edd529-CM001bd7aa324e.cpe.net.cable.rogers.com] has quit [Ping timeout: 246 seconds] 2013-04-01T11:06:22 -!- rlc [~ubuntu@CPE002191edd529-CM001bd7aa324e.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-01T11:20:14 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-01T11:31:16 -!- daku is now known as DaKu 2013-04-01T11:39:14 -!- claude is now known as Claude 2013-04-01T11:47:45 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-01T11:51:17 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has left ##stm32 ["quit"] 2013-04-01T11:55:22 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-01T11:57:23 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 252 seconds] 2013-04-01T11:59:16 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-04-01T12:10:13 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 256 seconds] 2013-04-01T12:10:43 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Read error: Connection reset by peer] 2013-04-01T12:10:52 -!- Vutral_ [~ss@vutral.net] has quit [Ping timeout: 246 seconds] 2013-04-01T12:10:53 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-04-01T12:12:53 < Robint91> seen 2013-04-01T12:12:58 < Robint91> !seen R2COM 2013-04-01T12:13:01 < Robint91> seen R2COM 2013-04-01T12:13:07 < Robint91> how does this work? 2013-04-01T12:15:17 < timemob> It doesn't 2013-04-01T12:15:24 < timemob> He isn't here 2013-04-01T12:18:26 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Read error: Connection reset by peer] 2013-04-01T12:18:41 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-04-01T12:20:51 < Robint91> timemob, who isn't here 2013-04-01T12:20:52 < Robint91> zlog 2013-04-01T12:20:52 < zlog> Robint91: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2013-04-01.html 2013-04-01T12:20:56 < Robint91> zlog works 2013-04-01T12:20:56 < zlog> Robint91: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2013-04-01.html 2013-04-01T12:21:04 < Robint91> zlog seen 2013-04-01T12:21:05 < zlog> Robint91: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2013-04-01.html 2013-04-01T12:24:19 < jpa-> Robint91: your irc client doesn't have /lastlog? 2013-04-01T12:24:48 < Robint91> jpa-, dunno -_-, using xchat 2013-04-01T12:24:52 < jpa-> 11:20:14 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-01T12:24:58 < jpa-> so 1 hour ago 2013-04-01T12:25:19 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Read error: Connection reset by peer] 2013-04-01T12:25:33 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-04-01T12:25:34 < pelrun> well that's a thing I didn't know existed 2013-04-01T12:26:23 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-01T12:48:21 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-01T12:48:24 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-01T13:03:20 -!- t1memob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-04-01T13:03:21 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Read error: Connection reset by peer] 2013-04-01T13:21:16 -!- t1memob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Read error: Connection reset by peer] 2013-04-01T13:22:30 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-04-01T13:39:50 -!- sterna1 [~Adium@dhcp-189243.eduroam.chalmers.se] has joined ##stm32 2013-04-01T13:41:10 -!- rlc [~ubuntu@CPE002191edd529-CM001bd7aa324e.cpe.net.cable.rogers.com] has quit [Ping timeout: 246 seconds] 2013-04-01T13:41:51 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Quit: Bye] 2013-04-01T13:47:06 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-01T13:47:17 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-04-01T13:53:19 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-01T14:05:45 -!- rlc [~ubuntu@CPE002191edd529-CM001bd7aa324e.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-01T14:10:17 < Posterdati> hi 2013-04-01T14:10:37 < Posterdati> please how can I remap porta on stm32f107 for use with OTG? Tx 2013-04-01T14:14:35 < zyp> huh? 2013-04-01T14:14:55 < zyp> please clarify your question 2013-04-01T14:18:12 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Read error: Connection reset by peer] 2013-04-01T14:18:29 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-01T14:19:02 < Posterdati> I need to configure PORTA to work with OTG 2013-04-01T14:19:32 < pelrun> don't you just configure the appropriate gpio pins to Alternate Function? 2013-04-01T14:19:43 < pelrun> don't think there's any remapping involved 2013-04-01T14:20:03 < Posterdati> GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_OD | GPIO_Mode_IPD; 2013-04-01T14:20:21 < pelrun> those aren't bitmasks - it's one or the other 2013-04-01T14:20:34 < zyp> use AF_PP 2013-04-01T14:20:50 < Posterdati> even for vbus? 2013-04-01T14:20:58 < zyp> no 2013-04-01T14:21:04 < zyp> vbus should be input 2013-04-01T14:21:04 -!- rlc [~ubuntu@CPE002191edd529-CM001bd7aa324e.cpe.net.cable.rogers.com] has quit [Ping timeout: 246 seconds] 2013-04-01T14:21:25 < Posterdati> GPIO_Mode_AF_IN? 2013-04-01T14:21:27 < zyp> (at least that's how it is on F4, with same usb core) 2013-04-01T14:21:42 < zyp> there is no AF_IN as far as I know 2013-04-01T14:21:46 < zyp> just normal input mode 2013-04-01T14:21:57 < Posterdati> not AF? 2013-04-01T14:22:16 < zyp> there is no AF_IN 2013-04-01T14:22:20 < pelrun> since input is high-impedance, you can have multiple peripherals listening to an input without needing a switch 2013-04-01T14:22:23 < pelrun> so no AF_IN 2013-04-01T14:22:33 < zyp> exactly 2013-04-01T14:22:41 < pelrun> just use IN_FLOATING or IPD 2013-04-01T14:22:47 < Posterdati> ok 2013-04-01T14:22:48 < pelrun> probably IPD 2013-04-01T14:22:52 < zyp> yes 2013-04-01T14:23:54 < Posterdati> IPD? 2013-04-01T14:24:13 < pelrun> GPIO_Mode_IPD 2013-04-01T14:24:18 < Posterdati> for DM and DP? 2013-04-01T14:24:32 < pelrun> no, those need to be AF_PP as zyp mentioned before 2013-04-01T14:24:46 < pelrun> we were just referring to vbus being IPD 2013-04-01T14:24:58 < Posterdati> yes 2013-04-01T14:25:01 < Posterdati> and ID? 2013-04-01T14:25:09 < Posterdati> same as DM and DP? 2013-04-01T14:25:20 < Posterdati> is it an output? 2013-04-01T14:25:50 < pelrun> input 2013-04-01T14:26:07 < Posterdati> so GPIO_Mode_AF_OD? 2013-04-01T14:26:41 < pelrun> input because it tells the usb core whether the thing you've plugged in is host or peripheral 2013-04-01T14:26:51 < pelrun> since you're doing OTG 2013-04-01T14:27:28 < Posterdati> open drain? 2013-04-01T14:27:30 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 245 seconds] 2013-04-01T14:27:36 < pelrun> no, OD is output 2013-04-01T14:27:38 < zyp> ID doesn't matter if you are doing device mode only 2013-04-01T14:27:57 < zyp> (or host mode only) 2013-04-01T14:28:33 < Posterdati> I've to use the otg to send commands over it to my board 2013-04-01T14:28:59 < pelrun> but is the stm32 acting as a host or a device? 2013-04-01T14:29:09 < zyp> so, what you mean is that you need device mode only 2013-04-01T14:29:40 < Posterdati> mmmh I'd like to put a sorta terminal on the board 2013-04-01T14:32:31 < Posterdati> when connected to a pc it switch to command mode and accept commands form pc in text form 2013-04-01T14:33:08 < pelrun> if your board is only ever connected to a PC then it's device only 2013-04-01T14:33:15 < Posterdati> yes 2013-04-01T14:33:25 < pelrun> then you don't need to connect ID 2013-04-01T14:33:50 < Posterdati> so could I configure it as an Hi-Z input? 2013-04-01T14:34:21 < pelrun> use it for whatever you want; the usb library won't look at it if it's built in device only mode 2013-04-01T14:34:47 < Posterdati> ok 2013-04-01T14:36:22 < zyp> the usb library doesn't look at it anyway, it's hardware monitored 2013-04-01T14:37:58 < Posterdati> ok tx 2013-04-01T14:45:33 < Posterdati> the st usb library it's a mess 2013-04-01T14:49:36 < Posterdati> so it is better to use cdc for my terminal like emulation... 2013-04-01T14:51:25 -!- zlog [~zlog@ip68-102-194-208.ks.ok.cox.net] has quit [Read error: Connection reset by peer] 2013-04-01T14:54:25 -!- zlog [~zlog@ip68-102-194-208.ks.ok.cox.net] has joined ##stm32 2013-04-01T14:59:19 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-01T15:03:43 -!- CRF_Peter [~Peter@193.11.200.145] has joined ##stm32 2013-04-01T15:07:58 -!- CRF_Peter [~Peter@193.11.200.145] has quit [Ping timeout: 240 seconds] 2013-04-01T15:10:53 -!- Titan___ [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-01T15:12:58 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [Ping timeout: 240 seconds] 2013-04-01T15:19:48 < Tectu> also this 2013-04-01T15:19:48 < Tectu> http://www.ctadigital.com/images/photos/highres/PAD-TSB_01_Main.jpg 2013-04-01T15:20:25 <+Steffanx> You are not helpful Tectu 2013-04-01T15:20:50 < Tectu> how is that thing not helpful, Steffanx ? 2013-04-01T15:21:15 <+Steffanx> => ##stm32-ourrandomcrap 2013-04-01T15:22:01 < Tectu> I mean... you can watch "HowTo - Wipe your ass" videos on youtube while actually wipping your ass 2013-04-01T15:22:19 < Tectu> I think whipe might be the wrong word 2013-04-01T15:22:25 < Tectu> beside that it's written as whiped with 'h'? 2013-04-01T15:23:39 <+Steffanx> I don't think it's whipe.. 2013-04-01T15:23:45 <+Steffanx> Not in yankeeland 2013-04-01T15:29:12 < dongs> renewing lunix.tv 2013-04-01T15:29:37 < gxti> nobody reads it dongs 2013-04-01T15:29:42 < gxti> save yourself the $10 2013-04-01T15:29:57 -!- CRF_Peter [~Peter@dhcp-179031.eduroam.chalmers.se] has joined ##stm32 2013-04-01T15:30:30 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-01T15:32:06 -!- Titan___ is now known as TitanMKD 2013-04-01T15:32:28 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 246 seconds] 2013-04-01T15:32:55 -!- rigid [~daniel@178-26-71-67-dynip.superkabel.de] has joined ##stm32 2013-04-01T15:33:10 < dongs> i wish it was $10 2013-04-01T15:33:20 < dongs> more like #37 2013-04-01T15:33:22 < dongs> $ 2013-04-01T15:33:24 < gxti> o rite tv 2013-04-01T15:34:04 < gxti> because charging a little bit more for certain domains makes sense 2013-04-01T15:34:22 < gxti> if the goal was to keep people like you from buying them then it should be $3700 2013-04-01T15:36:00 <+Steffanx> dongs, why renew? 2013-04-01T15:36:10 < dongs> Steffanx: its a nice domain 2013-04-01T15:36:27 <+Steffanx> if you say so. tarduino.cc is much nicer imho :) 2013-04-01T15:39:36 < dongs> sure 2013-04-01T15:39:45 < dongs> im failing to monetize either one of htem though. 2013-04-01T15:40:02 < gxti> failing yep 2013-04-01T15:40:16 < zyp> you still need to make that avr-powered wheelchair controller 2013-04-01T15:40:21 <+Steffanx> What a surprise 2013-04-01T15:43:38 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 2013-04-01T15:43:46 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-01T15:50:58 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 240 seconds] 2013-04-01T15:51:59 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-01T15:52:01 < Posterdati> zyp: atmega2560 wheelchair? 2013-04-01T15:52:51 -!- Laurenceb_ [~Laurence@host86-174-20-97.range86-174.btcentralplus.com] has joined ##stm32 2013-04-01T15:55:14 <+Steffanx> At bastard chip doesn't need a wheelchair.. it has enough legs 2013-04-01T15:55:18 <+Steffanx> *That 2013-04-01T15:56:52 < zyp> :D 2013-04-01T15:58:19 < Posterdati> not useful legs 2013-04-01T15:58:42 < Posterdati> atmega2560 = 10€, stm32f07 = 8.50 €, LOL 2013-04-01T15:59:11 <+Steffanx> wonderful huh? 2013-04-01T16:01:47 < Posterdati> yes 2013-04-01T16:02:05 < Posterdati> I think it's atmel politics 2013-04-01T16:03:40 < Posterdati> bankrupcy in 3/4 years 2013-04-01T16:08:11 -!- rlc [~ubuntu@CPE002191edd529-CM001bd7aa324e.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-01T16:09:07 < dongs> https://youtube.com/watch?v=A0plO-FsZ3c#t=770s 2013-04-01T16:12:35 < Posterdati> lol amazing 2013-04-01T16:12:40 < zyp> Posterdati, likely not 2013-04-01T16:13:12 < zyp> Atmel doesn't really give a fuck about whether you are buying their chips or not 2013-04-01T16:18:30 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Excess Flood] 2013-04-01T16:19:15 < Posterdati> zyp: isn't a chip productor? 2013-04-01T16:19:30 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-01T16:20:03 < zyp> sure 2013-04-01T16:20:23 < Posterdati> isn't it thei major business 2013-04-01T16:20:30 < zyp> sure 2013-04-01T16:20:42 < zyp> but you aren't their major customer 2013-04-01T16:20:58 < zyp> and avr8 is far from their only horse 2013-04-01T16:21:34 <+Steffanx> You find flash/eeprom of them in many products 2013-04-01T16:21:54 <+Steffanx> ( especially 'older' products 2013-04-01T16:22:10 < Robint91> atmel is wierd 2013-04-01T16:22:11 < zyp> yeah 2013-04-01T16:22:28 <+Steffanx> So are you mr robin t 2013-04-01T16:22:34 < zyp> Robint91, because they are competing with themselves? 2013-04-01T16:22:44 < zyp> i.e. avr32 vs sam3 2013-04-01T16:22:47 < Robint91> zyp, yes 2013-04-01T16:22:54 < Robint91> zyp, avr vs arm 2013-04-01T16:23:12 < zyp> well, why not? 2013-04-01T16:23:25 < Robint91> zyp, also xmega 2013-04-01T16:23:33 < Robint91> atmel are tryhards 2013-04-01T16:23:39 < zyp> more options means more customers 2013-04-01T16:24:19 < Robint91> zyp, having the ARM option, the AV32 option sound less usefull 2013-04-01T16:24:25 <+Steffanx> xmega is just an upgraded version of the other 8bit avrs .. 2013-04-01T16:24:38 < Robint91> zyp, why should I use a avr32 instead of a sam3 2013-04-01T16:25:09 < Robint91> Steffanx, xmega was nice if it was avaible 4 years ago 2013-04-01T16:25:27 < zyp> Robint91, legacy reasons? 2013-04-01T16:25:48 < Robint91> zyp, but then you have already chosen for something 2013-04-01T16:25:52 < Robint91> zyp, new design 2013-04-01T16:26:10 < Robint91> you would be mad to use the AVR32 2013-04-01T16:26:22 < Robint91> It is a nice architecture and design 2013-04-01T16:26:41 < zyp> I don't like it being big endian 2013-04-01T16:26:41 < Robint91> but It lost his place 2013-04-01T16:27:17 < zyp> because that makes it an argument for requiring handling endianness :p 2013-04-01T16:31:26 < zyp> Robint91, anyway, from a neutral perspective, is really the advantage of cortex-m itself very significant? 2013-04-01T16:31:50 < Robint91> zyp, a little, but not much 2013-04-01T16:32:03 < Robint91> zyp, makes porting easier 2013-04-01T16:32:08 < Robint91> zyp, but limited 2013-04-01T16:32:09 < zyp> because in reality, very little code is architecture-specific 2013-04-01T16:33:15 < zyp> for cortex-m chips, handling vendor specific peripherals is usually a much larger part of the code 2013-04-01T16:33:46 < Robint91> zyp, the toolchain can be used cross vendor 2013-04-01T16:34:09 < Robint91> zyp, my toolchain will build the binaries for ST, ATMEL, TI, NXP, ... 2013-04-01T16:34:13 < zyp> and? what do you really gain from that? 2013-04-01T16:34:27 < Robint91> zyp, even my debugger does those all 2013-04-01T16:34:49 < Robint91> zyp, not buying/maintaining a bazillion toolchain/debuggers 2013-04-01T16:35:59 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-01T16:36:20 < zyp> well, an avr32 toolchain also supports all avr32 vendors' chips :p 2013-04-01T16:36:49 < Robint91> zyp, I don't say that any mcu with an arm is sacred 2013-04-01T16:37:28 <+Steffanx> Still even their own ARMs seem to beat the AVR32s on many things/everything 2013-04-01T16:37:46 <+Steffanx> Even the low power cortex-m4 is 'better' than their low power AVR32 2013-04-01T16:37:59 < zyp> I'm curious about how their future roadmap looks 2013-04-01T16:38:06 <+Steffanx> ( i know their sam4l is newer ) 2013-04-01T16:38:16 < Robint91> zyp, like having toolchains for ARM, x86, AVR, AVR32, PIC18/24/32, PPC, ... 2013-04-01T16:38:20 < zyp> whether avr32 will be obsoleted or not 2013-04-01T16:38:21 < Robint91> isn't good enough 2013-04-01T16:38:32 < Robint91> zyp, avr32 will be obsoleted 2013-04-01T16:38:42 < Posterdati> zyp: is AVR32 mips derived? 2013-04-01T16:38:54 < zyp> no, you're thinking of PIC32 2013-04-01T16:39:11 <+Steffanx> RISC .. 2013-04-01T16:39:32 <+Steffanx> nvm 2013-04-01T16:39:32 <+Steffanx> :P 2013-04-01T16:40:00 <+Steffanx> I read the PIC32 is a FANTASTIC architecture somewhere. And even beats ARM :) 2013-04-01T16:40:19 <+Steffanx> *cortex-mX in the < 100MHz range 2013-04-01T16:40:20 < dongs> https://youtube.com/watch?v=A0plO-FsZ3c#t=2181s another retweet 2013-04-01T16:40:39 <+Steffanx> You're really watching the entire video dongs? 2013-04-01T16:40:54 <+Steffanx> Didn't wifecop tell you it's time to get some sleep? 2013-04-01T16:41:07 <+Steffanx> oh, you watch it together in bed. 2013-04-01T16:41:17 <+Steffanx> popcorn, yay 2013-04-01T16:42:12 < Posterdati> arm has got an ortogonal instruction set 2013-04-01T16:42:15 <+Steffanx> Anyone knows that song that is? 2013-04-01T16:42:15 < zyp> nice 2013-04-01T16:43:34 < dongs> avr32 IS obsolete, no?> 2013-04-01T16:43:35 <+Steffanx> Guess that's a no 2013-04-01T16:43:45 <+Steffanx> the ap7000. 2013-04-01T16:43:48 < Robint91> dongs, will be 2013-04-01T16:43:52 <+Steffanx> The other ones not (yet) 2013-04-01T16:43:54 < Laurenceb_> heh 2013-04-01T16:44:01 < Laurenceb_> i have some ap7000 boards here 2013-04-01T16:44:02 < Robint91> dongs, full range, I expect within 6 months 2013-04-01T16:44:07 < Robint91> Laurenceb_, me too 2013-04-01T16:44:13 <+Steffanx> ngw100 ? 2013-04-01T16:44:17 < Laurenceb_> yup 2013-04-01T16:44:18 < Robint91> yeah 2013-04-01T16:44:35 < Laurenceb_> got python running on mine 2013-04-01T16:44:36 <+Steffanx> It's actually pretty crappy. Doesn't even have usb (host) 2013-04-01T16:44:46 < Robint91> ^ SO MUCHT THIS 2013-04-01T16:44:53 <+Steffanx> ( i have one too ) 2013-04-01T16:44:57 < Robint91> no usb host = failure 2013-04-01T16:45:45 <+Steffanx> Too bad actually. They, actually only one person, was doing pretty well in porting debian to it ( http://avr32.debian.net/ ) 2013-04-01T16:46:49 <+Steffanx> Same guy also discovered some nasty branch prediction bug iirc 2013-04-01T16:47:38 < Laurenceb_> http://www.mikrocontroller.net/topic/269479 2013-04-01T16:48:14 <+Steffanx> Du sprechst Deutsch Laurenceb_ ? 2013-04-01T16:48:37 < zyp> we're using avr32 in some work projects 2013-04-01T16:48:38 < Laurenceb_> nein 2013-04-01T16:49:24 < zyp> none that I've been really involved in yet though 2013-04-01T16:49:56 < Laurenceb_> the uc3 stuff? 2013-04-01T16:50:13 < zyp> UC3B IIRC 2013-04-01T16:51:35 <+Steffanx> I do like those fancy images Atmel makes though :) 2013-04-01T16:51:41 <+Steffanx> http://atmel.com/Images/a5_banner.jpg :D 2013-04-01T16:52:02 < zyp> they do a better job than ST on that front :p 2013-04-01T16:52:31 < Laurenceb_> heh yeah the ST site still looks lame 2013-04-01T16:52:33 < Robint91> http://www.st.com/st-web-ui/static/active/en/fragment/sales_and_marketing/banner/homepage_banner/SuperMesh_B_blank.jpg 2013-04-01T16:52:35 < Laurenceb_> but who cares 2013-04-01T16:52:43 <+Steffanx> Yeah, they give you are mirrod photo of a guy next to a car: http://www.st.com/st-web-ui/static/active/en/fragment/sales_and_marketing/banner/homepage_banner/SuperMesh_B_blank.jpg :D 2013-04-01T16:52:49 < Laurenceb_> he may be there for some time 2013-04-01T16:53:21 <+Steffanx> *mirrored 2013-04-01T16:54:18 < Laurenceb_> if its a tesla thing he might get blown up by the exploding battery 2013-04-01T16:56:14 <+Steffanx> oh, it's an electric car? 2013-04-01T16:57:29 < Laurenceb_> you dont say 2013-04-01T16:59:13 <+Steffanx> I don't know much about cars, so no i don't say :) 2013-04-01T16:59:27 < Robint91> Steffanx, -______________________- 2013-04-01T17:00:26 <+Steffanx> wut Robint91 ? 2013-04-01T17:00:34 <+Steffanx> *wat 2013-04-01T17:07:00 < Robint91> Steffanx, you don't know what a tesla is 2013-04-01T17:07:04 < Robint91> SHAME ON YOU 2013-04-01T17:09:31 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-01T17:12:34 -!- a2cypher [~cypher@mail.krausglobal.com] has joined ##stm32 2013-04-01T17:16:44 <+Steffanx> Not really important info imho Robint91 2013-04-01T17:17:08 < gxti> flux density is very important Steffanx 2013-04-01T17:17:49 <+Steffanx> Why so gxti ? 2013-04-01T17:18:05 <+Steffanx> I mean, Important for me to know the ins and outs? 2013-04-01T17:18:11 < gxti> because MAGNETS 2013-04-01T17:18:32 -!- rlc [~ubuntu@CPE002191edd529-CM001bd7aa324e.cpe.net.cable.rogers.com] has quit [Ping timeout: 246 seconds] 2013-04-01T17:19:21 <+Steffanx> And still that has not much to do with identifying cars :) 2013-04-01T17:19:30 <+Steffanx> unless you're building some fancy system 2013-04-01T17:19:58 < gxti> you're *not* building a particle accelerator in your basement? what a luddite 2013-04-01T17:21:10 < gxti> also 16T can levitate a frog, that's pretty good to know 2013-04-01T17:21:20 <+Steffanx> Sorry i can't build a particle accelerator in my basement. Too lazy to make dig the basement 2013-04-01T17:21:45 < gxti> oh right, in dutchland if you dig you'd probably just let in the ocean 2013-04-01T17:22:03 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has joined ##stm32 2013-04-01T17:23:01 <+Steffanx> No that's not it. Im not sure why many (new) houses have no access to the basement 2013-04-01T17:23:12 <+Steffanx> The older houses do have a basement 2013-04-01T17:24:25 <+Steffanx> and it's not really a basement, more a crawl space 2013-04-01T17:24:32 -!- peque [~peque@249.Red-95-121-251.dynamicIP.rima-tde.net] has joined ##stm32 2013-04-01T17:24:48 < gxti> i don't have a basement either, too much clay around here :[ 2013-04-01T17:28:26 <+Steffanx> lol 2013-04-01T17:35:56 < Laurenceb_> any good april fool jokes on the tubes this year? 2013-04-01T17:36:06 < gxti> nope 2013-04-01T17:36:15 < Laurenceb_> :-( 2013-04-01T17:36:33 < Laurenceb_> back to plagiarising stuff for me then :( 2013-04-01T17:36:36 <+Steffanx> Google etc. is also getting too obvious. Which is boring 2013-04-01T17:37:16 <+Steffanx> Actually, april fool jokes are boring, as people expect you to make jokes. 2013-04-01T17:37:42 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-01T17:39:00 <+Steffanx> lo 2013-04-01T17:43:56 < Laurenceb_> ah, google nose 2013-04-01T17:44:18 < Robint91> gmail blue 2013-04-01T17:44:34 < Robint91> google maps 2013-04-01T17:45:01 < Laurenceb_> googl traps 2013-04-01T17:46:34 <+Steffanx> Sponsored by: Fail_Academy 2013-04-01T17:47:58 < Robint91> http://techcrunch.com/2013/04/01/april-fools-2013/ 2013-04-01T17:55:09 < gxti> haha, techcrunch! what a joke 2013-04-01T17:55:17 < gxti> oh and there's an article. 2013-04-01T17:56:01 < Posterdati> hi 2013-04-01T17:56:06 <+Steffanx> lo 2013-04-01T17:57:28 < Posterdati> I'd like to use the stm32f107 spi port to control 3 A4960, but I don't want to use 3 CS lines to select the three chips, what about I use a counter/divider to generate the correct CS combination? 2013-04-01T17:58:03 < gxti> counting what Posterdati 2013-04-01T17:58:14 < Posterdati> clock pulse on scl 2013-04-01T17:58:26 < gxti> rather inflexible, don't you think? 2013-04-01T17:58:40 < gxti> plus you'd need a way to reset the counter lest things get out of sync 2013-04-01T17:58:46 < Posterdati> yes, but I need to spare port connections 2013-04-01T17:59:43 < gxti> i2c port expander? 2013-04-01T17:59:50 < Posterdati> no I need spi 2013-04-01T17:59:58 < gxti> but are you using i2c elsewhere? 2013-04-01T18:00:14 <+Steffanx> multiplexer? 2013-04-01T18:00:22 <+Steffanx> 2 pins for 4 outputs? 2013-04-01T18:00:24 < Posterdati> A4960 is a SPI BLDC 2013-04-01T18:00:24 < gxti> you could move other GPIOs to it as well 2013-04-01T18:00:31 < gxti> i know that Posterdati you aren't thinking 2013-04-01T18:00:49 < Posterdati> ? 2013-04-01T18:00:59 < gxti> add an i2c gpio expander 2013-04-01T18:01:02 < gxti> put cs lines on there 2013-04-01T18:01:08 < gxti> put other stuff on there to free up i2c port 2013-04-01T18:01:12 < gxti> put port expander on i2c. done. 2013-04-01T18:01:21 <+Steffanx> One pin saved :) 2013-04-01T18:01:32 < gxti> more like 6 2013-04-01T18:01:36 < Posterdati> yes, it could be an idea 2013-04-01T18:01:38 < gxti> unless it's all peripherals 2013-04-01T18:01:44 < gxti> or just use a bigger part 2013-04-01T18:01:53 < Posterdati> is there a spi switch? 2013-04-01T18:02:00 < gxti> how would you control the switch? 2013-04-01T18:02:05 < Posterdati> like a switch for ethernet 2013-04-01T18:02:12 <+Steffanx> over spi gxti :) 2013-04-01T18:02:16 < Posterdati> whith the spi 2013-04-01T18:02:25 < gxti> one pin saved. 2013-04-01T18:02:28 < gxti> ;p 2013-04-01T18:02:43 <+Steffanx> spi multi plexer or so .. select multiplexer, send address, send data 2013-04-01T18:02:51 < gxti> methinks allegro shouldn't list "urea pump" as an application for a motor controller 2013-04-01T18:03:00 < Posterdati> Steffanx: yes 2013-04-01T18:03:12 <+Steffanx> dunno if that exists 2013-04-01T18:03:18 < gxti> spi gpios exist 2013-04-01T18:03:30 <+Steffanx> and bitbang the spi? :) 2013-04-01T18:03:45 < Posterdati> mmmh 2013-04-01T18:04:18 < gxti> can't use that though 2013-04-01T18:04:51 < Tectu> xPSR: 0x01000000 pc: 0xfffffffe msp: 0xfffffffc 2013-04-01T18:04:53 <+Steffanx> Whoa, the sound of this hdd. Awful. ( yes i know it's dying ) 2013-04-01T18:04:54 < Tectu> :< 2013-04-01T18:05:22 < gxti> hard(on) fault 2013-04-01T18:07:25 < jpa-> Tectu: that means "empty flash" usually 2013-04-01T18:07:46 < jpa-> Tectu: and openocd didn't like my device when it had that :) 2013-04-01T18:07:51 <+Steffanx> perhaps this is what you need Posterdati http://www.datasheetarchive.com/files/maxim/0003/appno054.htm , max350 2013-04-01T18:08:11 < Tectu> jpa-, hmm, when I restart openocd, it works again 2013-04-01T18:08:11 < Posterdati> yes I found that too :) I'm reading by now, tx 2013-04-01T18:08:23 <+Steffanx> Nothing special actaully :) 2013-04-01T18:08:26 <+Steffanx> *actually 2013-04-01T18:08:29 < jpa-> Tectu: no other errors? 2013-04-01T18:09:05 < gxti> lol, that needs more pins than the i2c expander 2013-04-01T18:09:10 < Tectu> jpa-, I just found out that it happens when I try to write the flash when I didn't reset 2013-04-01T18:09:55 < Posterdati> gxti: no, 3 A4960 needs 3 + 3 = 6 wire 2013-04-01T18:12:07 < gxti> reset and fault can be shared, yes? 2013-04-01T18:12:48 <+Steffanx> Get 3 i2c to spi converters Posterdati. Then you only need 2 pins :P 2013-04-01T18:12:58 <+Steffanx> fugly, but it works :P 2013-04-01T18:13:17 <+Steffanx> For that money you can also get a bigger part though 2013-04-01T18:14:41 < Posterdati> Steffanx: the max350 idea is good 2013-04-01T18:14:57 < Posterdati> Steffanx: max350 daisy chained with the 3 A4960 2013-04-01T18:15:03 < gxti> sigh 2013-04-01T18:15:06 < gxti> ok, do whatever 2013-04-01T18:15:28 <+Steffanx> hehe gxti 2013-04-01T18:15:43 <+Steffanx> Frustration? 2013-04-01T18:15:59 < gxti> yes, i should stop attempting to help people at the first sign of cluelessness. would be good for my blood pressure. 2013-04-01T18:16:58 < Tectu> jpa-, some output: http://pastie.org/7269066 2013-04-01T18:17:11 < gxti> strange though that the DIAG pin on that part doesn't seem to be open-collector, would mean you could bus reset, fault, sck, sdi, sdo and just have pwm, tacho, and cs per part 2013-04-01T18:17:50 < jpa-> Tectu: seems normal if your code leaves some interrupts or dma running 2013-04-01T18:17:50 < Posterdati> gxti: unfortunately A4960 couldn't be daisy chained 2013-04-01T18:19:54 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-01T18:20:25 < Posterdati> gxti: anyway I understand your point... Using max350 could be a wrong mode, an i2c expander would be better 2013-04-01T18:21:49 < Posterdati> as you can control cs lines outside spi stuff 2013-04-01T18:22:06 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-01T18:27:42 < Posterdati> Steffanx: anyway max350 could be used as well since its oputputs are set during clock pulses 2013-04-01T18:30:11 -!- peque [~peque@249.Red-95-121-251.dynamicIP.rima-tde.net] has quit [Quit: peque] 2013-04-01T18:31:40 < Posterdati> Steffanx: the problem could be the MCU CS that has to be tied down after the 8 bit to MAX350 2013-04-01T18:34:17 < Posterdati> other choice could be the fcm8531 2013-04-01T18:38:49 < Posterdati> ??? 2013-04-01T18:44:54 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-04-01T18:45:06 -!- Erlkoenig [~erlkoenig@pptp-212-201-74-184.pptp.stw-bonn.de] has joined ##stm32 2013-04-01T19:11:18 < Erlkoenig> dongs: "In response to the growing proliferation of the use of "secret sauce" as a vehicle for entrepreneurs', venture capitalists', and investment bankers' thinly veiled proprietary machinations, a global consortium of premium condiment manufacturers has launched the Open Sauce Foundation (OSF)." 2013-04-01T19:11:57 < emeb> Meh. Spare me the lame April Fools press releases. 2013-04-01T19:12:14 * emeb shakes cane. 2013-04-01T19:12:35 < Erlkoenig> sorry. 2013-04-01T19:13:29 < emeb> :) just being grouchy. 2013-04-01T19:21:24 -!- _BJFreeman [~bjfree@178.sub-75-233-204.myvzw.com] has joined ##stm32 2013-04-01T19:21:51 -!- _BJFreeman is now known as BJfreeman 2013-04-01T19:23:51 < karlp> further to dong's 64k vs 128 k chats, the c4 devices we bought all actually had flash size registers that claimed the full 32k of the c6, not the 16k of the c4 2013-04-01T19:24:24 -!- hackkitten [~Maya@s529c4932.adsl.online.nl] has quit [Ping timeout: 256 seconds] 2013-04-01T19:25:39 < emeb> and was that flash available / usable? 2013-04-01T19:25:55 < karlp> seemed to be, 2013-04-01T19:26:03 < karlp> but our app was only 12k or so anywya, 2013-04-01T19:26:08 <+Steffanx> heh 2013-04-01T19:26:29 < emeb> turn off optimization. use it up. 2013-04-01T19:30:22 < gxti> use it or lose it? 2013-04-01T19:30:39 < emeb> right - flash spoils if left unused. 2013-04-01T19:31:11 < gxti> blank flash blocks ferment bad bits if left unoccupied, eventually spreading to the entire device 2013-04-01T19:31:19 < gxti> the dreaded "bit rot" 2013-04-01T19:31:28 < emeb> pernicious! 2013-04-01T19:58:44 < Laurenceb_> anyone here any good with latex? 2013-04-01T19:59:09 < Laurenceb_> ive got a weird issue where an eps graphic is at 90 degree orientation 2013-04-01T19:59:21 < Laurenceb_> and angle= is translating it 2013-04-01T19:59:25 < Laurenceb_> rather than rotating 2013-04-01T19:59:58 -!- BrainDamage [~BrainDama@62.10.7.136] has joined ##stm32 2013-04-01T20:01:57 < BJfreeman> have not figured out if that is The Flash or Flash Gordon 2013-04-01T20:02:42 -!- phantoxeD [~destroy@a95-92-88-3.cpe.netcabo.pt] has joined ##stm32 2013-04-01T20:03:30 -!- baird [~cjb@ppp121-45-182-147.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-04-01T20:03:37 -!- BrainDamage [~BrainDama@62.10.7.136] has quit [Remote host closed the connection] 2013-04-01T20:05:28 -!- phantoneD [~destroy@a95-92-88-3.cpe.netcabo.pt] has quit [Ping timeout: 240 seconds] 2013-04-01T20:06:10 < Laurenceb_> anyone?! 2013-04-01T20:06:19 < Laurenceb_> y/n/maybe 2013-04-01T20:10:01 -!- BrainDamage [~BrainDama@62.10.7.136] has joined ##stm32 2013-04-01T20:13:30 <+Steffanx> n 2013-04-01T20:13:37 < Laurenceb_> RAGE 2013-04-01T20:15:09 * emeb stays well clear of LaTex 2013-04-01T20:16:14 <+Steffanx> You still prefer messing around with word? 2013-04-01T20:16:20 <+Steffanx> or just html? :) 2013-04-01T20:19:57 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-01T20:22:07 < Laurenceb_> really weird 2013-04-01T20:22:20 < Laurenceb_> ratations are just becoming translations 2013-04-01T20:22:24 < Laurenceb_> *rotations 2013-04-01T20:29:15 < Robint91> Laurenceb_, use a rotation matrix? 2013-04-01T20:29:23 < Robint91> Laurenceb_, problem solved? 2013-04-01T20:29:29 <+Steffanx> lol 2013-04-01T20:29:40 <+Steffanx> math in latex 2013-04-01T20:31:17 < Laurenceb_> aha fixed it 2013-04-01T20:31:22 < Laurenceb_> bugs in gnuplot 2013-04-01T20:31:50 < Laurenceb_> the origin was massively offset in semi logscale mode 2013-04-01T20:32:15 < Laurenceb_> wasnt a latex issue at all 2013-04-01T20:33:41 <+Steffanx> Fail_Academy 2013-04-01T20:36:14 -!- barthess [~barthess@178.154.28.119] has joined ##stm32 2013-04-01T20:40:36 < Laurenceb_> makes sense i guess, as the origin seems to be fixed at 0,0 2013-04-01T20:41:12 < Laurenceb_> probably some NaN issues cropping up there 2013-04-01T20:58:27 -!- barthess [~barthess@178.154.28.119] has quit [Quit: Leaving.] 2013-04-01T21:00:54 < emeb> Killer app for Linux: http://arstechnica.com/gadgets/2013/03/bullseye-from-1000-yards-shooting-the-17000-linux-powered-rifle/ 2013-04-01T21:02:53 <+Steffanx> At least it's still the first of april here 2013-04-01T21:04:33 <+Steffanx> I don't trust todays news emeb :) 2013-04-01T21:13:10 < emeb> Steffanx: Yes. 2013-04-01T21:14:01 <+Steffanx> Yes. :) 2013-04-01T21:14:07 -!- [1]MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-01T21:17:13 -!- MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-01T21:22:00 < BJfreeman> so with all the weapons rules out does that mean we can't ARM ourselves 2013-04-01T21:22:47 <+Steffanx> You can have a butter knife 2013-04-01T21:24:39 < BJfreeman> which ARM is that one Steffanx 2013-04-01T21:26:16 <+Steffanx> Hmpf, you're not talking about ARM as in the ARM-architecture are you? 2013-04-01T21:30:44 <+Steffanx> mr BJfreeman ? 2013-04-01T21:34:31 < BJfreeman> it was a Pun on the word ARM 2013-04-01T21:34:48 <+Steffanx> Just as i thought :( 2013-04-01T21:37:13 < Laurenceb_> oh yeah 2013-04-01T21:37:35 < Laurenceb_> "The 2 dimensional Lemon equation in cylindrical co-ordinates" 2013-04-01T21:37:43 < Laurenceb_> this looks relevant to my interests 2013-04-01T21:49:22 -!- BrainDamage [~BrainDama@62.10.7.136] has quit [Ping timeout: 272 seconds] 2013-04-01T21:49:48 -!- peque [~peque@249.Red-95-121-251.dynamicIP.rima-tde.net] has joined ##stm32 2013-04-01T21:59:13 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-01T22:14:19 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-01T22:17:25 -!- [1]MrMobius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-01T22:18:30 -!- peque [~peque@249.Red-95-121-251.dynamicIP.rima-tde.net] has left ##stm32 [] 2013-04-01T22:29:26 -!- ohama [ohama@cicolina.org] has quit [Ping timeout: 258 seconds] 2013-04-01T22:30:00 -!- ohama [ohama@cicolina.org] has joined ##stm32 2013-04-01T22:42:14 -!- Claude is now known as claude 2013-04-01T23:00:21 -!- Maya-sama [~Maya@s529c4932.adsl.online.nl] has joined ##stm32 2013-04-01T23:14:48 -!- [1]MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-01T23:17:12 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 252 seconds] 2013-04-01T23:17:37 -!- MrMobius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-01T23:18:29 -!- Maya-sama is now known as hackkitten 2013-04-01T23:30:47 * jpa- feeds hackkitten some hackfish 2013-04-01T23:34:36 <+Steffanx> is that some finnish fish? 2013-04-01T23:36:57 < jpa-> yes 2013-04-01T23:38:58 * hackkitten puts said fish into her aquarium :3 2013-04-01T23:44:43 * jpa- cleaned the whole appartment today 2013-04-01T23:48:47 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-01T23:54:24 < emeb> did you scare the rabbit? 2013-04-01T23:56:49 <+Steffanx> parrot emeb, parrot 2013-04-01T23:58:00 < emeb> rabbits like parrots. 2013-04-01T23:58:07 < emeb> s/p/c/ --- Day changed Tue Apr 02 2013 2013-04-02T00:00:44 <+Steffanx> sure, but 2013-04-02T00:01:08 <+Steffanx> meh, should clean my desk. It's full with crap ( just like myself ) 2013-04-02T00:01:16 < jpa-> emeb: we gave the rabbit back to my mother.. it gave too much allergy to me 2013-04-02T00:01:37 <+Steffanx> Ahw, you'll also give the parrot back to her mother? 2013-04-02T00:01:52 < jpa-> no, i'm not allergic to her :) 2013-04-02T00:02:04 <+Steffanx> Also not when sees in a bad mood? 2013-04-02T00:02:24 < emeb> Allergic to buns. :( 2013-04-02T00:02:37 < jpa-> Steffanx: she's never angry ,) 2013-04-02T00:02:56 < jpa-> emeb: also the rabbit was getting too horny :P 2013-04-02T00:03:23 < emeb> Nothing more annoying than a horny rabbit. "Bugs, get down off that!" 2013-04-02T00:03:46 <+Steffanx> jpa- never angry and always in a good mood? 2013-04-02T00:05:03 < jpa-> Steffanx: of course 2013-04-02T00:05:18 <+Steffanx> Whoa, lucky bastard 2013-04-02T00:05:44 < jpa-> emeb: often "that" would be the back of somebody's leg.. and instead of humping, it would bite.. apparently trying to get us to play along 2013-04-02T00:06:58 < emeb> one word: neuter 2013-04-02T00:07:49 <+Steffanx> lol emeb 2013-04-02T00:07:57 < jpa-> yeah, might have done that if there wasn't the allergy thing also 2013-04-02T00:08:14 <+Steffanx> So you are the problem, not the rabbit 2013-04-02T00:08:22 < jpa-> anyway my mother grows rabbits for food & pets, so we just returned the bunny so it can go and fuck as much as it wants :) 2013-04-02T00:08:36 < jpa-> yeah i'm lucky the parrot didn't give me away 2013-04-02T00:08:41 <+Steffanx> "for food & pets" <= snakes? 2013-04-02T00:08:46 < jpa-> no humans 2013-04-02T00:09:01 < jpa-> rabbit tastes somewhat like chicken 2013-04-02T00:09:24 < emeb> One of my uncles had a rabbit hutch out back. Never saw the same rabbit out there twice. For some reason it didn't occur to me that he was eating them. 2013-04-02T00:09:37 <+Steffanx> HA 2013-04-02T00:10:41 < Erlkoenig> i have pet spiders on my walls 2013-04-02T00:10:49 < emeb> Named Boris? 2013-04-02T00:11:00 < Erlkoenig> no they just have numbers 2013-04-02T00:11:10 <+Steffanx> No erls ? 2013-04-02T00:11:26 * emeb likes salticidae. 2013-04-02T00:11:38 < emeb> http://en.wikipedia.org/wiki/Jumping_spider 2013-04-02T00:11:40 -!- CRF_Peter [~Peter@dhcp-179031.eduroam.chalmers.se] has quit [Ping timeout: 245 seconds] 2013-04-02T00:12:11 < emeb> jumping spiders are chock-full of personality. They'll tilt their heads up and look you in the eye. 2013-04-02T00:13:55 < jpa-> then they'll jump and bite you in the eye 2013-04-02T00:14:19 < emeb> nah - they're smart enough to stay away from giant monkeys. 2013-04-02T00:14:24 -!- baird [~cjb@ppp121-45-182-147.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-02T00:14:39 -!- [1]MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-02T00:14:52 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-02T00:15:05 <+Steffanx> here in dutchland you have jumping spiders too, but they are TINY compared to the ones on wikipedia 2013-04-02T00:15:14 -!- a2cypher [~cypher@mail.krausglobal.com] has quit [Ping timeout: 256 seconds] 2013-04-02T00:16:25 < emeb> those aren't necessarily very big. Just magnified. 2013-04-02T00:16:50 < emeb> Most of the ones I see are less than 10mm from toe to toe. 2013-04-02T00:17:12 <+Steffanx> oh, i think the ones here are ~5mm 2013-04-02T00:18:29 < emeb> that's about right. 2013-04-02T00:25:48 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has quit [Quit: zzzz] 2013-04-02T00:25:48 -!- fst [~stf@cpe-173-88-167-240.neo.res.rr.com] has quit [Quit: Adde parvum parvo magnus acervus erit.] 2013-04-02T00:31:03 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-02T00:31:49 -!- Simon-- [~sim@2606:6a00:0:28:5604:a6ff:fe02:702b] has quit [Ping timeout: 246 seconds] 2013-04-02T00:32:47 -!- Simon-- [~sim@2606:6a00:0:28:5604:a6ff:fe02:702b] has joined ##stm32 2013-04-02T01:12:04 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-02T01:14:59 -!- [1]MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-02T01:16:39 -!- MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-02T01:27:30 -!- Robin_ [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-02T01:28:22 <+Steffanx> mr Robin_ your T91 is gone 2013-04-02T01:28:32 < Robin_> pff 2013-04-02T01:30:37 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Ping timeout: 246 seconds] 2013-04-02T01:36:42 -!- crumb [~crumb@znc8.d-shell.org] has left ##stm32 [] 2013-04-02T01:48:20 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 245 seconds] 2013-04-02T01:53:59 -!- Robin_ [~Robin@dD5776E9E.access.telenet.be] has quit [Read error: Connection reset by peer] 2013-04-02T02:00:59 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-02T02:12:56 -!- pelrun_ [~James@60-241-99-33.static.tpgi.com.au] has joined ##stm32 2013-04-02T02:15:12 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-02T02:15:34 -!- jef79m_ [~jef79m@124-149-170-85.dyn.iinet.net.au] has joined ##stm32 2013-04-02T02:16:28 -!- sterna1 [~Adium@dhcp-189243.eduroam.chalmers.se] has quit [Quit: Leaving.] 2013-04-02T02:18:13 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-02T02:21:25 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has quit [Ping timeout: 272 seconds] 2013-04-02T02:21:25 -!- jef79m [~jef79m@124-149-170-85.dyn.iinet.net.au] has quit [Ping timeout: 272 seconds] 2013-04-02T02:21:25 -!- pelrun [~James@60-241-99-33.static.tpgi.com.au] has quit [Ping timeout: 272 seconds] 2013-04-02T02:21:26 -!- jef79m_ is now known as jef79m 2013-04-02T02:21:38 < Laurenceb_> thats nothing 2013-04-02T02:21:47 < Laurenceb_> ive got a Ti83+ 2013-04-02T02:21:50 < Laurenceb_> oh wait 2013-04-02T02:22:00 < Laurenceb_> yeah mine suckzors 2013-04-02T02:24:16 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has joined ##stm32 2013-04-02T02:26:45 <+Steffanx> Ha, at least i have a 84+ Laurenceb_ 2013-04-02T02:26:59 <+Steffanx> Some 83+s are overclockable Laurenceb_ 2013-04-02T02:30:41 < Laurenceb_> lol 2013-04-02T02:30:42 < Laurenceb_> maybe i will try 2013-04-02T02:35:59 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-02T02:41:24 -!- Thorn__ [~Thorn@78-106-7-233.broadband.corbina.ru] has joined ##stm32 2013-04-02T02:41:24 -!- Thorn__ [~Thorn@78-106-7-233.broadband.corbina.ru] has quit [Changing host] 2013-04-02T02:41:24 -!- Thorn__ [~Thorn@unaffiliated/thorn] has joined ##stm32 2013-04-02T02:44:50 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 256 seconds] 2013-04-02T02:53:55 -!- Laurenceb_ [~Laurence@host86-174-20-97.range86-174.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-02T02:53:56 < dongs> http://sphotos-f.ak.fbcdn.net/hphotos-ak-ash3/483984_516802515027926_885303491_n.jpg 2013-04-02T02:55:57 -!- zlog [~zlog@ip68-102-194-208.ks.ok.cox.net] has quit [Ping timeout: 240 seconds] 2013-04-02T02:58:57 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 240 seconds] 2013-04-02T03:00:10 -!- jef79m [~jef79m@124-149-170-85.dyn.iinet.net.au] has quit [Ping timeout: 256 seconds] 2013-04-02T03:01:30 -!- zlog [~zlog@ip68-102-194-208.ks.ok.cox.net] has joined ##stm32 2013-04-02T03:02:04 -!- jef79m [~jef79m@124-149-170-85.dyn.iinet.net.au] has joined ##stm32 2013-04-02T03:15:26 -!- [1]MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-02T03:18:25 -!- MrMobius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-02T03:58:53 < dongs> zyp: do you feel like prototyping anything with sama5d3? 2013-04-02T03:59:13 < zyp> why? 2013-04-02T03:59:17 < dongs> just asking 2013-04-02T03:59:29 < dongs> it seems fairly cheap + available 2013-04-02T04:00:55 < dongs> http://www.digikey.com/product-detail/en/ATSAMA5D31A-CU/ATSAMA5D31A-CU-ND/3911016 2013-04-02T04:01:01 < dongs> this costs less than atmega2560 2013-04-02T04:01:03 < dongs> lols. 2013-04-02T04:01:35 < zyp> :p 2013-04-02T04:01:45 < qyx_> 324lfbga :/ 2013-04-02T04:02:02 < dongs> since when has that been a problem? 2013-04-02T04:02:09 < zyp> probably fun, but I don't have anything that would make use of that much cpu currently 2013-04-02T04:02:23 < zyp> are you proposing anything? 2013-04-02T04:02:50 < dongs> not specifically, if I ever get unbusy I might make a small protoboard for it wiht some ddr2 on it 2013-04-02T04:03:23 < dongs> might be a good chance to learn differential/length matched routing in altium 2013-04-02T04:03:54 < zyp> :) 2013-04-02T04:03:59 < dongs> hmm, lcd controller with overlays 2013-04-02T04:04:33 < dongs> tho i would rather it had displayport or something useful 2013-04-02T04:05:22 < qyx_> doesnt dp sound too applish to you? 2013-04-02T04:05:35 < dongs> Display Size up to 2048x2048 2013-04-02T04:05:36 < dongs> ha 2013-04-02T04:07:01 < zyp> qyx_, don't you hate it when apple is being the first to implement new nice standards? 2013-04-02T04:07:39 < zyp> dongs, oh, by the way, about that lcd 2013-04-02T04:07:54 < dongs> yea? 2013-04-02T04:07:54 < zyp> would you prefer to send it to norway or to my hotel here in tokyo? 2013-04-02T04:08:08 < dongs> i dont care either way. if tokyo it can be there day after tomororw. 2013-04-02T04:08:32 < qyx_> zyp: sometimes 2013-04-02T04:09:02 < zyp> I don't care either way either, I don't need it before I get home 2013-04-02T04:09:20 < dongs> i'd rather not pack it for intl shipment and it would actually cost less 2013-04-02T04:10:55 < zyp> so tokyo preferred then 2013-04-02T04:10:59 < dongs> yea 2013-04-02T04:11:28 < zyp> sounds good to me, I'm not leaving for another week 2013-04-02T04:12:04 < zyp> http://tokyo.ark-hotel.co.jp/ <- I'm staying there 2013-04-02T04:12:16 < zyp> so I guess you just ship it there and mark it with my name 2013-04-02T04:12:18 < dongs> well, figure out all info bcas.tv/paste it in unicode and ill have i t sent there 2013-04-02T04:12:42 < dongs> usually it needs room# or someshit 2013-04-02T04:12:53 < zyp> 402 2013-04-02T04:13:42 < dongs> youre not making this easy are you 2013-04-02T04:13:52 < qyx_> two rums to room 222 2013-04-02T04:14:06 < zyp> http://bcas.tv/paste/results/gxMPmR30.html 2013-04-02T04:14:31 < dongs> great 2013-04-02T04:14:32 < dongs> thanks 2013-04-02T04:14:51 < dongs> need hotels phone# though but ill grab that from site now 2013-04-02T04:14:58 < zyp> :p 2013-04-02T04:15:38 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-02T04:15:53 < zyp> I like amazon's system where I just go pick up stuff at lawson-stores 2013-04-02T04:17:15 -!- [1]MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-02T04:20:36 -!- Erlkoenig [~erlkoenig@pptp-212-201-74-184.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-02T04:28:24 < dongs> zyp: ^ 2013-04-02T04:28:36 < zyp> hmm? 2013-04-02T04:28:41 < dongs> see /notice 2013-04-02T04:29:04 < zyp> ah, it went into another window 2013-04-02T04:29:05 < zyp> thanks 2013-04-02T04:29:46 < dongs> the dude just picked it up 2013-04-02T04:29:50 < dongs> they dont fuck around. 2013-04-02T04:30:46 < zyp> woah, that's pretty fast 2013-04-02T04:36:42 < dongs> shit's in their system alread as picked up at 10.29 2013-04-02T04:54:33 < dongs> how the fuck can chinks fuckup bluetooth keyboard protocol 2013-04-02T04:54:34 < dongs> fuck 2013-04-02T04:54:43 < dongs> got this cheapass bt keyboard from delayextreme 2013-04-02T04:54:46 < dongs> it doesnt fucking bind! 2013-04-02T04:54:52 < dongs> isnt that shit fuckign standard 2013-04-02T04:54:56 < dongs> type in passkey on keyboar,ddone 2013-04-02T05:00:18 < gxti> pay for shit, get shit 2013-04-02T05:00:33 < dongs> yes but dude 2013-04-02T05:00:36 < dongs> http://dx.com/p/mini-usb-rechargeable-handheld-bluetooth-80-key-wireless-keyboard-white-157975 2013-04-02T05:00:40 < dongs> that was 20 bucks 2013-04-02T05:00:55 < gxti> and clearly it's shit 2013-04-02T05:01:15 < gxti> aren't you always saying something about paying for your tools? 2013-04-02T05:03:17 -!- jaeckel [~jaeckel@unaffiliated/jaeckel] has quit [Ping timeout: 248 seconds] 2013-04-02T05:04:50 -!- jaeckel [~jaeckel@141.101.32.115] has joined ##stm32 2013-04-02T05:04:51 -!- jaeckel [~jaeckel@141.101.32.115] has quit [Changing host] 2013-04-02T05:04:51 -!- jaeckel [~jaeckel@unaffiliated/jaeckel] has joined ##stm32 2013-04-02T05:08:08 < dongs> ya but htis is fucking ridiculous 2013-04-02T05:15:24 -!- MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-02T05:15:52 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-02T05:19:38 -!- BJfreeman [~bjfree@178.sub-75-233-204.myvzw.com] has quit [Quit: had a good time] 2013-04-02T05:32:16 < upgrdman> why would you buy that piece of shit? it doesnt even look decent 2013-04-02T05:33:21 < dongs> i am not going for looks decent 2013-04-02T05:33:26 < dongs> i wanted to type on a fucking bt keyboard. 2013-04-02T05:45:59 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-02T05:53:57 < dongs> status 2013-04-02T05:54:31 < dongs> hmm im gonna add somshit to upgrdman's servo tester 2013-04-02T05:55:02 < dongs> anyone remember offhand what LD1-4 on F4disco are? 2013-04-02T05:55:05 < dongs> i mean what port 2013-04-02T05:59:31 < upgrdman> whacha gonna add? :) 2013-04-02T06:02:53 < dongs> led status 2013-04-02T06:02:56 < dongs> high/low 2013-04-02T06:02:57 < dongs> since i dont have lcd 2013-04-02T06:04:09 < upgrdman> ah 2013-04-02T06:06:59 < dongs> ugh, remembered you dont use stdlib 2013-04-02T06:07:06 < dongs> so much aids to wade through for raw register settings 2013-04-02T06:13:09 < dongs> are they on PD12/13/14/15? 2013-04-02T06:13:10 < dongs> leds 2013-04-02T06:16:19 -!- [1]MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-02T06:19:01 -!- MrMobius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-02T06:26:09 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-02T06:26:16 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-02T06:32:29 < dongs> k works 2013-04-02T06:32:34 < dongs> you had that set/clear pin shit 2013-04-02T06:33:18 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-02T06:38:09 < upgrdman> :) 2013-04-02T06:38:38 < dongs> not having togglepin is dum tho 2013-04-02T07:09:07 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: to sleep, perchance to dream] 2013-04-02T07:16:04 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-02T07:16:41 -!- rigid [~daniel@178-26-71-67-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-02T07:16:59 -!- MrMobius [~Joey@91.192.66.229] has joined ##stm32 2013-04-02T07:17:56 -!- rigid [~daniel@178-26-71-67-dynip.superkabel.de] has joined ##stm32 2013-04-02T07:19:37 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-02T07:23:23 < Simon--> you got diy servo tester? 2013-04-02T07:23:26 < Simon--> I need something that sucks less 2013-04-02T07:33:06 < dongs> Simon--: i modded up some shit he made for f4disco 2013-04-02T07:33:24 < dongs> he used a LCD but im too cheap for that so I just took one of his modes (sweep) and hacked it up to use as a flash tester 2013-04-02T07:33:33 < dongs> so all it does is 2s low, 1s high 2013-04-02T07:33:50 < dongs> so I flash stuff + plug it in to check when its low, make sure it goes high, ship it. 2013-04-02T07:34:49 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-02T07:35:03 < dongs> i mean it's liek 5 minutes to write it myself but im fucking lazy 2013-04-02T07:36:40 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-02T07:39:15 < R2COM> http://imgur.com/paE8Zjs 2013-04-02T07:39:43 < Simon--> yah 2013-04-02T07:39:46 < Simon--> ok 2013-04-02T07:39:57 < Simon--> I wrote parallel port blipper that does that already 2013-04-02T07:40:22 < dongs> parallel port 2013-04-02T07:40:23 < dongs> lol 2013-04-02T07:42:38 < qyx_> R2COM: whats that 2013-04-02T07:43:05 < R2COM> cpld test board, with implemented inside mux-switcher 2013-04-02T07:43:32 < R2COM> basically to detect RC input signal, and redirect channels from one port or another, depending on how wide incoming signal is 2013-04-02T07:43:44 < qyx_> uh 2013-04-02T07:44:15 < dongs> lo 2013-04-02T07:56:46 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-02T08:01:20 -!- pelrun_ [~James@60-241-99-33.static.tpgi.com.au] has quit [Ping timeout: 256 seconds] 2013-04-02T08:03:53 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-04-02T08:17:07 -!- [1]MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-02T08:20:07 -!- MrMobius [~Joey@91.192.66.229] has quit [Ping timeout: 246 seconds] 2013-04-02T08:24:25 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-02T08:25:05 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-02T08:28:43 < Tectu> so let's say I have a .bmp and I need to get it into my flash and I need a pointer to that picture afterwards 2013-04-02T08:28:45 < Tectu> how does one do that? 2013-04-02T08:29:02 < dongs> bmp2h 2013-04-02T08:29:13 < Tectu> no, I need a real .bmp 2013-04-02T08:30:56 < R2COM> Tectu: real one http://www.military-today.com/apc/bmp_3_l1.jpg 2013-04-02T08:31:07 < Tectu> wtf? 2013-04-02T08:31:38 < Tectu> R2COM, you're not being helpful 2013-04-02T08:31:48 < Tectu> and it took me quite a while to get the joke ^^ 2013-04-02T08:31:59 < R2COM> sad 2013-04-02T08:32:15 < Tectu> yeah 2013-04-02T08:32:23 < Tectu> but seriously, how do I get a picture into my Flash? 2013-04-02T08:33:06 < R2COM> ...remember how your image matrix stored? ...and know the memory of first "cell" ? 2013-04-02T08:33:38 -!- claude is now known as Claude 2013-04-02T08:34:23 < Tectu> R2COM, I know about that 2013-04-02T08:34:35 < Tectu> R2COM, but let's say I have a given routine to display a .bmp picture 2013-04-02T08:34:43 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Ping timeout: 260 seconds] 2013-04-02T08:34:47 < Tectu> so how do i get a .bmp file into my flash without converthing shit 2013-04-02T08:34:52 < Tectu> and how do I get a pointer to the start of it? 2013-04-02T08:35:22 < R2COM> what do you mean bmp into flash without "convertinng" bmp is really simple format, just rgb bytes, you do *not* need to convert anything 2013-04-02T08:35:33 < R2COM> just read raw data, line by line (assuming that image is not too big) 2013-04-02T08:35:42 < Tectu> yes, so how do I get it into the flash? 2013-04-02T08:36:12 < dongs> ??? 2013-04-02T08:36:17 < R2COM> the only thing is it has header, for it to be properly displayed in windows etc... but in electronic stuff, where lets say you have control over your display adapter, you do not need that header, if you know you work only with some predefined image 2013-04-02T08:36:40 < Tectu> you don't get it 2013-04-02T08:36:45 < R2COM> I'v used to display bmp images on custom VGA controller with fpga, and thats how I did that time, just read the raw lines, and fed it to frame buffer 2013-04-02T08:36:47 < Tectu> HOW THE FUCK DO I GET THE IMAGE INTO THE ACTUAL FLASH? 2013-04-02T08:36:50 < Tectu> woops, caps, sorry 2013-04-02T08:37:03 < Tectu> yes, but how did you put the picture into the flash? -.- 2013-04-02T08:37:04 < dongs> haha 2013-04-02T08:37:07 < dongs> lol'd IRL 2013-04-02T08:37:13 < dongs> wifecop is looking at me weird now 2013-04-02T08:37:36 < dongs> Tectu: if i wasnt lazy i'd blog your shit on tarduino.cc right about now 2013-04-02T08:37:59 < dongs> raged out bitmap loader 2013-04-02T08:46:45 < qyx_> Tectu: try this http://stackoverflow.com/questions/4864866/c-c-with-gcc-statically-add-resource-files-to-executable-library 2013-04-02T08:46:59 < Tectu> qyx_, I'll take a look! 2013-04-02T08:47:09 < Tectu> btw, dongs, do yo uhave a special bmp2h tool you can recommend? 2013-04-02T08:47:39 < qyx_> http://www.linuxjournal.com/content/embedding-file-executable-aka-hello-world-version-5967 2013-04-02T08:47:50 < qyx_> Tectu: convert image.png image.h should work 2013-04-02T08:47:55 < qyx_> or bmp 2013-04-02T08:48:14 < Tectu> qyx_, didn't know that imagemagick is aware of doing that 2013-04-02T08:48:16 < Tectu> able* 2013-04-02T08:48:39 < qyx_> me neither 2013-04-02T08:48:48 < qyx_> i just tried and it works ok 2013-04-02T08:49:00 < Tectu> totally 2013-04-02T08:49:40 < qyx_> but converts to pnm, which isnt bad actually 2013-04-02T08:55:09 < Tectu> pnm? 2013-04-02T08:56:25 < baird> Keep in mind that a source image that's a 24-bit PNG will create a much larger resulting .h file than a indexed-colour or greyscale PNG.. 2013-04-02T08:56:39 < Tectu> I just copied your sample 8 bmp 2013-04-02T08:58:02 < baird> Did a test here, and a 240x320 24-bit colour image made a 1.4MB result, whereas the same image with a crunched reduced indexed palette came out as only 15kB. 2013-04-02T08:59:08 < qyx_> yep, better have gif/png decoder, there are some neat on the internets 2013-04-02T08:59:26 < qyx_> even with very low resource usage 2013-04-02T09:00:44 < baird> Imagemagick by default goes for the deepest colourspace, and convert will happily pipe out a 48-bit truecolour result to a PNG. 2013-04-02T09:03:42 -!- dekar__ [~dekar@212.255.229.191] has joined ##stm32 2013-04-02T09:03:45 -!- mode/##stm32 [+v dekar__] by ChanServ 2013-04-02T09:05:45 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-231-90.clienti.tiscali.it] has joined ##stm32 2013-04-02T09:07:05 -!- dekar_ [~dekar@212.255.252.14] has quit [Ping timeout: 245 seconds] 2013-04-02T09:10:31 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Ping timeout: 246 seconds] 2013-04-02T09:16:33 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-02T09:17:21 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-02T09:18:41 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-04-02T09:26:07 -!- Claude is now known as claude 2013-04-02T09:32:22 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-04-02T09:34:00 -!- Count_Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Ping timeout: 260 seconds] 2013-04-02T09:36:53 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Ping timeout: 248 seconds] 2013-04-02T09:42:40 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-04-02T09:43:17 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 248 seconds] 2013-04-02T09:44:20 -!- izzy84075 [~quassel@50.35.196.221] has joined ##stm32 2013-04-02T09:57:47 -!- DLPeterson [~hazelnuss@c-71-198-192-33.hsd1.ca.comcast.net] has joined ##stm32 2013-04-02T09:57:55 -!- DLPeterson [~hazelnuss@c-71-198-192-33.hsd1.ca.comcast.net] has quit [Client Quit] 2013-04-02T10:06:25 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-02T10:09:09 -!- sterna1 [~Adium@62.127.211.186] has joined ##stm32 2013-04-02T10:17:06 -!- MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-02T10:18:08 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-02T10:18:49 < dongs> lol pal is hand-assembling BGA324 board 2013-04-02T10:18:55 < dongs> i'm sure it donest work! 2013-04-02T10:18:55 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-04-02T10:37:15 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: and like that, he's gone] 2013-04-02T10:43:54 -!- CRF_Peter [~Peter@194.17.253.121] has joined ##stm32 2013-04-02T11:05:19 < baird> This http://www.element14.com/stm32f4-expansion junk finally arrived.. Now to try and budge off 9 months of stm32 apathy and program the thing. 2013-04-02T11:11:51 -!- pelrun [~James@123-243-159-164.static.tpgi.com.au] has joined ##stm32 2013-04-02T11:13:09 < jpa-> stm32 apathy? 2013-04-02T11:15:03 < baird> The F4Disco isn't as cute as the VIC20 I've been hacking on recently. :) 2013-04-02T11:16:30 < baird> Hmm, the Baseboard has 1x I2C, 1x CAN, 1x SPI, ...and 6 UART breakouts. 2013-04-02T11:18:20 -!- [1]MrMobius [~Joey@91.192.66.229] has joined ##stm32 2013-04-02T11:20:38 < Tectu> baird, you know that these add-on board are out for a very long time? 2013-04-02T11:21:25 -!- MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-02T11:23:57 < baird> Yeah, but I wasn't going to buy it while I was still trying to save up money for the new scooter. (But when that went to shit..) 2013-04-02T11:25:39 < Tectu> baird, get it with LCD and camera? 2013-04-02T11:28:53 < baird> Just the LCD and baseboard. 2013-04-02T11:31:58 < Tectu> get ChibiOS/GFX running on it? 2013-04-02T11:32:04 < Tectu> 2013-04-02T11:38:05 < baird> The plans was to leech down the code that people have mentioned here, and compare it to the ORIGINALCODEDONOTSTEAL provided with the boards to see what needs adjusting, if anything. 2013-04-02T11:38:20 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-02T11:38:46 < baird> And then have glorious Mandelbrots. 2013-04-02T11:39:51 < Tectu> yes, that will give you all the girls 2013-04-02T11:46:02 < baird> The SSD2119 has alreayd been ported, not surprisingly. 2013-04-02T11:49:20 < ShiftPlusOne> Hello, I am looking at the STM32 F4 Discovery manual and see that UART4 and UART5 have pins which are used by the audio chip. Would I still be able to use those pins for UART if I don't need to use the audio chip? I am looking at the USART pins and they all seem to be shared with other peripherals on the board, so I am not sure what to make of that. 2013-04-02T11:53:27 < jpa-> of course 2013-04-02T11:53:38 < jpa-> you select the peripheral using the AFIO bits 2013-04-02T11:55:00 < ShiftPlusOne> Ah, thanks, I'll look into that. 2013-04-02T11:56:44 < Tectu> baird, what's "not suprorisingly" about it? 2013-04-02T11:57:33 < baird> Like you said, the board has been out for a while. 2013-04-02T12:00:56 < Tectu> well, that and because embest paid them 2013-04-02T12:05:03 < Thorn__> ShiftPlusOne: just make sure the audio IC isn't trying to drive any of those signals at the same time (I guess it won't if you don't ask it to though) 2013-04-02T12:05:11 -!- Thorn__ is now known as Thorn 2013-04-02T12:07:17 < ShiftPlusOne> Thorn, yup, not sure how to make sure of that, but I think it will become apparent if it does anyway. Since I am not touching that chip, I am guessing it shouldn't. 2013-04-02T12:16:51 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-02T12:18:33 -!- MrMobius [~Joey@91.192.66.229] has joined ##stm32 2013-04-02T12:18:49 -!- [1]MrMobius [~Joey@91.192.66.229] has quit [Read error: Connection reset by peer] 2013-04-02T12:27:27 < Tectu> jpa-, someone's cheating: http://imgur.com/a/17Y89 2013-04-02T12:41:49 < karlp> Tectu: even gimp has a "save as .h" option. 2013-04-02T12:43:35 < Tectu> karlp, but only for RGB565, no? 2013-04-02T12:53:38 < Thorn> >Microchip tried to buy Atmel 3 or 4 years ago 2013-04-02T12:53:40 < Thorn> wat 2013-04-02T12:54:12 < Tectu> where did you get that from? 2013-04-02T12:54:23 < Robint91> It is true 2013-04-02T12:55:05 < qyx_> no avr, only pic? 2013-04-02T12:55:21 < Tectu> sounds like an wesome fun 2013-04-02T12:55:28 < Robint91> Tectu, http://news.cnet.com/8301-1001_3-10056589-92.html 2013-04-02T13:08:09 -!- Maya-sama [~Maya@s529c4932.adsl.online.nl] has joined ##stm32 2013-04-02T13:11:00 -!- hackkitten [~Maya@s529c4932.adsl.online.nl] has quit [Ping timeout: 264 seconds] 2013-04-02T13:19:00 -!- [1]MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-02T13:21:49 -!- MrMobius [~Joey@91.192.66.229] has quit [Ping timeout: 246 seconds] 2013-04-02T13:29:18 -!- _BJFreeman [~bjfree@236.sub-75-196-85.myvzw.com] has joined ##stm32 2013-04-02T13:29:52 -!- _BJFreeman is now known as BJfreeman 2013-04-02T13:35:05 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-04-02T13:52:30 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 245 seconds] 2013-04-02T13:59:05 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-02T13:59:06 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-02T13:59:06 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-02T13:59:09 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-02T14:16:20 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-04-02T14:18:22 -!- [1]MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-02T14:19:01 -!- MrMobius [~Joey@91.192.66.229] has joined ##stm32 2013-04-02T14:24:50 < ossifrage> hmm, why oh why is gdb not picking up the right type when doing a print :-( 2013-04-02T14:25:31 < jpa-> Tectu: i know :) 2013-04-02T14:25:40 < dongs> < ossifrage> < sounds about right 2013-04-02T14:26:12 < dongs> OpenSoresShit results in rage 2013-04-02T14:26:15 < ossifrage> it is printing a char as unsigned, which is annoying... 2013-04-02T14:26:26 < dongs> cant you typecast it? 2013-04-02T14:26:33 < dongs> print (unsigned char)cocks 2013-04-02T14:26:34 < dongs> or whatever 2013-04-02T14:27:08 < ossifrage> it is printing it unsigned, when the type says signed 2013-04-02T14:30:00 < ossifrage> ah, must be something weird with what the default type of char is 2013-04-02T14:30:10 < ossifrage> changed it to 'signed char' and then it was happy 2013-04-02T14:31:01 < jpa-> signed vs. unsigned char is annoying.. wish it was standardized 2013-04-02T14:31:59 < ossifrage> I also wish I could turn doubles off with this version of gcc 2013-04-02T14:32:15 < ossifrage> because soft float makes ossifrage sad 2013-04-02T14:32:34 < ossifrage> and soft doubles makes me cry... 2013-04-02T14:33:18 < ossifrage> (to much time working on mips network processors with softfloats) 2013-04-02T14:34:07 < dongs> ??? 2013-04-02T14:34:14 < dongs> why not just use float-only math functions 2013-04-02T14:34:16 < dongs> then you wont have doubles 2013-04-02T14:34:31 < dongs> i.e. sinf() cosf() etc 2013-04-02T14:34:53 < ossifrage> because of things like varargs promoting to double causes you to pick up all the double stuff as well 2013-04-02T14:35:03 < dongs> bs 2013-04-02T14:35:19 < jpa-> hmm so you have some old gcc version where there is no -fshort-double? 2013-04-02T14:36:36 < ossifrage> so -mshort-double doesn't exist, -fshort-double triggers a buttload of warnings 2013-04-02T14:36:46 < ossifrage> commands.c:202:5: warning: format '%f' expects argument of type 'double', but argument 2 has type 'float' [-Wformat] 2013-04-02T14:39:25 < jpa-> may need to go with -Wno-format 2013-04-02T14:39:38 < jpa-> printf() is annoying with floats 2013-04-02T14:40:11 < ossifrage> jpa-, yeah and my hacked up printf() implementation doesn't do floats very well anywhy... 2013-04-02T14:40:51 < jpa-> printf("%f", (double)foo); should work 2013-04-02T14:41:06 < ossifrage> but now that I have the right part on the board I can go back to using full printf() 2013-04-02T14:41:31 < ossifrage> 32KB of flash wasn't enough for all the crap 2013-04-02T14:54:33 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-04-02T15:01:14 -!- baird [~cjb@ppp121-45-182-147.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-04-02T15:05:43 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Quit: The g33k's are in the house OMGosh! DANGER!!1one] 2013-04-02T15:06:05 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925075985.dsl.bell.ca] has joined ##stm32 2013-04-02T15:06:06 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925075985.dsl.bell.ca] has quit [Changing host] 2013-04-02T15:06:06 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-04-02T15:17:46 < dongs> why use printf at all 2013-04-02T15:19:12 -!- MrMobius [~Joey@91.192.66.229] has quit [Read error: Connection reset by peer] 2013-04-02T15:19:14 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-02T15:19:46 < dongs> http://media.digikey.com/Photos/Molex/53261-0490,%2053261-0471.jpg this connector looks like its covered in jizz 2013-04-02T15:19:49 < dongs> what do you think 2013-04-02T15:20:45 < ossifrage> why not, it printf() is compact and farily painless to use... 2013-04-02T15:22:28 < ossifrage> at least that connector has nice big strain relief tabs, I hate it when I rip connectors of the pcb because they don't have enough contact area 2013-04-02T15:23:17 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 255 seconds] 2013-04-02T15:32:23 -!- BJfreeman [~bjfree@236.sub-75-196-85.myvzw.com] has quit [Quit: had a good time] 2013-04-02T15:37:35 -!- Laurenceb_ [~Laurence@host86-174-20-97.range86-174.btcentralplus.com] has joined ##stm32 2013-04-02T15:39:03 -!- pelrun_ [~James@123-243-159-164.static.tpgi.com.au] has joined ##stm32 2013-04-02T15:59:28 < jpa-> dongs: what do you suggest instead of printf? 2013-04-02T16:03:08 -!- johntramp [~john@122-62-203-214.jetstream.xtra.co.nz] has quit [Ping timeout: 252 seconds] 2013-04-02T16:04:34 -!- johntramp [~john@122-62-203-214.jetstream.xtra.co.nz] has joined ##stm32 2013-04-02T16:04:42 < Laurenceb_> jpa-: write your own printf 2013-04-02T16:05:17 < jpa-> Laurenceb_: that is what ossifrage did 2013-04-02T16:05:25 < Laurenceb_> ive done it too 2013-04-02T16:05:48 < jpa-> but that is still printf 2013-04-02T16:06:01 < Laurenceb_> heh 2013-04-02T16:06:12 < Laurenceb_> wtf "Sender diocesansz00@straylightoptical.com Subject Re: Your Direct Deposit disallowance" 2013-04-02T16:06:22 < Laurenceb_> how do scammers know i buy optics 2013-04-02T16:07:24 -!- DaKu_ [DaKu@v2201303683811315.yourvserver.net] has joined ##stm32 2013-04-02T16:08:08 < Laurenceb_> http://www.pirnay.com/index.php/en/en-home-2/blog-en/117-01-04-april-fool-s-joke-in-predictor 2013-04-02T16:10:09 -!- DaKu_ [DaKu@v2201303683811315.yourvserver.net] has quit [Client Quit] 2013-04-02T16:11:34 <+Steffanx> lol 2013-04-02T16:12:01 <+Steffanx> Laurenceb_ they hacked your supplier. Or your supplier sells your info 2013-04-02T16:12:13 < Laurenceb_> yeah :( 2013-04-02T16:12:24 <+Steffanx> Non of those is really a surprise nowadays 2013-04-02T16:12:26 <+Steffanx> *None 2013-04-02T16:13:10 -!- a2cypher [~cypher@mail.krausglobal.com] has joined ##stm32 2013-04-02T16:18:13 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-02T16:19:17 -!- MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-02T16:19:27 -!- MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-02T16:24:34 -!- CRF_Peter [~Peter@194.17.253.121] has quit [Read error: Operation timed out] 2013-04-02T16:33:00 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-231-90.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2013-04-02T16:39:36 -!- Maya-sama is now known as hackkitten 2013-04-02T16:40:05 < dongs> jpa-: i duno, i rolled my own 2013-04-02T16:40:07 < dongs> for simple stuff 2013-04-02T16:40:15 < dongs> i mean seriosuly printf especeially under gnu brings in like 20k of crap 2013-04-02T16:41:51 < gxti> but how else will you debug your tarduino sketches? 2013-04-02T16:43:02 < jpa-> dongs: eh, sure, newlib printf is bloat 2013-04-02T16:43:05 < jpa-> everyone knows that 2013-04-02T16:43:25 < jpa-> but there are plenty of smaller printf's floating around 2013-04-02T16:48:52 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-02T16:49:28 < gxti> any stdlib-compliant one is going to be fatter than what an embedded system really needs 2013-04-02T16:52:55 -!- CRF_Peter [~Peter@194.17.253.121] has joined ##stm32 2013-04-02T16:54:45 < jpa-> and there is no need to be standards compliant 2013-04-02T16:56:02 < jpa-> but "don't use printf, you have to write your own printf" sounds a bit funny :P 2013-04-02T17:05:33 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-04-02T17:07:50 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2013-04-02T17:08:35 -!- pelrun_ [~James@123-243-159-164.static.tpgi.com.au] has quit [Ping timeout: 255 seconds] 2013-04-02T17:08:36 -!- pelrun [~James@123-243-159-164.static.tpgi.com.au] has quit [Ping timeout: 264 seconds] 2013-04-02T17:14:36 -!- CRF_Peter [~Peter@194.17.253.121] has quit [Ping timeout: 260 seconds] 2013-04-02T17:18:00 -!- sterna1 [~Adium@62.127.211.186] has quit [Quit: Leaving.] 2013-04-02T17:18:31 < Laurenceb_> i stole mine 2013-04-02T17:18:36 < Laurenceb_> my usual code technique 2013-04-02T17:19:10 < Laurenceb_> https://github.com/Laurenceb/STM32-Logger/blob/master/Util/rprintf.c 2013-04-02T17:19:41 < Laurenceb_> thats like 1KB or something on cortex M3/4 2013-04-02T17:20:16 -!- [1]MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-02T17:22:37 -!- MrMobius [~Joey@194.176.111.29] has quit [Ping timeout: 246 seconds] 2013-04-02T17:22:42 < jpa-> also no test suite, i assume? 2013-04-02T17:27:49 < Laurenceb_> lulwut 2013-04-02T17:27:53 < Laurenceb_> course not 2013-04-02T17:28:33 < jpa-> i love printf's that print wrong values sometimes :) 2013-04-02T17:29:15 < Laurenceb_> mine does that 2013-04-02T17:29:19 < Laurenceb_> its a "feature" 2013-04-02T17:34:52 <+Steffanx> it also has a special Laurenceb_ mode 2013-04-02T17:35:08 <+Steffanx> It removes all spaces 2013-04-02T17:35:26 < jpa-> also special format %L that inserts a gross/stupid/annoying link 2013-04-02T17:35:32 <+Steffanx> :D 2013-04-02T17:35:51 <+Steffanx> We know you too well Laurenceb_ 2013-04-02T17:37:15 < Laurenceb_> http://cow.org/csi/ 2013-04-02T17:37:18 < Laurenceb_> you asked for it 2013-04-02T17:37:51 <+Steffanx> no sound 2013-04-02T17:39:20 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-02T17:45:19 < Laurenceb_> http://almamater.xkcd.com/best.csv 2013-04-02T17:45:21 < Laurenceb_> heh 2013-04-02T17:51:28 -!- jef79m [~jef79m@124-149-170-85.dyn.iinet.net.au] has quit [Ping timeout: 260 seconds] 2013-04-02T17:54:05 -!- jef79m [~jef79m@124-149-183-64.dyn.iinet.net.au] has joined ##stm32 2013-04-02T17:54:20 <+Steffanx> and what is that? 2013-04-02T17:57:54 -!- rigid [~daniel@178-26-71-67-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-02T17:58:24 -!- CRF_Peter [~Peter@dhcp-185131.eduroam.chalmers.se] has joined ##stm32 2013-04-02T18:04:15 < Laurenceb_> http://www.youtube.com/watch?v=_c6HsiixFS8 2013-04-02T18:04:35 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-231-90.clienti.tiscali.it] has joined ##stm32 2013-04-02T18:11:16 <+Steffanx> wtf was that csv file mr Laurenceb_ ? 2013-04-02T18:11:45 < Laurenceb_> some nerd fail stuff 2013-04-02T18:11:45 < jpa-> xkcd hash competition 2013-04-02T18:12:42 <+Steffanx> ok whatever Laurenceb_ 2013-04-02T18:12:46 <+Steffanx> Still have no idea what it is 2013-04-02T18:13:02 <+Steffanx> oh, hash competion.. whats the goal jpa- ? 2013-04-02T18:13:35 < jpa-> to get your university's name on the xkcd comic 2013-04-02T18:13:58 <+Steffanx> YAYAYAY 2013-04-02T18:14:36 < BrainDamage> I don't get the hash part 2013-04-02T18:15:19 < jpa-> hashes are the favourite hard problems for people who like to bruteforce 2013-04-02T18:15:49 <+Steffanx> oh, they give a algorithm + hash and they have to give the input 2013-04-02T18:15:50 <+Steffanx> YAY 2013-04-02T18:16:20 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-02T18:16:36 < BrainDamage> oh, I didn't get they had to reverse the hash 2013-04-02T18:17:04 < gxti> still better than buttcoin 2013-04-02T18:17:04 < BrainDamage> it seems the comic gets updated as school changes too 2013-04-02T18:17:12 < jpa-> they compete for who gets most bits correct 2013-04-02T18:17:58 < jpa-> the overall benefit to society is to find out which school has the most lifeless geeks 2013-04-02T18:18:10 <+Steffanx> + the best super computer? 2013-04-02T18:18:49 <+Steffanx> Just write something for a gpu and get some amazon cloud super great fantastic computers 2013-04-02T18:19:17 -!- [1]MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-02T18:19:20 < BrainDamage> and most power wasted 2013-04-02T18:19:30 <+Steffanx> Yeah, but amazon cloud, makes it fancy 2013-04-02T18:19:56 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-02T18:30:25 < dongs> http://www.kickstarter.com/projects/597507018/pebble-e-paper-watch-for-iphone-and-android i wonder if this shipped yet 2013-04-02T18:31:23 -!- sterna1 [~Adium@dhcp-183016.eduroam.chalmers.se] has joined ##stm32 2013-04-02T18:32:39 < dongs> sadly, it did 2013-04-02T18:45:56 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-04-02T18:47:49 < emeb> Apparently there are a lot of happy customers for the pebble. 2013-04-02T18:48:02 < emeb> can't get too excited about it myself 2013-04-02T18:49:20 < jpa-> yeah.. who uses watches nowadays 2013-04-02T18:49:22 < karlp> some people like watches, can't explain that 2013-04-02T18:50:02 < emeb> right - they're more of a fetish object. Function not so important as their value as jewelry. 2013-04-02T18:56:58 < Laurenceb_> watches are useful 2013-04-02T18:57:13 < Laurenceb_> saves getting phone out of my pocket 2013-04-02T18:59:24 < BrainDamage> I use a wristwatch, for instance while biking phone is hard to reach, while wristwatch no 2013-04-02T18:59:55 < BrainDamage> same applies while regularry running late (literally) 2013-04-02T19:00:39 < emeb> should just have your phone mounted on the handlebars. That way you can run GPS, trip stats, watch youtube while riding, etc. 2013-04-02T19:02:00 < BrainDamage> all the mounts I saw are not very waterproof 2013-04-02T19:03:24 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-02T19:04:26 -!- DaKu is now known as daku 2013-04-02T19:05:21 <+Steffanx> "yeah.. who uses watches nowadays" <= what do you use jpa- ? 2013-04-02T19:05:25 <+Steffanx> Fancy phone? 2013-04-02T19:05:51 < emeb> knowing time is overrated. 2013-04-02T19:05:58 <+Steffanx> For you maybe 2013-04-02T19:06:17 < jpa-> Steffanx: yes my phone is so fancy that it shows the tie 2013-04-02T19:06:19 < jpa-> *time 2013-04-02T19:06:24 * emeb sits in front of a computer 90% of the time he is awake. 2013-04-02T19:06:32 * jpa- also 2013-04-02T19:06:42 <+Steffanx> poor emeb and jpa- 2013-04-02T19:06:49 < emeb> yes, it's sad. 2013-04-02T19:06:58 < jpa-> what does Steffanx do 90% of time awake? 2013-04-02T19:07:12 <+Steffanx> Depends on what i have to do that day 2013-04-02T19:07:21 < jpa-> what have you done today? 2013-04-02T19:07:24 < dongs> [ ] fap 2013-04-02T19:07:24 < dongs> or 2013-04-02T19:07:26 < dongs> [ ] fpa 2013-04-02T19:07:29 < dongs> er, fap even fuck. 2013-04-02T19:07:30 < dongs> failed. 2013-04-02T19:07:44 < dongs> shoulda just up-entered taht oen 2013-04-02T19:07:50 < emeb> [ ] fail 2013-04-02T19:07:57 < dongs> [x] fail you mean 2013-04-02T19:08:03 < qyx_> what, pinout for stm32w1 is not available? 2013-04-02T19:08:05 <+Steffanx> Time to sleep dongs.. really time to sleep 2013-04-02T19:08:05 < emeb> that 2013-04-02T19:08:12 < qyx_> or i am just blind 2013-04-02T19:08:19 <+Steffanx> datasheet? 2013-04-02T19:08:31 < dongs> qyx_: i dont think much for that shit is available wh are yo using it 2013-04-02T19:08:42 < dongs> no RM/whatever 2013-04-02T19:08:47 <+Steffanx> pinout is in the datatsheet 2013-04-02T19:08:48 < qyx_> theres NOTHING in the datasheet 2013-04-02T19:08:51 <+Steffanx> ( just checked ) 2013-04-02T19:08:55 < qyx_> what 2013-04-02T19:09:02 <+Steffanx> At least for the w108 2013-04-02T19:09:05 < dongs> stop downlaoding datasheets of datasheetcatalog.co.cn 2013-04-02T19:09:18 -!- _BJFreeman [~bjfree@238.sub-75-196-24.myvzw.com] has joined ##stm32 2013-04-02T19:09:34 <+Steffanx> oh, there is only a w108 :) 2013-04-02T19:09:39 < qyx_> hmok, i downloaded some weird thing from st.com, cannot find it again 2013-04-02T19:09:41 -!- _BJFreeman is now known as BJfreeman 2013-04-02T19:09:53 < emeb> marketing blurb prolly 2013-04-02T19:10:00 < dongs> [x] useless shit 2013-04-02T19:10:16 < qyx_> old version probably or some preliminary 2013-04-02T19:10:19 <+Steffanx> btw dongs, nerd fap in from of a pc .. 2013-04-02T19:10:21 < emeb> Sturgeon's Law: 90% of everything is crud. 2013-04-02T19:10:21 <+Steffanx> *nerds 2013-04-02T19:10:32 < dongs> new ST.com: you didn't think it was possible to make our shitty site harder to use, but we proved you wrong. 2013-04-02T19:10:39 <+Steffanx> And i wasn't in front of my pc, the fast few hours 2013-04-02T19:10:48 < emeb> pushing the bar lower. 2013-04-02T19:11:20 <+Steffanx> I like it how they actually were able to make navigating more difficult 2013-04-02T19:13:43 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-02T19:19:40 <+Steffanx> Not to talk about using jpg for png images :P 2013-04-02T19:20:10 -!- [1]MrMobius [~Joey@91.192.66.229] has joined ##stm32 2013-04-02T19:22:01 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-02T19:29:59 < dongs> < Tectu> HOW THE FUCK DO I GET THE IMAGE INTO THE ACTUAL FLASH? 2013-04-02T19:29:59 < jpa-> where would you put spaces in the type void* const* foobar; (a pointer to const void*) 2013-04-02T19:30:19 < dongs> what 2013-04-02T19:30:44 < dongs> wouldnt that be just const void *cocks; 2013-04-02T19:30:49 < dongs> or am i missing some c++1337 shit 2013-04-02T19:31:38 < jpa-> no it is just C 2013-04-02T19:32:05 < jpa-> ah i typed wrong 2013-04-02T19:32:24 < jpa-> i meant (a pointer to a void* pointer that is const) 2013-04-02T19:33:09 < jpa-> i.e. struct foo_t { void* bar;}; struct foo_t mystruct; void* const* foobar = &(mystruct.bar); 2013-04-02T19:33:24 < jpa-> er, make that const struct foo_t mystruct ; 2013-04-02T19:55:20 -!- barthess [~barthess@178.154.57.181] has joined ##stm32 2013-04-02T19:58:43 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-02T20:20:25 -!- MrMobius [~Joey@91.192.66.229] has joined ##stm32 2013-04-02T20:22:59 < BrainDamage> @ Laurenceb_: http://i.imgur.com/mdV7pNQ.png 2013-04-02T20:23:13 -!- [1]MrMobius [~Joey@91.192.66.229] has quit [Ping timeout: 246 seconds] 2013-04-02T20:24:41 <+Steffanx> BrainDamage: try /msg Laurenceb_ [insert message] next time 2013-04-02T20:25:25 < BrainDamage> but that april's fools is relevant for other channel users too 2013-04-02T20:25:29 < BrainDamage> like cjbeard 2013-04-02T20:25:37 < Laurenceb_> i dont get it 2013-04-02T20:25:42 < Laurenceb_> dont use farcebook 2013-04-02T20:25:58 < karlp> BrainDamage: :) 2013-04-02T20:29:59 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Quit: leaving] 2013-04-02T20:32:31 < BrainDamage> Laurenceb_: from the context of the example post, looks like an hentai forum/community 2013-04-02T20:52:37 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Ping timeout: 246 seconds] 2013-04-02T21:00:13 < qyx_> can i have both analog comparator and adc connected simultaneously to the same analog input on f3? 2013-04-02T21:02:42 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 276 seconds] 2013-04-02T21:03:09 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-02T21:05:05 < Laurenceb_> try it 2013-04-02T21:05:19 < qyx_> :S 2013-04-02T21:05:21 < qyx_> should 2013-04-02T21:21:01 -!- [1]MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-02T21:23:25 -!- MrMobius [~Joey@91.192.66.229] has quit [Ping timeout: 246 seconds] 2013-04-02T21:26:21 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-02T21:50:45 -!- baird [~cjb@ppp121-44-250-4.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-02T22:13:44 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 260 seconds] 2013-04-02T22:21:19 -!- MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-02T22:22:28 -!- [1]MrMobius [~Joey@194.176.111.29] has quit [Read error: Connection reset by peer] 2013-04-02T22:36:17 -!- Steffann [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-02T22:36:17 -!- Steffann [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-02T22:36:17 -!- Steffann [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-02T22:36:18 -!- mode/##stm32 [+v Steffann] by ChanServ 2013-04-02T22:38:18 -!- Erlkoenig [~erlkoenig@pptp-212-201-79-133.pptp.stw-bonn.de] has joined ##stm32 2013-04-02T22:39:52 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Ping timeout: 260 seconds] 2013-04-02T23:03:26 <+Steffann> Why no F0s with USB? :( 2013-04-02T23:03:59 < qyx_> use avr then 2013-04-02T23:04:20 <+Steffann> I could, but .. no :P 2013-04-02T23:04:31 < Thorn> lpc11uxx 2013-04-02T23:05:02 < Thorn> http://www.nxp.com/products/microcontrollers/cortex_m0_m0/series/LPC11U00.html 2013-04-02T23:05:31 <+Steffann> Not that i NEED F0, but i don't need an overpowered/more expensive controller either 2013-04-02T23:06:02 < jpa-> Steffann: use L1 2013-04-02T23:06:31 <+Steffann> Those are more expensive that F102 .. not that that REALLY matters 2013-04-02T23:07:04 < jpa-> L1 uses less power and has smarter peripherals 2013-04-02T23:07:23 <+Steffann> Yeah, compared the the newer ones the F1 suck :) 2013-04-02T23:07:27 <+Steffann> *to the 2013-04-02T23:07:56 < jpa-> also L1 is approved by jpa 2013-04-02T23:08:04 <+Steffann> w00t 2013-04-02T23:08:46 <+Steffann> Then its must be good 2013-04-02T23:09:58 -!- barthess [~barthess@178.154.57.181] has quit [Quit: Leaving.] 2013-04-02T23:14:22 -!- MrMobius [~Joey@194.176.111.29] has quit [Ping timeout: 246 seconds] 2013-04-02T23:15:03 <+Steffann> ok, L1 it is :) 2013-04-02T23:15:09 -!- daku is now known as DaKu 2013-04-02T23:15:52 -!- MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-02T23:16:27 <+Steffann> time to find my EAGLE part designer 'skills' (again) 2013-04-02T23:20:00 < jpa-> use kicad 2013-04-02T23:20:07 < jpa-> it's jpa approved 2013-04-02T23:21:27 < BrainDamage> you need to make a logo for that 2013-04-02T23:21:39 <+Steffann> You know jpa- .. you don't do you? 2013-04-02T23:21:40 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-02T23:21:51 -!- [1]MrMobius [~Joey@91.192.66.229] has joined ##stm32 2013-04-02T23:22:00 <+Steffann> kicad is not os x approved :P 2013-04-02T23:22:20 < BrainDamage> there's an experimental mac port 2013-04-02T23:22:26 < jpa-> Steffann: so are you looking for STM32L151 part for eagle? 2013-04-02T23:22:27 < BrainDamage> I saw it a friend last year 2013-04-02T23:22:28 < BrainDamage> it sucked 2013-04-02T23:22:30 <+Steffann> experimental .. 2013-04-02T23:22:39 < BrainDamage> no decent lib selector, many glitches, etc 2013-04-02T23:22:59 <+Steffann> I tried it once.. removed it after my first try to zoom in 2013-04-02T23:23:29 < qyx_> me too, zooming was strange and i couldnt change it 2013-04-02T23:23:41 < jpa-> isn't it just mouse wheel like in eagle? 2013-04-02T23:23:43 <+Steffann> I have some stm32 lib with F1 parts, its probably very easy to change one to l151 jpa- 2013-04-02T23:23:56 < BrainDamage> maybe it got better recently tough 2013-04-02T23:23:59 < qyx_> jpa-: it is, but it somewhat centers your pointer when you zoom out 2013-04-02T23:24:01 < jpa-> Steffann: yeah, i have done that already.. behold the jpalib! http://kapsi.fi/~jpa/stuff/other/jpalib.lbr 2013-04-02T23:24:10 -!- MrMobius [~Joey@194.176.111.29] has quit [Ping timeout: 246 seconds] 2013-04-02T23:24:12 < jpa-> qyx_: ah, nowadays it is selectable in settings 2013-04-02T23:24:21 <+Steffann> me imports jpalib 2013-04-02T23:24:25 < qyx_> hm, maybe ill give it a try 2013-04-02T23:24:28 < jpa-> also "pan with middle button" is now selecteable 2013-04-02T23:24:38 <+Steffann> ( and renames it to steffanlib 2013-04-02T23:24:40 <+Steffann> ) 2013-04-02T23:24:46 < BrainDamage> damn, jpalib 2013-04-02T23:25:07 <+Steffann> I dont trust jpa enough, so i'll double check it 2013-04-02T23:25:38 < qyx_> ok, apt-get install kicad 2013-04-02T23:25:57 < qyx_> 141MB O_o 2013-04-02T23:26:05 < Thorn> if I take a 3.5mm chisel tip and file a v-groove in it, will it be usable for drag soldering? 2013-04-02T23:26:21 < BrainDamage> ._. 2013-04-02T23:26:45 < jpa-> Thorn: uh, it should be usable as it 2013-04-02T23:26:48 < jpa-> *as is 2013-04-02T23:27:00 < Thorn> can't confirm that 2013-04-02T23:27:03 < jpa-> just learn to insert some more solder as you move the tip 2013-04-02T23:27:09 <+Steffann> what where is it jpa- ? 2013-04-02T23:27:18 <+Steffann> oh, the 152 2013-04-02T23:27:25 < jpa-> ah yeah, it's the same really 2013-04-02T23:27:34 <+Steffann> You did not even change the description lol 2013-04-02T23:27:35 < jpa-> 152 has the lcd controller, 151 doesn't.. pins are the same 2013-04-02T23:27:39 < jpa-> of course not :D 2013-04-02T23:27:56 < jpa-> i still haven't found out how to do that in eagle 2013-04-02T23:28:06 < jpa-> there is no button for it! :( 2013-04-02T23:28:18 <+Steffann> of course there is 2013-04-02T23:28:59 <+Steffann> http://share.naffets.nl/a-20130402-222853.png 2013-04-02T23:29:32 < jpa-> that is a button?!? 2013-04-02T23:29:41 < jpa-> blue underlined things are not clickable 2013-04-02T23:29:42 <+Steffann> hyperlink 2013-04-02T23:29:43 < jpa-> it's obvious 2013-04-02T23:30:07 <+Steffann> Actually the entire 'think'/frame is generated by html 2013-04-02T23:30:11 <+Steffann> you can even use html in your description 2013-04-02T23:30:19 < jpa-> nice 2013-04-02T23:30:20 * Steffann adds 2013-04-02T23:30:26 <+Steffann> and 2013-04-02T23:30:33 < jpa-> This part designed by jpa 2013-04-02T23:30:48 <+Steffann> meh, doesnt work 2013-04-02T23:31:24 <+Steffann> js engine either 2013-04-02T23:31:34 < qyx_> wheres that setting :S 2013-04-02T23:31:45 <+Steffann> that setting? 2013-04-02T23:32:39 < qyx_> center-on-zoom 2013-04-02T23:32:54 < Laurenceb_> http://hackaday.com/2013/04/02/adafruit-launches-educational-show-aimed-at-kids/ 2013-04-02T23:32:58 < Laurenceb_> i lolled 2013-04-02T23:33:34 < jpa-> qyx_: settings -> general 2013-04-02T23:33:37 <+Steffann> good for you Laurenceb_ 2013-04-02T23:34:01 < jpa-> qyx_: note that the ubuntu version may be quite old, try https://launchpad.net/~adamwolf/+archive/kicad-testing-daily 2013-04-02T23:34:51 <+Steffann> Wonderful. All the os x pages are DEAD 2013-04-02T23:34:54 < Laurenceb_> "The idea of an educational series on electronics if fantastic. However, I am not sure a woman with neon hair and a pierced lip is the role model I would want for my children" 2013-04-02T23:35:20 <+Steffann> Indeed, they need a nerd-ish look like Laurenceb_ has. 2013-04-02T23:35:44 < Laurenceb_> O_o how do you know what i look like? 2013-04-02T23:35:48 < qyx_> jpa-: meh, the debian's one is probably even older 2013-04-02T23:35:50 < jpa-> we have seen the photo 2013-04-02T23:35:55 < jpa-> qyx_: probably 2013-04-02T23:35:56 < BrainDamage> you posted 1-2 pics 2013-04-02T23:36:04 < BrainDamage> one of you holding a tethered balloon 2013-04-02T23:36:12 < BrainDamage> another you in a night club "dancing" 2013-04-02T23:36:15 < jpa-> qyx_: the feature was added in january IIRC 2013-04-02T23:36:26 < Laurenceb_> luckily too blurry 2013-04-02T23:36:48 < BrainDamage> the balloon one was pretty clear 2013-04-02T23:36:54 < BrainDamage> good enough for photoshops 2013-04-02T23:37:42 < jpa-> Laurenceb_: well we know that you are a blob 2013-04-02T23:37:42 < BrainDamage> btw, the kicad macosx port: http://www.mdx4.org/ 2013-04-02T23:37:52 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has joined ##stm32 2013-04-02T23:38:34 <+Steffann> Last time i met you, you look like the one on the left Laurenceb_ : https://pbs.twimg.com/media/BGwcohTCQAIxubf.jpg:large 2013-04-02T23:38:41 <+Steffann> *looked 2013-04-02T23:39:02 < Laurenceb_> more importantly 2013-04-02T23:39:10 < Laurenceb_> is the one on the right female? 2013-04-02T23:39:38 < BrainDamage> yes 2013-04-02T23:39:38 <+Steffann> You should watch more fancy US series 2013-04-02T23:39:59 < BrainDamage> kayley cuoco on the right, she's an actress 2013-04-02T23:40:16 < BrainDamage> looks like the rocky horror picture show 2013-04-02T23:40:27 < Laurenceb_> do not care 2013-04-02T23:40:29 < jpa-> Laurenceb_ is now hard just because his lookalike is so close to a female 2013-04-02T23:40:42 <+Steffann> You googled it BrainDamage 2013-04-02T23:40:45 <+Steffann> or you have twitter 2013-04-02T23:40:49 < BrainDamage> no & no 2013-04-02T23:41:16 <+Steffann> yes & very yes 2013-04-02T23:41:27 < BrainDamage> I have a friend obsessed with musicals 2013-04-02T23:41:34 <+Steffann> Sure.. a friend 2013-04-02T23:42:29 < BrainDamage> yes, a friend 2013-04-02T23:43:10 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-02T23:43:31 <+Steffann> The perl-friend? 2013-04-02T23:43:51 < BrainDamage> btw, Steffane, Mdx4 in ##electronics is the kicad osx port maintainer 2013-04-02T23:43:58 < BrainDamage> whine to him about the glitches 2013-04-02T23:44:19 <+Steffann> I wont even try it again. As i have to compile it myself. The horror 2013-04-02T23:44:30 < BrainDamage> no? 2013-04-02T23:44:34 < BrainDamage> http://www.mdx4.org/ 2013-04-02T23:44:35 < jpa-> download from that link? 2013-04-02T23:44:38 < BrainDamage> prebuilt bins 2013-04-02T23:44:41 < jpa-> it's in a funny language and everything 2013-04-02T23:44:59 <+Steffann> Hmm, that one IS alive? The links on their wiki i found ( they linked to it ) are dead 2013-04-02T23:45:13 <+Steffann> funny language what jpa- ? 2013-04-02T23:45:20 < BrainDamage> http://www.mdx4.org/index.php?/archives/43-Kicad-for-OSX-2013-02-14-BZR-3954.html looks recent to me 2013-04-02T23:45:28 <+Steffann> Je ne parle pas italian 2013-04-02T23:45:45 < BrainDamage> there's a switch to change language 2013-04-02T23:46:03 <+Steffann> oh, there. 2013-04-02T23:46:16 <+Steffann> That should be in the top right.. where normal website have it 2013-04-02T23:46:53 < BrainDamage> complain to the author, not me 2013-04-02T23:47:05 <+Steffann> I won't you are the perfect proxy 2013-04-02T23:47:24 <+Steffann> jpa-, should i place the caps jpa style? 2013-04-02T23:47:36 < jpa-> Steffann: maybe :) 2013-04-02T23:47:40 <+Steffann> maybe? 2013-04-02T23:47:52 < jpa-> if you want to be cute like me 2013-04-02T23:48:06 <+Steffann> Wont happen. I'll go 0603 2013-04-02T23:48:34 < jpa-> it'll work with 0603 also 2013-04-02T23:48:52 < jpa-> i use 0603 at work because not everyone is a leet solderer like i am 2013-04-02T23:49:13 <+Steffann> jpalib has no caps?! 2013-04-02T23:49:34 < gxti> i use 0603 for most things jus so i don't have to worry about inhaling them or dispersing them everywhere if i sneeze. 2013-04-02T23:49:56 < jpa-> Steffann: eagle already has caps :D 2013-04-02T23:50:07 <+Steffann> You also copied the resistors mister 2013-04-02T23:51:46 < jpa-> only because eagle "copy to library" copies the whole device even if i only want the package 2013-04-02T23:52:34 < qyx_> what? i use that feature and it works as it should 2013-04-02T23:53:13 <+Steffann> doesn't look as fancy at all jpa- 2013-04-02T23:53:18 <+Steffann> the jpa-style caps 2013-04-02T23:53:20 < qyx_> anyway, i found that feature 2013-04-02T23:53:22 < qyx_> thanks jpa- --- Day changed Wed Apr 03 2013 2013-04-03T00:07:18 < baird> Re: suicidegirl's educational aspirations: I have a primary-school teacher sister-in-law, and I've been told that pre-pubescent boys basically just hate having female teachers as a general rule-- unless they tap the "Better Mother" motif. 2013-04-03T00:07:42 < Posterdati> hi 2013-04-03T00:08:00 < Posterdati> please how can I program a 50 Hz pwm on TIM4 (stm32f107)? Tx 2013-04-03T00:08:29 < jpa-> Posterdati: put stuff in registers 2013-04-03T00:09:30 < Posterdati> jpa-: I did 2013-04-03T00:10:06 < jpa-> ok then it should be working now :) 2013-04-03T00:10:10 < jpa-> no need to thank me 2013-04-03T00:10:44 < Posterdati> jpa-: 52 Hz 2013-04-03T00:11:11 < jpa-> subtract one from ARR 2013-04-03T00:12:02 < Posterdati> jpa-: I configured TIM4 using st stuffs 2013-04-03T00:15:45 < Posterdati> add 1 to ARR 2013-04-03T00:21:54 -!- MrMobius [~Joey@91.192.66.229] has joined ##stm32 2013-04-03T00:25:04 -!- [1]MrMobius [~Joey@91.192.66.229] has quit [Ping timeout: 246 seconds] 2013-04-03T00:29:11 -!- a2cypher [~cypher@mail.krausglobal.com] has quit [Ping timeout: 245 seconds] 2013-04-03T00:32:00 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has joined ##stm32 2013-04-03T00:32:30 < Posterdati> works 2013-04-03T00:32:34 < Posterdati> tx 2013-04-03T00:33:34 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-03T00:36:56 -!- CRF_Peter [~Peter@dhcp-185131.eduroam.chalmers.se] has quit [Ping timeout: 240 seconds] 2013-04-03T00:49:02 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: and like that, he's gone] 2013-04-03T00:54:12 -!- DaKu is now known as daku 2013-04-03T01:05:17 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Quit: Ik ga weg] 2013-04-03T01:17:05 -!- Rickta59 is now known as Rickum5150 2013-04-03T01:22:21 -!- [1]MrMobius [~Joey@91.192.66.229] has joined ##stm32 2013-04-03T01:22:28 -!- sterna1 [~Adium@dhcp-183016.eduroam.chalmers.se] has quit [Quit: Leaving.] 2013-04-03T01:24:49 -!- Rickum5150 is now known as Rickta59 2013-04-03T01:24:55 -!- MrMobius [~Joey@91.192.66.229] has quit [Ping timeout: 246 seconds] 2013-04-03T01:28:33 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-231-90.clienti.tiscali.it] has quit [Ping timeout: 276 seconds] 2013-04-03T01:31:13 < R0b0t1> rx 2013-04-03T01:32:44 -!- flop|2 [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-03T01:34:12 < Laurenceb_> http://www.linear.com/product/LTM9013?utm_medium=email&utm_source=transactional&utm_campaign=LT_Insider 2013-04-03T01:34:15 < Laurenceb_> interesting 2013-04-03T01:34:38 -!- flop|3 [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-03T01:37:31 -!- flop|2 [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Ping timeout: 246 seconds] 2013-04-03T01:38:02 <+Steffann> whatever a Predistortion receiver is 2013-04-03T01:38:37 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-03T01:38:57 < R0b0t1> Improves linearity 2013-04-03T01:39:06 < R0b0t1> Not sure as to application though? Just receiver? 2013-04-03T01:40:35 < R0b0t1> Laurenceb_: I too enjoy marveling at the product notices that show up in my inbox. 2013-04-03T01:40:51 < R0b0t1> 10A QFN buck converter! 2013-04-03T01:40:56 < R0b0t1> Mmmmhmmm. 2013-04-03T01:41:24 <+Steffann> Yeah, wonderful 2013-04-03T01:41:34 <+Steffann> Not much crap shows up in my inbox :) 2013-04-03T01:42:11 < R0b0t1> Also had some 60V bucks that were interesting, run my circuit off of the phone line huehuehue. 2013-04-03T01:42:46 <+Steffann> How much current can you draw from the phone line? 2013-04-03T01:49:41 < Laurenceb_> quite a lot it seems 2013-04-03T01:49:59 < Laurenceb_> ive got a cordless base station thats powered off the line 2013-04-03T01:52:37 <+Steffann> a lot is not really a measure 2013-04-03T01:55:38 -!- Shift_ [~Shift@unaffiliated/shiftplusone] has joined ##stm32 2013-04-03T01:55:46 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-03T01:56:07 -!- ShiftPlusOne [~Shift@unaffiliated/shiftplusone] has quit [Disconnected by services] 2013-04-03T01:56:13 -!- Shift_ is now known as ShiftPlusOne 2013-04-03T01:59:08 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-03T01:59:08 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-03T01:59:08 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-03T01:59:52 -!- Steffann [~Steffanx@unaffiliated/steffanx] has quit [Quit: ….] 2013-04-03T02:00:17 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-03T02:00:19 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-03T02:09:43 < R0b0t1> Steffanx: Well, a few amps at least 2013-04-03T02:09:49 < R0b0t1> Steffanx: 'course the wires aren't rated for that 2013-04-03T02:10:03 < R0b0t1> Also, the phone company does not like this. 2013-04-03T02:10:13 <+Steffanx> of course not :) 2013-04-03T02:12:10 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 246 seconds] 2013-04-03T02:13:09 < zyp> I remember ISDN were supposed to carry enough current to power the NT1 and one phone set 2013-04-03T02:13:29 < zyp> so that you would still be able to use your phone during a power outage 2013-04-03T02:13:42 < zyp> but then ISDN is also using 90V 2013-04-03T02:14:27 < Laurenceb_> hahaha 2013-04-03T02:14:31 < Laurenceb_> its getting trolled http://almamater.xkcd.com/best.csv 2013-04-03T02:15:04 <+Steffanx> 00000000000000000000000000000000000.com .. 2013-04-03T02:15:20 < Erlkoenig> i don't get this thing 2013-04-03T02:15:26 <+Steffanx> That's not trolling Laurenceb_ 2013-04-03T02:15:26 < Laurenceb_> and everything below :P 2013-04-03T02:15:34 <+Steffanx> That's just being annoying 2013-04-03T02:15:35 < Laurenceb_> Erlkoenig: i dont either 2013-04-03T02:15:45 < Laurenceb_> but i recognise it as something that needs to be trolled 2013-04-03T02:15:50 <+Steffanx> ruine fun for people 2013-04-03T02:16:17 <+Steffanx> -e 2013-04-03T02:18:26 -!- esden [esden@repl.esden.net] has quit [Ping timeout: 240 seconds] 2013-04-03T02:18:43 <+Steffanx> And including porn-related websites? Come on.. think of something original. Really 2013-04-03T02:20:12 <+Steffanx> So far my 2 cents about this 'trolling' 2013-04-03T02:21:20 -!- [1]MrMobius [~Joey@91.192.66.229] has quit [Read error: Connection reset by peer] 2013-04-03T02:21:29 -!- esden [esden@repl.esden.net] has joined ##stm32 2013-04-03T02:22:12 -!- MrMobius [~Joey@91.192.66.229] has joined ##stm32 2013-04-03T02:23:13 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-03T02:27:08 < baird> Most boring xkcd 'challenge' yet. 2013-04-03T02:27:10 -!- Laurenceb_ [~Laurence@host86-174-20-97.range86-174.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-03T02:28:58 < baird> Hay guise, I heard some hipster girls are going geohashing.. let's gooooo! 2013-04-03T02:29:37 < dongs> #you #are #a #faggot 2013-04-03T02:29:40 < dongs> ^ is that geohashing 2013-04-03T02:33:32 <+Steffanx> almost 2013-04-03T02:34:01 <+Steffanx> but still.. you must be < 13 yo to be so annoying to add porn-related website to the list baird 2013-04-03T02:34:38 <+Steffanx> ( or just laurenceb alike ) 2013-04-03T02:38:07 < dongs> this fucking alpha&omega vreg is trash 2013-04-03T02:38:20 < dongs> doesnt reg worth a shit 2013-04-03T02:38:40 < dongs> http://aosmd.com/res/data_sheets/AOZ1281DI.pdf does this trash have some minload or something that makes it not work? I'm not even getting any pwm over LX pin 2013-04-03T02:38:53 < dongs> Vout = Vin-~1.xxV 2013-04-03T02:38:55 < dongs> regardless of Vin 2013-04-03T02:40:40 < Bird|lappy> wow 2013-04-03T02:42:21 < R2COM> ... 2013-04-03T02:42:44 < R2COM> that chip doesnt work... thats why they continue to produce and sell it. 2013-04-03T02:51:31 < dongs> R2COM: i kno rite 2013-04-03T02:51:40 < dongs> this is my second a&o experience that has bene nothing but shit 2013-04-03T02:52:00 < dongs> i used one of thier shits before and the ripple was gigantic even using recommended/calculated parts 2013-04-03T02:52:23 < dongs> i wish they'd stop making shit 2013-04-03T02:53:11 -!- rigid [~daniel@178-26-71-67-dynip.superkabel.de] has joined ##stm32 2013-04-03T02:53:48 < dongs> Following up in your order, please be advised that at the moment we don’t have product available to support your sample order contained in the attached spreadsheet. 2013-04-03T02:53:51 < dongs> Your order was placed some time ago. Please let us know if it is still needed and if not, kindly confirm back in order for us to have it cancelled. Please fill in your comments in the last column. 2013-04-03T02:53:58 < dongs> freescale still isnt shipping that weird mag 2013-04-03T02:54:14 < dongs> FXOS8700CQR1 2013-04-03T02:54:28 < dongs> i shoiuld probly cancel it since im gonna use hmc5983 anyway 2013-04-03T02:54:51 < dongs> which already has spi 2013-04-03T02:55:17 < R2COM> here is a thing, I rarely if ever use "recommended parts" because recommended parts usually being listed after their test boards are done, and there are many other variables which play role 2013-04-03T02:55:33 < R2COM> what works for their tests and what they put in recommended parts list might not work for every case 2013-04-03T02:55:52 < dongs> yeah but one would at least expect the shit to pretend its regulating 2013-04-03T02:55:54 < dongs> it doesnt even work at all. 2013-04-03T02:55:56 < R2COM> to remove ripple one needs to use appropriate capacitors, not just take it from recommended part 2013-04-03T02:56:05 < R2COM> well 2013-04-03T02:56:40 < dongs> vout is supposed to be like 5V, but no matter how high vin, vout just does vin-1.somethingv 2013-04-03T02:56:52 < Bird|lappy> it seems like the ability to sit down with some prototyping supplies and iterate on a design is slowly disappearing 2013-04-03T02:56:59 < R2COM> another thing I do sometimes when I want to evaluate just PSU, is build custom board just with power and appropriate loads, and check it 2013-04-03T02:57:10 < Bird|lappy> I mean, I'm OK with parts being available in itty-bitty sizes for itty-bitty applications 2013-04-03T02:57:47 < Bird|lappy> but why does that stop them from being available in a not-itty-bitty package (say PDIP or SOIC) too? 2013-04-03T02:58:11 < dongs> R2COM: yea im gonna tell the guy who fucked this up to do that next 2013-04-03T02:58:41 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-03T02:59:02 < R2COM> for example, put different resistors for different load, min load, max load, and some other in between, (and of course with appropriate power rating), then its really easy to see what what loads does PSU behaves like shit 2013-04-03T02:59:53 < dongs> well, i tested it with like 200mA, ~800mA loads. it doesnt matter waht load is, its not even working. 2013-04-03T03:00:23 < R2COM> what inductor you used? 2013-04-03T03:00:31 < R2COM> part # 2013-04-03T03:00:51 < timemob> Nr6028 4.7uh. Stuff we had here 2013-04-03T03:05:52 < dongs> NR6028T4R7M 2013-04-03T03:05:57 < R2COM> i saw 2013-04-03T03:06:28 < R2COM> ok its spice and s parameters for some reason cannot be downloaded from their official website 2013-04-03T03:06:53 < R2COM> but looking from datasheet, seems like its specs *should* work 2013-04-03T03:07:04 < dongs> right, ive used it with other switchers before without problem 2013-04-03T03:07:04 < R2COM> for 1.5MHz switching applicatiopn 2013-04-03T03:07:31 < dongs> at 650kHz though but i doubt that would make that much of a difference. it shoudl at leats pretend to work 2013-04-03T03:07:45 < R2COM> what part was used for output capacitor 2013-04-03T03:07:55 < R2COM> (C2 from Figure 1 of datasheet) 2013-04-03T03:08:08 < dongs> some 47uF 1206, but later on on test board even attached huge lowesr alu cap 2013-04-03T03:08:12 < dongs> no difference in behave 2013-04-03T03:08:29 < dongs> er 1210 2013-04-03T03:08:39 < R2COM> there are many things affectiong the capacitance 2013-04-03T03:08:54 < R2COM> if you say 47uF it doesnt mean it will stay over all range of required frequency 2013-04-03T03:08:57 < dongs> yea, but when you put in a 330uF aluminum cap in place of it, that doesnt matter 2013-04-03T03:09:00 < R2COM> its all frequencey dependent 2013-04-03T03:10:31 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 258 seconds] 2013-04-03T03:11:22 < R2COM> you didnt get what I mean 2013-04-03T03:11:24 < R2COM> take a look 2013-04-03T03:11:28 < dongs> I did 2013-04-03T03:11:29 < R2COM> http://imgur.com/XOZ5eu1 2013-04-03T03:11:31 < dongs> i saw you posting stuff before 2013-04-03T03:11:43 < dongs> how caps etc work over voltage/frequency/etc. 2013-04-03T03:11:58 < R2COM> see that? thats plot for some 330uF capacitor, and notice after 1Mhz it literally stops acting like capacitor at all 2013-04-03T03:12:34 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-04-03T03:12:40 < dongs> ya ya 2013-04-03T03:12:56 < R2COM> actually, yes, manufacturers of buck usually take care of all that shit, and they give you recommended values, for *most* cases it should work then 2013-04-03T03:13:20 < dongs> right 2013-04-03T03:13:24 < R2COM> it might not work as super great or low noise, but yea...shit should at least work 2013-04-03T03:15:23 -!- t1memob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-04-03T03:15:23 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Read error: Connection reset by peer] 2013-04-03T03:17:17 < t1memob> Hmpf 2013-04-03T03:18:24 < t1memob> I really think aosmd just makes shit 2013-04-03T03:19:06 <+Steffanx> stop thinking 2013-04-03T03:22:16 -!- [1]MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-03T03:23:45 -!- MrMobius [~Joey@91.192.66.229] has quit [Read error: Connection reset by peer] 2013-04-03T03:23:47 < Thorn> if it drops 1.x volts maybe there're just 2 diodes in series inside 2013-04-03T03:26:11 < t1memob> Yaman 2013-04-03T03:29:40 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-04-03T03:29:41 -!- t1memob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Read error: Connection reset by peer] 2013-04-03T03:32:40 <+Steffanx> timemob just bought some fake crap 2013-04-03T03:33:54 < timemob> Lol 2013-04-03T03:34:29 < timemob> Digikey doesn't generally send fake crap 2013-04-03T03:35:43 < ds2> they are beginning to sell surplus components 2013-04-03T03:36:10 < emeb> DK selling surplus? 2013-04-03T03:36:21 < emeb> Hopefully clearly marked as such... 2013-04-03T03:37:16 < R2COM> isnt that what they mark as "out of stock" 2013-04-03T03:37:42 < ds2> yes they do mark it 2013-04-03T03:37:48 < ds2> and the listings I see are for entire reels 2013-04-03T03:38:09 < R2COM> actually they send email sometimes when for example some part you bought from them before is no longer in production 2013-04-03T03:39:36 < dongs> lol R8C breakout board 2013-04-03T03:39:49 < emeb> Renesas. Meh. 2013-04-03T03:41:57 -!- Erlkoenig [~erlkoenig@pptp-212-201-79-133.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-03T03:42:58 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-03T03:49:14 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Ping timeout: 258 seconds] 2013-04-03T03:51:09 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-03T03:52:06 -!- flop|3 is now known as rlc 2013-04-03T04:12:15 -!- BJfreeman [~bjfree@238.sub-75-196-24.myvzw.com] has quit [Quit: had a good time] 2013-04-03T04:23:00 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-03T04:25:31 -!- [1]MrMobius [~Joey@194.176.111.29] has quit [Ping timeout: 246 seconds] 2013-04-03T05:04:30 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-04-03T05:07:28 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-03T05:07:37 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-03T05:22:41 -!- [1]MrMobius [~Joey@91.192.66.229] has joined ##stm32 2013-04-03T05:24:06 < baird> All the teenagers wanting to Make Free Money Fast are jumping ship to Litecoin.. lol. 2013-04-03T05:25:01 -!- MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-03T05:25:46 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-03T05:38:06 < dongs> renesas more like renesucks 2013-04-03T05:38:11 < dongs> (dont let djdelorie hear me) 2013-04-03T05:51:29 < dongs> lol @ last flip 2013-04-03T06:10:36 < baird> Delorie is a total Bear of a man. He will snap you like a twig. 2013-04-03T06:18:55 -!- _BJFreeman [~bjfree@99.sub-75-196-113.myvzw.com] has joined ##stm32 2013-04-03T06:19:28 -!- _BJFreeman is now known as BJfreeman 2013-04-03T06:22:17 < dongs> https://youtube.com/watch?v=zAgtLkFTEvY 2013-04-03T06:22:18 -!- [1]MrMobius [~Joey@91.192.66.229] has quit [Read error: Connection reset by peer] 2013-04-03T06:22:53 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-03T06:26:47 < baird> That made me start humming Village People songs. 2013-04-03T06:33:50 < dongs> lol @ his latest video 2013-04-03T06:34:06 < dongs> getting excited over avr failtrashdragon reading pics 2013-04-03T06:34:22 < dongs> 'got a lot of flash so it'll takea bit 2013-04-03T06:34:24 < dongs> pfft 2013-04-03T06:35:12 < upgrdman> :) 2013-04-03T06:35:28 < baird> The fgt is totally trying to imitate another fgt here in AU called "Dr Karl". 2013-04-03T06:36:19 < upgrdman> fgt? 2013-04-03T06:38:39 < baird> vowel-dropping. Seems to be the latest trend. especially for IRC nicks. 2013-04-03T06:39:58 < dongs> haha 2013-04-03T06:40:10 < dongs> zing 2013-04-03T06:40:53 < baird> Dr Karl - https://www.youtube.com/watch?v=7gW_wTQjhFQ .. His dayjob is telling arts undergrads on Yoof radio about how AwEsOmE ScIeNcE is. 2013-04-03T06:45:24 < dongs> http://www.prnewswire.com/news-releases/stmicroelectronics-and-mobileye-to-develop-third-generation-system-on-chip-family-for-vision-based-driver-assistance-systems-131044278.html 2013-04-03T06:45:27 < dongs> huh 2013-04-03T06:48:06 < BJfreeman> well there goes my project... LOL 2013-04-03T06:49:09 < dongs> wat prj? 2013-04-03T06:49:37 < BJfreeman> vision based recognition and avoidance for RV 2013-04-03T06:50:45 < baird> BJfreeman: to stop them doing this :/ .. http://kildall.apana.org.au/~cjb/wordpress/wp-content/uploads/2013-hill-end-postie/_20130305-133332.JPG 2013-04-03T06:52:23 < baird> ACtually, almost had two cagers hit me while riding the CT110 this morning-- both from them no bothering to check their blindspots before changing lanes (with indicating..) 2013-04-03T06:52:32 < baird> s/with/without/ 2013-04-03T06:53:40 < BJfreeman> actually it started as following the lane snow line, then following a vehicle in front base on triangulation of their heat source (exhaust) 2013-04-03T06:54:54 < BJfreeman> I have four cameras with pan and tilt, I have no blind spots 2013-04-03T06:55:36 < BJfreeman> I have to hit a emergency button to overide the aviodance system 2013-04-03T06:57:10 < BJfreeman> have a big LED sign on back for changing lanes 2013-04-03T06:57:29 < ds2> arrrggg UPS dying 2013-04-03T06:58:58 < BJfreeman> baird that an interesting name Cagers LOL 2013-04-03T07:01:56 < dongs> so it seems noone actually watches this eevblog shit 2013-04-03T07:03:22 < inca> dongs: marketing folks tend to 2013-04-03T07:03:33 < dongs> really 2013-04-03T07:03:44 < inca> I think they identify 2013-04-03T07:03:59 -!- cjbaird [~cjb@ppp121-44-232-196.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-03T07:04:20 < inca> actually, I'm not sure what his actual demographics are. pretty sure it's mostly hobbyist 2013-04-03T07:04:36 -!- baird [~cjb@ppp121-44-250-4.lns20.syd7.internode.on.net] has quit [Ping timeout: 276 seconds] 2013-04-03T07:04:40 < dongs> its dumb listening to his blabber. 2013-04-03T07:04:40 < R2COM> looks like that 2013-04-03T07:04:44 < dongs> he doesn't have text transcripts of the shit. 2013-04-03T07:05:00 < dongs> like i was watching through that camera teardown shit and its like 1% content 99% bullshit 2013-04-03T07:05:15 < inca> word 2013-04-03T07:05:18 < dongs> i dont have time to sift thrgouh bullshit 2013-04-03T07:05:22 < inca> right 2013-04-03T07:05:25 < BJfreeman> I get email from chip makers including contests, so that keeps me busy 2013-04-03T07:05:46 < inca> I was in the tech media for minute as an editor 2013-04-03T07:06:03 < inca> they don't pay enough to get real content 2013-04-03T07:06:27 < inca> I also learned why trade rags are not worth the paper they're printed on 2013-04-03T07:06:42 -!- BJfreeman [~bjfree@99.sub-75-196-113.myvzw.com] has quit [Quit: had a good time] 2013-04-03T07:06:52 < inca> nearly 100% of the content is written by the advertisers 2013-04-03T07:07:01 < inca> including the editorial 2013-04-03T07:07:49 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-03T07:07:50 < inca> it was a huge relief to know that I didn't actually have to read trade journals in order to stay relevant as a EE 2013-04-03T07:08:37 -!- cjbaird_ [~cjb@ppp121-44-246-213.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-03T07:08:58 -!- cjbaird [~cjb@ppp121-44-232-196.lns20.syd7.internode.on.net] has quit [Ping timeout: 246 seconds] 2013-04-03T07:10:25 < qyx_> any recommended buck led driver with pwm in? 2013-04-03T07:11:08 < dongs> for what? how many channels? 2013-04-03T07:11:36 < qyx_> 1 white led 2013-04-03T07:11:44 < dongs> oh duno then 2013-04-03T07:12:21 < qyx_> you did something with rgb, didnt you? 2013-04-03T07:12:26 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-03T07:12:26 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-03T07:12:26 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-03T07:12:31 < dongs> ya 2013-04-03T07:12:35 < dongs> i used 6ch one 2013-04-03T07:12:37 < dongs> its really nice 2013-04-03T07:12:42 < dongs> but probably overkill for oyu :) 2013-04-03T07:13:18 < qyx_> uhm 2013-04-03T07:14:58 < inca> anyone use Unity for embedded TDD? 2013-04-03T07:16:44 < ds2> Unity? 2013-04-03T07:18:17 -!- R2COM1 [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-03T07:19:04 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Disconnected by services] 2013-04-03T07:19:11 -!- R2COM1 is now known as R2COM 2013-04-03T07:19:24 < inca> http://throwtheswitch.org/white-papers/unity-intro.html 2013-04-03T07:20:22 < ds2> @#%$#$!@#@@!#@! too many damn things named unity 2013-04-03T07:20:24 < dongs> lol unit tests 2013-04-03T07:20:26 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-03T07:20:30 < inca> Test Driven Dev for Embedded C: http://it-ebooks.info/book/72/ 2013-04-03T07:20:39 < inca> right 2013-04-03T07:20:42 < inca> unit tests 2013-04-03T07:21:12 < inca> is that a bit new age for the embedded scene? 2013-04-03T07:21:17 -!- cjbaird_ is now known as baird 2013-04-03T07:21:18 < ds2> there is a voice mail product called "unity" and a gaming framework... and... 2013-04-03T07:21:24 < inca> word 2013-04-03T07:21:54 < inca> rephrased: do you use unit testing for embedded projects that you care about? 2013-04-03T07:21:56 < qyx_> and that unusable thing in ubuntu 2013-04-03T07:22:02 < inca> heh 2013-04-03T07:22:12 < ds2> oh yeah, that PoS 2013-04-03T07:22:51 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-03T07:23:06 < Tectu> do only F4 devices have CCM of the STM32 series or F1 etc. als? 2013-04-03T07:23:08 < Tectu> also?* 2013-04-03T07:23:16 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-03T07:24:05 < dongs> F3 has some 2013-04-03T07:26:03 < Tectu> is CCM "hard to use"? 2013-04-03T07:27:10 < Tectu> I mean, do you have to tell the compiler / linker where to put stuff into memory or does it decide itself and it's only a compiler flag or so? 2013-04-03T07:28:02 < dongs> you can't DMA to/from it 2013-04-03T07:28:08 < dongs> thats at least one limitation i know of 2013-04-03T07:29:28 < Tectu> when you write/read from/to it from the core, is it faster than to main memory also, I guess? 2013-04-03T07:29:29 -!- Thorn__ [~Thorn@78-106-7-233.broadband.corbina.ru] has joined ##stm32 2013-04-03T07:29:29 -!- Thorn__ [~Thorn@78-106-7-233.broadband.corbina.ru] has quit [Changing host] 2013-04-03T07:29:29 -!- Thorn__ [~Thorn@unaffiliated/thorn] has joined ##stm32 2013-04-03T07:30:46 < dongs> could be. 2013-04-03T07:31:04 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Read error: Connection reset by peer] 2013-04-03T07:31:22 < qyx_> there wre some tests showing thats its not so much difference 2013-04-03T07:31:28 < dongs> right 2013-04-03T07:31:31 < dongs> infact actualyl worse 2013-04-03T07:31:32 < dongs> heh 2013-04-03T07:31:34 < dongs> for some s itiatuions 2013-04-03T07:31:59 < qyx_> but i-bus ccm on f3 could do better for running code from it 2013-04-03T07:33:59 < Tectu> dongs, in what situations could it be worse? 2013-04-03T07:34:36 < dongs> i am not your google 2013-04-03T07:36:58 < ds2> you are not?! *gasp* 2013-04-03T07:53:52 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has quit [Ping timeout: 256 seconds] 2013-04-03T07:55:12 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 252 seconds] 2013-04-03T07:57:51 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has joined ##stm32 2013-04-03T08:00:25 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-03T08:01:00 < baird> Woo. This babby got the ChibiOS/GFX mandelbrot demo working on his new LCD. 2013-04-03T08:01:04 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-03T08:12:45 * inca face palms http://www.hermann-uwe.de/blog/libopenstm32-a-free-software-firmware-library-for-stm32-arm-cortex-m3-microcontrollers 2013-04-03T08:13:18 < inca> or should I do that in #libopencm3 2013-04-03T08:13:32 < inca> LGPL vs GPL 2013-04-03T08:14:01 < inca> I can't use it 2013-04-03T08:16:09 < inca> nevermind 2013-04-03T08:16:21 * inca face palms himself 2013-04-03T08:16:49 < inca> can we delete all the old irrelevant crap on the internet? 2013-04-03T08:23:36 -!- [1]MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-03T08:26:19 -!- MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-03T08:36:23 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-03T08:55:41 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-04-03T09:01:09 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-04-03T09:03:00 -!- dekar [~dekar@212.255.47.61] has joined ##stm32 2013-04-03T09:03:04 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-03T09:06:15 -!- dekar__ [~dekar@212.255.229.191] has quit [Ping timeout: 245 seconds] 2013-04-03T09:18:10 < dongs> lol opensores 2013-04-03T09:18:13 < dongs> inca: just use stdperiphlib 2013-04-03T09:18:18 < dongs> at least it doesnt rewrite all interrupt vector names 2013-04-03T09:22:55 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-03T09:23:55 -!- MrMobius [~Joey@91.192.66.229] has joined ##stm32 2013-04-03T09:27:37 < Tectu> dongs, what's on the opensores list now? 2013-04-03T09:31:53 < inca> I was wrong 2013-04-03T09:31:55 < inca> http://www.libopencm3.org/wiki/Main_Page 2013-04-03T09:32:03 < inca> 2012/03/02: License changed to LGPL v3 (or later) 2013-04-03T09:33:14 < inca> thankfully 2013-04-03T09:35:09 < Tectu> hmm, libopencm3. gave it a try once 2013-04-03T09:35:10 < Tectu> didn't like it 2013-04-03T09:35:16 < Tectu> would have used stperiphlib instead 2013-04-03T09:35:33 < inca> when did you try it? 2013-04-03T09:35:39 < Tectu> a year ago 2013-04-03T09:35:49 < Tectu> now I'm totally on chibi 2013-04-03T09:36:00 < Tectu> ChibiOS/RT 2013-04-03T09:48:30 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 252 seconds] 2013-04-03T09:54:42 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has quit [Quit: leaving] 2013-04-03T10:07:14 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-03T10:19:21 < dongs> hm so that switcher is still beign gay 2013-04-03T10:21:01 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-04-03T10:23:03 -!- MrMobius [~Joey@91.192.66.229] has quit [Read error: Connection reset by peer] 2013-04-03T10:23:54 -!- MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-03T10:24:30 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Excess Flood] 2013-04-03T10:24:58 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-04-03T10:25:04 < inca> dongs, does it have an inexplicable affinity for the same polarity? 2013-04-03T10:29:04 < R2COM> it might also be its not soldered quite right, there is little or no contact at all at some of its pins underneath 2013-04-03T10:29:11 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-03T10:29:17 < dongs> nah man did 2 separate boards with that shit 2013-04-03T10:29:26 < dongs> even just did a board with just that crap on it 2013-04-03T10:29:30 < dongs> its basically being a diode 2013-04-03T10:29:42 < dongs> 24V in 23 V out 2013-04-03T10:29:46 -!- Thorn__ is now known as Thorn 2013-04-03T10:29:48 < dongs> ~1v drop no matter what vin is 2013-04-03T10:30:28 < inca> how are you probing it? 2013-04-03T10:30:45 < dongs> what do you mean? 2013-04-03T10:30:49 < dongs> just checking at vout. 2013-04-03T10:31:22 < inca> is it supposed to oscillate or just turn on/off? 2013-04-03T10:31:30 < R2COM> whats the input voltage? 2013-04-03T10:31:33 < dongs> anything 2013-04-03T10:31:38 < dongs> i ran it at 10 to 24V 2013-04-03T10:31:39 < R2COM> I mean currently! 2013-04-03T10:31:49 < R2COM> while its not working, at what voltage? 2013-04-03T10:31:56 < inca> part #? 2013-04-03T10:32:04 < dongs> 08:38 < dongs> http://aosmd.com/res/data_sheets/AOZ1281DI.pdf 2013-04-03T10:32:06 < dongs> this trash 2013-04-03T10:32:08 < dongs> R2COM: what do you mean? 2013-04-03T10:32:17 < R2COM> what is your current input voltage? Vin = ? 2013-04-03T10:32:32 < dongs> 12V 2013-04-03T10:32:41 < R2COM> now, what kind of schottkuy you using? 2013-04-03T10:32:45 < dongs> B260 2013-04-03T10:32:49 < dongs> just regular crap schottky 2013-04-03T10:33:03 < inca> is your input impedance right? what kind of 4.7 uF cap 2013-04-03T10:33:15 < dongs> i've got a large alu cap on ther for testing 2013-04-03T10:33:28 -!- peddie [peddie@repl.esden.net] has left ##stm32 ["WeeChat 0.4.0"] 2013-04-03T10:33:57 < dongs> diode = http://www.digikey.com/product-detail/en/CDBB260-G/641-1112-1-ND/1559073 2013-04-03T10:33:57 < R2COM> and for what load current you configureg it now? 2013-04-03T10:34:34 < R2COM> actually it doesnt matter for that diode 2013-04-03T10:34:37 < R2COM> it should be fine 2013-04-03T10:34:39 < inca> dongs, I'd suspect input ripple 2013-04-03T10:34:51 < dongs> inca: input is from bench power supply. a large cap on input should be no problem. 2013-04-03T10:35:10 < R2COM> solder additionally to that cap smaller value ceramic capacitor 2013-04-03T10:35:14 < inca> try a smaller cap, or a ceramic in parallel 2013-04-03T10:35:15 < R2COM> X7R 2013-04-03T10:35:23 < inca> R2COM: word =) 2013-04-03T10:35:24 < R2COM> and do same for output 2013-04-03T10:36:02 < R2COM> and better do the following, some 0.1uF and 1uF ceramics in parallel, as an addition to input and output caps 2013-04-03T10:36:14 < inca> try without a matching cap on output first 2013-04-03T10:36:17 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-04-03T10:36:39 < dongs> R2COM: yeah but none of these things would make switcher totalyl NOT WORK 2013-04-03T10:36:58 < R2COM> you tried it already? 2013-04-03T10:37:04 < inca> dongs, the parallel input cap is a quick test 2013-04-03T10:37:10 < inca> next is oscillator 2013-04-03T10:37:33 < dongs> yeah doing 2013-04-03T10:38:42 < R2COM> I also assume there is nice non-broken ground plane underneath of it... 2013-04-03T10:38:46 < dongs> yeah 2013-04-03T10:38:51 < dongs> its 4L board. 2013-04-03T10:39:21 < dongs> thre's solid GND underneat whole thing 2013-04-03T10:39:32 < dongs> l1 = coil + etc l2 = gnd solid l3 - fb trace l4 - gnd 2013-04-03T10:41:26 < R2COM> EN connected to VIN? 2013-04-03T10:41:41 < dongs> yes 2013-04-03T10:41:47 < dongs> tried both direct and through 0k R 2013-04-03T10:41:50 < dongs> err 2013-04-03T10:41:51 < dongs> 10k r 2013-04-03T10:43:42 < dongs> http://i.imgur.com/yM4veXn.png 2013-04-03T10:44:17 < dongs> the retard who drew it doesnt believe in silk around resistors so its a bit fucky to see but anyway, looks like a normal switcher layout to me 2013-04-03T10:44:45 < dongs> R41 = 10K/0R to EN 2013-04-03T10:45:01 < dongs> C45 = output cap 2013-04-03T10:45:38 < qyx_> does it actually switch? 2013-04-03T10:45:51 < dongs> where, at lx? 2013-04-03T10:46:09 < qyx_> yes 2013-04-03T10:47:12 < R2COM> wait a second 2013-04-03T10:47:30 < R2COM> shouldnt FB connect to in between of two resistors? 2013-04-03T10:47:39 < R2COM> pin 5 2013-04-03T10:47:48 < R2COM> but not at beginning of one of them 2013-04-03T10:47:55 < qyx_> just looking at that 2013-04-03T10:47:56 < dongs> theres 3 reisstors there. 2013-04-03T10:48:19 < R2COM> why 3? 2013-04-03T10:48:20 < qyx_> pin 5 goes only to one 2013-04-03T10:48:37 < dongs> R42 is some noise-resistor shit or soemthing 2013-04-03T10:48:40 < dongs> its 0R now 2013-04-03T10:48:45 < dongs> R39 and R43 are the feedback 2013-04-03T10:48:55 < qyx_> then ok 2013-04-03T10:48:55 < R2COM> R43 is what? 2013-04-03T10:49:10 < dongs> R43 is closer to chip 2013-04-03T10:49:11 < dongs> horizontal 2013-04-03T10:49:14 < dongs> R39 below it 2013-04-03T10:49:17 < dongs> or do you mean value? 2013-04-03T10:49:23 < R2COM> no no... connection 2013-04-03T10:49:28 < dongs> sec 2013-04-03T10:49:34 < R2COM> FB connects in between of two resistors which correspond to R1 and R2? 2013-04-03T10:49:40 < R2COM> because to me it looks like its not... 2013-04-03T10:49:53 < R2COM> and if yes, where are the vias 2013-04-03T10:50:23 < qyx_> fb connects thru R42 to two resistors R43 and R39 2013-04-03T10:50:25 < R2COM> pin 5 goes to R42, you said its 0Ohm, OK! next it goes to beginning of R43, but that kinda looks wrong 2013-04-03T10:50:34 < qyx_> R43 goes to gnd, R39 to vout 2013-04-03T10:50:46 < qyx_> why wrong 2013-04-03T10:51:02 < dongs> http://i.imgur.com/CzRvNqL.png 2013-04-03T10:51:06 < inca> R42 is a snubber then 2013-04-03T10:52:11 < dongs> ^ yea that 2013-04-03T10:52:52 < R2COM> just for additional test, maybe remove R42, and just put solder blob there 2013-04-03T10:53:05 < dongs> its 0R resistor. same shit, i dont thikn it would matter 2013-04-03T10:53:12 < dongs> but ill try 2013-04-03T10:53:15 < inca> nah 2013-04-03T10:53:18 < inca> that's not it 2013-04-03T10:53:22 < qyx_> have you checked the lx? 2013-04-03T10:53:25 < inca> if anything, you'd want a snubber there 2013-04-03T10:53:40 < inca> qyx_, I agree. time to scope it out 2013-04-03T10:53:48 < dongs> http://i.imgur.com/PPwFWFg.jpg 2013-04-03T10:53:53 < dongs> ^ stacked some shit up 2013-04-03T10:53:56 < inca> if you see oscillation, then mess with FB until it works 2013-04-03T10:54:20 < R2COM> ok now check 2013-04-03T10:54:55 < dongs> http://i.imgur.com/5tdwSPE.jpg < its turning on 12V led bars as load 2013-04-03T10:54:56 < inca> if you see no oscillation or weak oscillation, they setup is violating the operating parameters… it's usually capacitance, capacitance ESR, and then resistors 2013-04-03T10:54:57 < dongs> from 12V in 2013-04-03T10:55:19 < inca> is that full load? 2013-04-03T10:55:27 < dongs> thats a few 100mA for sure 2013-04-03T10:55:30 < dongs> a bunch of leds 2013-04-03T10:55:52 < dongs> http://i.imgur.com/umVVOtM.jpg heres what lx looks like 2013-04-03T10:56:59 < qyx_> wot 2013-04-03T10:57:04 < inca> can you get current on LX? 2013-04-03T10:57:10 < dongs> 'current'? 2013-04-03T10:57:24 < inca> yes 2013-04-03T10:57:30 < dongs> yea what is that 2013-04-03T10:57:33 < inca> either for the LX node or the inductor 2013-04-03T10:57:40 < qyx_> the diode is ok? 2013-04-03T10:57:41 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-03T10:57:46 < inca> pin 1 2013-04-03T10:57:46 < dongs> qyx_: yea tried several 2013-04-03T10:57:53 < dongs> inca: yeah, pin1 to what 2013-04-03T10:57:53 < Robint91> hi all 2013-04-03T10:57:54 < dongs> how do I measure it 2013-04-03T10:58:13 < inca> hm… no pin lifting here 2013-04-03T10:58:20 < dongs> right lols 2013-04-03T10:58:25 < dongs> its like 2x2mm piece of shit 2013-04-03T10:58:27 < inca> how about the inductor? 2013-04-03T10:59:22 < dongs> that might be doable 2013-04-03T10:59:24 < dongs> its 6x6 2013-04-03T10:59:34 < R2COM> but thats not true LX current 2013-04-03T10:59:37 -!- sterna1 [~Adium@dhcp-183016.eduroam.chalmers.se] has joined ##stm32 2013-04-03T10:59:40 < dongs> well 2013-04-03T10:59:42 < inca> that voltage doesn't really tell us much 2013-04-03T10:59:55 < qyx_> and voltage on fb? 2013-04-03T11:00:05 < dongs> fb pin? 2013-04-03T11:00:06 < R2COM> is it 0.8? 2013-04-03T11:00:58 < dongs> checkin 2013-04-03T11:01:06 < dongs> does it matter if load or no load? 2013-04-03T11:01:07 < R2COM> at least it should be... 2013-04-03T11:01:21 < R2COM> no 2013-04-03T11:02:13 < dongs> 2V... 2013-04-03T11:02:17 < inca> not good 2013-04-03T11:02:31 < inca> can you get voltage across inductor? 2013-04-03T11:02:39 < inca> perhaps it is saturating 2013-04-03T11:02:47 < dongs> across inductor? 2013-04-03T11:02:51 < dongs> measure lx -> output? 2013-04-03T11:02:57 < inca> rough estimate 2013-04-03T11:03:05 < inca> it will be obvious if it is saturating 2013-04-03T11:03:10 < inca> we should see a voltage spike 2013-04-03T11:03:29 < R2COM> so what are the R1 and R2 also? 2013-04-03T11:03:32 < R2COM> values I mena 2013-04-03T11:03:41 < dongs> 49.9k and 9.35k or whatever 2013-04-03T11:03:43 < inca> if inductor is good, output cap ESR of that electrolytic must be terrible 2013-04-03T11:03:46 < dongs> the 5V recommended form datasheet 2013-04-03T11:03:52 < qyx_> also have you tried something different as a load? 2013-04-03T11:03:59 < qyx_> or just that led strip 2013-04-03T11:04:13 < R2COM> ok do the following, leave those caps you soldered 2013-04-03T11:04:17 < R2COM> and remove output cap 2013-04-03T11:04:23 < R2COM> for now just output cap 2013-04-03T11:05:13 < dongs> and? 2013-04-03T11:05:25 < dongs> http://i.imgur.com/PPwFWFg.jpg < that 220UF cap? 2013-04-03T11:05:31 < R2COM> output cap is that 220u through hole? 2013-04-03T11:05:33 < dongs> btw voltage across inductor is like 11.soemthing volt 2013-04-03T11:05:34 < dongs> yeah 2013-04-03T11:05:37 < R2COM> ok remove it 2013-04-03T11:05:45 -!- cjbaird [~cjb@ppp121-44-21-72.lns20.syd6.internode.on.net] has joined ##stm32 2013-04-03T11:05:58 < R2COM> remove it and instead of it put those 1u and 0.1u ceramics 2013-04-03T11:06:16 -!- baird [~cjb@ppp121-44-246-213.lns20.syd7.internode.on.net] has quit [Ping timeout: 246 seconds] 2013-04-03T11:06:19 < dongs> kk 2013-04-03T11:06:19 < dongs> on it 2013-04-03T11:06:22 < R2COM> so 2013-04-03T11:06:23 < R2COM> no 2013-04-03T11:06:24 < R2COM> wait 2013-04-03T11:06:34 < R2COM> actually, put that, and if can, throw in some 3.3u too 2013-04-03T11:06:44 < R2COM> so: 0.1u 1u and some 2.2u or 3.3u or so 2013-04-03T11:06:53 < qyx_> 11 volt across inductor? 2013-04-03T11:06:55 < R2COM> three caps in parallel, instead of that huge 220u cap 2013-04-03T11:06:59 < qyx_> and also 11V at the output? 2013-04-03T11:07:05 < R2COM> 220u cap remove completely 2013-04-03T11:07:12 < dongs> qyx_: right 2013-04-03T11:07:23 < qyx_> and lx is mostly on? 2013-04-03T11:07:29 < dongs> lx - that shit you see on scope 2013-04-03T11:07:32 < dongs> some glitching of crap 2013-04-03T11:07:37 < dongs> < dongs> http://i.imgur.com/umVVOtM.jpg heres what lx looks like 2013-04-03T11:07:50 < qyx_> but the glitches are pointing towards gnd, arent they? 2013-04-03T11:07:58 < dongs> yea 2013-04-03T11:07:59 < R2COM> using that 220uf of that type of cap as output for switcher is totally wrong by the way 2013-04-03T11:08:12 < dongs> well, i did have a regular 10UF on there before 2013-04-03T11:08:20 < Robint91> what is that? 2013-04-03T11:08:27 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-03T11:08:36 < inca> inductor data sheet pls 2013-04-03T11:08:45 < qyx_> if lx and vout is 11V, how can you mesaure 11V between? 2013-04-03T11:08:47 < Robint91> which switcher IC is it? 2013-04-03T11:09:01 < dongs> Robint91: 08:38 < dongs> http://aosmd.com/res/data_sheets/AOZ1281DI.pdf 2013-04-03T11:09:02 < dongs> this shit 2013-04-03T11:09:10 < dongs> i think digikey just sent wrong shit in same package 2013-04-03T11:09:13 < dongs> it makes no fuckign sense. 2013-04-03T11:09:14 < dongs> lol 2013-04-03T11:09:51 < Robint91> dongs, check the part markings? 2013-04-03T11:10:07 < inca> Robint91 http://i.imgur.com/PPwFWFg.jpg 2013-04-03T11:10:13 < R2COM> so put that three small valued caps in parallel instead of output thru hole, and see if it helps 2013-04-03T11:10:26 < Robint91> dongs, any load on it? 2013-04-03T11:10:37 < inca> Robint91 http://i.imgur.com/5tdwSPE.jpg 2013-04-03T11:10:44 < timemob> There's not much marked 2013-04-03T11:10:47 < Robint91> OH 2013-04-03T11:11:05 < qyx_> should be according to datasheet 2013-04-03T11:11:10 < qyx_> but cant read that 2013-04-03T11:11:12 < timemob> R2 on it 2013-04-03T11:11:16 < R2COM> oh... 2013-04-03T11:11:18 < R2COM> and one more thing 2013-04-03T11:11:35 < R2COM> once you put three caps instead of 220uf thru hole, power everything *OFF* and start again 2013-04-03T11:13:06 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Read error: Connection reset by peer] 2013-04-03T11:14:20 -!- cjbaird_ [~cjb@ppp121-44-210-131.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-03T11:14:51 -!- cjbaird [~cjb@ppp121-44-21-72.lns20.syd6.internode.on.net] has quit [Ping timeout: 276 seconds] 2013-04-03T11:15:35 < timemob> R2, same 2013-04-03T11:15:57 < R2COM> hm 2013-04-03T11:16:09 < Robint91> who's design is it? 2013-04-03T11:16:12 < timemob> With ceramics on output 2013-04-03T11:17:09 < timemob> Bit less noise 2013-04-03T11:17:33 < R2COM> of course less noise, since those ceramics hold their capacitance on a higher frequency range 2013-04-03T11:17:38 < R2COM> than that huge 200uf 2013-04-03T11:17:46 < R2COM> and have lower esr 2013-04-03T11:17:54 < R2COM> but there is something else still wrong 2013-04-03T11:18:19 < Robint91> timemob, what do you measure across the FB pin? 2013-04-03T11:18:24 < R2COM> 2v 2013-04-03T11:18:27 < R2COM> instead of 0.8v 2013-04-03T11:20:33 < R2COM> and well as result you have then 12.67v 2013-04-03T11:20:52 < R2COM> instead of your 5 2013-04-03T11:21:31 < Robint91> what is the input voltage? 2013-04-03T11:22:06 < R2COM> 12 2013-04-03T11:22:16 < Robint91> exactly? 2013-04-03T11:22:21 < R2COM> as he says 2013-04-03T11:22:55 < Robint91> do you have his schematic? 2013-04-03T11:23:12 < R2COM> no but he connected things almost like here http://aosmd.com/res/data_sheets/AOZ1281DI.pdf 2013-04-03T11:23:19 < R2COM> on page 1 2013-04-03T11:23:25 < timemob> Output is always like 1v less 2013-04-03T11:23:28 < timemob> Than vin 2013-04-03T11:23:37 < R2COM> (I still suspect soldering issues too...) 2013-04-03T11:23:51 < R2COM> because its frequent with 3x3 and 2x2 mm packages 2013-04-03T11:23:52 -!- MrMobius [~Joey@194.176.111.29] has quit [Read error: Connection reset by peer] 2013-04-03T11:23:54 < R2COM> how was it soldered? 2013-04-03T11:24:07 -!- MrMobius [~Joey@91.192.66.229] has joined ##stm32 2013-04-03T11:24:08 < Robint91> timemob, so I suspect that the switching mosfet is always conducting 2013-04-03T11:24:22 < timemob> Sure 2013-04-03T11:24:26 < R2COM> solder paste? or you put solder blobs on pads and then put chip on it and reflow 2013-04-03T11:24:39 < Robint91> timemob, did you tried an other chip? 2013-04-03T11:24:43 < R2COM> its really easy to fuck these packages during reflow 2013-04-03T11:24:52 < Robint91> ^ THIS 2013-04-03T11:25:32 < timemob> Got couple boards made 2013-04-03T11:25:45 < timemob> It's not reflow 2013-04-03T11:25:53 < R2COM> in a same way made? 2013-04-03T11:26:00 < timemob> Stencil etc 2013-04-03T11:26:12 < timemob> Ya 2013-04-03T11:26:17 < R2COM> I'd make one separate board, with resistor as a load (actually three resistors with jumpers. 2013-04-03T11:26:23 < R2COM> and put normal values there for capacitance 2013-04-03T11:26:32 < R2COM> 0.1uf 1uf and 10uF on output 2013-04-03T11:26:37 < R2COM> and maybe same on input 2013-04-03T11:26:42 < R2COM> without that 0k resistor shit either 2013-04-03T11:26:56 < Robint91> that is tha 0R 2013-04-03T11:27:07 < Robint91> on those boards and across those ceramics? 2013-04-03T11:27:08 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2013-04-03T11:27:08 < timemob> But 2013-04-03T11:27:16 < timemob> It's same shit 2013-04-03T11:27:55 < R2COM> when I have some problems which just seem to exist no matter what, I rebuild another unit with ONLY necessary shit! 2013-04-03T11:28:08 < timemob> A switcher should at least attempt to work 2013-04-03T11:28:17 < timemob> That's what I did 2013-04-03T11:28:28 < timemob> Only that switcher on a blank board 2013-04-03T11:28:45 < timemob> No other shit mounted 2013-04-03T11:29:25 < R2COM> and by the way what is c3? 2013-04-03T11:29:26 < R2COM> value 2013-04-03T11:29:28 < R2COM> and type 2013-04-03T11:29:29 < R2COM> ? 2013-04-03T11:29:38 < R2COM> (C3 from BST to lx) 2013-04-03T11:30:25 < timemob> 0.01uf 2013-04-03T11:30:32 < timemob> X7r 2013-04-03T11:30:36 < R2COM> yeah thats what those caps usually are.. 2013-04-03T11:30:38 < timemob> Regular shit 2013-04-03T11:32:38 < R2COM> did you try drinking beer? 2013-04-03T11:33:49 < R2COM> I think long time ago I actually probably had similar situation 2013-04-03T11:33:56 < R2COM> with some semtech part 2013-04-03T11:34:16 < R2COM> it was like I had 5v in, and wanted 3.3v out 2013-04-03T11:34:23 < R2COM> and I was getting same voltage, not less but same 2013-04-03T11:34:35 < R2COM> but values of course were all correct and well thought 2013-04-03T11:34:41 < timemob> Mhm 2013-04-03T11:34:55 < R2COM> its just that board I did i did real quick, even without stencil, just with dolder blobs on pads 2013-04-03T11:35:10 < R2COM> anyhow, once I assembled separate once with better precision it all worked 2013-04-03T11:35:23 < R2COM> I didnt have to change neither parts nor schematics 2013-04-03T11:35:27 < R2COM> and that was 3x3mm part 2013-04-03T11:36:26 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Excess Flood] 2013-04-03T11:37:06 < timemob> Nah 2013-04-03T11:37:17 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-03T11:38:01 < R2COM> thats not top class but I mean its kinda ok switcher 2013-04-03T11:38:14 < R2COM> it has typical for this class building blocks, I doubt its bad 2013-04-03T11:38:36 < R2COM> sometimes some parts are bad well.. try some another from different reel 2013-04-03T11:38:49 < timemob> Right 2013-04-03T11:38:51 < R2COM> and on different board assembled with right values 2013-04-03T11:39:03 < R2COM> (from the first time right values) 2013-04-03T11:40:19 < timemob> Fairly confident assembly is not a problem 2013-04-03T11:41:45 < timemob> I've done similar dual switcher part and it worked fine 2013-04-03T11:42:10 < timemob> Hell there's a 2013-04-03T11:42:22 < timemob> 1.2 switcher on same pcb 2013-04-03T11:42:29 < timemob> That works fine 2013-04-03T11:42:42 < timemob> About same size 2013-04-03T11:42:54 < timemob> Diff brand of code 2013-04-03T11:43:21 < R2COM> another thing possible is, when you first saw it not working, messed with it you fucked it xD 2013-04-03T11:44:14 < R2COM> thats why I was saying put on another board, and assemble with right capacitances and everything and maybe just put resistive load, and power up after that 2013-04-03T11:44:59 < inca> my 2 cents is to troubleshoot around FB at this point 2013-04-03T11:45:04 < inca> 2 V is out of spec 2013-04-03T11:45:27 < R2COM> that...is known already/ 2013-04-03T11:45:32 < inca> here are their other app notes 2013-04-03T11:45:34 < inca> http://www.aosmd.com/applications/notes/power-ics 2013-04-03T11:45:56 < timemob> Course 2013-04-03T11:45:56 < inca> 003, 004, and 005 are most applicable 2013-04-03T11:45:57 < timemob> Nope 2013-04-03T11:45:57 < timemob> 2nd board was assembled clean 2013-04-03T11:45:57 < timemob> Then rape began 2013-04-03T11:45:58 < timemob> The 1.2 reg is that Semtech shit 2013-04-03T11:45:58 < timemob> Sc189. Works great 2013-04-03T11:46:12 -!- _BJFreeman [~bjfree@173.sub-75-233-249.myvzw.com] has joined ##stm32 2013-04-03T11:46:55 -!- _BJFreeman is now known as BJfreeman 2013-04-03T11:47:37 < inca> FWIW, try reducing the impedances of R1 & R2, reducing ESR of output cap, and output cap down to 10 uF 2013-04-03T11:47:39 < timemob> Inca seen those 2013-04-03T11:48:01 < timemob> The r are recommended from data sheet for 5v 2013-04-03T11:48:06 < inca> timemob: what is the inductor datasheet? 2013-04-03T11:48:11 < timemob> 49k and 9k 2013-04-03T11:48:19 < timemob> Inductor is nr6028 2013-04-03T11:48:24 -!- CRF_Peter [~Peter@dhcp-181008.eduroam.chalmers.se] has joined ##stm32 2013-04-03T11:48:26 < timemob> 4.7uf 2013-04-03T11:48:30 < inca> try 4.9k and 0.9k 2013-04-03T11:48:33 < timemob> Taiyo yuden 2013-04-03T11:48:50 < timemob> But ds says those values 2013-04-03T11:48:58 < timemob> It shouldn't matter 2013-04-03T11:49:02 < inca> well, we need to help FB drop 2013-04-03T11:49:39 < inca> if it's at 2 V right now, that could be a bunch of things, but most likely too much current through the lower resistor 2013-04-03T11:49:47 < timemob> I would think spec was tested at recommended values 2013-04-03T11:50:19 < R2COM> too much current? thats why you decrease resistor value? xD 2013-04-03T11:50:20 < inca> at this point we're troubleshooting the current setup and load, not the app note so much 2013-04-03T11:50:21 < R2COM> lol 2013-04-03T11:50:36 < inca> R2COM what is ohms law? 2013-04-03T11:50:59 < R2COM> those resistors preferred to be bigger 2013-04-03T11:51:06 < R2COM> to have less current 2013-04-03T11:51:09 < inca> V = I R 2013-04-03T11:51:18 < R2COM> yeah right teach me that 2013-04-03T11:51:38 < inca> for the same I which is determined by inductor and output cap, what will lower R value do ? 2013-04-03T11:52:08 < R2COM> R2 is between 0.8v and gnd 2013-04-03T11:52:19 < R2COM> and it typically should have around 200uA 2013-04-03T11:52:22 < R2COM> if not less 2013-04-03T11:52:26 < inca> 0.8 V was measured to be 2 V 2013-04-03T11:52:31 < inca> at FB 2013-04-03T11:52:41 < R2COM> yes 2013-04-03T11:52:49 < inca> it should be 0.8 V, right? 2013-04-03T11:52:52 < R2COM> yes 2013-04-03T11:53:00 -!- cjbaird_ is now known as baird 2013-04-03T11:53:15 < R2COM> so the bigger it is, smaller the current is 2013-04-03T11:53:26 < inca> so, looking at figure 1 of the data sheet, we have several options http://aosmd.com/res/data_sheets/AOZ1281DI.pdf 2013-04-03T11:53:29 < R2COM> 0.8v / 35k or so (what he has from datasheet) 2013-04-03T11:53:36 < R2COM> makes around 22uA 2013-04-03T11:53:49 < inca> reduce R2, increase R1, reduce both R2 and R1 2013-04-03T11:54:00 < timemob> Even I know that 2013-04-03T11:54:04 < inca> right 2013-04-03T11:54:13 < inca> so what does it do when those are tried? 2013-04-03T11:54:18 < inca> does it go into regulation? 2013-04-03T11:54:34 < inca> i.e. does FB get maintained at 0.8 V 2013-04-03T11:55:45 < R2COM> not 35k.. 9.35 2013-04-03T11:56:01 < R2COM> which makes then 85uA through that R2 2013-04-03T11:56:17 < R2COM> which is about current one wants to have in feedback resistors 2013-04-03T11:56:28 < inca> assuming the inductor is 2.2 uH, NR6028T2R2N, Rdc = 0.020 ohms, saturation current is 4.2 A, max SS current is 3.7 A 2013-04-03T11:56:58 < R2COM> I thought he has 4.7uH 2013-04-03T11:57:08 < inca> my bad 2013-04-03T11:57:34 < timemob> Ya 4.7 2013-04-03T11:58:15 < inca> NR6028T4R7M, 4.7 uH, 0.031 Rdc, saturation at 2.7 A, and max SS thermal current is 3.0 A 2013-04-03T11:58:32 < inca> do you have a 2.2 uH? 2013-04-03T11:59:19 < timemob> Not in that size 2013-04-03T12:00:26 < inca> well 2013-04-03T12:00:37 < inca> I think it's safe to say that the inductor is saturated 2013-04-03T12:00:47 < timemob> Can try to find something 2013-04-03T12:00:50 < inca> if this is a scope trace of the voltage across it: http://i.imgur.com/umVVOtM.jpg 2013-04-03T12:01:27 < inca> with Rdc of 0.031 and voltage rms at 11.8 V 2013-04-03T12:01:51 < inca> reduce load, check that part temp 2013-04-03T12:02:39 < R2COM> I was before saying to check with small resistive well defined load 2013-04-03T12:02:44 < R2COM> not that lights thingy 2013-04-03T12:04:41 < timemob> It does same shit at Any Load 2013-04-03T12:04:42 < timemob> Also no load 2013-04-03T12:04:42 < timemob> I had a R across before to test 2013-04-03T12:05:13 < inca> R2COM: Sorry if I came off condescending. I was as much typing out the thoughts to double check… if we ever meet, I'll buy you a beer 2013-04-03T12:05:54 < inca> timemob: what does V across L look like with those situations? 2013-04-03T12:06:03 < inca> also, voltage at FB 2013-04-03T12:07:32 < inca> a scope trace of voltage from FB to GND and across the inductor (LX to Vout) would be helpful for those test cases 2013-04-03T12:08:43 < inca> I have a feeling that this img is from inductor output to ground: http://i.imgur.com/umVVOtM.jpg 2013-04-03T12:09:12 < timemob> Across l was like 11.7v or something 2013-04-03T12:09:45 < timemob> This is lx to gnd 2013-04-03T12:12:32 < dongs> is it worth scoping FB pin? 2013-04-03T12:12:54 < inca> ok. LX to Vout scope trace should be no more than 0.108 Vrms 2013-04-03T12:13:31 < inca> dongs: yes. it will indicate whether or not the loop has stabilized 2013-04-03T12:13:41 < dongs> inca: just looks like DC 2013-04-03T12:13:42 < dongs> 2V. 2013-04-03T12:13:44 < dongs> 2V? 2013-04-03T12:14:28 < inca> also, if you are watching FB on startup, you may see it begin around 0.8 V, then fail when inductor saturates or SS LC resonance takes over 2013-04-03T12:15:00 < dongs> Ok 2013-04-03T12:15:58 < inca> cut power and try to capture the initial power up transient. V_FB to GND and V_LX to V_OUT should tell the story 2013-04-03T12:16:07 < dongs> right 2013-04-03T12:16:09 < dongs> lemme do that 2013-04-03T12:17:16 < dongs> VLX to VOUT -> scope probe goes to vout , gnd goes to vlx? 2013-04-03T12:17:31 < inca> correct 2013-04-03T12:24:08 < dongs> ok, FB power up.. looks useless. 2013-04-03T12:24:12 < dongs> http://i.imgur.com/dUyuhCi.jpg 2013-04-03T12:24:18 -!- [1]MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-03T12:24:25 -!- MrMobius [~Joey@91.192.66.229] has quit [Read error: Connection reset by peer] 2013-04-03T12:24:43 < dongs> http://i.imgur.com/g7kFe2o.jpg vlx to vout 2013-04-03T12:25:21 < inca> can you get both together? 2013-04-03T12:25:30 < inca> to determine causality 2013-04-03T12:25:46 < inca> but I think we can deduce that the inductor is just saturating 2013-04-03T12:25:54 < dongs> so you thikn i need to try 2.2uh? 2013-04-03T12:26:12 < inca> well… the spec for the 4.7 uH was measured at 100 kHz 2013-04-03T12:26:21 < inca> so it might be 2.2 uh at 1.5 MHz 2013-04-03T12:26:36 < dongs> apparently my pal tried 2.2uh while iw as out 2013-04-03T12:26:43 < dongs> so it d id exactly same shit 2013-04-03T12:27:00 < inca> right 2013-04-03T12:27:12 < inca> so why would the inductor immediate saturate 2013-04-03T12:27:53 < dongs> gonna try 2.2 again 2013-04-03T12:28:02 < dongs> lemme see what part# it is 2013-04-03T12:28:04 < inca> without a short circuit load or other special case, I am thinking the R1 R2 divider and the output cap 2013-04-03T12:28:56 < inca> were those scope traces at full load? just for S&G, what is the current with 23 V on those LEDs? 2013-04-03T12:29:26 < inca> additionally, if the inductor is saturated, sometimes degaussing is necessary 2013-04-03T12:29:28 < dongs> 2.2uH is just smaaller version of same series 2013-04-03T12:29:29 < dongs> http://www.digikey.com/product-detail/en/NR4018T2R2M/587-1669-1-ND/1008284 2013-04-03T12:30:19 < inca> dongs: yeah, but it has lower Rdc and a higher saturation current, so it can handle bigger loads 2013-04-03T12:31:02 -!- Laurenceb_ [~Laurence@host86-174-20-97.range86-174.btcentralplus.com] has joined ##stm32 2013-04-03T12:31:13 < dongs> lemme see what those leds draw 2013-04-03T12:34:44 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-231-90.clienti.tiscali.it] has joined ##stm32 2013-04-03T12:40:05 < dongs> ok 2.2uh didnt do fuck all 2013-04-03T12:40:11 < dongs> the led bar is 380mA 2013-04-03T12:40:13 < dongs> at 12V 2013-04-03T12:40:53 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Ping timeout: 258 seconds] 2013-04-03T12:41:04 < inca> before you said it was outputting 23 V, did you drop the V_IN to ~13 V in order to see the V_OUT of 12 V? 2013-04-03T12:41:13 < inca> or was that a bench supply 2013-04-03T12:41:27 < dongs> its variable supply 2013-04-03T12:41:37 < dongs> i meant, I ran vin anything from like 10V to 23CV 2013-04-03T12:41:42 < dongs> output is always ~1V below Vin 2013-04-03T12:41:45 < dongs> regardless of input 2013-04-03T12:42:24 < dongs> should I try with a R load, some known value? 2013-04-03T12:42:38 < dongs> though i dont think it matters. 2013-04-03T12:43:04 < inca> your effective load impedance is about 31 ohms 2013-04-03T12:43:48 < inca> let's fuck around with the FB resistor divider 2013-04-03T12:44:09 < inca> try to force FB to get to .8 2013-04-03T12:44:52 < inca> so here's what we know 2013-04-03T12:47:19 < inca> on startup, V_FB rises to 2 V instead of maintaining regulation at 0.8 V, voltage across inductor to output goes to 12 V (which is 1 V less than V_IN), the lower value inductor behaves the same even with slightly better inductor characteristics 2013-04-03T12:47:33 < dongs> ya. sounds about right 2013-04-03T12:47:39 < dongs> if that helps, FB rise time is like 100ms or so 2013-04-03T12:48:30 < inca> hmm 2013-04-03T12:48:35 < inca> that's a bit slow 2013-04-03T12:48:49 < inca> it should be about 400 us 2013-04-03T12:48:53 < inca> page 6 2013-04-03T12:52:02 < inca> yeah, ok, let's put in a > 576 Ohm 1/4 watt load resistor 2013-04-03T12:52:22 < inca> just for consistency's sake and so the inductor has no excuses 2013-04-03T12:53:28 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-03T12:54:09 < dongs> OK FB rising with load or without load pretty much same 2013-04-03T12:54:22 < inca> what are all the things which could slow FB's rise time regardless of load? R1 & R2 2013-04-03T12:54:22 < dongs> lemme see if I can dong a load resistor somewehre 2013-04-03T12:54:30 < inca> word 2013-04-03T12:56:52 < dongs> oh, 2013-04-03T12:56:55 < dongs> 500us FB rise with load 2013-04-03T12:56:57 < dongs> lemme see without 2013-04-03T12:57:02 < dongs> maybe my first approximation of 100 was off 2013-04-03T12:57:07 < inca> k 2013-04-03T12:57:17 < sterna1> anyone good at setting up timers using STs periphiral library? 2013-04-03T12:57:29 < dongs> sterna1: i thought htey're pretty easy 2013-04-03T12:57:30 < sterna1> bacause the whole thing is a huge mindfuck 2013-04-03T12:57:30 < dongs> wahts hte question 2013-04-03T12:57:33 < dongs> really? 2013-04-03T12:57:38 < sterna1> I think so 2013-04-03T12:57:43 < dongs> i set them up for pwm generation and input capture fairly effortlessly 2013-04-03T12:57:59 < sterna1> since I have it says nowhere what all the parameters do 2013-04-03T12:58:08 < sterna1> I'm going ti generate a pulse 2013-04-03T12:58:08 < dongs> well waht do you want to do 2013-04-03T12:58:23 < sterna1> so one-pulse mode obviously 2013-04-03T12:58:32 < dongs> well 2013-04-03T12:58:38 < dongs> you could also just do output compare 2013-04-03T12:58:42 < dongs> and stop it in irq 2013-04-03T12:58:44 < dongs> or hwatever 2013-04-03T12:58:49 < sterna1> yes, that's where I'm going 2013-04-03T12:58:52 < dongs> without load, 10ms 2013-04-03T12:58:55 < sterna1> well, not irq 2013-04-03T12:58:56 < dongs> not 100. 2013-04-03T12:59:05 < dongs> from 0 to ~2V 2013-04-03T12:59:15 < dongs> but with load 500 sounds about right 2013-04-03T12:59:36 < sterna1> I want my pulse to go high when starting the timer and low when output compare hits 2013-04-03T12:59:38 < inca> I have seen a blinky which used one-pulse timer interrupts with std periph 2013-04-03T12:59:43 < sterna1> this SHOULD be easy, I know 2013-04-03T12:59:46 < dongs> sterna1: just invert timer polarity hten 2013-04-03T12:59:57 < dongs> when setting up the channel 2013-04-03T12:59:58 < sterna1> that's the problem I have 2013-04-03T13:00:08 < sterna1> I'm not sure what to set polarity to 2013-04-03T13:00:27 < dongs> TIM_OCInitStructure.TIM_OCPolarity = TIM_OCPolarity_Low; 2013-04-03T13:00:27 < dongs> TIM_OCInitStructure.TIM_OCIdleState = TIM_OCIdleState_Set; 2013-04-03T13:00:29 < sterna1> does polarity high mean that it goes high at compare match or low? 2013-04-03T13:00:32 < dongs> try both and scope it? 2013-04-03T13:00:34 < dongs> who cares. 2013-04-03T13:00:53 < sterna1> if you have a nice library, you should no have to scope it 2013-04-03T13:01:06 < inca> sterna1: try libopencm3 2013-04-03T13:01:18 < inca> the examples are easier on the eyes 2013-04-03T13:01:27 < sterna1> I'm not changing libs in the middle of a project 2013-04-03T13:01:30 < inca> dongs: ok, so timing is okay then 2013-04-03T13:01:51 < inca> sterna1: implement the unit test case for blinking using the timer interrupt 2013-04-03T13:02:21 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 258 seconds] 2013-04-03T13:02:34 < inca> trust me, once you read the libopencm3 example, port it in 15 minutes, the std periph will make more sense 2013-04-03T13:02:37 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-03T13:02:38 < sterna1> well, testing is probably the easiest way 2013-04-03T13:02:41 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2013-04-03T13:02:44 -!- Laurenceb_ [~Laurence@host86-174-20-97.range86-174.btcentralplus.com] has quit [Ping timeout: 258 seconds] 2013-04-03T13:02:56 < sterna1> where do I find libopencm3? google I suppose? 2013-04-03T13:02:57 < inca> libopencm3 I thought was implemented over std periph 2013-04-03T13:03:07 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 258 seconds] 2013-04-03T13:03:09 < inca> http://aosmd.com/res/data_sheets/AOZ1281DI.pdf 2013-04-03T13:03:12 < inca> crap 2013-04-03T13:03:17 < inca> http://www.libopencm3.org/wiki/Main_Page 2013-04-03T13:03:36 < inca> dongs: so timing is good, voltage at FB is bad 2013-04-03T13:03:52 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-03T13:03:53 < inca> inductor seems irrelevant 2013-04-03T13:04:09 < inca> so that leaves R1 and R2 values, and the output cap 2013-04-03T13:05:16 < inca> I would be tempted to trim pot-white-wire into that divider to find something, anything, that brings FB to 0.8 V 2013-04-03T13:05:43 < inca> and V_OUT into some sort of regulation 2013-04-03T13:05:55 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 240 seconds] 2013-04-03T13:06:07 < inca> I have to go in about 50 mins 2013-04-03T13:06:51 < dongs> mkay 2013-04-03T13:06:58 < dongs> which one should I trim? 2013-04-03T13:06:59 < dongs> R1 or R2? 2013-04-03T13:07:22 < inca> R2 has the biggest impact 2013-04-03T13:07:27 < dongs> ok. 2013-04-03T13:07:42 < dongs> gonna fuck with it. 2013-04-03T13:07:46 < dongs> this aosmd shit fuckign sucks. 2013-04-03T13:07:52 < dongs> this is second time tehy raped me with shit parts 2013-04-03T13:08:06 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 258 seconds] 2013-04-03T13:08:35 < inca> I don't see anything but sales offices 2013-04-03T13:08:37 < inca> http://www.aosmd.com/contact 2013-04-03T13:08:58 < inca> Euro guy should be awake 2013-04-03T13:09:03 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-03T13:09:07 < inca> Boston you could email 2013-04-03T13:09:07 < dongs> hmm 2013-04-03T13:09:27 < inca> and cali in about 6 hrs 2013-04-03T13:10:07 < inca> I want to see pictures of this thing working =) 2013-04-03T13:10:55 < dongs> you might see pics of me smashing the shit out of it 2013-04-03T13:11:19 < inca> sounds like work to me 2013-04-03T13:13:28 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 258 seconds] 2013-04-03T13:15:17 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-03T13:24:35 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 258 seconds] 2013-04-03T13:24:35 -!- [1]MrMobius [~Joey@194.176.111.29] has quit [Read error: Connection reset by peer] 2013-04-03T13:25:05 -!- MrMobius [~Joey@91.192.66.229] has joined ##stm32 2013-04-03T13:26:00 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-03T13:35:39 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 252 seconds] 2013-04-03T13:36:53 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-03T13:37:47 < Robint91> http://www.analog.com/static/imported-files/data_sheets/ADuCM360_361.pdf 2013-04-03T13:37:51 < Robint91> NICE 24bit ADCs 2013-04-03T13:39:49 -!- t1memob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-03T13:41:27 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 258 seconds] 2013-04-03T13:43:54 -!- t1memob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Client Quit] 2013-04-03T14:05:15 -!- BJfreeman [~bjfree@173.sub-75-233-249.myvzw.com] has quit [Quit: had a good time] 2013-04-03T14:10:48 < dongs> http://wakaba.c3.cx/releases/scene/jupiter-src.zip 2013-04-03T14:10:49 < dongs> cool 2013-04-03T14:17:06 < dongs> http://wakaba.c3.cx/repos/stm32f4-vga/ + http://aka-san.halcy.de/revision2012/peridiummmm-src.zip 2013-04-03T14:17:12 < dongs> more cool 2013-04-03T14:18:09 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-03T14:18:11 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-03T14:23:23 -!- baird [~cjb@ppp121-44-210-131.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-04-03T14:25:04 -!- MrMobius [~Joey@91.192.66.229] has quit [Read error: Connection reset by peer] 2013-04-03T14:27:09 -!- MrMobius [~Joey@91.192.66.229] has joined ##stm32 2013-04-03T14:29:44 < dongs> hm very clever 2013-04-03T14:29:57 < dongs> they're blowing 128k on 2 64k framebuffers for VGA 2013-04-03T14:30:03 < dongs> and have all staack/vars in ccm 2013-04-03T14:30:45 <+Steffanx> Is that a compliment dongs? :D 2013-04-03T14:31:24 < dongs> you missed the original links 2013-04-03T14:31:34 < dongs> http://bcas.tv/paste/results/SAs2km64.html 2013-04-03T14:31:48 <+Steffanx> i've zlog :) 2013-04-03T14:32:17 <+Steffanx> No photo/video of the result? 2013-04-03T14:32:34 < dongs> https://youtube.com/watch?v=ymGCeG9_6c0 tweeted this yesterday 2013-04-03T14:32:44 <+Steffanx> I'm not awake all day long 2013-04-03T14:33:06 < dongs> they're actually using i2s peripheral to dump audio out 2013-04-03T14:33:06 < dongs> heh 2013-04-03T14:33:07 <+Steffanx> but yeah, i think i've seen that one 2013-04-03T14:33:35 <+Steffanx> Funny how people are still into 1990-alike graphics 2013-04-03T14:33:43 < dongs> https://youtube.com/watch?v=KsToQmFndpg and this is the other one 2013-04-03T14:35:56 < Fail_Academy> or you could just use the LCD interface 2013-04-03T14:36:47 < dongs> the what 2013-04-03T14:37:33 < Fail_Academy> on the F4 you n00b 2013-04-03T14:38:39 < dongs> but then you cant connect it to a monitor 2013-04-03T14:38:43 < dongs> you FAGGOT 2013-04-03T14:39:23 < dongs> http://www.kentecdisplay.com/uploads/soft/Products_spec/EB-STM32F4DISCOVERY-LCD_UserGuide_V01.pdf 2013-04-03T14:39:26 < dongs> you mean this hsit? 2013-04-03T14:40:10 < dongs> AIDS 2013-04-03T14:40:25 < Fail_Academy> nice board 2013-04-03T14:40:39 < dongs> anyhow 2013-04-03T14:40:47 < dongs> are those LCDs doublebuffered? 2013-04-03T14:40:51 < dongs> because i dont think they are 2013-04-03T14:40:58 < Fail_Academy> ask Tectu 2013-04-03T14:41:07 < Fail_Academy> i think they have internal framebuffer? 2013-04-03T14:41:13 < dongs> yes , single one 2013-04-03T14:41:20 < dongs> hwihc means you cant do awesome demoscene graphics on them 2013-04-03T14:41:23 < dongs> without tearing/faila 2013-04-03T14:41:29 < Fail_Academy> oh noes 2013-04-03T14:41:48 < Tectu> sup? 2013-04-03T14:42:21 < Tectu> internal framebuffer != double buffered 2013-04-03T14:42:32 < Fail_Academy> i c 2013-04-03T14:42:53 < Tectu> but yes, most (I'd say all) LCD controllers come with an internal framebuffer for at least one frame 2013-04-03T14:43:07 < Tectu> however, there are cases where that is not true (like jpa- 's display) 2013-04-03T14:43:21 < Tectu> the "one frame buffer" controllers are mostly known as "memory mapped displays" 2013-04-03T14:43:37 < Tectu> I'm not sure if that is the correct term, but that's what people use 2013-04-03T14:44:11 <+Steffanx> Ha Tectu ! 2013-04-03T14:45:41 < Tectu> yes Steffanx? 2013-04-03T14:45:51 <+Steffanx> Just Ha as in Hi 2013-04-03T14:45:57 < Tectu> Ha Steffanx ! 2013-04-03T14:47:00 < jpa-> almost all LCD modules are single buffered.. so horrible flicker if you try to update the data :P 2013-04-03T14:47:45 < dongs> yeah 2013-04-03T14:47:47 < dongs> sounds like fail 2013-04-03T14:48:15 < Tectu> jpa-, almost all <--- just the cheap ones 2013-04-03T14:48:21 < Tectu> but yes, that's completely true 2013-04-03T14:48:40 < jpa-> of course if you do some vsync stuff or just render in a single go, you avoid the issue 2013-04-03T14:48:43 < Tectu> most of them don't even have a sync flac 2013-04-03T14:48:51 < dongs> I like their simple hw abstraction code 2013-04-03T14:48:56 < Tectu> jpa-, not all of them have vsync :D 2013-04-03T14:48:57 < dongs> gpio/rcc 2013-04-03T14:49:03 < Fail_Academy> wait 2013-04-03T14:49:13 < Fail_Academy> so how does Chibios GFX do it? 2013-04-03T14:49:17 < dongs> wuat 2013-04-03T14:49:20 < Tectu> dongs, if you can, do FSMC 2013-04-03T14:49:24 < jpa-> Fail_Academy: slowly, and flickering :) 2013-04-03T14:49:26 < Tectu> Fail_Academy, which aspect do you want to know? 2013-04-03T14:49:32 < Tectu> ah, that - yes, completely true :) 2013-04-03T14:49:37 < dongs> chibios more like chibidongs 2013-04-03T14:49:43 < Fail_Academy> the update 2013-04-03T14:49:45 < Fail_Academy> oh 2013-04-03T14:49:47 < Fail_Academy> fail 2013-04-03T14:49:59 < dongs> i suspect it just draws shit into lcd 2013-04-03T14:50:00 < jpa-> if you have fast FSMC speed, the flicker is not so visible 2013-04-03T14:50:03 < dongs> from a local memory framebuffer 2013-04-03T14:50:18 <+Steffanx> Isn't that a nice way to do it dongs? 2013-04-03T14:50:24 <+Steffanx> When your lcd is 'limited' 2013-04-03T14:50:29 < dongs> sure if youre lcd is 64x64 or somethign 2013-04-03T14:50:40 < dongs> but even 320*200*8bit is a lot 2013-04-03T14:50:50 <+Steffanx> True, true. of course 2013-04-03T14:51:08 < dongs> like i said that demo is wasting all of ram on framebuffer 2013-04-03T14:51:11 < dongs> and keeps everything else in ccm 2013-04-03T14:51:17 < dongs> lower 128k 2013-04-03T14:51:45 < Tectu> Fail_Academy, a feature to use external frame buffer should be added to ChibiOS/GFX somewhen 2013-04-03T14:51:56 < Tectu> however, it's some very applications specific thing so yeah... 2013-04-03T14:52:36 < dongs> just make a psram shield for f4discovery 2013-04-03T14:52:41 < dongs> and slap VGA connector on it 2013-04-03T14:53:31 < Tectu> psram shield for f4disco... not a bad idea sir! 2013-04-03T14:53:36 < Tectu> did you already do one, dongs? 2013-04-03T14:53:51 < dongs> no but you can pay me to do one 2013-04-03T14:55:08 < Tectu> no, I couldn't 2013-04-03T14:55:41 < Robint91> dongs, on the new F4 is using the LCD controller cheating? 2013-04-03T14:56:21 < dongs> yea. 2013-04-03T14:56:24 < Robint91> to generate vga 2013-04-03T14:56:29 < dongs> uh 2013-04-03T14:56:31 < Tectu> what? 2013-04-03T14:56:32 < dongs> how would ytou do that? 2013-04-03T14:56:37 < dongs> generate vga from lcd controller? 2013-04-03T14:56:38 < Tectu> yeah ^ 2013-04-03T14:56:50 < Fail_Academy> or just use newer F4 with more ram 2013-04-03T14:56:52 < Robint91> use VGA DAC 2013-04-03T14:56:53 < Robint91> ? 2013-04-03T14:57:04 < dongs> as opposed to 8 resistors and a vga plug? 2013-04-03T14:57:17 < dongs> r2r dac dued 2013-04-03T14:57:19 < Tectu> Robint91, I don't think that you can use the F4 internal lcd controller for that job at all 2013-04-03T14:57:25 < Robint91> http://www.cs.columbia.edu/~%20sedwards/classes/2013/4840/Analog-Devices-ADV7123-video-DAC.pdf 2013-04-03T14:57:59 < Fail_Academy> video dick 2013-04-03T14:58:18 < Robint91> Tectu, those new F437/F427 2013-04-03T14:58:31 < Fail_Academy> exactly 2013-04-03T14:58:36 < Tectu> Robint91, I know, do you know what the internal LCD controller is capable of? 2013-04-03T14:58:37 < Fail_Academy> i need one :( 2013-04-03T14:59:06 < Tectu> for doing what? 2013-04-03T14:59:20 < Fail_Academy> it has a better adc 2013-04-03T14:59:28 <+Steffanx> lol 2013-04-03T14:59:39 <+Steffanx> Tectu, Fail_Academy has a ADC-fetish :P 2013-04-03T14:59:46 <+Steffanx> *an 2013-04-03T14:59:55 < Tectu> lol 2013-04-03T15:00:04 < Tectu> you should meet laurenceb 2013-04-03T15:00:08 < Tectu> he's kinda the same 2013-04-03T15:00:58 <+Steffanx> You should look at Fail_Academy's username, lol 2013-04-03T15:01:42 < Tectu> fail >.< 2013-04-03T15:01:51 < Fail_Academy> pwned 2013-04-03T15:02:13 < Robint91> Tectu, driving LCD panels and VGA isn't that much different 2013-04-03T15:02:22 < Tectu> Robint91, I know 2013-04-03T15:02:33 < Tectu> it's not different at all, but the interface 2013-04-03T15:02:46 < Tectu> on LCD pannel you have hundrets of wires, on VGA you don't 2013-04-03T15:02:46 < Robint91> Tectu, with a real VGA DAC you can convert the LCD/TFT interface to VGA 2013-04-03T15:02:58 < Tectu> lol what? 2013-04-03T15:03:03 < Tectu> those exist? 2013-04-03T15:03:08 < Robint91> yeah 2013-04-03T15:03:10 < Tectu> a 16-bit to VGA? 2013-04-03T15:03:12 < Tectu> link? 2013-04-03T15:03:29 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 255 seconds] 2013-04-03T15:04:36 < Robint91> Tectu, the ADV7312 does that 2013-04-03T15:05:08 < Robint91> Tectu, LCD = bare LCD without controller 2013-04-03T15:05:23 < Robint91> Tectu, so no nasty SSD1... chip 2013-04-03T15:06:17 < Robint91> Tectu, olimex does it so on the alwinner A13 http://olimex.files.wordpress.com/2012/06/lcd2vga-sch.gif 2013-04-03T15:06:55 < Robint91> I do like those analog cortex m3 MCUs 2013-04-03T15:07:09 < zyp> Robint91, that's no bare lcd interface. 2013-04-03T15:07:43 < Robint91> zyp, -_- to driver a bare lcd panel you need still drivers, etc etc 2013-04-03T15:07:44 < zyp> that's an interface for a lcd that has a controller that decodes a continous stream with vsync and hsync 2013-04-03T15:07:59 < Robint91> zyp, ALL LCDs work like that 2013-04-03T15:08:18 < Robint91> the newer use LVDS signalling to reduct the number of lines 2013-04-03T15:08:42 < zyp> LVDS is old tech, the newer ones use eDP 2013-04-03T15:08:57 < Robint91> zyp, you know what I mean 2013-04-03T15:09:06 < zyp> sure 2013-04-03T15:09:23 < zyp> but that's not bare lcd in any case 2013-04-03T15:09:31 < zyp> and you get chips with bare lcd controllers. 2013-04-03T15:09:47 < zyp> which is something different from what you describe as bare lcd 2013-04-03T15:10:03 < Robint91> zyp, but those aren't mostly for not that high resolution LCDs 2013-04-03T15:10:26 < Robint91> like in crappy multimeter displays 2013-04-03T15:10:31 < zyp> that's also true, but does not validate your point 2013-04-03T15:20:22 < Tectu> Robint91, very interesting 2013-04-03T15:24:59 -!- [1]MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-03T15:26:53 -!- MrMobius [~Joey@91.192.66.229] has quit [Read error: Connection reset by peer] 2013-04-03T15:30:01 -!- CRF_Peter [~Peter@dhcp-181008.eduroam.chalmers.se] has quit [Remote host closed the connection] 2013-04-03T15:30:46 -!- CRF_Peter [~Peter@dhcp-181008.eduroam.chalmers.se] has joined ##stm32 2013-04-03T15:39:58 < Thorn> can you set e.g. bits 5...3 of a register to 110 in a single statement in C? (no commas please) 2013-04-03T15:40:28 < Robint91> Thorn, yeah 2013-04-03T15:41:00 < Thorn> and preserve all other bits of course 2013-04-03T15:41:13 < Robint91> yeah 2013-04-03T15:41:51 < Thorn> and no bitfields 2013-04-03T15:42:35 <+Steffanx> I think you can't. Would be useless anyway if the architecture has no instruction for it. 2013-04-03T15:42:45 <+Steffanx> *when 2013-04-03T15:42:47 < Robint91> val = 0b110000 | ( val & (~(typeof(val))(0b110000)); 2013-04-03T15:42:58 <+Steffanx> That's not really a single statement imho 2013-04-03T15:43:00 < Robint91> dunno of typeof(val) works for casting 2013-04-03T15:43:08 < Robint91> Steffanx, meh 2013-04-03T15:44:07 < Robint91> val = 0b110000 | ( val & (~(typeof(val))(0b001000)); 2013-04-03T15:44:15 < Tectu> dude why must this JTAG shit be so slow? 2013-04-03T15:44:45 <+Steffanx> because you need bmp :P 2013-04-03T15:44:54 < Tectu> is it way faster? 2013-04-03T15:45:05 <+Steffanx> Dunno how slow your current one is 2013-04-03T15:48:06 < Tectu> 22kB/s max 2013-04-03T15:48:13 < Tectu> some times 17 2013-04-03T15:48:57 <+Steffanx> oh, is that slow?! 2013-04-03T15:50:12 < Tectu> when you write a few 100k it is 2013-04-03T15:51:05 < Thorn> I built two more lpc11 boards and my bmp clones don't like them either. looks like it's not my soldering after all 2013-04-03T15:51:06 <+Steffanx> So, don't do that :P 2013-04-03T15:51:18 < dongs> sup trolls 2013-04-03T15:51:23 < Tectu> Steffanx, you're not being helpful ;-) 2013-04-03T15:51:28 < Tectu> dongs, how fast is your BMP? 2013-04-03T15:51:29 <+Steffanx> Tha sky bro 2013-04-03T15:51:43 <+Steffanx> Dongs doesnt use open sores.. remember 2013-04-03T15:51:57 <+Steffanx> He uses a his closes sores one 2013-04-03T15:52:04 < Fail_Academy> trollercoaster 2013-04-03T15:52:04 < dongs> yeah 2013-04-03T15:52:08 < dongs> my closedsores one is real fast 2013-04-03T15:52:13 <+Steffanx> How fast? 2013-04-03T15:52:19 <+Steffanx> 1TB/s ? 2013-04-03T15:52:20 < dongs> when you can program a full F103CB in < 1 second with opensores lemme know 2013-04-03T15:52:47 < Fail_Academy> use a bootloader 2013-04-03T15:52:53 < Fail_Academy> and you might be able to 2013-04-03T15:53:18 < Tectu> Fail_Academy, I don't think so 2013-04-03T15:54:41 < Fail_Academy> Fail 2013-04-03T15:55:29 * Fail_Academy heads to #fail 2013-04-03T15:55:43 < Tectu> why you no laurenceb anymore? 2013-04-03T15:55:43 <+Steffanx> /kick Fail_Academy bb 2013-04-03T15:55:45 < dongs> is that your foreveralone channel? 2013-04-03T15:55:56 < Fail_Academy> lol it actually exists 2013-04-03T15:56:07 < Tectu> no, this is his dongs-time channel 2013-04-03T15:56:47 <+Steffanx> "channel trolls and no channel staff around to help? " wut? What is the purpose of that channel ? 2013-04-03T15:57:08 < Tectu> Steffanx, to troll you 2013-04-03T15:57:25 < sterna1> anyone knows which timers I can and cannot run at maximum clock frequency (168MHz) in an stm32f407? 2013-04-03T15:57:51 <+Steffanx> Too many dutchies there 2013-04-03T15:57:55 < sterna1> I'm trying to run my TIM3 at 168MHz, but it seems to come out as 84MHz 2013-04-03T15:58:14 < sterna1> where are the dividers set for this timer 2013-04-03T15:58:19 < dongs> depends what bus they're on 2013-04-03T15:58:25 < sterna1> APB1 2013-04-03T15:58:27 < dongs> apb or ahb, i think only one doesnt runr at /2 2013-04-03T15:58:29 < sterna1> in this case 2013-04-03T15:58:34 < dongs> i think ahb is the fast one 2013-04-03T15:58:36 < Thorn> you can't run any at 168MHz unless I'm mistaken. they[re limited by APB/AHB frequencies 2013-04-03T15:58:43 < Fail_Academy> no 2013-04-03T15:58:48 < Fail_Academy> some can run at 168 2013-04-03T15:58:53 < dongs> you can run some at 168, forget which 2013-04-03T15:58:57 < dongs> tim3 doesnt sound like one of htem though 2013-04-03T15:59:02 < dongs> i'd suspect its the tim1/tim8 2013-04-03T15:59:29 < sterna1> the data sheet says: 2013-04-03T15:59:33 < sterna1> " 1. If the APB prescaler is 1, the timer clock frequencies are set to the same frequency as that of the APB domain to which the timers are connected. " 2013-04-03T15:59:59 < Fail_Academy> " if you clock the timer too fast your mum will get scared" 2013-04-03T16:00:15 < Fail_Academy> "you will have to move in with your aunt and uncle in bel air" 2013-04-03T16:01:46 < sterna1> it also says 2013-04-03T16:01:48 < sterna1> "Several prescalers are used to configure the AHB frequency, the high-speed APB (APB2) and the low-speed APB (APB1) domains. The maximum frequency of the AHB domain is 168 MHz. The maximum allowed frequency of the high-speed APB2 domain is 84 MHz. The maximum allowed frequency of the low-speed APB1 domain is 42 MHz" 2013-04-03T16:02:13 < sterna1> tim3 is on apb1 2013-04-03T16:02:24 < sterna1> and I'm running it at 84MHz 2013-04-03T16:02:37 < sterna1> I haven't sitll gotten tim1 running yet... 2013-04-03T16:02:39 < Fail_Academy> theres a doubler in there 2013-04-03T16:02:44 < Fail_Academy> somewhere... 2013-04-03T16:02:52 < sterna1> right, it said something about that 2013-04-03T16:03:17 < sterna1> something about if prescaler is 1, then the frequency will be doubled or something 2013-04-03T16:03:36 < sterna1> The timer clock frequencies for STM32F405xx/07xx and STM32F415xx/17xx are automatically set by hardware. There are two cases: 2013-04-03T16:03:36 < sterna1> 1. If the APB prescaler is 1, the timer clock frequencies are set to the same frequency as that of the APB domain to which the timers are connected. 2013-04-03T16:03:36 < sterna1> 2. Otherwise, they are set to twice (×2) the frequency of the APB domain to which the timers are connected. 2013-04-03T16:04:52 <+Steffanx> So, you have it connected to apb1 ( @ 42mhz) and twice freq. which makes it 84mhz. So there you have it :) 2013-04-03T16:05:03 < sterna1> right 2013-04-03T16:05:23 < sterna1> then, I still have to get timer 1 working 2013-04-03T16:07:23 < dongs> sterna1: are you hacking??? 2013-04-03T16:07:44 < dongs> ur making a fta glitcher right??????????????????????????/////// 2013-04-03T16:08:03 <+Steffanx> lol wut dongs? 2013-04-03T16:08:09 < sterna1> wat 2013-04-03T16:08:11 < sterna1> ? 2013-04-03T16:10:41 < Tectu> huh? 2013-04-03T16:10:58 < Tectu> what's an fta glitcher anways 2013-04-03T16:11:06 <+Steffanx> google doesnt know either 2013-04-03T16:11:26 < Tectu> agreed 2013-04-03T16:11:48 <+Steffanx> Must be one of those made of words 2013-04-03T16:11:51 <+Steffanx> *made up 2013-04-03T16:12:21 < Fail_Academy> fuck the ass 2013-04-03T16:12:45 <+Steffanx> No thanks 2013-04-03T16:12:49 < Tectu> yes please 2013-04-03T16:12:50 < Tectu> :< 2013-04-03T16:12:53 < Tectu> what Steffanx meant 2013-04-03T16:14:41 < Fail_Academy> O_o 2013-04-03T16:19:09 <+Steffanx> dongs died 2013-04-03T16:19:17 < Robint91> wut 2013-04-03T16:20:06 < Robint91> http://www.youtube.com/watch?v=aEdPOn0HmdQ <- How I imagine this channel 2013-04-03T16:20:31 < Robint91> and Steffanx is the pope 2013-04-03T16:20:31 <+Steffanx> Belgium.. nuff said 2013-04-03T16:22:28 < Robint91> Steffanx, dongs is the guy at 0:44 2013-04-03T16:23:08 < dongs> you wish, but no 2013-04-03T16:25:13 -!- MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-03T16:25:41 -!- [1]MrMobius [~Joey@194.176.111.29] has quit [Read error: Connection reset by peer] 2013-04-03T16:29:31 <+Steffanx> I would deny that too, when i looked like that :P 2013-04-03T16:30:31 < Robint91> Steffanx, do you know where I can get new ultra cheap mobile phones in the EU 2013-04-03T16:30:37 < Robint91> Steffanx, like sub 15€ 2013-04-03T16:30:45 <+Steffanx> Uhm, nowhere? 2013-04-03T16:31:23 <+Steffanx> oh, here in dutchland you can get one for 15e 2013-04-03T16:31:48 <+Steffanx> actually 9 different types 2013-04-03T16:32:39 <+Steffanx> Why tHAT cheap Robint91 ? 2013-04-03T16:33:07 < Robint91> Steffanx, I don't want to kill my expensive smart phone on some music festivals 2013-04-03T16:33:09 < Robint91> this summer 2013-04-03T16:33:33 <+Steffanx> you want one without a simlock of course 2013-04-03T16:33:38 < Robint91> yeah 2013-04-03T16:33:55 <+Steffanx> ( or one that is easy to unlock ) 2013-04-03T16:34:27 < Robint91> Steffanx, and something that goes weeks with one charge 2013-04-03T16:34:55 <+Steffanx> All non-phancy fones can do that 2013-04-03T16:36:03 < Robint91> Steffanx, http://www.nieuwsblad.be/article/detail.aspx?articleid=DMF20130225_00482581 2013-04-03T16:37:21 <+Steffanx> nothing special. Looks like the average non fancyphone 2013-04-03T16:40:06 < Tectu> 15€? wtf? 2013-04-03T16:40:09 < Tectu> mine cost 800€ 2013-04-03T16:40:20 * Tectu is a fancyphone slave 2013-04-03T16:41:48 < Tectu> I bet they use ChibiOS/GFX in that nokia 105 2013-04-03T16:41:54 <+Steffanx> but you're also into whatsapp, facebook and crap, so you're fuckup anyway 2013-04-03T16:42:23 < Tectu> nope, I don't use any of those, Steffanx 2013-04-03T16:43:01 <+Steffanx> So why a fancy phone? And even a slave of it? 2013-04-03T16:43:04 < Tectu> check my phone number, I'm not on whatsapp 0794542801 2013-04-03T16:43:17 <+Steffanx> can't check.. no whatsapp here 2013-04-03T16:43:22 < Tectu> fancy phone because of a lot e-mail shit and a lot on the road so mail browsing 2013-04-03T16:44:16 <+Steffanx> hmpf 2013-04-03T16:44:35 <+Steffanx> but really. A 800e phone for THAT only? 2013-04-03T16:45:06 < Tectu> yeah, I didn't want to get one of those casual main stream slavery samsung/apple/nokia phones 2013-04-03T16:45:15 < Tectu> well, at least nobody elses in switzerland uses a blackberry 2013-04-03T16:45:28 <+Steffanx> Even a dead brand fancy phone 2013-04-03T16:46:14 <+Steffanx> Whoa, i should add "fancy phone" to the urban dictionary 2013-04-03T16:46:43 < Tectu> also add fta glitcher 2013-04-03T16:46:52 <+Steffanx> I still don't know what that is 2013-04-03T16:47:28 <+Steffanx> dongs refused to tell us 2013-04-03T16:49:51 < sterna1> hmm, it seems that the timer channel I'm trying to use is ramappable 2013-04-03T16:50:01 < sterna1> how does remapping work in stm32f4? 2013-04-03T16:50:12 < sterna1> is it the same as in the older ones 2013-04-03T16:50:28 < Tectu> I bet 2013-04-03T16:51:47 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-03T16:55:54 < Rickta59> .l slau319 2013-04-03T16:56:02 < Rickta59> opps .. wrong window 2013-04-03T17:05:09 < Tectu> yes, sure 2013-04-03T17:09:13 < sterna1> yaaay, it works 2013-04-03T17:09:54 <+Steffanx> :) 2013-04-03T17:10:02 < sterna1> apparently tim1 and 8 have break functions or something, which needs to be cleared before it outputs any pwm 2013-04-03T17:10:41 < sterna1> I wonder if it's my oscilliscope, cables or stm that makes the pulse look like a bell cruve 2013-04-03T17:10:44 < sterna1> *curve 2013-04-03T17:10:57 < sterna1> probably a combination 2013-04-03T17:13:43 -!- MrMobius [~Joey@194.176.111.29] has quit [Read error: Connection reset by peer] 2013-04-03T17:13:43 -!- MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-03T17:15:26 -!- [1]MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-03T17:15:35 -!- rlc [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Ping timeout: 246 seconds] 2013-04-03T17:17:16 -!- MrMobius [~Joey@194.176.111.29] has quit [Ping timeout: 246 seconds] 2013-04-03T17:18:34 -!- a2cypher [~cypher@mail.krausglobal.com] has joined ##stm32 2013-04-03T17:24:19 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-03T17:24:54 -!- [1]MrMobius [~Joey@194.176.111.29] has quit [Read error: Connection reset by peer] 2013-04-03T17:25:24 -!- MrMobius [~Joey@91.192.66.229] has joined ##stm32 2013-04-03T17:34:19 < Fail_Academy> http://www.bbc.co.uk/news/uk-england-berkshire-22017567 2013-04-03T17:36:12 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2013-04-03T17:37:03 < dongs> haha someone posted in tom66 thread 2013-04-03T17:37:32 <+Steffanx> Where? 2013-04-03T17:38:23 < dongs> just asking if project is dead 2013-04-03T17:38:25 < dongs> I confirmed it was BSD'd 2013-04-03T17:38:44 <+Steffanx> Really jpa- .. kicad. WTF. Why it likes to move my cursor?! 2013-04-03T17:38:53 < dongs> > kicad 2013-04-03T17:38:57 < dongs> why not upgrade to something less shit 2013-04-03T17:39:10 < dongs> https://youtube.com/watch?v=iwr0Ugmi41E my pal is getting to be an altium pro 2013-04-03T17:39:38 <+Steffanx> Hobby bobby .. 2013-04-03T17:39:43 <+Steffanx> altium = $$ 2013-04-03T17:40:04 < dongs> altium = i'll keep pirating it until they stop including retarded shit in it and sell it as ONLY schematic+pcb package 2013-04-03T17:40:12 < dongs> without simulation/fpga/c++ compiler/aids/etc 2013-04-03T17:40:14 <+Steffanx> and windowz 2013-04-03T17:40:20 < dongs> no, all my windows licenses are legit 2013-04-03T17:40:36 <+Steffanx> I mean, it forces me to use windows 2013-04-03T17:41:36 < jpa-> Steffanx: disable it in settings 2013-04-03T17:41:40 < jpa-> settings -> general 2013-04-03T17:41:41 < dongs> http://www.rcgroups.com/forums/showthread.php?t=1863913 what the actual fuck 2013-04-03T17:42:03 <+Steffanx> *preferences -> general settings ? :) 2013-04-03T17:42:08 <+Steffanx> *options 2013-04-03T17:42:23 < jpa-> maybe, for me it is Asetukset -> Yleiset 2013-04-03T17:42:35 <+Steffanx> but still, dont see it :( 2013-04-03T17:42:54 < jpa-> hmm, what version do you have? 2013-04-03T17:43:57 <+Steffanx> Some os x build from march 25 2013-04-03T17:44:19 < jpa-> strange that the option would be missing 2013-04-03T17:44:22 <+Steffanx> It doesn't seem to show a version number anywhere 2013-04-03T17:44:32 < jpa-> it should be in the about dialog 2013-04-03T17:44:50 <+Steffanx> http://share.naffets.nl/Schematic_Editor_Options-20130403-164441.png what i see .. 2013-04-03T17:45:12 < jpa-> ah, "do not center and warp cursor on zoom" is the setting you want 2013-04-03T17:45:24 < jpa-> also "use middle mouse button to pan" is good also 2013-04-03T17:45:24 <+Steffanx> oh fail :P 2013-04-03T17:45:25 < Tectu> "warp cursor on zoom"? wtf is that? 2013-04-03T17:45:31 <+Steffanx> i didn't even see that option 2013-04-03T17:45:44 <+Steffanx> it moves your cursor to the ~center of the window when you zoom 2013-04-03T17:45:48 <+Steffanx> pretty annoying 2013-04-03T17:45:52 < Tectu> ah, yeah 2013-04-03T17:46:31 <+Steffanx> It seems KiCad improved ( on os x ). Now things don't disappear when you zoom 2013-04-03T17:47:17 < Tectu> lol 2013-04-03T17:48:21 <+Steffanx> "Project template file not found. " fail 2013-04-03T17:48:52 < jpa-> i didn't even know that steffie was a mac user 2013-04-03T17:49:13 <+Steffanx> Whoa, ignorant jpa- 2013-04-03T17:49:38 <+Steffanx> /nick Steffanx_mac :P 2013-04-03T17:51:49 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-231-90.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2013-04-03T17:52:00 <+Steffanx> I blame Braindamage's friend 2013-04-03T17:54:48 <+Steffanx> give me your kicad.pro jpa- 2013-04-03T17:56:01 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-231-90.clienti.tiscali.it] has joined ##stm32 2013-04-03T17:56:42 < jpa-> http://kapsi.fi/~jpa/stuff/other//usr/share/kicad/template/kicad.pro 2013-04-03T17:56:44 < jpa-> oops 2013-04-03T17:56:52 < jpa-> http://kapsi.fi/~jpa/stuff/other/kicad.pro 2013-04-03T17:57:16 <+Steffanx> :) 2013-04-03T17:57:56 <+Steffanx> Now i've to figure out where it wants that file lol 2013-04-03T17:58:12 <+Steffanx> I guess that's what dongs calls open sores 2013-04-03T18:01:49 <+Steffanx> Whoa, something works 2013-04-03T18:02:49 < dongs> what the hell is a kikda.pro 2013-04-03T18:02:49 <+Steffanx> but seriously. The one who made this really DID NOT test what he made 2013-04-03T18:03:15 < dongs> no shit? 2013-04-03T18:03:21 < dongs> > opensores 2013-04-03T18:03:23 < dongs> > testing shit 2013-04-03T18:04:03 < jpa-> Steffanx: BrainDamage told you the nick of the maintainer of the mac os x packages.. drop him a note 2013-04-03T18:07:21 <+Steffanx> perhaps i should 2013-04-03T18:07:42 <+Steffanx> let me find the nick 2013-04-03T18:08:32 < dongs> 'macfag' probably 2013-04-03T18:09:07 <+Steffanx> Close.. but no 2013-04-03T18:09:15 < Fail_Academy> ouch 2013-04-03T18:09:20 <+Steffanx> Mdx4 it was 2013-04-03T18:09:24 < Fail_Academy> 100mv spikes on f4discovery vdd 2013-04-03T18:09:35 < dongs> ur measuring it wrong 2013-04-03T18:09:45 <+Steffanx> Im curious, why you use finnish for the software you run jpa- ? 2013-04-03T18:09:51 < Fail_Academy> screengrab coming up 2013-04-03T18:10:09 < dongs> screengrab of u doin shit wrong doesn't make a right 2013-04-03T18:10:23 < jpa-> Steffanx: why not? 2013-04-03T18:10:37 < dongs> i generally find localized software complete and utter filth 2013-04-03T18:10:41 < dongs> especially opensores shit 2013-04-03T18:10:47 < dongs> they are proud that they have swahili translations 2013-04-03T18:10:49 <+Steffanx> You also use linux in finnish jpa- ? 2013-04-03T18:10:54 < jpa-> Steffanx: yes 2013-04-03T18:11:02 < dongs> but if you speak swahili, you'd probably rather kill yourself 2013-04-03T18:11:04 < Fail_Academy> http://i.imgur.com/2OHd0L1.png 2013-04-03T18:11:10 < Fail_Academy> FAIL. DELIVERED 2013-04-03T18:11:11 <+Steffanx> No japanese is great 2013-04-03T18:11:18 < dongs> u doin it wrong 2013-04-03T18:11:32 <+Steffanx> I bet it's your power source Fail_Academy 2013-04-03T18:11:36 < dongs> ^ 2013-04-03T18:11:45 < Fail_Academy> running off USB 2013-04-03T18:11:46 <+Steffanx> I don't bet, but ... 2013-04-03T18:11:46 < dongs> also wtf @ ac coupling 2013-04-03T18:11:53 < jpa-> Fail_Academy: yes, discovery boards have crappy supply regulation, it goes through a diode 2013-04-03T18:11:56 < Fail_Academy> to look at the noise 2013-04-03T18:12:03 < Fail_Academy> i removed the diode 2013-04-03T18:12:11 < Fail_Academy> D3 2013-04-03T18:12:15 <+Steffanx> USB, is usb know for it's stable power stuff? 2013-04-03T18:12:23 <+Steffanx> Or .. is your pc known for it? 2013-04-03T18:12:31 < jpa-> Steffanx: there is a 3.3V regulator in between 2013-04-03T18:12:48 < Fail_Academy> pc makes a whistling sound when f4discovery is plugged in... 2013-04-03T18:13:04 <+Steffanx> Sounds good 2013-04-03T18:13:10 <+Steffanx> I blame Fail_Academy 2013-04-03T18:13:15 < Fail_Academy> maybe ill haxor an inductor in there 2013-04-03T18:13:32 < gxti> 1.21 jiggahenries 2013-04-03T18:13:44 <+Steffanx> Welcome gxti 2013-04-03T18:14:24 < jpa-> hmm sun is shining 2013-04-03T18:14:32 < Fail_Academy> in the sky 2013-04-03T18:14:37 <+Steffanx> You know jpa- . It ALWAYS does 2013-04-03T18:14:43 < jpa-> not here :) 2013-04-03T18:14:58 <+Steffanx> If it didn't it wouldn't take long before you're dead 2013-04-03T18:15:08 < Fail_Academy> http://www.youtube.com/watch?v=3ichQOqbewA 2013-04-03T18:15:10 < jpa-> i don't know about your sun, but my sun shuts down in winter 2013-04-03T18:15:31 <+Steffanx> Fail_Academy, is tinky winky for sure 2013-04-03T18:18:04 < Fail_Academy> looks like USB isnt _that_ bad 2013-04-03T18:18:15 < dongs> http://www.liveleak.com/view?i=73b_1364917659 this guy is slightly pissed 2013-04-03T18:18:18 < Fail_Academy> noise is from the digital rail 2013-04-03T18:19:01 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-03T18:19:06 <+Steffanx> OLD dongs. Just saw that this morning 2013-04-03T18:19:10 < dongs> k 2013-04-03T18:19:14 <+Steffanx> :P 2013-04-03T18:19:32 <+Steffanx> but yeah... ignoring like a pro :) 2013-04-03T18:20:02 < dongs> why hte fuck didnt he just break through the window 2013-04-03T18:20:09 < Fail_Academy> cuz he fails 2013-04-03T18:20:50 < Fail_Academy> dongs: spikes are coming from digital rail 2013-04-03T18:21:15 < Fail_Academy> pc smps is at lower frequency, and only ~50mv noise on usb 2013-04-03T18:21:28 < dongs> mhm 2013-04-03T18:21:30 < Fail_Academy> L1 is doing... nothing 2013-04-03T18:21:37 < Fail_Academy> well hardly anything 2013-04-03T18:21:45 < Fail_Academy> ~30% noise reduction 2013-04-03T18:23:09 < Fail_Academy> yeah 2013-04-03T18:23:24 < Fail_Academy> looping waiting for usb, and way less noise 2013-04-03T18:23:39 < Fail_Academy> ~20mv peak and less often 2013-04-03T18:24:43 -!- CRF_Peter [~Peter@dhcp-181008.eduroam.chalmers.se] has quit [Ping timeout: 258 seconds] 2013-04-03T18:25:08 -!- toyz [a135b3e2@gateway/web/freenode/ip.161.53.179.226] has joined ##stm32 2013-04-03T18:25:12 -!- MrMobius [~Joey@91.192.66.229] has quit [Read error: Connection reset by peer] 2013-04-03T18:25:29 < toyz> Steffanx: how's it hanging ? 2013-04-03T18:25:41 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-03T18:25:59 < jpa-> toyz: Steffanx is rock hard, not hanging 2013-04-03T18:26:14 < gxti> wat 2013-04-03T18:26:41 <+Steffanx> Hi Ranewen 2013-04-03T18:26:59 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-03T18:27:16 < toyz> Steffanx: again on webchat:P 2013-04-03T18:27:33 <+Steffanx> uh? What do you mean>? 2013-04-03T18:28:29 < toyz> Steffanx: im usually on xchat 2013-04-03T18:28:37 <+Steffanx> Whatever 2013-04-03T18:29:11 < toyz> Steffanx: you cant see my .hr now ! 2013-04-03T18:29:40 < gxti> it shows up in the realname field. 2013-04-03T18:29:50 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Client Quit] 2013-04-03T18:29:53 <+Steffanx> I CAN see your ip toyz 2013-04-03T18:30:05 <+Steffanx> and i CAN do a hostname lookup etc. 2013-04-03T18:30:16 <+Steffanx> And magically that shows your .hr stuff 2013-04-03T18:30:45 < toyz> Steffanx: thought il be hidden 2013-04-03T18:30:49 <+Steffanx> Haha 2013-04-03T18:31:36 < toyz> since im on CRAPNET, where only IRC works good, can you tell me the cheapest st arm's on farnell 2013-04-03T18:31:57 <+Steffanx> farnell 2013-04-03T18:32:04 < toyz> Steffanx: yo 2013-04-03T18:32:12 <+Steffanx> Search for STM32 and sort on price 2013-04-03T18:32:16 < toyz> i only need couple of GPIO's 2013-04-03T18:32:31 < toyz> Steffanx: just to load farnell it takes 5 mins 2013-04-03T18:32:38 <+Steffanx> Where on earth are you? 2013-04-03T18:32:46 < toyz> Steffanx: il do speedtest.net 2013-04-03T18:32:47 <+Steffanx> Behind the chinese firewall? 2013-04-03T18:33:07 < toyz> speedtest is loading.... w8 2013-04-03T18:34:17 < toyz> its still loading 2013-04-03T18:34:44 < jpa-> toyz: stm32f100c4t7b is cheapest, 1.97 EUR 2013-04-03T18:35:16 < toyz> thx jpa- 2013-04-03T18:35:31 < jpa-> lqfp48, whopping 16kB of flash and 4kB of ram 2013-04-03T18:35:58 < toyz> my code for atmega has 12k at the moment 2013-04-03T18:36:07 < toyz> so it will fit 2013-04-03T18:37:38 < toyz> i hope it has 8 GPIO's and 1 ADC jpa- 2013-04-03T18:38:51 < jpa-> sure 2013-04-03T18:39:09 < toyz> jpa-: cheapest way to program it ? 2013-04-03T18:39:18 < jpa-> usart bootloader 2013-04-03T18:39:34 < jpa-> but if you want to use a debugger, the discovery board 2013-04-03T18:39:36 < toyz> how to burn it with it 2013-04-03T18:40:10 < toyz> is there a difference between a software and hardware debugger ? 2013-04-03T18:40:12 < jpa-> you need USB to TTL serial port converter.. and then this python script https://code.google.com/p/stm32flash/ 2013-04-03T18:40:34 < jpa-> uh.. i don't know what those terms would mean in this context 2013-04-03T18:40:34 < toyz> jpa-: i got these USB to TTL's 2013-04-03T18:41:14 < toyz> jpa-: y.. i think i dont need hardware for my needs 2013-04-03T18:41:28 < toyz> hardware debugg 2013-04-03T18:41:33 < jpa-> you can always printf() your way out of it :P 2013-04-03T18:41:48 < toyz> jpa-: like i did on avr's 2013-04-03T18:42:08 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-04-03T18:42:11 < jpa-> but the discovery board is just 12 EUR or so.. 2013-04-03T18:42:21 < jpa-> (don't the the F1 discovery though, it sucks) 2013-04-03T18:42:29 < toyz> jpa-: f4 2013-04-03T18:46:53 -!- pelrun [~James@60-241-99-33.static.tpgi.com.au] has joined ##stm32 2013-04-03T18:47:54 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-04-03T18:48:36 < dongs> this is how laurenceb spends his weekend https://youtube.com/watch?v=oEL6P8uL-PQ 2013-04-03T18:48:53 < toyz> dongs: id love to watch it. 2013-04-03T18:57:35 -!- _BJFreeman [~bjfree@92.sub-75-233-60.myvzw.com] has joined ##stm32 2013-04-03T18:58:02 -!- _BJFreeman is now known as BJfreeman 2013-04-03T18:59:17 -!- dekar_ [~dekar@212.255.242.139] has joined ##stm32 2013-04-03T18:59:18 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-04-03T19:01:41 -!- dekar [~dekar@212.255.47.61] has quit [Ping timeout: 248 seconds] 2013-04-03T19:11:46 -!- daku is now known as DaKu 2013-04-03T19:14:20 -!- dekar [~dekar@212.255.253.42] has joined ##stm32 2013-04-03T19:14:23 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-03T19:17:14 -!- dekar_ [~dekar@212.255.242.139] has quit [Ping timeout: 256 seconds] 2013-04-03T19:18:54 -!- CRF_Peter [~Peter@194.17.253.121] has joined ##stm32 2013-04-03T19:23:33 <+Steffanx> Just curious, why the move to ARM toyz ? Just because its fancy/ 2013-04-03T19:23:36 <+Steffanx> ? 2013-04-03T19:25:16 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-03T19:26:54 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-03T19:33:23 < Tectu> where are the logs of this channel? 2013-04-03T19:34:49 < gxti> it's in the topic, silly goose 2013-04-03T19:35:12 < Tectu> yes, please show me the link then and tell me zlog doesn't give you 404 2013-04-03T19:35:16 < BrainDamage> but zlog finished the free z80, so it's not worth anymore 2013-04-03T19:35:19 < Tectu> http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/zlog/2013-04-03.html 2013-04-03T19:35:31 < Tectu> this is what I got from zlog 2013-04-03T19:35:34 < gxti> k 2013-04-03T19:35:40 < Tectu> silly goose. 2013-04-03T19:35:42 < BrainDamage> zlog: tell him the link? 2013-04-03T19:35:42 < zlog> BrainDamage: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2013-04-03.html 2013-04-03T19:35:43 < gxti> what do you need 2013-04-03T19:36:09 < BrainDamage> try that 2013-04-03T19:36:21 < Tectu> indeed 2013-04-03T19:36:23 -!- pelrun [~James@60-241-99-33.static.tpgi.com.au] has quit [Ping timeout: 245 seconds] 2013-04-03T19:36:26 < Tectu> what did you do different than me 2013-04-03T19:36:31 < BrainDamage> I asked zlog 2013-04-03T19:36:42 < Tectu> Tectu: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/zlog/2013-04-03.html 2013-04-03T19:36:52 < BrainDamage> you weren't nice enough 2013-04-03T19:36:55 < Tectu> lol 2013-04-03T19:37:12 < Tectu> I went with /msg zlog logs? 2013-04-03T19:37:22 < gxti> oh 2013-04-03T19:37:23 < gxti> you fail 2013-04-03T19:37:33 < gxti> that link doesn't even have the channel name in it 2013-04-03T19:37:58 < BrainDamage> ofc, with /msg it doesn't know which channel to pick logs from 2013-04-03T19:37:59 < gxti> it gives you the url to wherever it received the inquiry, so PM wouldn't work 2013-04-03T19:38:15 < Tectu> :< 2013-04-03T19:38:23 < Tectu> I didn't want to distrub you guys 2013-04-03T19:38:29 < gxti> well now look what you did 2013-04-03T19:38:52 < Tectu> I'm saw sorry 2013-04-03T19:38:53 < gxti> you blamed the bot and you blamed us and it's all come crashing down 2013-04-03T19:39:02 < Tectu> :< 2013-04-03T19:39:04 < toyz> Steffanx: il tell you if you tell me what is in dongs video 2013-04-03T19:39:08 < Tectu> I feel really bad 2013-04-03T19:39:15 -!- Erlkoenig [~erlkoenig@212.201.69.137] has joined ##stm32 2013-04-03T19:39:37 < gxti> don't feel sad, it's just irc. 2013-04-03T19:40:26 < Tectu> :D 2013-04-03T19:41:18 <+Steffanx> toyz.. what video are you talking about? 2013-04-03T19:42:12 < toyz> Steffanx: 17:48 2013-04-03T19:42:42 < Tectu> toyz, you're not being helpful 2013-04-03T19:43:03 <+Steffanx> Watermelon Smashing World Record Fail .. someone trying to smash watermelons using his head and he fails terribly 2013-04-03T19:43:10 <+Steffanx> Actually it's a dutch fail show 2013-04-03T19:43:32 < toyz> Steffanx: :) now im feeling better 2013-04-03T19:47:17 <+Steffanx> So .. time to answer the question toyz 2013-04-03T19:48:08 < toyz> ah... arm 2013-04-03T19:49:18 < toyz> cost, speed, peripherals, nd it will last long 2013-04-03T19:54:23 <+Steffanx> kicad on os x .. wonderful 2013-04-03T19:54:30 <+Steffanx> *not* 2013-04-03T19:54:38 <+Steffanx> it likes to crash 2013-04-03T19:54:55 < BrainDamage> send a pm to the maintainer for every bug 2013-04-03T19:55:03 < BrainDamage> he'll either ignore you or start fixing them 2013-04-03T19:55:24 < toyz> Steffanx: i thought you said that os x is wonderfull 2013-04-03T19:55:51 <+Steffanx> Ill just wait a bit. The same error seems the occur on more places ( and someone els reported that ) 2013-04-03T19:56:07 <+Steffanx> and he is not online either 2013-04-03T20:02:54 < toyz> Steffanx: either way, don't be mad @ me (even if i haven't bought any arm's yet), i just think this chan has lots of experts in different fields of science :P 2013-04-03T20:03:18 <+Steffanx> me and mad? 2013-04-03T20:03:23 -!- CRF_Peter [~Peter@194.17.253.121] has quit [Ping timeout: 252 seconds] 2013-04-03T20:06:37 < toyz> Steffanx: well i do not know arm, so i just assumed 2013-04-03T20:07:32 -!- barthess [~barthess@178.154.45.193] has joined ##stm32 2013-04-03T20:08:23 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-04-03T20:21:43 -!- toyz [a135b3e2@gateway/web/freenode/ip.161.53.179.226] has quit [Ping timeout: 245 seconds] 2013-04-03T20:26:41 -!- [1]MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-03T20:27:33 -!- Ranewen [57fc81f3@gateway/web/freenode/ip.87.252.129.243] has joined ##stm32 2013-04-03T20:28:48 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-03T20:29:56 -!- Ranewen [57fc81f3@gateway/web/freenode/ip.87.252.129.243] has quit [Client Quit] 2013-04-03T20:35:07 <+Steffanx> Man, I'm almost ready to remove kicad. 2013-04-03T20:36:41 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Ping timeout: 245 seconds] 2013-04-03T20:39:24 <+Steffanx> It seems to want confirmation for like everything. It crashes, the editor is laggish. So no kicad for me on os x 2013-04-03T20:45:57 -!- CRF_Peter [~Peter@dhcp-181008.eduroam.chalmers.se] has joined ##stm32 2013-04-03T20:48:15 < Tectu> can anyone help with this one? http://pastie.org/7303023 2013-04-03T20:48:20 < Tectu> the config file: http://pastie.org/7303038 2013-04-03T20:48:22 < Tectu> it used to run fine 2013-04-03T20:52:46 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-03T21:03:12 <+Steffanx> You did change something Tectu .. ? 2013-04-03T21:03:34 < Tectu> Steffanx, yeah, made a system update 2013-04-03T21:03:44 < Tectu> now I cannot rebuild openocd because the jimtcl git server is down 2013-04-03T21:07:31 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 245 seconds] 2013-04-03T21:18:26 -!- claude is now known as Claude 2013-04-03T21:20:24 < gsmcmullin> They joy of openocd... 2013-04-03T21:21:02 <+Steffanx> *open sores in general gsmcmullin :P 2013-04-03T21:21:46 < gsmcmullin> Steffanx: I don't have these problems. Don't know what you're talking about... 2013-04-03T21:22:48 <+Steffanx> You're in denial, but .. nah who cares 2013-04-03T21:26:02 < Tectu> lol 2013-04-03T21:26:24 < gxti> i don't either because i stopped using openocd 2013-04-03T21:26:48 < Posterdati> gxti: why? 2013-04-03T21:26:49 < gsmcmullin> gxti: Me too. 2013-04-03T21:26:54 < Posterdati> gxti: what are you using? 2013-04-03T21:26:55 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-03T21:26:58 < gxti> blackmagic probe 2013-04-03T21:27:11 < gsmcmullin> yes 2013-04-03T21:27:14 < gxti> death to tcl 2013-04-03T21:27:21 < Posterdati> gxti: I'm using olimex arm-usb-ocd 2013-04-03T21:27:27 < Posterdati> gxti: not os bad 2013-04-03T21:27:42 <+Steffanx> gsmcmullin's bmp is too popular in this channel 2013-04-03T21:28:11 < Thorn> gsmcmullin: any hints on how to debug BMP problems with LPC11C2x? it's very intermittent and I essentially ruled out bad soldering etc. 2013-04-03T21:28:47 < Tectu> gsmcmullin, how fast can you get a BMP to my house? 2013-04-03T21:28:48 < Thorn> it doesn't always detect the lpc11 target and when it does, a SIGLOST is not far away 2013-04-03T21:29:00 < Posterdati> gxti: I used olimex + openocd to debug my rtos, I found no problem 2013-04-03T21:29:07 < gsmcmullin> I haven't worked with the lpc11??. Check with zippe, he contributed support for those devices. 2013-04-03T21:29:14 < Tectu> Posterdati, you have your own RTOS? 2013-04-03T21:29:23 < gsmcmullin> Thorn: It sounds like you have a cable problem. 2013-04-03T21:29:29 < Posterdati> Tectu: yes, a very basic incarnation 2013-04-03T21:29:41 < gxti> Posterdati: that's good for you 2013-04-03T21:29:43 < Tectu> cool 2013-04-03T21:29:51 < gxti> my experience was somewhat less positive 2013-04-03T21:29:58 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-03T21:30:04 < gxti> it's not important anymore 2013-04-03T21:30:05 < Thorn> stm32 targets work 100% of the time with same hardware and cables 2013-04-03T21:30:13 < Thorn> 3 lpc11 boards don't 2013-04-03T21:30:14 < Posterdati> gxti: I understand it, 'cause I found gdb a bad tool 2013-04-03T21:30:35 < gsmcmullin> Tectu: Where are you? TRI do cheap Fedex shipping world-wide. 2013-04-03T21:30:42 < Posterdati> Tectu: was a bloodbath, people on here helped me to win 2013-04-03T21:30:53 < Tectu> gsmcmullin, switzerland 2013-04-03T21:31:10 < Tectu> Posterdati, people here are always helpful 2013-04-03T21:31:10 < Posterdati> dongs, zyp and so on 2013-04-03T21:31:15 < Posterdati> yes 2013-04-03T21:31:24 < Posterdati> and competent 2013-04-03T21:31:29 < Tectu> and flamy 2013-04-03T21:31:35 < Posterdati> :) 2013-04-03T21:31:42 < Tectu> since dongs helped, I bet you didn't opensors it 2013-04-03T21:32:00 < Posterdati> well I was not so stm32 friendly at that time, as zyp or dongs could recall 2013-04-03T21:32:20 < Posterdati> but I had to change my mind 2013-04-03T21:32:26 < Tectu> how can one not be STM32 friendly? 2013-04-03T21:32:49 < Posterdati> among M3 stm32 is the best for power/cost ratio 2013-04-03T21:33:05 < Posterdati> Tectu: I had a bad experience with str912faw 2013-04-03T21:33:17 < Tectu> lol 2013-04-03T21:33:44 < Posterdati> alas str912 is a "FULL" arm, not a thumb processor core 2013-04-03T21:34:03 < Posterdati> arm966e-s 2013-04-03T21:34:23 < Posterdati> a monster, with short legs 2013-04-03T21:34:40 < Posterdati> documentation and memory are inadequate 2013-04-03T21:35:04 < Posterdati> I think it is linux capable too 2013-04-03T21:37:19 -!- barthess [~barthess@178.154.45.193] has quit [Quit: Leaving.] 2013-04-03T21:40:30 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-03T21:41:21 < Posterdati> if you connect memory and mass storage 2013-04-03T21:41:56 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 245 seconds] 2013-04-03T21:43:20 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-03T21:49:39 -!- Laurenceb_ [~Laurence@host86-174-20-97.range86-174.btcentralplus.com] has joined ##stm32 2013-04-03T22:05:45 -!- barthess [~barthess@178.154.45.193] has joined ##stm32 2013-04-03T22:21:44 < Tectu> how fast can you read from flash and write to ram on an F407 @168MHz? 2013-04-03T22:24:17 -!- Mobyfab1 [~Mobyfab@lcb.netyxia.net] has joined ##stm32 2013-04-03T22:24:19 < jpa-> probably like 336 MB/s 2013-04-03T22:24:19 < Mobyfab1> Hey guys 2013-04-03T22:24:31 < Tectu> jpa-, kidding or serious? 2013-04-03T22:24:39 < jpa-> (assuming 32 bit DMA transactions at 1/2 arbitration) 2013-04-03T22:24:44 < jpa-> Tectu: serious 2013-04-03T22:24:56 -!- dekar_ [~dekar@212.255.245.48] has joined ##stm32 2013-04-03T22:24:59 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-04-03T22:24:59 < Tectu> uhm, you can set up DMA between flash and ram? 2013-04-03T22:25:02 < jpa-> could get more, could also get less if you have a lot of other stuff running 2013-04-03T22:25:02 < Tectu> didn't know that 2013-04-03T22:25:06 < jpa-> sure, M2M 2013-04-03T22:25:50 -!- BJfreeman [~bjfree@92.sub-75-233-60.myvzw.com] has quit [Quit: had a good time] 2013-04-03T22:26:05 < Tectu> so let's say I have a picture stored in my flash, is there any reason why I should feel the need to cache it in RAM? 2013-04-03T22:26:25 < jpa-> if it is compressed and you want to decompress it 2013-04-03T22:26:32 < Erlkoenig> jpa-: isn't the flash slower than the Core? 2013-04-03T22:26:40 < jpa-> Erlkoenig: for random access, yes 2013-04-03T22:26:46 < Mobyfab1> Tectu: flash wait states ? 2013-04-03T22:26:57 < Erlkoenig> jpa-: ah 2013-04-03T22:27:10 < jpa-> Erlkoenig: but for sequential access it fetches longer blocks 2013-04-03T22:27:31 < Erlkoenig> that's what the "ART" does i guess? 2013-04-03T22:27:36 < jpa-> yes 2013-04-03T22:27:44 < Tectu> ART? 2013-04-03T22:27:52 -!- dekar [~dekar@212.255.253.42] has quit [Ping timeout: 260 seconds] 2013-04-03T22:27:59 -!- [1]MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-03T22:28:03 < jpa-> "we wanted a funny backronym for our flash accelerator" ART 2013-04-03T22:28:23 < Tectu> where's the 'F' for the flash in ART? 2013-04-03T22:28:31 <+Steffanx> in your ass 2013-04-03T22:28:35 < Erlkoenig> ART has a (tm)! 2013-04-03T22:28:41 < Robint91> Steffanx, -____- 2013-04-03T22:28:41 < Tectu> you're not being helpful, Steffanx 2013-04-03T22:28:58 < Mobyfab1> Tectu: "Adaptive Real-Time" flash accelerator 2013-04-03T22:28:58 < Mobyfab1> some fancy marketing name 2013-04-03T22:29:04 < Tectu> so I guess when you read something, ART reads an entire block because it is faster and just gives you the thing you need? 2013-04-03T22:29:11 <+Steffanx> Tectu so, don't ask such question 2013-04-03T22:29:12 < Tectu> I see 2013-04-03T22:29:41 < jpa-> Tectu: yeah, it reads 128-bit blocks IIRC 2013-04-03T22:29:44 < Mobyfab1> it's some kind of system that predicts data you might need from the flash and caches it 2013-04-03T22:30:06 < Tectu> it caches it in its own memory or the RAM we use anyways? 2013-04-03T22:30:10 -!- MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-03T22:30:19 < jpa-> Mobyfab1: just a simple readahead and caching, nothing fancy prediction like in larger processors 2013-04-03T22:30:27 < jpa-> Tectu: it's own 2013-04-03T22:30:41 < Mobyfab1> its own 2013-04-03T22:30:44 < Tectu> so much real-time adaption, impressive 2013-04-03T22:36:45 < Mobyfab1> Would one of you guys be kind enough to bundle a QT app for OSX ? 2013-04-03T22:37:16 -!- dekar__ [~dekar@212.255.250.148] has joined ##stm32 2013-04-03T22:37:24 -!- mode/##stm32 [+v dekar__] by ChanServ 2013-04-03T22:38:01 <+Steffanx> I'm running os x, but i have no idea how to bundle a Qt app Mobyfab1 :) 2013-04-03T22:38:46 < Mobyfab1> http://qt-project.org/doc/qt-4.8/deployment-mac.html 2013-04-03T22:40:51 -!- dekar_ [~dekar@212.255.245.48] has quit [Ping timeout: 245 seconds] 2013-04-03T22:40:54 < BrainDamage> an app bundle is like a container that bundles the app and it's dynamic linked libs 2013-04-03T22:40:58 < BrainDamage> in a single package 2013-04-03T22:41:23 < BrainDamage> when you execute the app bundle, it calls the binary and adds the internal paths to the dynamic linking paths 2013-04-03T22:41:49 < BrainDamage> damn, I don't even use osx and I know, get your shit together Steffanx! :p 2013-04-03T22:41:59 <+Steffanx> BrainDamage, I know that part 2013-04-03T22:42:03 < Mobyfab1> that would be perfect 2013-04-03T22:42:07 <+Steffanx> but now how to exactly do it 2013-04-03T22:42:23 < Mobyfab1> sadly I don't have a mac that's why I'm asking :D 2013-04-03T22:43:03 -!- baird [~cjb@ppp121-44-210-131.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-03T22:43:11 < Mobyfab1> the page I linked should guide you ;) 2013-04-03T22:43:46 <+Steffanx> Oh, there is a tool for it. No need to do it by hand 2013-04-03T22:43:55 < karlp> offtopic abuse and trolling is ok, 2013-04-03T22:44:07 < karlp> but asking to bundle mac apps?! 2013-04-03T22:44:10 < Mobyfab1> but if you have to compile QT for static link then it's gonna take some time... 2013-04-03T22:44:22 <+Steffanx> lol karlp 2013-04-03T22:44:37 < Mobyfab1> it's for an ST related app ;) 2013-04-03T22:44:44 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2013-04-03T22:44:57 < karlp> which you haven't mentioned at all. 2013-04-03T22:45:00 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 258 seconds] 2013-04-03T22:45:19 < Mobyfab1> https://code.google.com/p/qstlink2/ 2013-04-03T22:45:52 < karlp> you made an exact copy of the windows app? 2013-04-03T22:46:11 < karlp> unless that includes a gdbserver, what do I want this thing for? 2013-04-03T22:46:27 -!- barthess [~barthess@178.154.45.193] has quit [Quit: Leaving.] 2013-04-03T22:47:28 < Mobyfab1> write your app with a couple clicks ? 2013-04-03T22:47:55 < Mobyfab1> it's not a complete as the texane one but it's a gui 2013-04-03T22:48:08 < karlp> does it include a gdbserver? 2013-04-03T22:48:39 < BrainDamage> I don't get why reinventing the wheel, why not taking texane's and writing a gui for it? 2013-04-03T22:49:23 <+Steffanx> C++ > C :P 2013-04-03T22:49:36 < BrainDamage> that's irrelevant 2013-04-03T22:49:53 < BrainDamage> you can write the gui in what you want 2013-04-03T22:50:03 < Robint91> QT is BAD to bundle 2013-04-03T22:50:04 < BrainDamage> the point is keeping the core separated 2013-04-03T22:50:08 < Robint91> Did it once 2013-04-03T22:50:11 < Robint91> never again 2013-04-03T22:50:18 <+Steffanx> It's Qt, not QT 2013-04-03T22:50:31 < Robint91> Mobyfab1, you made that GUI? 2013-04-03T22:50:35 < Mobyfab1> I started when texane was not working for me, a while ago 2013-04-03T22:50:36 < Mobyfab1> yep 2013-04-03T22:51:01 < Robint91> Steffanx, http://www.youtube.com/watch?v=YbNwvQXkYrY 2013-04-03T22:51:07 < Mobyfab1> and I wanted to improve my C++/QT skills :) 2013-04-03T22:51:12 < Robint91> Mobyfab1, Include automatic mode 2013-04-03T22:51:24 <+Steffanx> Not going to watch your youtube crap, Robint91 2013-04-03T22:51:32 <+Steffanx> *Qt 2013-04-03T22:51:49 < Robint91> Mobyfab1, It is so handy 2013-04-03T22:52:01 < baird> ditto-- make its programming facilities available when headless. 2013-04-03T22:52:22 < Mobyfab1> Robint91: thanks 2013-04-03T22:53:49 <+Steffanx> Mobyfab1 is the loaders/bin folder supposed to be empty? 2013-04-03T22:54:19 < Mobyfab1> no, you have to compile the loaders 2013-04-03T22:54:25 <+Steffanx> Meh :P 2013-04-03T22:54:36 <+Steffanx> qmake doesn't do that for me 2013-04-03T22:55:04 < Mobyfab1> you just need the arm-none-eabi toolchain run make; done :) 2013-04-03T22:55:23 <+Steffanx> That's on extra step.. people are lazy :) 2013-04-03T22:55:24 < Mobyfab1> yeah I can probably fix that 2013-04-03T22:55:25 <+Steffanx> *ome 2013-04-03T22:55:28 <+Steffanx> *one 2013-04-03T22:57:40 < Robint91> Steffanx, http://www.youtube.com/watch?v=womFrEzka4A JUMPUH 2013-04-03T22:57:53 <+Steffanx> Robint91, leave 2013-04-03T22:57:55 <+Steffanx> go away 2013-04-03T22:57:57 <+Steffanx> quit 2013-04-03T22:58:05 < Robint91> Steffanx, do you surrender? 2013-04-03T22:58:15 <+Steffanx> Not me, you 2013-04-03T22:58:39 < Robint91> NEVER http://www.thegamersblog.com/wp-content/uploads/2011/05/ZeroWing.gif 2013-04-03T22:59:19 < Thorn> how do I detect a ft232 based device disconnection with qtserialport 2013-04-03T22:59:28 < Robint91> euh 2013-04-03T22:59:35 < Robint91> I'm still here 2013-04-03T23:00:50 < Robint91> oe, Should I be afraid? Steffanx is sending notices and doing CTCP requests? 2013-04-03T23:01:08 <+Steffanx> Yes 2013-04-03T23:01:14 < Robint91> Steffanx, ARE YOU GOING TO HACK ME? WITH YOUR VB6 TOOL? 2013-04-03T23:01:21 <+Steffanx> No, with magic 2013-04-03T23:01:35 <+Steffanx> Your pink fingers won't save you 2013-04-03T23:01:43 <+Steffanx> *finger nails 2013-04-03T23:02:18 < Robint91> Steffanx, no more rule 34 of my sis her finger nails! 2013-04-03T23:02:24 < Robint91> bad Steffanx 2013-04-03T23:03:12 <+Steffanx> Go away with your memes 2013-04-03T23:04:29 < Robint91> Steffanx, DEA liek memes, #YOLO? 2013-04-03T23:04:57 <+Steffanx> DEA? 2013-04-03T23:05:25 < Robint91> *DAE 2013-04-03T23:05:58 <+Steffanx> Whatever 2013-04-03T23:08:11 <+Steffanx> You're wasting valuable cpu-cycles Robint91 2013-04-03T23:11:44 < Laurenceb_> trollercoaster 2013-04-03T23:11:54 < dongs> sup dongs 2013-04-03T23:11:59 < Laurenceb_> booty ass videos 2013-04-03T23:13:02 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-03T23:13:29 < baird> Early morning dongs. 2013-04-03T23:14:47 < baird> (..that was an 'early morning wood' joke that didn't work.) 2013-04-03T23:15:25 < Robint91> Laurenceb_, linky? 2013-04-03T23:15:40 < Laurenceb_> just a suggestion 2013-04-03T23:15:47 < Laurenceb_> google is your friend 2013-04-03T23:16:10 < inca> what's the best way to do semi-hosting over SWD for stm32 with ARM GNU toolchain on !Windows? 2013-04-03T23:16:15 < Laurenceb_> http://www.ti.com/product/66ak2h12 <-fapfapfap 2013-04-03T23:16:27 < dongs> baird: heh 2013-04-03T23:16:33 < dongs> flying to osaka for some useless meeting shit 2013-04-03T23:16:38 < dongs> so kinda have to get up early 2013-04-03T23:16:54 < Robint91> Laurenceb_, rule34 for that TI PART NAOW 2013-04-03T23:16:59 < Laurenceb_> omfg it has i2c 2013-04-03T23:17:02 < Laurenceb_> so it must be good 2013-04-03T23:17:08 < Laurenceb_> /troll 2013-04-03T23:17:35 < Laurenceb_> someone should make an arduino breakout for it 2013-04-03T23:17:42 < Robint91> do a kickstarter 2013-04-03T23:18:25 < inca> dongs: do you use semi hosting for your stuff? 2013-04-03T23:19:18 -!- dekar_ [~dekar@212.255.250.158] has joined ##stm32 2013-04-03T23:19:21 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-04-03T23:21:24 < dongs> inca: dont know the meaning in this context 2013-04-03T23:21:27 < dongs> also i only use windows 2013-04-03T23:21:35 < dongs> as thats the only OS where development tools just work 2013-04-03T23:22:06 < dongs> is that debug output over swd or whatever? 2013-04-03T23:22:33 < inca> dongs: ok. what tools do you use for semi hosting to a windows host over STLINK/V2 SWD? the STM studio and whatever? 2013-04-03T23:22:42 < inca> yeah, printf, basically 2013-04-03T23:22:57 < inca> so your programmer can be a useful debugger, too 2013-04-03T23:23:09 < inca> instead of just a flash dumper/writer 2013-04-03T23:23:22 < dongs> well, stlink is quite slow for this. crossstudio has debug_printf() that goes over swd but its horrible unless you print out large blocks at a time 2013-04-03T23:23:30 -!- dekar__ [~dekar@212.255.250.148] has quit [Ping timeout: 264 seconds] 2013-04-03T23:23:44 < dongs> you dont need to set anything up just #include normally in IDE i just setup variable watch/etc and monitor them realtime 2013-04-03T23:24:01 < dongs> instead of printing 2013-04-03T23:24:06 < inca> which IDE are you running? 2013-04-03T23:24:18 < dongs> crosstudio, or keil uvision. 2013-04-03T23:24:21 < dongs> both commercial/payware 2013-04-03T23:24:23 < inca> gotcha 2013-04-03T23:24:34 < dongs> but i heard coocox/coide can do all this shit. 2013-04-03T23:24:47 < dongs> and is free as in aids 2013-04-03T23:24:52 < inca> the language barrier is an issue for me with coocox 2013-04-03T23:24:55 < gxti> it definitely has aids 2013-04-03T23:25:01 < gxti> but it works 2013-04-03T23:25:03 < dongs> inca: in what sense 2013-04-03T23:25:51 -!- Claude is now known as claude 2013-04-03T23:25:52 < inca> I have trouble understanding the style of the project… code examples don't work in my case and it's not really apparent why 2013-04-03T23:26:08 < inca> it's a simplified eclipse IDE that doesn't really let you know what's going on 2013-04-03T23:26:45 < inca> so when I read the doxygen stuff it doesn't stick to my brain 2013-04-03T23:27:17 < inca> anyway, thanks for the tips. I am going to try CrossStudio 2013-04-03T23:27:29 < dongs> hobby version of that is only 150 bucks or something like that 2013-04-03T23:27:37 < dongs> and its still gcc if youre into that 2013-04-03T23:27:47 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-03T23:27:48 < inca> I don't really care, so long as it does the job 2013-04-03T23:28:22 < inca> though I do see the ARM GNU being a longer-term solution than CodeSourcery 2013-04-03T23:29:06 < dongs> well, they have their own branch of gcc 2013-04-03T23:29:10 < dongs> unsure what version 2013-04-03T23:29:19 < dongs> and their own CRT etc 2013-04-03T23:29:27 < dongs> which is a lot less aids than this "multilib" shit 2013-04-03T23:29:32 < dongs> because it simply works 2013-04-03T23:29:45 < inca> you're talking about ARM GNU? 2013-04-03T23:29:50 < Laurenceb_> mmmm 2013-04-03T23:29:54 < Laurenceb_> AIDS is fun 2013-04-03T23:29:55 < dongs> but as far as i remember they supproted things like hardfp on F4 months before official gcc/cocksourcery figured it otu 2013-04-03T23:30:01 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-03T23:30:05 < inca> word 2013-04-03T23:30:21 < inca> at this point, I am not willing to bet against ARM 2013-04-03T23:30:33 < dongs> keil still has the best compiler but thats $5k 2013-04-03T23:31:08 < inca> proprietary embedded compilers are a dying breed… and not in the way that BSD has been dying for 40 years now 2013-04-03T23:32:12 < dongs> oh well time to drive over to airport. 2013-04-03T23:32:25 < inca> did you get that switcher up? 2013-04-03T23:32:29 < Erlkoenig> GCC has C++11 for ARM, armcc not 2013-04-03T23:32:59 < Laurenceb_> dongs: enjoy your probing 2013-04-03T23:33:07 < inca> Erlkoenig: is that a feature or a bug? ;) 2013-04-03T23:33:13 < Erlkoenig> i consider it a feature :D 2013-04-03T23:33:21 < Erlkoenig> if you can turn it off, it's a feature ^^ 2013-04-03T23:33:24 < dongs> < Erlkoenig> GCC has C++11 for ARM, armcc not 2013-04-03T23:33:28 < dongs> noone except zyp cares 2013-04-03T23:33:35 < Erlkoenig> i care too 2013-04-03T23:33:45 < Erlkoenig> and if zyp cares that means something 2013-04-03T23:34:03 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-03T23:34:26 < gxti> C 4 lyf yo 2013-04-03T23:38:19 -!- fiendie [fiendie@ipv6.leela.fiendie.net] has quit [Ping timeout: 264 seconds] 2013-04-03T23:39:38 -!- Mobyfab1 [~Mobyfab@lcb.netyxia.net] has left ##stm32 [] 2013-04-03T23:45:06 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Read error: Connection reset by peer] 2013-04-03T23:45:43 < Thorn> looks like QSerialPort::ReadError is emitted when you pull the cable 2013-04-03T23:46:54 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-03T23:47:53 -!- fiendie [fiendie@ipv6.leela.fiendie.net] has joined ##stm32 2013-04-03T23:47:59 < timemob> Tunnelled 2013-04-03T23:55:36 < Thorn> cortex-m is not cost effective for most projects, avr all the way 2013-04-03T23:55:41 < Thorn> CAN is a piece of shit, never use 2013-04-03T23:55:49 < Thorn> CPLD as an IO expander for a microcontroller?! are you mad? (sic) 2013-04-03T23:55:57 < Thorn> things you learn on forums 2013-04-03T23:57:11 < sterna1> hmm, anyone has any experiencing on synchronizing timers? 2013-04-03T23:57:28 < sterna1> I'm trying to generate two very short pulses that need to be in sync 2013-04-03T23:58:13 < Erlkoenig> Thorn: wut, what's the problem about CAN o.O 2013-04-03T23:58:31 < sterna1> and one problem is that since the two timers I'm using (timer 1 and 9) cannot be synced directly together, I'm trying to sync them through timer 3 2013-04-03T23:58:42 < Erlkoenig> Thorn: the other ones seem to have at least some idea of "argument" behind them, but i don't see anything bad about CAN 2013-04-03T23:59:09 < sterna1> and I'm using 1 pulse mode, which disables the timers after the pulse is done 2013-04-03T23:59:11 < Thorn> I guess CAN timing is too advanced for a typical Arduino Engineer 2013-04-03T23:59:34 < sterna1> any idea how to solve this problem --- Day changed Thu Apr 04 2013 2013-04-04T00:00:01 < Erlkoenig> Thorn: wat, the hardware does everything automatically, no worrying 2013-04-04T00:00:17 < Erlkoenig> except if you're foolish enough to do it in software 2013-04-04T00:00:20 < sterna1> and, CAN is not the best thing, but it's actually rather nice if the hardware does most of trhe things automatically 2013-04-04T00:00:33 < sterna1> it's rather easy to use 2013-04-04T00:01:11 < Erlkoenig> yes exactly 2013-04-04T00:02:47 < Thorn> bit timing seems to be a problem for most people, f/(q*(1+tseg1+tseg2)) etc. 2013-04-04T00:03:51 < sterna1> the weirdest thing I had when I did CAN was the fact that the CAN transceiver (the external hardware, that is) was strange to understand and that the chinese guys had designed the board wrong 2013-04-04T00:03:59 < sterna1> and also setting up the filters 2013-04-04T00:04:14 < sterna1> those registers are really weird 2013-04-04T00:06:26 < Erlkoenig> (22:55:48) Thorn: CPLD as an IO expander for a microcontroller?! are you mad? (sic) <-- this is because AVR's are so cost-effective but don't have so many pins 2013-04-04T00:06:34 <+Steffanx> dongs added some fancy coins to buttcoin.org ? 2013-04-04T00:06:35 < Erlkoenig> at least in their DIP version 2013-04-04T00:07:26 < Erlkoenig> also nice are large LCD's with integrated fat-ass controller (probably some ARM), to be controlled via I²C from an AVR 2013-04-04T00:08:30 < Thorn> the "are you mad?!" guy was also worried about having to program the CPLD, I guess arduino engineering curriculum doesn't include any logic design 2013-04-04T00:09:37 < Erlkoenig> don't expect logic from such guys :D 2013-04-04T00:09:43 < gxti> hurrr 2013-04-04T00:11:05 < Erlkoenig> in "my" german forum someone asked how to "mass-produce Arduino-based Products" [he doesn't know what an AVR is] where he copypastad a webserver and glued it to some relais. The trollz rushed to write pages of text to bash him 2013-04-04T00:11:26 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Quit: Ik ga weg] 2013-04-04T00:11:55 <+Steffanx> The funny thing is.. some make more money with their arduino stuff than others without arduino :D 2013-04-04T00:12:24 < Erlkoenig> but that's probably not the arduino-based stuff but breakout boards and such *for* arduino? 2013-04-04T00:12:44 <+Steffanx> That's also part of it 2013-04-04T00:13:36 < sterna1> the thing with arduino designers is that since they haven't filled their brain with how stuff works under the hood, they can build upon an arduino and make money, because they are better at marketing andf so on than coding and electronics 2013-04-04T00:14:19 < sterna1> I bet lots of people use computers to make more money than the people who knows how to build computers make 2013-04-04T00:14:42 < Thorn> obligatory http://parts.dn.ua/data/big/voltage_divider1.jpg 2013-04-04T00:14:56 < Thorn> guess how much it costs 2013-04-04T00:15:00 < Erlkoenig> some guy made a thru-hole-board bigger than a PC mainboard containing a network of interconnected AVR's that toggle lots of relais... 2013-04-04T00:15:02 < sterna1> 5 bucks? 2013-04-04T00:15:12 < Erlkoenig> uuuuh wtf 2013-04-04T00:15:20 < Erlkoenig> is that real :D 2013-04-04T00:15:59 < gxti> leet 2013-04-04T00:16:09 < Thorn> this one is over $6 2013-04-04T00:16:22 < sterna1> well then, 5 was not that bad of a guess 2013-04-04T00:18:18 < sterna1> anyone has an answer on my timer sync problem=? 2013-04-04T00:18:18 < Thorn> http://www.ebay.com/itm/Voltage-Divider-Detection-Sensor-Module-cable-Arduino-/150993542084 2013-04-04T00:18:33 < Erlkoenig> http://www.dfrobot.com/index.php?route=product/product&filter_name=voltage%20divider&product_id=90 there it says $3.7 2013-04-04T00:20:06 < sterna1> "It can monitor the quantity of electricity of the interactive media works or the robots." 2013-04-04T00:20:23 < sterna1> the quantity of electricity... 2013-04-04T00:20:35 < Erlkoenig> hidden integrated hall sensor! 2013-04-04T00:21:53 < Erlkoenig> i like the "analog" and "digital" cables 2013-04-04T00:23:02 < Erlkoenig> and extra-expensive AVR's with Arduino Bootloader preflashed 2013-04-04T00:23:03 < BrainDamage> there are module systems for arduino where actually they distinguish signal types trough connectors 2013-04-04T00:23:21 < Erlkoenig> i need to tell this my ferengi-costudent 2013-04-04T00:23:31 < BrainDamage> so that even users who know nothing can interconnect them by simply matching socket 2013-04-04T00:24:34 <+Steffanx> Poor arduino bashers :( 2013-04-04T00:24:43 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 245 seconds] 2013-04-04T00:25:16 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-04T00:25:53 < Erlkoenig> "rotation sensor" - also known as potentiometer 2013-04-04T00:26:47 < BrainDamage> could be a rotary encoder 2013-04-04T00:26:52 <+Steffanx> Analog rotation sensor Erlkoenig :) 2013-04-04T00:26:52 < BrainDamage> or a dynamo 2013-04-04T00:27:08 < Erlkoenig> no, the product description says "based on potentiometer" 2013-04-04T00:27:09 <+Steffanx> not in this case mr BrainDamage 2013-04-04T00:27:20 < Erlkoenig> Rotation Sensor - Potentiometer = Plug 2013-04-04T00:27:30 < baird> Fortunately, the 'money makers' in this context have very little opportunity 'to change the world'. 2013-04-04T00:28:08 -!- [1]MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-04T00:28:22 <+Steffanx> They do change the world.. for themself. Who needs more mr baird 2013-04-04T00:29:52 -!- MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-04T00:29:59 < gxti> if people do cool stuff with it then whatever 2013-04-04T00:32:29 <+Steffanx> AGreed 2013-04-04T00:32:43 < BrainDamage> I have no problems with people taking an arduino because it lifts boilerplate stuff for them and then do something innovative 2013-04-04T00:33:03 < Erlkoenig> i use the arduino as USB->UART TTL adapter. :D 2013-04-04T00:33:16 < BrainDamage> I am a bit annoying by those that brag about achieving trivial stuff, don't learn anything about the underlying mechanism and act like they reached a goal 2013-04-04T00:33:36 < Erlkoenig> yup that's the entire point 2013-04-04T00:33:52 < BrainDamage> annoyed, not annoying 2013-04-04T00:34:03 < BrainDamage> stupid muschle memory 2013-04-04T00:34:17 <+Steffanx> muscle 2013-04-04T00:34:18 <+Steffanx> :P 2013-04-04T00:34:54 -!- CRF_Peter [~Peter@dhcp-181008.eduroam.chalmers.se] has quit [Ping timeout: 264 seconds] 2013-04-04T00:35:29 < baird> I expect the underlying peeve we've got about Arduino is the attention give to ridiculous projects by the online AdSense-o-sphere. 2013-04-04T00:36:01 <+Steffanx> Yeah, probably something like that 2013-04-04T00:36:48 <+Steffanx> The same with rpi baird 2013-04-04T00:37:10 <+Steffanx> Now I even read sometimes: Why an RPI and not just an arduino? 2013-04-04T00:37:11 < BrainDamage> with the rpi it's even worse 2013-04-04T00:37:20 < BrainDamage> it's even more abstracted 2013-04-04T00:37:35 < Erlkoenig> http://xkcd.com/730/ xkcd got it early: "arduino, just for blog cred" 2013-04-04T00:37:36 <+Steffanx> That's not THAT bad. For basic things 2013-04-04T00:37:39 < BrainDamage> and when I see rpi connected to an arduino, I die a little inside 2013-04-04T00:38:04 <+Steffanx> but you can use perl! 2013-04-04T00:38:06 < Erlkoenig> BrainDamage: the rpi doesn't have much I/O capabilities, so you need to connect it with a more "micro"-controller 2013-04-04T00:38:10 < BrainDamage> the "best" usage I've seen of that combo, is using the arduino as adc 2013-04-04T00:38:21 <+Steffanx> use an i2c/spi ADC 2013-04-04T00:38:35 < sterna1> have you seen a Gert board for the rpi? 2013-04-04T00:38:44 <+Steffanx> wonderful board 2013-04-04T00:38:45 < BrainDamage> Erlkoenig: like there's no software i2c/spi/1-wire etc sw implementations 2013-04-04T00:38:59 < Erlkoenig> BrainDamage: like anybody knew that :3 2013-04-04T00:39:13 < sterna1> that shit is HUGE 2013-04-04T00:39:18 < Erlkoenig> also the arduino has ADC integrated...! 2013-04-04T00:39:19 <+Steffanx> The best thing i've probably see is a lcd driver over spi incl. kernel driver. That was actually quiet nice ( and fast ) 2013-04-04T00:39:24 < BrainDamage> that's the bit about willing to put a bit efforts 2013-04-04T00:39:30 <+Steffanx> -driver 2013-04-04T00:39:34 < sterna1> and with like dip components and an atmega328 (probably running arduino) 2013-04-04T00:39:48 < baird> Pity it costs about twice as much as the RPi itself, and brings into question why someone needs to be using the RPi for the project in the first place. 2013-04-04T00:40:03 < baird> (much the same thing was said about Arduino, too..) 2013-04-04T00:40:24 < BrainDamage> both are cheap enough that people could just throw them in and not think too much about it 2013-04-04T00:40:35 < sterna1> http://www.recantha.co.uk/blog/wp-content/uploads/2013/01/BBJOxODCAAA0Fc7.jpg 2013-04-04T00:40:36 < baird> ..using a $40 Arduino, when the project only needs a deadbug avr that costs ~$3. 2013-04-04T00:40:37 < Erlkoenig> rpi allows to run linux-based realtime-needy applications on I/O-capable hardware, such as ancient CNC software... 2013-04-04T00:40:42 < sterna1> I eman, look at the size of it 2013-04-04T00:40:57 < sterna1> *mean 2013-04-04T00:40:59 < Erlkoenig> sterna1: big projects need big tools :D 2013-04-04T00:41:08 < sterna1> yeah 2013-04-04T00:41:11 < BrainDamage> realtime and linux is a pain 2013-04-04T00:41:15 < BrainDamage> I know because I tried 2013-04-04T00:41:30 < BrainDamage> there are patches that allow it 2013-04-04T00:41:38 < BrainDamage> but require basically the whole system to be tuned for that 2013-04-04T00:41:50 < BrainDamage> it's not a simple "I need RT prio" 2013-04-04T00:42:06 <+Steffanx> Used some realtime linux kernel thingy? 2013-04-04T00:42:12 < Erlkoenig> yup but you wouldn't use the rpi for a CNC controller and desktop linux the same time 2013-04-04T00:42:27 <+Steffanx> What's it called RTLinux? 2013-04-04T00:42:35 < BrainDamage> there's several patchsets 2013-04-04T00:42:38 < BrainDamage> I've tried 2-3 2013-04-04T00:42:48 < BrainDamage> it's been a while tbh, I don't remember the names 2013-04-04T00:43:07 < BrainDamage> but I keep an eye every now & then, and the situation didn't significantly change 2013-04-04T00:43:14 < Laurenceb_> Nuttx 2013-04-04T00:44:03 < sterna1> rpi gives you about what you pay for it 2013-04-04T00:44:26 < Laurenceb_> cheap & fail 2013-04-04T00:44:29 < BrainDamage> there's some catch 2013-04-04T00:44:36 < Erlkoenig> people use it as tiny web/file -server, why not? 2013-04-04T00:44:36 < BrainDamage> like the ethernet on the usb bus 2013-04-04T00:44:44 < Laurenceb_> i guess its good for hdmi stuff 2013-04-04T00:45:01 < BrainDamage> they managed to botch their best selling point 2013-04-04T00:45:11 <+Steffanx> Erlkoenig, because it hangs for me when i send too much data :P 2013-04-04T00:45:15 < BrainDamage> don't they make you pay for hw acceleration libs for the video chip? 2013-04-04T00:45:25 < Erlkoenig> Steffanx: it's not for performance ^.^ 2013-04-04T00:45:41 <+Steffanx> The performancei s ok, but it cant do it for long 2013-04-04T00:45:51 < BrainDamage> btw, since we're rather OT now 2013-04-04T00:45:57 <+Steffanx> We always are 2013-04-04T00:46:00 < BrainDamage> any suggestion for a terminal program? 2013-04-04T00:46:04 < BrainDamage> under loonix 2013-04-04T00:46:05 < Erlkoenig> friend of mine is going to put a cubieboard into a C64 case, use its keyboard, and attach some LCD 2013-04-04T00:46:11 < BrainDamage> serial terminal* 2013-04-04T00:46:17 <+Steffanx> They make you pay for the video decoders, yes BrainDamage 2013-04-04T00:46:17 < Erlkoenig> HTerm 2013-04-04T00:46:22 < Erlkoenig> @ BrainDamage 2013-04-04T00:47:10 < BrainDamage> minicom sucks, screen loves to fuck scrolling and force me to use weirdass keybindings 2013-04-04T00:47:26 <+Steffanx> minicom is amazing, you can/could crash kernels with it 2013-04-04T00:47:27 < GargantuaSauce> i've used ssterm and it was only marginally infuriating 2013-04-04T00:47:42 < Erlkoenig> HTerm 2013-04-04T00:47:43 < Erlkoenig> HTerm 2013-04-04T00:47:44 < Erlkoenig> HTerm 2013-04-04T00:47:47 < Erlkoenig> it's great 2013-04-04T00:47:50 <+Steffanx> GUIish.. 2013-04-04T00:48:08 < Erlkoenig> yes with Hex,bin display and everyting 2013-04-04T00:48:10 <+Steffanx> You mean the one for der hammer no ? 2013-04-04T00:48:16 < Erlkoenig> yup excatly 2013-04-04T00:48:36 <+Steffanx> That one is nice indeed. It has a few unresovled bugs though 2013-04-04T00:48:46 <+Steffanx> Like some weird hight cpu usage sometimes 2013-04-04T00:48:53 < BrainDamage> ... is that gtk1? 2013-04-04T00:49:04 <+Steffanx> wxwidgets 2013-04-04T00:49:16 < BrainDamage> wxgtk should use gtk2 at least 2013-04-04T00:49:22 < BrainDamage> this is definetly gtk1 2013-04-04T00:49:23 < Erlkoenig> no, gtk 2.0 2013-04-04T00:49:33 < Erlkoenig> uses /usr/lib32/libgtk-x11-2.0.so.0 2013-04-04T00:49:53 <+Steffanx> hmm, wxwidgets uses gtk?! 2013-04-04T00:50:14 <+Steffanx> Always thought it was a 'gtk' on its own 2013-04-04T00:50:31 < GargantuaSauce> "a gtk"? 2013-04-04T00:50:37 < BrainDamage> wx is like an abstraction lib on top of other toolkits 2013-04-04T00:50:43 <+Steffanx> graphical tool kit, without GTK :) 2013-04-04T00:50:45 < BrainDamage> which adds several layers of indirections and bugs 2013-04-04T00:50:54 <+Steffanx> So not what BrainDamage just said 2013-04-04T00:51:26 < BrainDamage> and introduces platform specific bugs which will irritate the fuck of you 2013-04-04T00:51:34 <+Steffanx> Qt ftw? 2013-04-04T00:51:43 < BrainDamage> I know because I helped developing an open sores program using it 2013-04-04T00:51:58 < BrainDamage> ending that collaboration was one of the best decisions I've ever made .p 2013-04-04T00:52:02 <+Steffanx> I also used wxwidgets once, but that was windows only 2013-04-04T00:52:14 < BrainDamage> win & linux the syntax is the same 2013-04-04T00:52:19 < BrainDamage> but the set of glitches not 2013-04-04T00:52:41 <+Steffanx> Yes, but i only ran it on windows. I didn't care about linux 2013-04-04T00:52:45 < Erlkoenig> who cares if HTerm just works well 2013-04-04T00:52:58 <+Steffanx> Not always Erlkoenig :P 2013-04-04T00:53:02 <+Steffanx> but most of the time, yes 2013-04-04T00:53:07 < Erlkoenig> except if you disconnect the FT232RL while HTerm has it open -> Kernel freeze 2013-04-04T00:53:08 < BrainDamage> I'm not commenting on hterm, I'm ranting on the toolkit 2013-04-04T00:53:15 <+Steffanx> Too bad it's closed sores. Would be nice to have it on os x 2013-04-04T00:53:34 < GargantuaSauce> ugh distributed as 32 bit binaries 2013-04-04T00:53:35 < GargantuaSauce> no thx 2013-04-04T00:53:37 < Erlkoenig> as an OS X user you should like proprietary software 2013-04-04T00:53:50 < baird> BrainDamage: screen /dev/ttyASCM0 115200 2013-04-04T00:53:58 <+Steffanx> I have love 'homebrew' for a reason Erlkoenig 2013-04-04T00:54:19 < Erlkoenig> quality code? :D 2013-04-04T00:54:20 < BrainDamage> baird: (23:47:10) BrainDamage: minicom sucks, screen loves to fuck scrolling and force me to use weirdass keybindings 2013-04-04T00:54:26 < GargantuaSauce> even has the libpng12 dep 2013-04-04T00:54:29 < GargantuaSauce> noooooooo thx 2013-04-04T00:54:41 < baird> cu, then. :P 2013-04-04T00:54:44 <+Steffanx> Erlkoenig .. os x-ish package manager ( you have to compile it yourself though ) 2013-04-04T00:55:26 < BrainDamage> I'd use screen much more if I didn't fuck my scroll buffer 2013-04-04T00:55:30 < BrainDamage> it* 2013-04-04T00:56:14 < BrainDamage> and wouldn't have the M-c-M-butterfly keybindings ala emacs 2013-04-04T00:56:17 < baird> (that's taylor uucp's cu ..not the busted BSD cu) 2013-04-04T00:57:01 < baird> I think there's a serial terminal mode in Emacs, actually.. 2013-04-04T00:57:18 < BrainDamage> off course there is, emacs is an os 2013-04-04T00:57:38 <+Steffanx> -f 2013-04-04T00:57:50 < baird> M-x serial-term ... \o/ 2013-04-04T00:58:36 < sterna1> the best serial terminal for OSX is one that friend wrote in java for linux using the RXTX-lib 2013-04-04T00:58:55 < Erlkoenig> Arduino IDE has an integrated Terminal \o/ 2013-04-04T00:59:03 < sterna1> it just happened to run under OSX uxing the correct RXTX lib 2013-04-04T00:59:14 < sterna1> yeah, arduino IDE is the next best serial terminal 2013-04-04T00:59:16 < BrainDamage> yes, that locks into infinite loop if you disconnect the arduino while the port is open 2013-04-04T00:59:31 < BrainDamage> best serial terminal ever 2013-04-04T01:00:01 < Erlkoenig> better than kernel freeze :D 2013-04-04T01:00:38 < BrainDamage> it's 2013 ffs, how's possible we haven't solved yet this? :/ 2013-04-04T01:01:15 < BrainDamage> on the other hand, when I think about the topic of text editor, music players, web browsers ... 2013-04-04T01:01:26 < GargantuaSauce> drumroll please 2013-04-04T01:01:27 < Erlkoenig> windows file shares 2013-04-04T01:01:31 < GargantuaSauce> we are now coming to the universal conclusion 2013-04-04T01:01:38 < GargantuaSauce> that all software is shit 2013-04-04T01:01:40 < Erlkoenig> with every windows version it gets more impossible to share files over LAN 2013-04-04T01:01:46 < Erlkoenig> GargantuaSauce: agreed 2013-04-04T01:03:44 < Thorn> my app now handles disconnected cable by asking the user to plug it back. 2013-04-04T01:04:04 < Erlkoenig> lecture about OSes [ -> syscall, mem management, threads, IPC] , Prof asks "who has experience with C?" -> 3, "who has experience with UNIX,Linux" -> 2 2013-04-04T01:04:13 < Thorn> found a way to do that with qtserialport (tested only on windows though) 2013-04-04T01:04:17 -!- CRF_Peter [~Peter@193.11.200.145] has joined ##stm32 2013-04-04T01:04:18 <+Steffanx> Only 4 people there Erlkoenig ? 2013-04-04T01:04:29 < Erlkoenig> no, like 20 2013-04-04T01:04:40 < Erlkoenig> or 30 2013-04-04T01:04:45 <+Steffanx> or 40 2013-04-04T01:04:50 < Erlkoenig> no, thats like it 2013-04-04T01:05:04 < sterna1> well, they take the course to learn stuff (one can hope at least) 2013-04-04T01:05:16 <+Steffanx> or because they have to 2013-04-04T01:05:18 < Erlkoenig> yes, and start by installing linux :D 2013-04-04T01:05:21 < BrainDamage> except that C sounds like a prerequisite 2013-04-04T01:05:23 < Laurenceb_> arduino is epic 2013-04-04T01:05:30 < Erlkoenig> then chatted with the prof about the dis/advantages of arch linux's package manager ^.^ 2013-04-04T01:05:30 < Laurenceb_> you can debug with printf and stuff 2013-04-04T01:05:37 < Laurenceb_> its awesome 2013-04-04T01:05:41 < Erlkoenig> just not with JTAG? :D 2013-04-04T01:05:47 < Laurenceb_> yeah 2013-04-04T01:05:48 < Erlkoenig> BrainDamage: "sounds like" yeah :D 2013-04-04T01:05:48 < GargantuaSauce> what disadvantages? :V 2013-04-04T01:05:55 < GargantuaSauce> oh man i remember my operating systems course 2013-04-04T01:05:56 < Erlkoenig> they all are qualified Java devs.... 2013-04-04T01:06:10 < GargantuaSauce> got chided by the prof in front of the class for not having a powerpoint for our group presentation 2013-04-04T01:06:22 <+Steffanx> What DID you use? 2013-04-04T01:06:32 < Erlkoenig> LaTeX -> PDF? tsss 2013-04-04T01:06:44 < Erlkoenig> chalk? -> ep1c 2013-04-04T01:06:46 < GargantuaSauce> instead we went through the code and explained stuff about the bare metal bootstrapper+silly realmode demos we wrote 2013-04-04T01:07:03 < Erlkoenig> talking is just hot air 2013-04-04T01:07:03 < GargantuaSauce> as a foil to the insipid shit he taught all term 2013-04-04T01:07:09 < Erlkoenig> you need something *real* 2013-04-04T01:07:32 < Erlkoenig> "insipid" - i learn new woards every day on IRC 2013-04-04T01:07:35 < Erlkoenig> -a 2013-04-04T01:07:40 <+Steffanx> Same here 2013-04-04T01:07:55 <+Steffanx> Especially when emeb and/or GargantuaSauce talk 2013-04-04T01:08:17 < baird> The one presentation I did was using GIFs and xv .. Mine was the only report where I just plupged the overhead into the laptop, and everything just worked instantly. :) 2013-04-04T01:08:28 -!- CRF_Peter [~Peter@193.11.200.145] has quit [Ping timeout: 245 seconds] 2013-04-04T01:08:33 < sterna1> ooh, overhead 2013-04-04T01:08:37 < sterna1> oldschool stuff 2013-04-04T01:08:41 < sterna1> like relays 2013-04-04T01:08:43 <+Steffanx> baird is old :P 2013-04-04T01:08:49 < Erlkoenig> bwaha 2013-04-04T01:08:55 < Erlkoenig> at my math studies they always ONLY used chalk 2013-04-04T01:09:00 < BrainDamage> funny, I have less problems with the fancy words because they have generally latin roots 2013-04-04T01:09:06 < BrainDamage> so i know them already 2013-04-04T01:09:07 < baird> I was going to mention that was with a 486 Compaq laptop as well. 2013-04-04T01:09:11 < BrainDamage> insipid = lack of taste 2013-04-04T01:09:22 < Erlkoenig> latin, who knows that :D 2013-04-04T01:09:55 <+Steffanx> indeed, normal people dont know latin 2013-04-04T01:10:05 < sterna1> they still always only use chalk for math lectures 2013-04-04T01:10:07 <+Steffanx> nor italian 2013-04-04T01:10:16 < BrainDamage> I agree on that bit 2013-04-04T01:10:18 < sterna1> biperibappi 2013-04-04T01:10:46 <+Steffanx> Google doesn't know that one 2013-04-04T01:11:30 * Erlkoenig -> bed 2013-04-04T01:11:40 <+Steffanx> gn 2013-04-04T01:11:47 <+Steffanx> I should do the same i guess 2013-04-04T01:11:50 < BrainDamage> SIGSEGV 2013-04-04T01:11:52 < Erlkoenig> gn8 togetherz 2013-04-04T01:12:00 <+Steffanx> have fun 2013-04-04T01:12:02 < BrainDamage> next time check your pointers 2013-04-04T01:12:10 -!- Erlkoenig [~erlkoenig@212.201.69.137] has quit [Quit: Leaving.] 2013-04-04T01:12:10 < GargantuaSauce> you mean while( Erlkoenig --> bed ) 2013-04-04T01:12:21 < GargantuaSauce> ; 2013-04-04T01:12:27 < sterna1> not needed 2013-04-04T01:13:03 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 245 seconds] 2013-04-04T01:13:20 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-04T01:13:22 < GargantuaSauce> also bd how could you possibly bring up a segfault in a channel for microcontrollers 2013-04-04T01:13:26 < sterna1> so, you mean you make him smaller until he fits in the bed 2013-04-04T01:14:02 < BrainDamage> welllllllll, there are rtos 2013-04-04T01:14:21 < BrainDamage> also, exception flag bit is much longer to type 2013-04-04T01:14:21 < GargantuaSauce> even so, you'd just be clobbering something random or at worst triggering a hardfault 2013-04-04T01:14:48 <+Steffanx> Wonderful (useless) irc talks here :) 2013-04-04T01:15:04 < GargantuaSauce> useless to YOU maybe 2013-04-04T01:15:21 <+Steffanx> For you too, but you dont know that 2013-04-04T01:15:47 < GargantuaSauce> i am quite certain that i am entertained by such banter 2013-04-04T01:15:56 < GargantuaSauce> and entertainment is by nature not useless 2013-04-04T01:16:31 <+Steffanx> if you say so 2013-04-04T01:17:39 < Thorn> why is it http://xkcd.com/730/ and not /741/ ? 2013-04-04T01:18:03 < baird> Tempted to make the next stm32 LCD project a version of Dongs' shitting dicknipples game.. 2013-04-04T01:18:19 < GargantuaSauce> link 2013-04-04T01:18:56 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-04T01:19:51 < baird> https://youtube.com/watch?v=UIN-znUKTT4 2013-04-04T01:21:17 < GargantuaSauce> well that made my day 2013-04-04T01:21:36 < Laurenceb_> preparing to be trolled 2013-04-04T01:22:27 < Laurenceb_> i got trolled 2013-04-04T01:23:03 < GargantuaSauce> i can't stop laughing 2013-04-04T01:23:15 < GargantuaSauce> my diaphragm hurts :( 2013-04-04T01:27:11 < BrainDamage> that probably has great commercial potential 2013-04-04T01:27:44 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-04T01:28:09 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-04T01:32:24 < sterna1> ooooh, yeah 2013-04-04T01:32:37 < sterna1> I FINALLY succeded chaining my timers 2013-04-04T01:33:10 < sterna1> so now, tim1 triggers tim9 synchronously through tim3 2013-04-04T01:34:40 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-04T01:37:25 -!- a2cypher [~cypher@mail.krausglobal.com] has quit [Ping timeout: 248 seconds] 2013-04-04T01:38:01 < Laurenceb_> heh 2013-04-04T01:38:12 < Laurenceb_> what are you doing with slave mode? 2013-04-04T01:40:08 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 260 seconds] 2013-04-04T01:42:01 < timemob> Sounds like piracy 2013-04-04T01:42:04 < sterna1> I need to generate two very short pulses with very precise timing 2013-04-04T01:42:36 < timemob> As I said :D 2013-04-04T01:43:04 < sterna1> and I learned the hard way that you cannot do that by using setStart, nop, nop, nop... setStop 2013-04-04T01:43:16 < sterna1> since the core works in mysterious ways 2013-04-04T01:43:26 < sterna1> apparently, the timer also does that... 2013-04-04T01:43:40 < sterna1> so you cannot enable all the timers 2013-04-04T01:43:46 < timemob> You only ever need to do that if you're pirating 2013-04-04T01:44:16 < sterna1> or controlling a laser that breaks if thew pulse is longer than 100ns 2013-04-04T01:45:20 < timemob> Timing with nops only works on avr 2013-04-04T01:46:20 < baird> Really hating on this gormless fat fuck who my housemate has invited to stay here for a fortnight. 2013-04-04T01:47:50 < Laurenceb_> so what is your application? 2013-04-04T01:48:00 < baird> Washes dishes by running under warm water for several minutes each (and no soap). Has his face in an iPad all day, even outside. I was in the middle of shaving, left the bathroom to put clothes in the laundry, and the cunt hops into the bathroom to have a 45 minute shower.. 2013-04-04T01:48:32 < gxti> tell us more 2013-04-04T01:48:58 < baird> ...and he's a Brony. 2013-04-04T01:49:14 < GargantuaSauce> thats all you really needed to say 2013-04-04T01:49:15 < gxti> well yeah 2013-04-04T01:49:36 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-231-90.clienti.tiscali.it] has quit [Ping timeout: 245 seconds] 2013-04-04T01:49:37 < sterna1> Laurenceb_: my application? laser rangefinding using time of flight 2013-04-04T01:53:16 < Laurenceb_> wooooow 2013-04-04T01:53:20 < Laurenceb_> thats a bit hardcore 2013-04-04T01:53:22 -!- t1memob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-04T01:53:27 < Laurenceb_> what sort of range? 2013-04-04T01:54:11 < Laurenceb_> and what laser hardware? 2013-04-04T01:55:33 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 245 seconds] 2013-04-04T01:57:19 -!- t1memob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Client Quit] 2013-04-04T01:57:33 < sterna1> we're aiming for up to 5 meters 2013-04-04T01:57:40 < sterna1> down to about 20cm or so 2013-04-04T01:57:51 < sterna1> a pulse laser diode 2013-04-04T01:58:04 < GargantuaSauce> holy shit 2013-04-04T01:59:31 < sterna1> it can output up 4W in pulses of up to 100ns and a duty cycle of 0.1% 2013-04-04T01:59:49 < GargantuaSauce> and how are you going to measure 0.6ns 2013-04-04T02:00:30 < sterna1> I'm using an external timer circuit 2013-04-04T02:01:06 < sterna1> with oversampling and avaring I can get a reliable value down to less than 2cm 2013-04-04T02:01:32 < Laurenceb_> interesting 2013-04-04T02:01:44 < Laurenceb_> seems feasible using F4 timers 2013-04-04T02:01:51 -!- DaKu is now known as daku 2013-04-04T02:02:14 < sterna1> actually not 2013-04-04T02:02:17 < sterna1> they only run at up to 168MHz 2013-04-04T02:02:25 < Laurenceb_> thats 40cm 2013-04-04T02:02:33 < gxti> integrating or vernier TDC can do hundreds of picoseconds easily 2013-04-04T02:02:34 < Laurenceb_> with some noise itll work fine 2013-04-04T02:02:48 < gxti> vernier is for FPGAs though :p 2013-04-04T02:03:11 < Laurenceb_> how does the photodiode amp work? 2013-04-04T02:03:19 < sterna1> as I said, I have a circuit that can measure times with a resolution of 45ps 2013-04-04T02:03:25 < Laurenceb_> nice 2013-04-04T02:03:33 < sterna1> the amp... 2013-04-04T02:03:35 < sterna1> not yet... 2013-04-04T02:03:44 < Laurenceb_> heh 2013-04-04T02:03:47 < sterna1> I built one using op-amps before 2013-04-04T02:03:50 < Laurenceb_> the hard part 2013-04-04T02:03:51 < sterna1> but it's so damn slow 2013-04-04T02:04:06 < Laurenceb_> ive built a "spectrometer" usinf F4 2013-04-04T02:04:13 < sterna1> so I switched to RF-amplifiers and is hoping for better result 2013-04-04T02:04:20 < Laurenceb_> but thats a rather different problem 2013-04-04T02:04:27 < Laurenceb_> operating at 11khz :P 2013-04-04T02:04:39 < Laurenceb_> yeah high speed photodiode amplification is a pita 2013-04-04T02:05:28 < Laurenceb_> https://github.com/Laurenceb/Chibi-Spectro/blob/master/utilities/Timer.c 2013-04-04T02:05:40 < sterna1> our measurements will probably come at 10-100kHz 2013-04-04T02:05:46 < Laurenceb_> load of slaved timers to get offset frequencies 2013-04-04T02:06:00 < Laurenceb_> this a uni project? 2013-04-04T02:06:38 < sterna1> yes 2013-04-04T02:06:42 < sterna1> my masters thesis 2013-04-04T02:06:50 < sterna1> we're supposed to be done rather soon 2013-04-04T02:06:56 < Laurenceb_> nice 2013-04-04T02:07:09 < sterna1> the gaol from the start was to build a scanning rangefinder 2013-04-04T02:07:10 < Laurenceb_> there is another way... 2013-04-04T02:07:20 < sterna1> but we're skipping the scanning part for now 2013-04-04T02:07:22 < Laurenceb_> using optical frequency chirp 2013-04-04T02:07:30 < sterna1> there are several other ways 2013-04-04T02:07:44 < Laurenceb_> if you slew the laser diode current 2013-04-04T02:07:56 < Laurenceb_> you can change the frequency 2013-04-04T02:08:24 < sterna1> neither me, nor my friend whom I build the project with has much knowledge about optical stuff 2013-04-04T02:08:29 < Laurenceb_> heh 2013-04-04T02:08:37 < sterna1> our first idea was to use triangulation 2013-04-04T02:08:45 < Laurenceb_> yeah 2013-04-04T02:08:53 < Laurenceb_> not very accurate 2013-04-04T02:08:55 * Laurenceb_ zzz 2013-04-04T02:09:01 < sterna1> at close distances it can be 2013-04-04T02:09:02 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-04T02:09:03 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-04T02:09:03 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-04T02:09:34 < sterna1> but, since we found a circuit that can measure very short times at a very cheap price (about 10€) we chose time of flight 2013-04-04T02:13:28 -!- Laurenceb_ [~Laurence@host86-174-20-97.range86-174.btcentralplus.com] has quit [Ping timeout: 245 seconds] 2013-04-04T02:28:22 -!- [1]MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-04T02:30:06 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-04T02:37:21 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-04T02:57:54 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: to sleep, perchance to dream] 2013-04-04T03:00:20 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-04T03:01:26 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-04T03:04:51 -!- resset [~pillot@v194.c2.dhosting.pl] has joined ##stm32 2013-04-04T03:10:51 -!- t1memob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-04T03:13:03 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 245 seconds] 2013-04-04T03:14:07 -!- sterna1 [~Adium@dhcp-183016.eduroam.chalmers.se] has quit [Quit: Leaving.] 2013-04-04T03:21:31 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: and like that, he's gone] 2013-04-04T03:24:36 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 256 seconds] 2013-04-04T03:28:12 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-04T03:28:23 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-04T03:32:46 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-04T03:45:40 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-04T03:45:58 -!- t1memob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 245 seconds] 2013-04-04T03:47:47 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-04T03:48:01 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-04T03:50:00 -!- jef79m [~jef79m@124-149-183-64.dyn.iinet.net.au] has quit [Ping timeout: 276 seconds] 2013-04-04T03:51:04 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2013-04-04T03:51:29 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925075985.dsl.bell.ca] has joined ##stm32 2013-04-04T03:51:29 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925075985.dsl.bell.ca] has quit [Changing host] 2013-04-04T03:51:29 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-04-04T04:00:16 -!- pelrun [~James@203-206-187-234.perm.iinet.net.au] has joined ##stm32 2013-04-04T04:15:22 -!- BJfreeman [~bjfree@188.sub-75-233-107.myvzw.com] has joined ##stm32 2013-04-04T04:17:13 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: Leaving] 2013-04-04T04:19:38 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-04T04:19:38 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-04T04:19:38 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-04T04:24:29 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Client Quit] 2013-04-04T04:25:46 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-04T04:25:47 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-04T04:25:47 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-04T04:26:26 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Quit: leaving] 2013-04-04T04:26:38 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-04T04:28:31 -!- [1]MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-04T04:29:32 -!- jef79m [~jef79m@124-149-183-64.dyn.iinet.net.au] has joined ##stm32 2013-04-04T04:29:49 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-04T04:30:09 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has quit [Quit: sauce] 2013-04-04T04:40:56 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 252 seconds] 2013-04-04T04:41:09 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-04T04:51:52 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has joined ##stm32 2013-04-04T05:06:04 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-04T05:06:12 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-04T05:10:02 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-04T05:21:26 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-04T05:28:46 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-04T05:31:55 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-04T05:54:24 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-04T06:08:28 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 245 seconds] 2013-04-04T06:10:03 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-04T06:17:45 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 252 seconds] 2013-04-04T06:28:22 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-04T06:28:58 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-04T06:32:10 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-04T06:41:57 < johntramp> does STM give any indication of part lifetimes? 2013-04-04T06:45:56 -!- MrMobius [~Joey@194.176.111.28] has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Chicks dig it] 2013-04-04T06:47:34 < johntramp> zyp: you will know ;) 2013-04-04T06:54:15 < R2COM> you mean production lifetime? 2013-04-04T07:06:20 < johntramp> R2COM: yes 2013-04-04T07:06:53 < johntramp> i have been stung by using TI lm3s parts and have them go NRND on me, can i be sure this won't happen with STM too? 2013-04-04T07:10:09 < timemob> Lol I'm sure common shit like f103, 105, 107, f4 etc isn't going away 2013-04-04T07:10:33 < timemob> At least next 5 years prob more 2013-04-04T07:10:44 < johntramp> well TI gave up on their whole cortex m3 line 2013-04-04T07:10:53 < gxti> nobody can make that promise johntramp 2013-04-04T07:11:06 -!- t1memob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-04T07:11:30 < gxti> even if they did say they'd make it forever they can change their minds anyway 2013-04-04T07:12:40 < johntramp> gxti: they give it for parts which are for eg used in automotive industry 2013-04-04T07:12:51 < johntramp> and i have had it on accelerometers etc 2013-04-04T07:13:28 < t1memob> Stm isn't going away 2013-04-04T07:13:38 < gxti> practically speaking no 2013-04-04T07:13:45 < t1memob> Also they do and will have pin compatible new parts 2013-04-04T07:13:52 < johntramp> i thought the same with TI 2013-04-04T07:13:58 < gxti> but if it isn't signed in ink it don't mean shit 2013-04-04T07:14:26 < t1memob> I.e. f1 and f3 2013-04-04T07:14:40 < t1memob> Stm8 has been around for years and is used in a lot of shit 2013-04-04T07:14:46 < johntramp> yeah thats a bonus, im loking at using the f2 2013-04-04T07:15:01 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 245 seconds] 2013-04-04T07:16:50 -!- BusError [~michel@host81-152-148-34.range81-152.btcentralplus.com] has quit [Ping timeout: 258 seconds] 2013-04-04T07:16:53 < t1memob> Don't. 2013-04-04T07:17:07 -!- BusError [~michel@host81-152-148-34.range81-152.btcentralplus.com] has joined ##stm32 2013-04-04T07:17:11 < johntramp> ? 2013-04-04T07:17:47 < t1memob> While I don't see f1 or f4 going away, f2 does nothing that either can't do 2013-04-04T07:17:59 < johntramp> so you would go straight to f4? 2013-04-04T07:18:10 < t1memob> What makes you choose f2? 2013-04-04T07:18:20 -!- R2COM1 [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-04T07:18:39 < t1memob> F4 or f3 or f1 depending on what you want 2013-04-04T07:18:39 < johntramp> because it does what i need 2013-04-04T07:19:01 < t1memob> Yes but the price? 2013-04-04T07:19:01 < qyx_> t1memob: have you resolved your regulator issue? 2013-04-04T07:19:31 < t1memob> Qyx nope. Its still fucked. 2013-04-04T07:19:32 < t1memob> And I'm on a plane 2013-04-04T07:19:33 < t1memob> So I am not looking at it now 2013-04-04T07:20:11 < qyx_> meh 2013-04-04T07:20:21 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 248 seconds] 2013-04-04T07:20:26 < t1memob> I'm really lost what the fuck is up. 2013-04-04T07:20:32 < johntramp> t1memob: i will have another look over the different parts. i chose the f2 because f4 was there if i needed it, but I don't need an FPU 2013-04-04T07:20:33 < qyx_> i look forward to debugging tps54160a 2013-04-04T07:20:37 < johntramp> ...yet? 2013-04-04T07:20:43 < t1memob> Either digikey sent wrong shit or its just fucked 2013-04-04T07:21:52 < t1memob> F2/f4 are fully pin compatible so ya if you can get it much cheaper go for it but I have a feeling f2 isn't so high volume for them as f1 or f4 2013-04-04T07:22:05 < t1memob> So pricing might be crappy 2013-04-04T07:26:42 < qyx_> hm, simply cannot believe in these 1.4mohm 100A mosfets 2013-04-04T07:28:02 < qyx_> can i really assume only (0.0014 * 20 * 20)W losses if switching at freq near DC? 2013-04-04T07:28:14 < qyx_> 20A i mean 2013-04-04T07:30:05 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-04T07:33:04 < t1memob> Over 9000A 2013-04-04T07:33:55 < qyx_> wat 2013-04-04T07:35:01 < t1memob> Sounds legit 2013-04-04T07:36:39 -!- R2COM1 is now known as R2COM 2013-04-04T07:37:20 < qyx_> thats only 0.56W loss, if i switch 20A @ 16V, it gives me 99.825% efficiency 2013-04-04T07:37:29 < qyx_> sounds awesome if true 2013-04-04T07:37:47 < t1memob> Sure 2013-04-04T07:38:02 < t1memob> Are you just using it as on off switch? 2013-04-04T07:38:22 < qyx_> 20-100Hz 2013-04-04T07:38:30 < qyx_> motor control, hbridge 2013-04-04T07:38:32 < t1memob> Oh 2013-04-04T07:40:53 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Ping timeout: 240 seconds] 2013-04-04T07:43:06 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2013-04-04T07:51:26 < R2COM> http://imgur.com/1Exu01m 2013-04-04T07:51:32 < R2COM> what a gay way of specifying outline... 2013-04-04T07:52:07 -!- t1memob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Quit: Bye] 2013-04-04T07:52:08 < R2COM> its like "do some math to get pitch and width of pad" lol... 2013-04-04T08:05:25 < upgrdman> just finished my stm32f0 / cc2500 spectrum analyzer :) http://www.youtube.com/watch?v=kCoucYFKTFY 2013-04-04T08:05:48 < upgrdman> well, finished the first steps. need to add waterfall mode and some other stuff 2013-04-04T08:13:51 < baird> That housemate's visitor is back from shopping.. Bags full of Pony shit he's bought from ToysRUs.. -_- 2013-04-04T08:15:53 < upgrdman> lol 2013-04-04T08:25:32 -!- baird [~cjb@ppp121-44-210-131.lns20.syd7.internode.on.net] has quit [Remote host closed the connection] 2013-04-04T08:25:53 -!- baird [~cjb@ppp121-44-210-131.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-04T08:33:59 -!- ohama [ohama@cicolina.org] has quit [Disconnected by services] 2013-04-04T08:34:19 -!- ohama [ohama@cicolina.org] has joined ##stm32 2013-04-04T08:46:17 -!- pelrun_ [~James@203-206-187-234.perm.iinet.net.au] has joined ##stm32 2013-04-04T08:49:18 -!- pelrun [~James@203-206-187-234.perm.iinet.net.au] has quit [Ping timeout: 264 seconds] 2013-04-04T08:54:21 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-04-04T09:10:30 < Tectu> morning 2013-04-04T09:12:58 < Tectu> dongs, are you there? 2013-04-04T09:13:10 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Excess Flood] 2013-04-04T09:13:23 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-04T09:17:00 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-04T09:18:34 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-04T09:22:00 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-04-04T09:27:20 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 255 seconds] 2013-04-04T09:29:19 -!- dekar__ [~dekar@212.255.250.58] has joined ##stm32 2013-04-04T09:29:19 -!- mode/##stm32 [+v dekar__] by ChanServ 2013-04-04T09:32:48 -!- dekar_ [~dekar@212.255.250.158] has quit [Read error: Operation timed out] 2013-04-04T09:52:33 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-04T09:52:58 < Robint91> does anyone know when the new STM32F429 are avaible? 2013-04-04T09:56:42 < qyx_> dont know but i want it 2013-04-04T09:56:58 < Tectu> lol 2013-04-04T09:57:12 -!- baird [~cjb@ppp121-44-210-131.lns20.syd7.internode.on.net] has quit [Ping timeout: 264 seconds] 2013-04-04T09:57:13 < timemob> Tectu wants it too 2013-04-04T09:57:20 < timemob> So he could fail 2013-04-04T09:57:37 < Tectu> also this 2013-04-04T10:04:45 -!- baird [~cjb@ppp121-44-210-131.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-04T10:16:38 -!- baird [~cjb@ppp121-44-210-131.lns20.syd7.internode.on.net] has quit [Read error: Connection reset by peer] 2013-04-04T10:22:44 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-04T10:36:53 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-04-04T10:38:06 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-04T10:38:06 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-04T10:38:06 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-04T10:38:07 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-04T10:39:13 < Tectu> timemob, how about you send me over the BMPs? 2013-04-04T10:39:34 < jpa-> use PNG, it's better 2013-04-04T10:40:04 < Tectu> -. 2013-04-04T10:40:05 < Tectu> -.-* 2013-04-04T10:41:32 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-04T10:43:14 < timemob> Lo 2013-04-04T10:47:20 < Tectu> timemob? 2013-04-04T10:50:44 -!- t1memob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-04T10:51:06 -!- ds2 [noinf@netblock-66-245-251-24.dslextreme.com] has quit [Ping timeout: 252 seconds] 2013-04-04T10:51:10 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Read error: Connection reset by peer] 2013-04-04T10:55:19 <+Steffanx> t1memob has issues with freenode Tectu or he just ignores you :) 2013-04-04T10:56:31 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2013-04-04T10:56:47 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-04-04T10:57:51 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Client Quit] 2013-04-04T10:58:15 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-04-04T11:00:18 < Tectu> no reason for the latter 2013-04-04T11:04:06 <+Steffanx> You already paid him? 2013-04-04T11:07:13 -!- t1memob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 245 seconds] 2013-04-04T11:07:25 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-04T11:07:25 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Client Quit] 2013-04-04T11:09:03 < Tectu> how am I supposed to? 2013-04-04T11:09:17 -!- Mobyfab [~Mobyfab@80.239.168.84] has joined ##stm32 2013-04-04T11:10:03 <+Steffanx> Wire transfer.. credit card 2013-04-04T11:10:27 <+Steffanx> paypal 2013-04-04T11:11:10 -!- baird [~cjb@ppp121-44-143-225.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-04T11:13:56 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [] 2013-04-04T11:14:53 * Tectu throws his credit card into the room 2013-04-04T11:18:49 <+Steffanx> make a photo of it. both sides please 2013-04-04T11:30:10 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-04-04T11:31:19 -!- sterna1 [~Adium@d83-183-118-166.cust.tele2.se] has joined ##stm32 2013-04-04T11:31:19 -!- sterna1 [~Adium@d83-183-118-166.cust.tele2.se] has quit [Client Quit] 2013-04-04T11:31:38 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Quit: Leaving] 2013-04-04T11:37:29 < Tectu> http://www.abload.de/img/creditcardztkvp.jpg 2013-04-04T11:41:56 < Tectu> Steffanx, 2013-04-04T11:44:02 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-04T11:46:38 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 252 seconds] 2013-04-04T11:50:12 < Tectu> can you configure the ADC so it triggers an interrupt when you're below a certain voltage level? 2013-04-04T11:52:28 -!- sterna1 [~Adium@d83-183-118-166.cust.tele2.se] has joined ##stm32 2013-04-04T11:52:33 <+Steffanx> analog watchdog? 2013-04-04T11:55:28 < dongs> ^ that 2013-04-04T11:55:57 < Tectu> makes sense 2013-04-04T11:56:52 <+Steffanx> meh, i failed. I should've answer: "yes" 2013-04-04T11:57:33 < Tectu> or with how-about-no-bear 2013-04-04T11:57:55 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-04T11:58:36 <+Steffanx> but it was how about yes 2013-04-04T12:00:19 < timemob> Wat 2013-04-04T12:01:31 <+Steffanx> dat 2013-04-04T12:02:41 < jpa-> too many dongs on the channel 2013-04-04T12:02:48 < Tectu> agreed 2013-04-04T12:03:01 <+Steffanx> bye jpa- 2013-04-04T12:04:06 < Tectu> that's wasn't very gentle 2013-04-04T12:05:04 <+Steffanx> Who said i'm gentle? 2013-04-04T12:06:13 < jpa-> Steffanx: you'll have to kick me out 2013-04-04T12:06:48 <+Steffanx> I won't. That who proof your point 2013-04-04T12:06:53 <+Steffanx> *would 2013-04-04T12:06:53 <+Steffanx> lol 2013-04-04T12:07:01 < Mobyfab> Morning 2013-04-04T12:07:07 <+Steffanx> Lo 2013-04-04T12:07:10 * jpa- jabs Steffanx for bad grammar 2013-04-04T12:07:14 < timemob> Lolll 2013-04-04T12:07:45 <+Steffanx> What's new jpa- ? 2013-04-04T12:08:16 < jpa-> i have to move my connector by 1 cm and kicad doesn't have any neat way to move a bus 2013-04-04T12:08:53 <+Steffanx> Is kicad laggish there too? 2013-04-04T12:08:58 <+Steffanx> Or is that just kicad on os x? 2013-04-04T12:08:58 < jpa-> nope 2013-04-04T12:09:06 < jpa-> very fast 2013-04-04T12:09:31 <+Steffanx> Here it's like it's ~5fps or maybe 10-15 2013-04-04T12:09:38 <+Steffanx> which is annoyingly slow 2013-04-04T12:12:09 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-04T12:12:32 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-04-04T12:14:34 < jpa-> hmm i should buy new pants 2013-04-04T12:14:52 <+Steffanx> Someone scared you? 2013-04-04T12:15:05 <+Steffanx> Really.. WTF we discuss in thsi channel 2013-04-04T12:15:36 < jpa-> stm32 microcontrollers and related hi-tech stuff 2013-04-04T12:15:39 < jpa-> such as my pants 2013-04-04T12:20:10 -!- BJfreeman [~bjfree@188.sub-75-233-107.myvzw.com] has quit [Quit: had a good time] 2013-04-04T12:20:27 <+Steffanx> At least mr freeman had a good time 2013-04-04T12:20:51 < jpa-> blowjobfreeman? 2013-04-04T12:21:09 <+Steffanx> Are you on drugs? Alcohol? 2013-04-04T12:21:15 <+Steffanx> or just being bored? Annoying? 2013-04-04T12:21:22 < jpa-> vacation 2013-04-04T12:21:27 <+Steffanx> Ah, bored 2013-04-04T12:21:59 <+Steffanx> Didn't you went/go to germany? 2013-04-04T12:22:05 < jpa-> saturday 2013-04-04T12:22:36 <+Steffanx> To visit Petteria A. ? 2013-04-04T12:22:48 < jpa-> huh? 2013-04-04T12:22:51 <+Steffanx> *petterinka 2013-04-04T12:22:55 <+Steffanx> You siter 2013-04-04T12:22:56 <+Steffanx> *our 2013-04-04T12:23:01 <+Steffanx> *your .. WTF keyboard 2013-04-04T12:23:06 <+Steffanx> arms and fingers 2013-04-04T12:23:28 < jpa-> that's not how names work in finnish :) 2013-04-04T12:24:23 <+Steffanx> You can't femalize a name like that? 2013-04-04T12:24:44 < jpa-> not quite.. 2013-04-04T12:25:00 <+Steffanx> You can't do it with dutchish names either. Perhaps a few. ( mine is on of those ) 2013-04-04T12:25:05 <+Steffanx> *one 2013-04-04T12:25:09 < jpa-> yes, steffie 2013-04-04T12:25:20 < jpa-> you have very feminine name 2013-04-04T12:25:27 <+Steffanx> *steffan 2013-04-04T12:26:43 < Tectu> this is getting too far 2013-04-04T12:26:45 <+Steffanx> Man, getting lost in my own code. That's not good 2013-04-04T12:27:03 < jpa-> Tectu: yes jolie, it is 2013-04-04T12:27:16 < jpa-> Steffanx: i have never seen your code :( 2013-04-04T12:27:23 <+Steffanx> You don't want to 2013-04-04T12:27:31 < jpa-> i do 2013-04-04T12:27:33 <+Steffanx> ( this is hackish python ) 2013-04-04T12:28:07 < Tectu> jpa-, in fact, my name is joel, where joelle is the correct feminal form which is widely used 2013-04-04T12:28:29 < Tectu> and both, joel and joelle get pronounced exactly the same so my ex girlfriend had the same name as I did 2013-04-04T12:28:34 <+Steffanx> this is getting too far 2013-04-04T12:29:30 < jpa-> Tectu: so while you were having sex, both of you yelled "joel!!"? 2013-04-04T12:30:01 <+Steffanx> Really jpa- . Find yourself something to do 2013-04-04T12:30:14 < jpa-> Steffanx: you can kick me :P 2013-04-04T12:30:46 < Tectu> jpa-, well, kind of, yeah 2013-04-04T12:31:06 < jpa-> lol i don't understand people who yell names 2013-04-04T12:31:17 < Tectu> that's the "kind of" - I never did it 2013-04-04T12:31:25 < Tectu> but the posibility was there, to yell my own name 2013-04-04T12:35:27 -!- Laurenceb_ [~Laurence@host86-174-20-97.range86-174.btcentralplus.com] has joined ##stm32 2013-04-04T12:37:11 < Tectu> Laurenceb_, do you yell her name when you're having sex? 2013-04-04T12:37:41 <+Steffanx> Enough is enough Tectu 2013-04-04T12:38:03 < Tectu> understood. 2013-04-04T12:39:37 < Laurenceb_> wtf 2013-04-04T12:40:12 < Laurenceb_> trollchannel 2013-04-04T12:41:32 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: to sleep, perchance to dream] 2013-04-04T12:42:18 <+Steffanx> Bye Tectu 2013-04-04T12:45:21 < Laurenceb_> heh now you upset him 2013-04-04T12:45:34 < jpa-> so why is the internet full of pictures of 3d printed dildos, but not a single photo where one is actually used? 2013-04-04T12:45:45 < Laurenceb_> Tectu is like: "why no trolling :(" 2013-04-04T12:45:55 < Tectu> jpa-, where the heck do you see pictures of 3D printed dildos 2013-04-04T12:46:01 < Laurenceb_> jpa-: cuz only single dork guys do 3d printing 2013-04-04T12:46:04 < Tectu> jpa-, also, because they are very ruff 2013-04-04T12:46:16 < Laurenceb_> eww good point 2013-04-04T12:46:43 < jpa-> Tectu: http://motherboard.vice.com/blog/scanning-the-future-of-3d-printed-sex-toys-nsfw also they have perfected smoothing technique with acetone 2013-04-04T12:47:00 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 264 seconds] 2013-04-04T12:47:19 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-04T12:47:21 -!- t1memob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-04T12:47:21 -!- t1memob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Client Quit] 2013-04-04T12:47:21 < Tectu> jpa-, that only works with ABS, most people print PLA 2013-04-04T12:47:30 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Ping timeout: 264 seconds] 2013-04-04T12:48:02 < jpa-> ah, you are an expert on the subject 2013-04-04T12:48:11 < Laurenceb_> "" artist and activist" 2013-04-04T12:48:14 < Laurenceb_> riiiggghhhhtttt 2013-04-04T13:00:36 -!- t1memob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-04T13:01:54 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 264 seconds] 2013-04-04T13:04:17 -!- sterna1 [~Adium@d83-183-118-166.cust.tele2.se] has quit [Quit: Leaving.] 2013-04-04T13:04:41 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-04T13:08:53 < Laurenceb_> http://www.bbc.co.uk/news/uk-england-lancashire-22018888 2013-04-04T13:08:55 < Laurenceb_> i lolled 2013-04-04T13:09:35 < Laurenceb_> ... on my way to jail 2013-04-04T13:29:32 -!- CRF_Peter [~Peter@dhcp-181008.eduroam.chalmers.se] has joined ##stm32 2013-04-04T13:30:56 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-04-04T13:34:24 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-04-04T13:37:10 -!- sterna1 [~Adium@dhcp-183016.eduroam.chalmers.se] has joined ##stm32 2013-04-04T13:37:21 -!- Laurenceb_ [~Laurence@host86-174-20-97.range86-174.btcentralplus.com] has quit [Ping timeout: 258 seconds] 2013-04-04T13:45:14 -!- [1]MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-04T13:47:13 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-04T13:59:26 -!- t1memob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Read error: Connection reset by peer] 2013-04-04T14:16:43 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-231-90.clienti.tiscali.it] has joined ##stm32 2013-04-04T14:19:53 -!- SuicideF1nky [~randy@185.10.51.188] has joined ##stm32 2013-04-04T14:26:32 -!- rigid [~daniel@178-26-71-67-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-04T14:28:41 -!- rigid [~daniel@178-26-71-67-dynip.superkabel.de] has joined ##stm32 2013-04-04T14:30:05 -!- Steffanx [~Steffanx@client-145-97-181-119.flexnet2.rug.nl] has joined ##stm32 2013-04-04T14:30:06 -!- Steffanx [~Steffanx@client-145-97-181-119.flexnet2.rug.nl] has quit [Changing host] 2013-04-04T14:30:06 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-04T14:30:09 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-04T14:32:53 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-04T14:37:53 < dongs> troulenceB needs to stop trolling punks and emos 2013-04-04T14:45:26 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-04T14:47:27 <+Steffanx> says the jew troller 2013-04-04T14:48:00 < Robint91> isn't dongs japanese? 2013-04-04T14:48:18 <+Steffanx> jep 2013-04-04T14:48:24 < Robint91> OH GOD 2013-04-04T14:48:25 -!- [1]MrMobius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-04T14:48:36 <+Steffanx> At least, he says he is 2013-04-04T14:48:45 < Robint91> dongs, do you molest little girls on the subway? 2013-04-04T14:49:04 <+Steffanx> He doesnt use one think 2013-04-04T14:49:08 < Tectu> Robint91, he screws up any girls 2013-04-04T14:49:18 < Robint91> http://www.cordens.be/japan/algemeen/kamikaze001.jpg <- how I picture dongs 2013-04-04T14:49:28 < Tectu> sfw? 2013-04-04T14:49:31 < Robint91> yep 2013-04-04T14:49:39 <+Steffanx> also for uni/school? 2013-04-04T14:49:43 < Robint91> yep 2013-04-04T14:49:47 < dongs> Robint91: yes 2013-04-04T14:49:47 < Tectu> yep 2013-04-04T14:49:55 <+Steffanx> dont trust Tectu 2013-04-04T14:50:01 < Tectu> Steffanx, how comes? 2013-04-04T14:50:56 <+Steffanx> dunno 2013-04-04T14:51:11 < Tectu> that makes me feel sad 2013-04-04T14:51:50 < Robint91> dongs, how is that game called in japan where someone rams his finger in someone ass? 2013-04-04T14:52:13 <+Steffanx> Robint91,.. enough is enough for you too 2013-04-04T14:52:15 < Robint91> dongs, they talked about it on our national television about crazy shit in japan 2013-04-04T14:52:26 <+Steffanx> Go talk about shit in #sparkfun 2013-04-04T14:52:28 < Robint91> Steffanx, I NEED TO KNOW 2013-04-04T14:52:41 <+Steffanx> /msg dongs [insert message] 2013-04-04T14:53:04 < Robint91> Steffanx, It was on the national television, It is accepted there 2013-04-04T14:53:05 < Tectu> I bet dongs just got a [how is the game called...] 2013-04-04T14:53:17 < Tectu> [x] we are not the national television 2013-04-04T14:54:39 < Robint91> FOUND IT 2013-04-04T14:54:43 -!- MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-04T14:54:44 < Robint91> http://en.wikipedia.org/wiki/Kancho 2013-04-04T14:54:51 < Robint91> Kancho 2013-04-04T14:54:59 < Tectu> I'm offended by the links posted in this channel 2013-04-04T14:55:19 <+Steffanx> Yeah, we should really try to get this channel more serious 2013-04-04T14:55:20 < Tectu> Robint91, it says "attempting" there... where's all the fun? 2013-04-04T14:55:28 < Tectu> Steffanx, I agree 2013-04-04T14:55:55 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-04T14:57:24 < Robint91> NO POSSIBLE 2013-04-04T14:57:28 < Robint91> but 2013-04-04T14:57:33 < Tectu> butt* 2013-04-04T14:57:46 < Robint91> what what in da butt? 2013-04-04T14:57:57 < Tectu> o.O 2013-04-04T14:58:01 < Robint91> okay, we need to change the topic here 2013-04-04T14:58:02 < Tectu> can you please leave this channel? 2013-04-04T14:59:09 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 252 seconds] 2013-04-04T14:59:57 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-04T15:12:24 < Robint91> mhh 2013-04-04T15:12:36 < Robint91> the XIP linux kernel is about 450kb large 2013-04-04T15:12:43 < Robint91> for a STM32F4 2013-04-04T15:34:22 < Tectu> so it will fit 2013-04-04T15:39:32 < Mobyfab> it must be super slow on a F4 2013-04-04T15:39:50 < Tectu> what does XIP stand for? 2013-04-04T15:40:00 <+Steffanx> execute in place 2013-04-04T15:40:44 < Tectu> i see 2013-04-04T15:41:02 < Fail_Academy> its funny 2013-04-04T15:41:13 < Fail_Academy> cuz dongs is a jewish american 2013-04-04T15:41:26 <+Steffanx> no one cares 2013-04-04T15:45:02 < Fail_Academy> lol @ kancho 2013-04-04T15:45:13 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-04T15:45:23 -!- pelrun_ [~James@203-206-187-234.perm.iinet.net.au] has quit [Ping timeout: 240 seconds] 2013-04-04T15:46:01 < Robint91> Tectu, Mobyfab this makes kernel calls quiet fast 2013-04-04T15:46:13 < Robint91> things like filesystem/networking 2013-04-04T15:46:18 < Fail_Academy> wait wut 2013-04-04T15:46:19 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-04T15:46:25 < Fail_Academy> you have actually compiled it? 2013-04-04T15:46:29 < Robint91> you don't really need to cache that shit 2013-04-04T15:46:35 < Robint91> Fail_Academy, I'm doing that 2013-04-04T15:46:39 < Mobyfab> ok 2013-04-04T15:46:42 < Mobyfab> well 2013-04-04T15:46:49 < Fail_Academy> epicness 2013-04-04T15:46:58 < Fail_Academy> according to st forum it does wotk 2013-04-04T15:47:04 < Mobyfab> with the new F4 with DDR controller it will probably be better 2013-04-04T15:47:09 < Fail_Academy> but no one has documented it 2013-04-04T15:47:10 < Tectu> Robint91, how hard was it to get it to work? 2013-04-04T15:47:19 < Robint91> Tectu, still compiling 2013-04-04T15:47:28 < Tectu> Fail_Academy, fail, there's an official AppNote about how to get linux running on the F4 2013-04-04T15:47:34 < Fail_Academy> sure 2013-04-04T15:47:36 < Tectu> Fail_Academy, but only for the ST board with external memory, afaik 2013-04-04T15:47:40 < Fail_Academy> but that is not XIP 2013-04-04T15:47:44 < Fail_Academy> exactly 2013-04-04T15:47:51 < Robint91> in the files of the appnote there is an image with XIP 2013-04-04T15:48:01 < Fail_Academy> oh, epic 2013-04-04T15:48:24 < Mobyfab> can you do it with a vanilla kernel ? 2013-04-04T15:48:39 < Robint91> Mobyfab, would be difficult 2013-04-04T15:48:42 < Mobyfab> or it needs a billion patches 2013-04-04T15:48:45 < Robint91> Mobyfab, it is possible 2013-04-04T15:48:53 < Robint91> Mobyfab, start from emcrafts github 2013-04-04T15:49:17 < Robint91> Mobyfab, uclinux merged with the mail kernel 2013-04-04T15:49:19 < Mobyfab> I have no interest with linux on an F4, just wondering :) 2013-04-04T15:49:55 < Fail_Academy> apparently busybox needs too much ram 2013-04-04T15:49:59 < Tectu> lol 2013-04-04T15:50:01 < Fail_Academy> so its kind of useless 2013-04-04T15:50:02 < Tectu> that was clear 2013-04-04T15:50:09 < Robint91> yeah 2013-04-04T15:50:10 < Tectu> busybox is crap 2013-04-04T15:50:16 < Fail_Academy> ... 2013-04-04T15:50:21 < Robint91> but if someone make a lightweight busybox 2013-04-04T15:50:22 < Fail_Academy> and alternatives are? 2013-04-04T15:50:22 < Mobyfab> nop it's really useful 2013-04-04T15:50:44 < Fail_Academy> yeah on ST forum there was a discussion about lightweight busybox 2013-04-04T15:50:45 < Mobyfab> busybox is already lightweight 2013-04-04T15:50:47 < Mobyfab> it's just 2013-04-04T15:51:00 < Mobyfab> linux is too much for an MCU 2013-04-04T15:51:01 < Fail_Academy> couldnt find any attempts at improving things tho 2013-04-04T15:51:20 < Fail_Academy> actually aiui XIP linux is quite compact 2013-04-04T15:51:25 < Robint91> I don't care about busybox with the sdram mem F4 2013-04-04T15:51:39 < Robint91> you don't always need the utilities 2013-04-04T15:51:40 < Fail_Academy> busybox was eating all the ram 2013-04-04T15:52:00 < Robint91> and waiting a instant to run "LS" isn't that bad 2013-04-04T15:52:06 < Robint91> Fail_Academy, yeah 2013-04-04T15:52:16 < karlp> there's toybox if you don't like busybox 2013-04-04T15:52:19 < Robint91> Fail_Academy, running linux is quiet easy 2013-04-04T15:54:08 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 252 seconds] 2013-04-04T15:54:46 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-04T15:55:16 -!- MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-04T15:55:38 < Robint91> karlp, If I remember busybox needs something like 600kb flash 2013-04-04T15:55:51 < Robint91> the problem is that busybox is a single executable 2013-04-04T15:56:02 < Robint91> so it loades the whol 600kb in flash 2013-04-04T15:56:05 < Robint91> *ram 2013-04-04T15:56:43 < Robint91> but I'm thinking to contact emcraft for some more information 2013-04-04T15:57:03 < Robint91> the F4 with sdram make I think a nice platfrom to run linux on for small applications 2013-04-04T15:57:34 < Robint91> you can't beat the network stack and filesystem epicness of it 2013-04-04T15:58:52 < Fail_Academy> annoyingly sdram is quite power hungry 2013-04-04T15:59:00 < Robint91> I wouldn't use U-boot 2013-04-04T15:59:05 < Robint91> with a XIP kernel 2013-04-04T15:59:07 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-04T15:59:15 < Robint91> only a small bootstrap program 2013-04-04T15:59:29 < Robint91> Fail_Academy, is it? 2013-04-04T15:59:42 < Fail_Academy> tens of ma 2013-04-04T15:59:58 < Fail_Academy> you could run the F4 at about 50ma 2013-04-04T16:01:28 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-04T16:01:31 < Tectu> Fail_Academy, use FRAM instead 2013-04-04T16:01:48 < Tectu> Fail_Academy, with 50mA, you don't do much anymore 2013-04-04T16:01:48 < Robint91> Fail_Academy, but still maybe 75mA total 2013-04-04T16:02:08 < Robint91> Fail_Academy, which isn't much for a system running the linux kernel 2013-04-04T16:02:25 < Fail_Academy> my gumstix is like 90ma 2013-04-04T16:02:42 < Fail_Academy> with ancient xscale 2013-04-04T16:02:52 < Fail_Academy> at 112mhz 2013-04-04T16:04:09 < jpa-> isn't F4 more like 100mA already by itself? 2013-04-04T16:04:39 < Fail_Academy> only with all peripherals clocked to the max 2013-04-04T16:04:44 < Robint91> http://www.coremark.org/benchmark/index.php?pg=benchmark 2013-04-04T16:05:51 < Tectu> jpa-, I think the same, yes 2013-04-04T16:07:33 < Fail_Academy> hahaha 2013-04-04T16:07:44 < Fail_Academy> xmega has lowest coremark 2013-04-04T16:08:01 < Fail_Academy> but pic18f is the worse :P 2013-04-04T16:08:21 < Fail_Academy> Microchip PIC18F97J60 41.67 MPLAB C18 v3.33 41.67 0.03 1.28 2013-04-04T16:08:24 < Fail_Academy> fail 2013-04-04T16:09:44 < Robint91> Fail_Academy, http://en.wikipedia.org/wiki/AMD_K6-2 an F4 is twice as fast as a pentium 2 like CPU 2013-04-04T16:11:23 < Fail_Academy> Atmel AP7000 150 GCC4.3.3 150 2.13 319.95 319.95 2013-04-04T16:11:39 < Fail_Academy> interesting - i had python and a webserver running on one of those 2013-04-04T16:13:52 <+Steffanx> everyone had 2013-04-04T16:15:24 < Robint91> I wouldn't say that running uclinux on a F4 with SDRAM is a waste, if you can run the kernel and some other tools from flash it can be VERY FAST 2013-04-04T16:15:41 < Robint91> like 2013-04-04T16:15:52 < Mobyfab> Funny, an exynos 4412 has the same coremark as an i5-2400 (but 4 cores vs 2) 2013-04-04T16:15:52 < Robint91> 16kiB bootloader 2013-04-04T16:16:02 < Fail_Academy> faster than early power pc or sparc 2013-04-04T16:16:08 < Robint91> 512 kiB XIP kernel 2013-04-04T16:16:20 < Robint91> the other as romfs 2013-04-04T16:16:33 < Robint91> for busybox/things that need to run fast 2013-04-04T16:16:53 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 240 seconds] 2013-04-04T16:17:08 < donigs> http://i.imgur.com/DnDVszZ.gif 2013-04-04T16:17:30 < Fail_Academy> lol 2013-04-04T16:17:50 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-04T16:18:42 < inca> dongs! 2013-04-04T16:20:26 < donigs> fucking dongs 2013-04-04T16:24:01 < Mobyfab> xD 2013-04-04T16:47:34 < Tectu> dangs! 2013-04-04T16:47:36 -!- [1]MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-04T16:48:28 -!- MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-04T16:50:05 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-04T16:53:05 -!- daku is now known as DaKu 2013-04-04T16:59:53 < Fail_Academy> airborne fail in progress https://groups.google.com/forum/?fromgroups=#!topic/ukhas/k2yFPOHK-50 2013-04-04T17:02:53 < dongs> loll 2013-04-04T17:03:14 < dongs> xbee pro??? 2013-04-04T17:04:09 < inca> hey dongs! did that switcher ever swing right for you? 2013-04-04T17:04:20 < donigs> no 2013-04-04T17:04:23 < donigs> im making a new pcb 2013-04-04T17:04:29 < donigs> and gonna panel tomrorws order 2013-04-04T17:04:34 < donigs> just the switcher 2013-04-04T17:04:36 < donigs> with some testpoints and shit 2013-04-04T17:04:40 < donigs> that fucker will fucking win 2013-04-04T17:04:42 < inca> right 2013-04-04T17:04:43 < donigs> or im going to rage 2013-04-04T17:04:46 < inca> =) 2013-04-04T17:05:00 < gxti> ^ every switcher i've built so far 2013-04-04T17:05:32 < donigs> gxti: caused you rage? or you prototyped on separate board 2013-04-04T17:05:49 < gxti> win or rage 2013-04-04T17:05:52 < Tectu> lol 2013-04-04T17:05:53 < donigs> right 2013-04-04T17:05:57 < donigs> im sure Tectu will agree 2013-04-04T17:06:03 < donigs> tectu just uses LM7805 tho 2013-04-04T17:06:07 < donigs> in TO220 2013-04-04T17:06:13 < gxti> so far i have not resorted to using separate boards although i've come close 2013-04-04T17:06:31 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 2013-04-04T17:06:33 < Tectu> switchers can be a pain in the ass 2013-04-04T17:06:34 < gxti> not counting one thing i deliberately made as a module, which vastly underperformed compared to a cheaper module i can buy from digikey 2013-04-04T17:06:40 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-04T17:06:44 < gxti> just for the lulz 2013-04-04T17:07:39 < gxti> now i want to experiment with isolating switchers just to get a feel for how they work 2013-04-04T17:07:53 < Fail_Academy> ill get my lulz from watching the xbee pro die at about 100m altitude 2013-04-04T17:08:09 < donigs> my general rule on switchers if it needs more than like 3 external components not including filter caps, its garbage 2013-04-04T17:08:12 < Tectu> Fail_Academy, what do they want to do 2013-04-04T17:09:26 < donigs> they want to fail 2013-04-04T17:09:27 < donigs> in the air 2013-04-04T17:09:29 < donigs> using failbee 2013-04-04T17:09:52 < inca> why did it fail? 2013-04-04T17:10:01 < donigs> it hasnt yet 2013-04-04T17:10:02 < donigs> it will 2013-04-04T17:10:24 < inca> what would be the nature if it's failness 2013-04-04T17:11:35 -!- a2cypher [~cypher@mail.krausglobal.com] has joined ##stm32 2013-04-04T17:11:38 < Fail_Academy> no signal 2013-04-04T17:12:08 < inca> power 2013-04-04T17:12:30 < inca> what would be more appropriate? 2013-04-04T17:14:05 * inca knows nothing of the bees 2013-04-04T17:14:27 < Fail_Academy> si4432/rfm22b is whats typicvally used 2013-04-04T17:14:42 < inca> except that they are simpler and cheaper than bluetooth, typically 2013-04-04T17:18:25 -!- alexn [~alexn@93.104.205.194] has quit [Quit: Leaving] 2013-04-04T17:19:22 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2013-04-04T17:22:03 < karlp> Fail_Academy: is it really fail fail, or just, "lol they used not the same things as me, losers" ? 2013-04-04T17:22:42 < Fail_Academy> no it will fail epically 2013-04-04T17:23:47 < karlp> are you going to say anything useful, or just "fail, hahaha" ? 2013-04-04T17:23:56 < karlp> why will it fail at 100m? 2013-04-04T17:24:36 < Fail_Academy> ok it wont be that bad 2013-04-04T17:24:45 < Fail_Academy> but the range is very limited 2013-04-04T17:24:53 < zyp> donigs, lcd received 2013-04-04T17:25:04 < Fail_Academy> stuff like si4432 you can lower the data rate and stick a yagi and lna on there 2013-04-04T17:25:37 < dongs> cool 2013-04-04T17:29:25 < karlp> xbee pro's can get antennas, but not the LNA right? 2013-04-04T17:29:47 < karlp> how much worse is it really going to be? 2013-04-04T17:30:07 < karlp> pretty sure you can do different rates on xbees too, 2013-04-04T17:30:08 < Fail_Academy> it doesnt scale to low baud rate, long range 2013-04-04T17:30:20 < Fail_Academy> people have had 800Km with si4432 2013-04-04T17:30:23 < karlp> they're not just a serial port, you can use them in other modes. 2013-04-04T17:30:31 < karlp> ok, 800km is cool 2013-04-04T17:30:58 < Robint91> Fail_Academy, balloons? 2013-04-04T17:30:59 < karlp> digi claims 80km, 2013-04-04T17:31:03 < Fail_Academy> yes 2013-04-04T17:31:20 < karlp> which should still be fine if they drive with it right? 2013-04-04T17:31:36 < karlp> I mean, maybe not the best choice ever, but hardly outright fail? 2013-04-04T17:31:37 < Robint91> I can get easy 800km on 430Mhz terrestrial 2013-04-04T17:31:45 < Robint91> without balloon 2013-04-04T17:31:50 * karlp shrugs 2013-04-04T17:31:52 < Robint91> but wil some yagi's and enough power 2013-04-04T17:33:00 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-04T17:34:45 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 248 seconds] 2013-04-04T17:35:41 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-04T17:43:27 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2013-04-04T17:45:39 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-04T17:48:45 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-04T17:50:22 < Fail_Academy> http://spacenear.us/tracker/ 2013-04-04T17:50:27 < Fail_Academy> one in flight atm 2013-04-04T17:50:28 < dongs> did fail launch launched 2013-04-04T17:50:35 < Fail_Academy> nope 2013-04-04T17:50:44 < Fail_Academy> as position is updating 2013-04-04T17:51:08 < Robint91> karlp, 852km from belgium to norway, on 432Mhz with 5Watt of power 2013-04-04T17:51:47 < BrainDamage> xbee are too high freq 2013-04-04T17:52:03 < BrainDamage> you get plenty of atmospheric absroption/scattering 2013-04-04T17:52:16 < BrainDamage> plus too high data rate 2013-04-04T17:52:33 < Robint91> BrainDamage, mhh I know peeps wo get around 500km on 2.4GHz 2013-04-04T17:52:49 < Robint91> even on 10Ghz you can make those distances 2013-04-04T17:52:51 < BrainDamage> with 100mW? link 2013-04-04T17:52:59 < Robint91> BrainDamage, a bit more 2013-04-04T17:53:03 < Robint91> like 10W 2013-04-04T17:53:04 < Mobyfab> you'd need a lot of power 2013-04-04T17:53:15 < Robint91> 10W is nothing 2013-04-04T17:53:38 < BrainDamage> 10W is a lot for a battery operated device 2013-04-04T17:53:40 < Mobyfab> depends where you put it 2013-04-04T17:53:46 < zyp> 10W is 100 times the allowed limit 2013-04-04T17:53:48 < BrainDamage> it's also illegal on 2.4 GHz in many countries 2013-04-04T17:54:04 < Mobyfab> yeah max is like 50mw 2013-04-04T17:54:04 * Robint91 has a 250W amp for 430Mhz 2013-04-04T17:54:06 < Robint91> and 15W for 2.4Ghz 2013-04-04T17:54:14 < BrainDamage> 100mW in EU 2013-04-04T17:54:21 < Mobyfab> Robint91: can it cook eggs ? 2013-04-04T17:54:23 < BrainDamage> @ 2.5GHz 2013-04-04T17:54:28 < BrainDamage> 2.4* 2013-04-04T17:54:33 < Robint91> Mobyfab, nope 2013-04-04T17:54:36 < zyp> BrainDamage, yep 2013-04-04T17:54:54 < Robint91> BrainDamage, I'm a license ham radio operator 2013-04-04T17:55:12 < Robint91> BrainDamage, I think the maximum that I can output on 2.4GHz is 1kW 2013-04-04T17:55:14 < BrainDamage> does your license allow to use arbitrary power in ISM bands? 2013-04-04T17:55:19 < Robint91> but I need to look that up 2013-04-04T17:55:41 < BrainDamage> that sounds a bit implausible 2013-04-04T17:55:54 < BrainDamage> you could fry all AP within several km with a directive antenna 2013-04-04T17:56:13 < Robint91> BrainDamage, I code 2013-04-04T17:56:28 < BrainDamage> what? 2013-04-04T17:56:40 < Robint91> *I could do that 2013-04-04T17:57:49 < Robint91> BrainDamage, I'm licenced for 2300-2450 MHz on the 2.4GHz range 2013-04-04T17:58:09 < BrainDamage> for 1kW EIRP? 2013-04-04T17:58:31 < BrainDamage> if so, then your code is ridicolous 2013-04-04T17:58:41 < BrainDamage> as in legislation 2013-04-04T17:58:46 < Robint91> BrainDamage, not EIRP 2013-04-04T17:58:58 < Robint91> BrainDamage, AMPLIFIER OUTPUT 2013-04-04T17:59:02 < BrainDamage> ... 2013-04-04T17:59:17 < Robint91> BrainDamage, we can use a 30dbi dish 2013-04-04T17:59:21 < Robint91> with 1kW output 2013-04-04T17:59:21 < dongs> TWTA 2013-04-04T17:59:27 < Robint91> no problem 2013-04-04T17:59:30 < dongs> ^ 2013-04-04T17:59:30 < Robint91> perfectly legal 2013-04-04T17:59:41 < zyp> sounds like a load of shit 2013-04-04T18:00:48 < zyp> I mean, you are describing a 1MW EIRP setup 2013-04-04T18:00:54 < Robint91> zyp, never heard of moonbounce 2013-04-04T18:01:19 < Robint91> zyp, where amateur radio operators aim a bazillion watts to the moon 2013-04-04T18:01:29 < Robint91> and recieve a week echo? 2013-04-04T18:02:27 < zyp> yeah, so clearly you are allowed to aim a bazillion watts in any direction 2013-04-04T18:02:32 < Robint91> http://www.on7un.net/search.htm 2013-04-04T18:02:44 < Robint91> These days surplus amplifiers used for commercial voice and data communications start to appear. I acquired four Spectrian amplifiers designed for 2,3 GHz. These amplifiers have been used for cellular and PCS base stations. These amplifiers deliver 200 - 250 W of RF power on 13 cm. I found 4 units i will combine together, to have around 800 W of RF power on 13. 2013-04-04T18:02:55 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-04T18:03:07 * dongs calls FCC + FBI 2013-04-04T18:03:33 < Robint91> it is legal 2013-04-04T18:07:09 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-04T18:08:16 < Fail_Academy> http://www.yourmumlovesyou.com/#/about.aspx 2013-04-04T18:12:53 < Bird|lappy> yeah, people forget that 2.4GHz is (IIRC) co-primary allocated to the Amateur Service (along with the Radiolocation Service) 2013-04-04T18:16:23 < karlp> only another 25 years and we can stop caring about what hams think. 2013-04-04T18:16:31 < karlp> they'll have all died by then 2013-04-04T18:17:29 < emeb> Harsh! 2013-04-04T18:18:00 < Robint91> I feel offended 2013-04-04T18:19:42 < dongs> hamfags 2013-04-04T18:23:01 < BrainDamage> too bad, we could redirect ardutards to hamfags, it's like pairing your 80yo grandpay with the 10yo whiny kid 2013-04-04T18:24:22 < emeb> hilarity ensues 2013-04-04T18:24:42 < Robint91> and what are you then 2013-04-04T18:25:07 < gxti> hey everybody, Robint91 is offended! 2013-04-04T18:25:12 < gxti> let's laugh at him 2013-04-04T18:25:19 < emeb> haha 2013-04-04T18:25:26 < Robint91> the superior master baremetal/chibios mcu race? 2013-04-04T18:26:22 -!- DaKu is now known as daku 2013-04-04T18:28:03 < Robint91> let's all circle jerk on chibios because it is so great 2013-04-04T18:28:16 < Robint91> and supress the minorities 2013-04-04T18:28:26 < Robint91> ##stm32 seems the look like nazi germany 2013-04-04T18:28:35 < dongs> haha 2013-04-04T18:28:36 < Robint91> and I dib goodwins law 2013-04-04T18:28:40 < dongs> i hate chibios 2013-04-04T18:28:45 < dongs> useless shit only Tectu uses 2013-04-04T18:28:46 < gxti> no you didn't, because you were doing it on purpose 2013-04-04T18:29:03 < Robint91> gxti, point still valid 2013-04-04T18:29:40 < gxti> dongs: no, it's useless shit that i use too 2013-04-04T18:29:46 < gxti> too lazy to port right now 2013-04-04T18:29:54 < Robint91> gxti, it is like mosty communities don't have respect to other groups 2013-04-04T18:30:16 < Robint91> who here hates the arduino and there users? 2013-04-04T18:30:37 < gxti> where users? 2013-04-04T18:30:49 < dongs> whats tarduino 2013-04-04T18:41:18 < Tectu> [Thu April 04 2013 17:28:45]: dongs (~dongs@l212168.ppp.asahi-net.or.jp) (##stm32): useless shit only Tectu uses 2013-04-04T18:41:23 < Tectu> what was this about? 2013-04-04T18:42:04 < inca> Tectu: by definition? Trolling. 2013-04-04T18:42:25 < Tectu> inca, that was the clear point ;) 2013-04-04T18:42:59 < inca> what I don't get is why, in 2013, it still works on the interwebs 2013-04-04T18:43:06 < Tectu> I mean "that was the obvious point" 2013-04-04T18:43:25 < inca> http://xkcd.com/386/ 2013-04-04T18:44:16 < inca> Tectu: word. The entirety of context is, really, just a successful trolling… 2013-04-04T18:44:19 < inca> Someone cares 2013-04-04T18:45:45 < Tectu> I'd do the same 2013-04-04T18:45:49 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-04T18:46:28 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-04T18:47:27 < inca> Tectu: Openly admit caring about something? That's dangerous… especially around nihilists 2013-04-04T18:48:25 -!- ds2 [noinf@netblock-66-245-251-24.dslextreme.com] has joined ##stm32 2013-04-04T18:49:23 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-04T18:50:33 -!- olasd [~olasd@pdpc/supporter/active/olasd] has quit [Quit: leaving] 2013-04-04T18:50:42 -!- olasd [~olasd@pdpc/supporter/active/olasd] has joined ##stm32 2013-04-04T19:14:06 -!- claude is now known as Claude 2013-04-04T19:14:35 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-04-04T19:17:53 -!- ohama [ohama@cicolina.org] has quit [Ping timeout: 240 seconds] 2013-04-04T19:22:55 -!- BJfreeman [~bjfree@225.sub-75-233-98.myvzw.com] has joined ##stm32 2013-04-04T19:23:46 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-04T19:23:47 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-04T19:23:47 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-04T19:23:50 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-04T19:35:33 < Tectu> how does one estimate or calculate a proper PWM frequency for the backlight of a display? 2013-04-04T19:35:51 <+Steffanx> Trial and error? 2013-04-04T19:37:16 < Fail_Academy> prayer? 2013-04-04T19:37:43 <+Steffanx> And of course one hight enough so you don't see it blink. So > [hertz one can see] ? 2013-04-04T19:37:49 <+Steffanx> Dunno what freq. humans can see 2013-04-04T19:38:02 <+Steffanx> *high 2013-04-04T19:38:40 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-231-90.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2013-04-04T19:39:45 < inca> Tecu: Based on the lowest dimming you wish to allow 2013-04-04T19:40:18 < inca> Tectu, the lowest dimming from full power determines PWM frequency 2013-04-04T19:41:36 < Tectu> inca, makes sense - thanks! 2013-04-04T19:41:40 < inca> np 2013-04-04T19:41:52 <+Steffanx> Apple terribly failed at it. So I guess isn't that that easy at all Tectu :P 2013-04-04T19:42:16 <+Steffanx> I ( and dekar__ iirc ) can see the backlight of the keyboard of a macbook pro blink :S 2013-04-04T19:42:24 <+Steffanx> *dekar too 2013-04-04T19:42:26 < inca> I'm looking at a CrossStudio thing that does something neat 2013-04-04T19:42:34 < inca> with blinky 2013-04-04T19:43:44 < inca> so switch the output ridiculously fast, and then change PWM size based on the transition length 2013-04-04T19:44:00 < Tectu> Steffanx, lol 2013-04-04T19:44:12 < inca> cute 2013-04-04T19:44:32 <+Steffanx> Not really. It 2013-04-04T19:44:41 <+Steffanx> 's so annoying that I cant use it 2013-04-04T19:44:54 <+Steffanx> as in.. never ever have the backlight on 2013-04-04T19:45:06 < inca> Steffanx: turn the brightness up 2013-04-04T19:45:13 <+Steffanx> Doesnt help 2013-04-04T19:45:46 < inca> are you strobing it with 50 Hz fluorescents or LEDs or something? 2013-04-04T19:45:47 <+Steffanx> Should try to measure the freq. once 2013-04-04T19:46:03 -!- MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-04T19:46:04 <+Steffanx> Doing nothing special. Just moving my eyes 2013-04-04T19:46:15 < qyx_> why should pwm freq depend on brightness? 2013-04-04T19:46:16 < inca> well… that is a strobe of sorts 2013-04-04T19:46:20 < inca> any CRTs around? 2013-04-04T19:46:33 <+Steffanx> Not anymore inca 2013-04-04T19:46:45 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-04T19:46:50 < inca> qyx_: minimum brightness via PWM is the flickery-est 2013-04-04T19:47:31 < Fail_Academy> if go for a few KHz 2013-04-04T19:47:32 < inca> max brightness is usually full on.. thus should have only the ripple of PS to worry about at that point 2013-04-04T19:47:35 < Fail_Academy> *i'd 2013-04-04T19:47:53 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 240 seconds] 2013-04-04T19:47:57 < Fail_Academy> then theres no risk of flickering if you more your eyes around 2013-04-04T19:48:05 <+Steffanx> *move 2013-04-04T19:51:45 < inca> Fail_Academy: It completely depends on how dim you want it… if you need 1 or 0.1% of full brightness, you may need to switch surprisingly fast to kill the flicker. I blame diodes and their nonlinear circuit-elementness. 2013-04-04T19:54:19 < jpa-> Tectu: most laptops seem to be around 1-2kHz.. some crappy displays use down to 200Hz, but that is starting to get visible when moving your head 2013-04-04T19:54:54 < Tectu> jpa-, thanks for the info. When I go below 100kHz, some coils start to sing on this board >.< 2013-04-04T19:55:00 <+Steffanx> heh 2013-04-04T19:55:05 < Tectu> quite annyoing 2013-04-04T19:58:01 <+Steffanx> You know, my mouse does that all the time. Tried to track the coil, but i was unable to locate it :( 2013-04-04T19:58:21 <+Steffanx> It sucks when two boards are soldered together using headers 2013-04-04T19:58:22 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-231-90.clienti.tiscali.it] has joined ##stm32 2013-04-04T19:58:38 < Tectu> what the hack's your mouse? 2013-04-04T19:59:17 <+Steffanx> logitech something 2013-04-04T20:01:12 < Tectu> swiss crap 2013-04-04T20:08:25 < Mobyfab> lol 2013-04-04T20:23:45 -!- Claude is now known as claude 2013-04-04T20:23:52 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Ping timeout: 260 seconds] 2013-04-04T20:26:24 -!- barthess [~barthess@178.154.62.7] has joined ##stm32 2013-04-04T20:29:12 <+dekar__> PWM flicker sucks, my DLP projector does RBE as well :/ 2013-04-04T20:30:25 <+Steffanx> RBE is what? 2013-04-04T20:30:40 <+dekar__> rainbow effect 2013-04-04T20:31:11 <+dekar__> http://commons.wikimedia.org/wiki/File:DLP_rainbow_effect.JPG 2013-04-04T20:31:26 <+Steffanx> Oh, yeah. I like that. 2013-04-04T20:32:11 <+dekar__> it doesn't bother me too much, but I'd rather have better technology getting rid of it 2013-04-04T20:32:17 <+Steffanx> Some cheap-ish beamers seem have it as well 2013-04-04T20:32:39 <+Steffanx> Especially with gray-ish moving parts 2013-04-04T20:32:48 <+dekar__> beamers? 2013-04-04T20:32:57 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-231-90.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-04-04T20:32:57 <+dekar__> I thought that was a German word. 2013-04-04T20:33:07 <+Steffanx> oh, that's not english word lol 2013-04-04T20:33:13 <+Steffanx> fail 2013-04-04T20:33:29 <+dekar__> People say beamer in German as well though :) 2013-04-04T20:33:32 <+Steffanx> You where talking about one lol 2013-04-04T20:33:38 <+Steffanx> *were 2013-04-04T20:34:01 <+dekar__> Indeed 2013-04-04T20:34:40 <+dekar__> Pseudo anglicisms are the worst :/ 2013-04-04T20:34:44 <+Steffanx> oh, wikipedia agrees you also use that word 2013-04-04T20:34:47 -!- ohama [ohama@cicolina.org] has joined ##stm32 2013-04-04T20:35:29 <+dekar__> In German as cell phone is a "Handy" 2013-04-04T20:36:07 <+dekar__> Marketing are having way too much fun 2013-04-04T20:37:00 <+dekar__> Also the rainbow effect isn't about cheap vs expensive projectors, rather DLP vs LCD ones 2013-04-04T20:37:42 <+dekar__> All single chip DLP projectors are affected, it just depends on the speed of the color wheel 2013-04-04T20:38:03 <+dekar__> The faster they spin, the less noticeable it is 2013-04-04T20:40:37 < Tectu> Im switzerland, a cell phone is a "Natel" 2013-04-04T20:40:52 < Tectu> http://en.wikipedia.org/wiki/Natel 2013-04-04T20:42:35 <+dekar__> That's far better than Handy, Germans usually assume Handy was an English word :( 2013-04-04T20:43:42 < Tectu> well, "handy" is becomming popular here as well 2013-04-04T20:45:58 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-231-90.clienti.tiscali.it] has joined ##stm32 2013-04-04T20:47:20 -!- MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-04T20:48:00 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-04T20:52:23 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-04T21:07:07 -!- Steffann [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-04T21:07:07 -!- Steffann [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-04T21:07:07 -!- Steffann [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-04T21:07:09 -!- mode/##stm32 [+v Steffann] by ChanServ 2013-04-04T21:08:28 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Read error: Operation timed out] 2013-04-04T21:09:01 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Read error: Operation timed out] 2013-04-04T21:37:55 < jpa-> cooking with jpa: radio transmitter and cable spaghetti http://kapsi.fi/~jpa/stuff/pix/P4040154.JPG 2013-04-04T21:38:45 -!- Mobyfab1 [~Mobyfab@lcb.netyxia.net] has joined ##stm32 2013-04-04T21:45:55 < Tectu> jpa-, windows? 2013-04-04T21:46:06 < jpa-> never 2013-04-04T21:46:26 < Tectu> aah, that's KDE 2013-04-04T21:46:26 < Tectu> sorry 2013-04-04T21:46:31 < jpa-> :) 2013-04-04T21:47:09 -!- [1]MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-04T21:47:25 < jpa-> looks like i just need a 10 kohm series resistor to fix the transistor bias and the transmitter is good for up to 125°C 2013-04-04T21:48:53 -!- ohama [ohama@cicolina.org] has quit [Ping timeout: 240 seconds] 2013-04-04T21:50:10 -!- MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-04T21:50:37 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-04T21:52:29 < Robint91> Veridis Quo ! 2013-04-04T22:01:43 -!- CRF_Peter [~Peter@dhcp-181008.eduroam.chalmers.se] has quit [Ping timeout: 246 seconds] 2013-04-04T22:01:59 -!- ohama [ohama@cicolina.org] has joined ##stm32 2013-04-04T22:11:29 -!- sterna1 [~Adium@dhcp-183016.eduroam.chalmers.se] has quit [Quit: Leaving.] 2013-04-04T22:12:58 -!- Laurenceb_ [~Laurence@host86-174-20-97.range86-174.btcentralplus.com] has joined ##stm32 2013-04-04T22:32:20 -!- zlog [~zlog@ip68-102-194-208.ks.ok.cox.net] has quit [Read error: Operation timed out] 2013-04-04T22:32:51 -!- daku is now known as DaKu 2013-04-04T22:35:12 -!- zlog [~zlog@ip68-102-194-208.ks.ok.cox.net] has joined ##stm32 2013-04-04T22:47:25 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-04T22:50:22 -!- [1]MrMobius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-04T22:54:23 -!- sterna1 [~Adium@dhcp-202239.eduroam.chalmers.se] has joined ##stm32 2013-04-04T23:00:30 -!- zlog [~zlog@ip68-102-194-208.ks.ok.cox.net] has quit [Remote host closed the connection] 2013-04-04T23:05:17 -!- zlog [~zlog@ip68-102-194-208.ks.ok.cox.net] has joined ##stm32 2013-04-04T23:10:35 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-231-90.clienti.tiscali.it] has quit [Remote host closed the connection] 2013-04-04T23:14:53 -!- CRF_Peter [~Peter@dhcp-202013.eduroam.chalmers.se] has joined ##stm32 2013-04-04T23:24:16 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-04T23:26:23 < Laurenceb_> http://en.wikipedia.org/wiki/The_Wasp_Factory#Plot 2013-04-04T23:26:33 < Laurenceb_> hackitten? 2013-04-04T23:33:05 < baird> google image search on "acalvaria" \o/ 2013-04-04T23:37:29 <+Steffann> Laurenceb_, time to get your bullcrap out of here 2013-04-04T23:43:18 < jpa-> http://koti.kapsi.fi/jpa/stuff/pix/um_testaus3.png much better :) 2013-04-04T23:44:24 < karlp> with the series resistor? 2013-04-04T23:44:35 < karlp> cool project man. 2013-04-04T23:44:44 < karlp> you have an awesome completion rate 2013-04-04T23:45:20 < jpa-> it's not complete yet :) 2013-04-04T23:45:30 < jpa-> but yeah, the series resistor helped 2013-04-04T23:45:43 < jpa-> probably reduces the transmission power a bit, but atleast it transmits 2013-04-04T23:48:03 -!- Mobyfab1 [~Mobyfab@lcb.netyxia.net] has left ##stm32 [] 2013-04-04T23:48:52 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-04T23:49:26 -!- BJfreeman [~bjfree@225.sub-75-233-98.myvzw.com] has quit [Quit: had a good time] 2013-04-04T23:50:18 -!- sterna1 [~Adium@dhcp-202239.eduroam.chalmers.se] has quit [Ping timeout: 256 seconds] 2013-04-04T23:50:53 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-04T23:51:01 < jpa-> the transmitter schematic is like this http://mbed.org/media/uploads/4180_1/_scaled_sawschem.png had to increase R1 from 9 kohm to 20 kohm to make it work 2013-04-04T23:57:19 -!- BJfreeman [~bjfree@225.sub-75-233-98.myvzw.com] has joined ##stm32 2013-04-04T23:58:13 -!- CRF_Peter [~Peter@dhcp-202013.eduroam.chalmers.se] has quit [Ping timeout: 248 seconds] --- Day changed Fri Apr 05 2013 2013-04-05T00:04:29 -!- barthess [~barthess@178.154.62.7] has quit [Quit: Leaving.] 2013-04-05T00:05:31 -!- BJfreeman [~bjfree@225.sub-75-233-98.myvzw.com] has quit [Quit: had a good time] 2013-04-05T00:06:16 < Laurenceb_> what are you making? 2013-04-05T00:06:27 < Laurenceb_> what wut 2013-04-05T00:06:29 < Laurenceb_> rf?! 2013-04-05T00:07:02 < jpa-> wireless oven thermometer 2013-04-05T00:07:40 < Laurenceb_> ah 2013-04-05T00:07:49 < Laurenceb_> wait.. it goes inside the oven? 2013-04-05T00:07:53 < Laurenceb_> in b4 dongs 2013-04-05T00:07:59 < jpa-> (one that is really wireless, not like the ones where the transmitter is outside the oven) 2013-04-05T00:08:59 < Laurenceb_> so it goes inside the oven? 2013-04-05T00:09:04 < jpa-> yes 2013-04-05T00:09:11 < jpa-> and inside the meat also 2013-04-05T00:09:30 < jpa-> http://koti.kapsi.fi/jpa/stuff/pix/um_pcb_soldered.jpg http://koti.kapsi.fi/jpa/stuff/pix/um_pcb.jpg 2013-04-05T00:12:41 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: to sleep, perchance to dream] 2013-04-05T00:13:03 < Laurenceb_> wow 2013-04-05T00:13:07 < Laurenceb_> thats a battery? 2013-04-05T00:13:30 < jpa-> yes, BR435 2013-04-05T00:14:15 < jpa-> (specified up to +85°C, seems to work up to about 100°C) 2013-04-05T00:14:33 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [Ping timeout: 240 seconds] 2013-04-05T00:17:10 -!- dekar_ [~dekar@212.255.245.86] has joined ##stm32 2013-04-05T00:17:11 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-04-05T00:21:06 -!- dekar__ [~dekar@212.255.250.58] has quit [Ping timeout: 264 seconds] 2013-04-05T00:27:50 < Posterdati> hi 2013-04-05T00:28:37 < Posterdati> PLease help. I need to write a serial device driver over usb otg, which are the libraries to download from st? Tx 2013-04-05T00:29:36 < jpa-> should be linked from the page relevant to your device 2013-04-05T00:29:48 < jpa-> F1/L1 and F4 require different drivers 2013-04-05T00:30:16 < Posterdati> ok 2013-04-05T00:30:42 < Posterdati> I found this http://www.st.com/web/catalog/mmc/FM141/SC1169/SS1031/LN1564/PF221020# 2013-04-05T00:30:45 < Posterdati> but no cdc 2013-04-05T00:32:21 < jpa-> http://www.st.com/stonline/stappl/productcatalog/app?page=partNumberSearchPage&levelid=SS1031&parentid=1743&resourcetype=SW 2013-04-05T00:32:41 < Posterdati> ah ok 2013-04-05T00:33:38 -!- baird [~cjb@ppp121-44-143-225.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-04-05T00:33:46 < Posterdati> jpa-: which is it? 2013-04-05T00:34:46 < Posterdati> jpa: CPAL? 2013-04-05T00:34:51 < jpa-> maybe STSW-STM32046 2013-04-05T00:35:12 < jpa-> or STSW-STM32081 2013-04-05T00:35:37 < jpa-> (unrelated: http://www.st.com/web/catalog/tools/FM147/CL1794/SC961/SS1743/PF257929 i didn't know that STM32 was powerful enough to directly drive a TFT panel) 2013-04-05T00:36:18 < jpa-> (still a problem of not having enough framebuffer memory, though 2013-04-05T00:36:35 < Tectu> jpa-, they totally are 2013-04-05T00:36:40 < Tectu> jpa-, memory is the problem 2013-04-05T00:36:57 < jpa-> i wonder if they would be fast enough to render on the fly 2013-04-05T00:37:10 < jpa-> (i know, depends on "render what?") 2013-04-05T00:38:08 < Tectu> jpa-, you first need to know how to drive _your_ panel ;) 2013-04-05T00:38:32 < jpa-> yeah well mine is more difficult :P 2013-04-05T00:38:32 -!- dekar [~dekar@212.255.243.6] has joined ##stm32 2013-04-05T00:38:35 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-05T00:40:02 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-231-90.clienti.tiscali.it] has joined ##stm32 2013-04-05T00:40:37 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-231-90.clienti.tiscali.it] has quit [Client Quit] 2013-04-05T00:40:58 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-231-90.clienti.tiscali.it] has joined ##stm32 2013-04-05T00:41:17 -!- dekar_ [~dekar@212.255.245.86] has quit [Ping timeout: 256 seconds] 2013-04-05T00:41:50 -!- DaKu is now known as daku 2013-04-05T00:44:55 -!- _BJFreeman [~bjfree@225.sub-75-233-98.myvzw.com] has joined ##stm32 2013-04-05T00:46:23 -!- sterna1 [~Adium@d83-183-118-166.cust.tele2.se] has joined ##stm32 2013-04-05T00:46:33 -!- _BJFreeman [~bjfree@225.sub-75-233-98.myvzw.com] has quit [Client Quit] 2013-04-05T00:46:44 -!- _BJFreeman [~bjfree@225.sub-75-233-98.myvzw.com] has joined ##stm32 2013-04-05T00:47:02 -!- _BJFreeman [~bjfree@225.sub-75-233-98.myvzw.com] has quit [Client Quit] 2013-04-05T00:47:18 -!- _BJFreeman [~bjfree@225.sub-75-233-98.myvzw.com] has joined ##stm32 2013-04-05T00:48:35 <+Steffann> jpa-, you have to fix one thing ( in that png ) 2013-04-05T00:48:43 <+Steffann> It's celsius, not celcius 2013-04-05T00:49:24 < Posterdati> jpa-: tx 2013-04-05T00:50:09 -!- [1]MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-05T00:51:26 < Posterdati> jpa-: what is dcd driver under otg dir? 2013-04-05T00:52:10 -!- MrMobius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-05T00:55:09 < Posterdati> jpa-: can I use cdc with otg? 2013-04-05T00:58:04 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-05T01:00:11 -!- CRF_Peter [~Peter@193.11.200.145] has joined ##stm32 2013-04-05T01:08:00 -!- CRF_Peter [~Peter@193.11.200.145] has quit [Ping timeout: 252 seconds] 2013-04-05T01:10:18 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Quit: Ik ga weg] 2013-04-05T01:10:32 -!- a2cypher [~cypher@mail.krausglobal.com] has quit [Ping timeout: 255 seconds] 2013-04-05T01:19:13 -!- Steffann [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-05T01:19:42 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-231-90.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-04-05T01:22:40 < gxti> are you doing otg or are you using the otg peripheral to do normal device stuff 2013-04-05T01:36:40 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-05T01:39:56 -!- Laurenceb_ [~Laurence@host86-174-20-97.range86-174.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-05T01:50:04 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-05T01:52:01 -!- [1]MrMobius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-05T02:09:24 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-05T02:09:24 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-05T02:09:24 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-05T02:42:38 < upgrdman> sup 2013-04-05T02:48:50 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-05T02:49:28 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-05T02:53:24 -!- sterna1 [~Adium@d83-183-118-166.cust.tele2.se] has quit [Read error: Connection reset by peer] 2013-04-05T02:53:27 -!- sterna2 [~Adium@d83-183-118-166.cust.tele2.se] has joined ##stm32 2013-04-05T02:54:56 -!- sterna2 [~Adium@d83-183-118-166.cust.tele2.se] has quit [Read error: Connection reset by peer] 2013-04-05T02:55:07 -!- sterna1 [~Adium@d83-183-118-166.cust.tele2.se] has joined ##stm32 2013-04-05T02:58:21 -!- fiendie [fiendie@ipv6.leela.fiendie.net] has quit [Ping timeout: 245 seconds] 2013-04-05T03:11:06 -!- fiendie [fiendie@ipv6.leela.fiendie.net] has joined ##stm32 2013-04-05T03:20:29 -!- sterna1 [~Adium@d83-183-118-166.cust.tele2.se] has quit [Quit: Leaving.] 2013-04-05T03:21:21 < dongs> sup dongs 2013-04-05T03:21:54 < emeb> bloggin' 2013-04-05T03:21:59 < dongs> seems so 2013-04-05T03:22:12 < zyp> just woke up 2013-04-05T03:22:22 < emeb> zyp: still in JP? 2013-04-05T03:22:28 < zyp> yep 2013-04-05T03:22:48 < zyp> until wednesday 2013-04-05T03:22:52 < dongs> zyup, am i sending you a bill for lcd? 2013-04-05T03:23:15 < dongs> http://js1k.com/2013-spring/demo/1459 this is pretty cool 2013-04-05T03:24:17 < zyp> dongs, I was assuming you wanted some paypal-money 2013-04-05T03:24:41 < dongs> that works unless you wanna pay with real j-money. either way doesnt matter to me 2013-04-05T03:25:09 < zyp> how would your j-money stuff work? 2013-04-05T03:26:09 < dongs> dont even know. so shitpal is fine 2013-04-05T03:26:34 < zyp> assumed so 2013-04-05T03:26:41 < emeb> cash in unmarked envelope. 2013-04-05T03:26:43 < zyp> just name the price and I'll fix it now 2013-04-05T03:27:02 < dongs> 64-bit x86 CPU that he stressed provided low power consumption and heat. The eight cores are capable of running eight hardware threads, with each core using a 32KiB L1 I-cache and D-cache, and each four-core group sharing 2MiB of L2 Cache. 2013-04-05T03:27:09 < dongs> psdong4 is only 2 meg l2 shared cache? 2013-04-05T03:27:09 < dongs> lol amd 2013-04-05T03:29:53 < zyp> dongs, $60? 2013-04-05T03:30:19 < dongs> sure 2013-04-05T03:31:22 < zyp> ok, sent 2013-04-05T03:49:58 -!- [1]MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-05T03:52:46 -!- MrMobius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-05T03:57:19 -!- baird [~cjb@ppp121-44-143-225.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-05T04:39:43 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-04-05T04:49:41 -!- [1]MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-05T04:49:54 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-05T04:52:06 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-05T04:57:01 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-05T05:05:09 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-05T05:05:19 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-05T05:06:37 < baird> No prizes for guessing that it's a ChibiOS demo: https://www.youtube.com/watch?v=FfWTbVHE6JM 2013-04-05T05:15:04 <+dekar> nice :) 2013-04-05T05:15:22 <+dekar> what kind of display is that? 2013-04-05T05:21:13 -!- _BJFreeman [~bjfree@225.sub-75-233-98.myvzw.com] has quit [Quit: had a good time] 2013-04-05T05:27:07 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 245 seconds] 2013-04-05T05:27:48 < baird> An Embest 320x240 from E14, one of those for the F4Disco baseboard. 2013-04-05T05:32:00 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-05T05:35:31 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: to sleep, perchance to dream] 2013-04-05T05:45:33 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-05T05:49:45 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-05T05:50:08 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-05T05:51:03 < baird> If anyone knows of bitmaps with that neko doing a goatse, I'll add it as an easter egg. :D 2013-04-05T06:44:06 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: to sleep, perchance to dream] 2013-04-05T06:50:27 -!- [1]MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-05T06:53:22 -!- MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-05T07:10:05 < upgrdman> baird: what did that lcd cost? 2013-04-05T07:10:54 < baird> http://au.element14.com/jsp/search/productdetail.jsp?SKU=2250207 2013-04-05T07:11:23 < upgrdman> not bad considering retail 2013-04-05T07:11:57 < upgrdman> i wonder if theyre any better quality than the $15 ones from waveshare 2013-04-05T07:12:08 < baird> And you don't have to give your CC to anonymous chinese 2013-04-05T07:13:12 < upgrdman> what idiot would do that 2013-04-05T07:13:15 < upgrdman> you can use paypal 2013-04-05T07:14:16 < baird> Every time someone asks for the price of something someone's bought, it always becomes a fucking dickwaving event. 2013-04-05T07:14:33 < upgrdman> what? sorry. im not aiming for that. 2013-04-05T07:14:41 < baird> Someone has to post an eBay link where they're only $3 now... 2013-04-05T07:14:54 < upgrdman> you don't enjoy good deals? 2013-04-05T07:16:44 < upgrdman> i was only asking because i've recently played with my waveshare lcd, and its good but not great. 2013-04-05T07:18:11 -!- R2COM1 [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-05T07:18:21 < upgrdman> o/ 2013-04-05T07:20:26 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 245 seconds] 2013-04-05T07:39:54 -!- R2COM1 is now known as R2COM 2013-04-05T07:46:17 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-05T07:50:33 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-05T07:50:36 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-05T08:11:17 < dongs> im trying to remember what that cat icon is 2013-04-05T08:11:20 < dongs> ive seen it before 2013-04-05T08:15:53 < baird> https://en.wikipedia.org/wiki/Neko_%28computer_program%29 .. Someone here blogged about painting a pic of it on a window using liquid crystal.. 2013-04-05T08:16:24 < dongs> o ea that shit 2013-04-05T08:16:43 < baird> Anyway, the program is pretty-much completed. It runs to points at random, rather than from user input (the touch screen..), but all the animation bitmaps are utilized. 2013-04-05T08:18:39 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has quit [Ping timeout: 252 seconds] 2013-04-05T08:19:45 < dongs> so which app did you rip bitmaps from 2013-04-05T08:19:49 < dongs> lunix one I guess? 2013-04-05T08:21:04 < baird> xneko, used to be in the BSD X11 distros, but they're assuredly ripped from the public domain Mac or PC9801 versions. 2013-04-05T08:22:02 -!- claude is now known as Claude 2013-04-05T08:22:04 < dongs> http://webneko.net/?white probably pngs here 2013-04-05T08:27:21 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-05T08:34:35 -!- ds2 [noinf@netblock-66-245-251-24.dslextreme.com] has quit [Ping timeout: 252 seconds] 2013-04-05T08:50:10 -!- MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-05T08:50:51 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-05T08:58:17 < R0b0t1> Any stm with external memory interface? 2013-04-05T09:02:30 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-05T09:03:08 < dongs> sure any with FSMC 2013-04-05T09:06:07 -!- Claude is now known as claude 2013-04-05T09:11:24 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-04-05T09:35:11 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-04-05T09:36:00 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-04-05T09:48:50 -!- dekar_ [~dekar@212.255.243.165] has joined ##stm32 2013-04-05T09:48:53 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-04-05T09:51:04 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-05T09:51:09 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-05T09:52:05 -!- dekar [~dekar@212.255.243.6] has quit [Ping timeout: 256 seconds] 2013-04-05T09:56:44 -!- Posterdati [~antani@host166-213-dynamic.11-87-r.retail.telecomitalia.it] has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/] 2013-04-05T10:00:02 < baird> Completed neko screenhack ... https://www.youtube.com/watch?v=Lu1lCfCkPeo 2013-04-05T10:01:17 -!- Posterdati [~antani@host166-213-dynamic.11-87-r.retail.telecomitalia.it] has joined ##stm32 2013-04-05T10:03:25 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-04-05T10:12:54 -!- [1]MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-05T10:12:54 -!- MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-05T10:12:54 < baird> lol, the comp.sys.raspberry-pi newsgroup has been created. JUST SO EVERYONE KNOWS. 2013-04-05T10:13:51 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-05T10:13:53 < Robint91> hi all 2013-04-05T10:17:44 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 255 seconds] 2013-04-05T10:18:36 < Tectu> hello Robint91 2013-04-05T10:19:01 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has quit [Quit: No Ping reply in 180 seconds.] 2013-04-05T10:19:15 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has joined ##stm32 2013-04-05T10:19:19 -!- ds2 [noinf@netblock-66-245-251-24.dslextreme.com] has joined ##stm32 2013-04-05T10:20:25 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has quit [Ping timeout: 245 seconds] 2013-04-05T10:25:06 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has joined ##stm32 2013-04-05T10:30:46 < baird> The creepy fat brony freak who's been staying here has been playing the latest Mortal Kombat's Fatality trainer all fucking day and giggling at all of them.. :/ 2013-04-05T10:42:08 < dongs> weirdo 2013-04-05T10:51:30 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-05T10:51:50 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-05T11:02:47 -!- Laurenceb_ [~Laurence@host86-146-188-81.range86-146.btcentralplus.com] has joined ##stm32 2013-04-05T11:18:36 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-05T11:24:10 -!- Laurenceb_ [~Laurence@host86-146-188-81.range86-146.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-05T11:48:42 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-05T11:48:43 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-05T11:48:43 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-05T11:48:46 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-05T11:51:35 -!- [1]MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-05T11:54:43 -!- MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-05T12:21:09 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-05T12:31:46 -!- SuicideF1nky [~randy@185.10.51.188] has quit [Quit: Lost terminal] 2013-04-05T12:46:36 < Fail_Academy> they made a book about the life of hackkitten 2013-04-05T12:46:43 < Fail_Academy> http://en.wikipedia.org/wiki/The_Wasp_Factory#Plot 2013-04-05T12:49:07 < karlp> that was here yesterday 2013-04-05T12:49:35 < Fail_Academy> i should have trolling version control... 2013-04-05T12:49:55 < baird> "If I change my nick, they'll never know it's me!" --Laurenceb 2013-04-05T12:50:24 < Fail_Academy> i changed my nick as i have a new part time job supervising students 2013-04-05T12:50:42 < Fail_Academy> so title is appropriate 2013-04-05T12:51:47 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-05T12:51:55 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-05T12:53:31 < Tectu> so your 'Laurenceb' nickt was related to your Fail_Realnamenick? 2013-04-05T12:53:39 < dongs> nickt, haha. 2013-04-05T12:53:52 < Tectu> nick* 2013-04-05T12:54:30 -!- sterna1 [~Adium@d83-183-118-166.cust.tele2.se] has joined ##stm32 2013-04-05T13:02:48 * hackkitten stares at Fail_Academy 2013-04-05T13:07:12 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 260 seconds] 2013-04-05T13:07:35 < dongs> lol, hackkitten. 2013-04-05T13:19:33 < baird> lol truth table methods: http://dpaste.org/eUKLJ/ 2013-04-05T13:20:06 < zyp> wtf :p 2013-04-05T13:21:42 < Tectu> what do I read there? o.O 2013-04-05T13:22:16 < baird> It's the code used to figure out which compass direction the kitty is running, and pointering to the appropriate bitmaps to use. 2013-04-05T13:23:59 < baird> First part is the comp101 approuch. Second was figuring out a truth/logic matrix and reducing it. 2013-04-05T13:24:23 < baird> The latter being pretty-much write-only code. :) 2013-04-05T13:24:44 < karlp> so, real question, 2013-04-05T13:24:50 < karlp> what does the compiler make from both of them? 2013-04-05T13:25:20 < baird> Yeah, should look at the object code when it goes in. 2013-04-05T13:25:22 < Robint91> step1_bits = dwleft1_bits, step2_bits = dwleft2_bits; 2013-04-05T13:25:30 < Robint91> what is this for ugly mess 2013-04-05T13:25:33 < Robint91> the "," 2013-04-05T13:26:04 < baird> Meh. { }'ing everything with my preferred indention style makes it look worse.. 2013-04-05T13:26:37 < zyp> that means your preferred indention style sucks 2013-04-05T13:27:01 < baird> Needs more goto. 2013-04-05T13:31:56 < baird> i = sx<<1 + sy<<2 + 6 + 8*(2*dx D'oh. + has higher precidence than << 2013-04-05T13:51:52 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Read error: Connection reset by peer] 2013-04-05T13:51:55 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-05T13:52:00 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-05T13:52:13 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-05T13:57:58 -!- SuicideFunky [~randy@185.10.51.188] has joined ##stm32 2013-04-05T13:58:28 < Fail_Academy> http://butterflylabs.com/images/users/000/003/366/066/DSCN3168.jpg 2013-04-05T13:58:50 < Robint91> Fail_Academy, photoshop 2013-04-05T13:59:37 -!- CRF_Peter [~Peter@dhcp-190184.eduroam.chalmers.se] has joined ##stm32 2013-04-05T13:59:48 -!- sterna1 [~Adium@d83-183-118-166.cust.tele2.se] has quit [Quit: Leaving.] 2013-04-05T14:00:19 < baird> karlp: looking at the object output now-- the 2nd method shaves about 176 bytes off the text, but increases the data segment by 100 bytes. Nett improvement being 76 bytes. 2013-04-05T14:01:14 < Fail_Academy> theres some seriously random stuff on here 2013-04-05T14:01:15 < Fail_Academy> http://butterflylabs.com/images/users 2013-04-05T14:01:38 < Fail_Academy> omg 2013-04-05T14:01:39 < Fail_Academy> http://butterflylabs.com/images/users/000/005/048/982/imageGallery/Shenell%20%20Melvin%20059.jpg 2013-04-05T14:01:48 < Fail_Academy> its the creators of bitcoin 2013-04-05T14:02:08 < jpa-> baird: did you try making the array const char *? 2013-04-05T14:02:21 < jpa-> (or is it actually const char * const) 2013-04-05T14:04:57 -!- dekar_ [~dekar@212.255.243.165] has quit [Quit: This computer has gone to sleep] 2013-04-05T14:19:37 < ShiftPlusOne> Hello, I started fiddling around with the F4 Discovery board by trying to get UART working, but seem to have run into some trouble. When I send data, I don't get anything being transmitted and USART_FLAG_TXE is never reset. Is there anything obviously wrong in the code? http://pastebin.com/PfwNcs2N 2013-04-05T14:22:39 < jpa-> fire up gdb and do p /x USART4->CR1 p /x USART4->CR2 p /x USART4->CR3 p /x USART4->SR 2013-04-05T14:24:52 < ShiftPlusOne> just a second 2013-04-05T14:26:06 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 276 seconds] 2013-04-05T14:27:45 < Fail_Academy> https://coinbase.com/checkouts/dd24f66b49e34b97d2bbe0e3a9a2eeb4 2013-04-05T14:27:47 < Fail_Academy> hahahahahahaha 2013-04-05T14:28:28 < ShiftPlusOne> ....as soon as I figure out how to get to the gdb session in eclipse >.> 2013-04-05T14:31:31 < Fail_Academy> wtf is an mht file?! 2013-04-05T14:31:47 < karlp> laurence, that's what, 30k usd? 2013-04-05T14:32:01 < Fail_Academy> yes 2013-04-05T14:32:04 < ShiftPlusOne> jpa-, Returns 0x0 for all. 2013-04-05T14:32:23 < Fail_Academy> of speed 2013-04-05T14:32:47 < jpa-> ShiftPlusOne: sounds like the clock in RCC is not enabled.. though you seem to be enabling it correctly 2013-04-05T14:33:33 < jpa-> ShiftPlusOne: check the RCC->APB1ENR 2013-04-05T14:33:48 < jpa-> and maybe RCC->APB1RSTR also 2013-04-05T14:34:59 < ShiftPlusOne> 0x10000000, 0x0 2013-04-05T14:35:09 < ShiftPlusOne> hm =/ 2013-04-05T14:35:18 -!- Erlkoenig [~erlkoenig@pptp-212-201-73-250.pptp.stw-bonn.de] has joined ##stm32 2013-04-05T14:36:52 < jpa-> ShiftPlusOne: and this is in a breakpoint after the initialization code has already run? 2013-04-05T14:37:09 < ShiftPlusOne> yup 2013-04-05T14:37:48 < jpa-> aaah 2013-04-05T14:37:51 < jpa-> spotted the error 2013-04-05T14:37:57 < jpa-> RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOD | RCC_APB1Periph_UART4 | RCC_AHB1Periph_GPIOC, ENABLE); 2013-04-05T14:38:05 < jpa-> APB1 not AHB1 2013-04-05T14:38:10 < jpa-> in the function name 2013-04-05T14:38:20 < jpa-> or actually 2013-04-05T14:38:34 < jpa-> the AHB stuff to AHB function, and make another function call for APB1 2013-04-05T14:38:34 < ShiftPlusOne> Ah, well spotted. I'll fix all of that up and see how it goes. Thanks for the help. 2013-04-05T14:41:33 < Erlkoenig> yeay ST libs. :D 2013-04-05T14:42:07 < Fail_Academy> shouldn't that throw an error? 2013-04-05T14:42:19 < Fail_Academy> i thought there was some macro crap to catche rrors like that? 2013-04-05T14:42:23 < jpa-> Fail_Academy: how would it know? 2013-04-05T14:42:40 < Erlkoenig> Fail_Academy: course not :D 2013-04-05T14:42:48 < Fail_Academy> hmm good point 2013-04-05T14:42:53 < Fail_Academy> can do that with a macro 2013-04-05T14:42:56 < Erlkoenig> jpa-: type safe enums... in C++11 ;-) 2013-04-05T14:43:10 < Erlkoenig> yuck macros 2013-04-05T14:43:12 < ShiftPlusOne> jpa-, yup, that works perfectly now. Thanks again. 2013-04-05T14:43:29 < jpa-> Fail_Academy: how could you do it with a macro? 2013-04-05T14:43:43 < Tectu> where do I find information about decoupling capacitors etc. or a full STM32F4 reference design for the layout? 2013-04-05T14:43:47 < Fail_Academy> you couldnt :P 2013-04-05T14:44:09 < jpa-> Tectu: the discovery schematics? 2013-04-05T14:44:12 < Fail_Academy> but 2013-04-05T14:44:13 < Fail_Academy> https://github.com/robots/STM32/blob/master/lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_rcc.c#L273 2013-04-05T14:44:18 < Fail_Academy> thats what i was thinking of 2013-04-05T14:44:31 < Fail_Academy> but it wont catch bitmasks 2013-04-05T14:44:43 < Tectu> jpa-, aren't there usually informations about decoupling in the datasheets? 2013-04-05T14:44:58 < jpa-> Tectu: well for the vcap pins, sure 2013-04-05T14:45:09 < jpa-> the datasheet says "just slam 2µF there" 2013-04-05T14:45:09 < Erlkoenig> my STM32 hardware access library makes sure such things dont happen ;-) 2013-04-05T14:45:21 < Tectu> where do you see that one? 2013-04-05T14:46:23 < jpa-> Tectu: electrical characteristics -> operating conditions -> vcap1/vcap2 external capacitor 2013-04-05T14:47:23 < jpa-> but if you just look at that, you won't even know if there should be one capacitor for each pin or one altogether 2013-04-05T14:47:29 < jpa-> luckily it doesn't really matter much 2013-04-05T14:47:54 <+Steffanx> jpa- you made your own transmitter for your temperature sensor? 2013-04-05T14:48:13 < jpa-> Steffanx: no, it is qam-tx3 just like yesterday and the day before that 2013-04-05T14:48:25 < Robint91> mhh emcraft kernel seems to compile 2013-04-05T14:48:42 <+Steffanx> Oh, that circuit was just the qam-tx3 ? 2013-04-05T14:48:50 < jpa-> Steffanx: yeah 2013-04-05T14:48:54 <+Steffanx> I know you used that one, so i was confused 2013-04-05T14:49:01 <+Steffanx> Ah, explains everything 2013-04-05T14:49:11 < jpa-> i had to modify the resistor to make it work better at high temp :) 2013-04-05T14:49:17 < jpa-> that is why i needed the schematic for the module 2013-04-05T14:51:06 -!- _BJFreeman [~bjfree@82.sub-75-233-101.myvzw.com] has joined ##stm32 2013-04-05T14:51:36 -!- _BJFreeman is now known as BJfreeman 2013-04-05T14:51:37 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-05T14:51:57 <+Steffanx> ( note: you changed celcius to celsius jpa- ? :) 2013-04-05T14:52:16 < jpa-> (not yet, i'm working on getting the world to use my spelling instead) 2013-04-05T14:52:16 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-05T14:53:38 < Tectu> I don't feel well today 2013-04-05T14:54:00 < jpa-> too much mc donalds? 2013-04-05T14:54:59 < Fail_Academy> interesting 2013-04-05T14:55:21 < Fail_Academy> F4 is 3 time more coremark/watt than intel 2013-04-05T14:56:02 <+Steffanx> Why you compare an F3/F4 with an Intel anyway? 2013-04-05T14:56:17 < Fail_Academy> cuz its interesting 2013-04-05T14:56:27 <+Steffanx> Whatever. 2013-04-05T14:56:36 < Fail_Academy> also xeon beats i7 for performance/watt 2013-04-05T14:56:39 < Robint91> vmlinux is 1.2MB big 2013-04-05T14:57:03 < Robint91> Fail_Academy, that site is great to compare CPUs 2013-04-05T14:57:46 <+Steffanx> but useless to compare f3/f4 with some intel cpu 2013-04-05T14:59:17 < jpa-> yeah, the desktop CPUs are more limited by memory access anyway 2013-04-05T14:59:25 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-05T14:59:37 < jpa-> (though that is not visible in coremark because of the small size of the test) 2013-04-05T15:00:44 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-238-17.clienti.tiscali.it] has joined ##stm32 2013-04-05T15:07:53 < Robint91> mhh my linux 2.6.33 kernel for the F4 is about 540kiB big 2013-04-05T15:08:29 <+Steffanx> You have an F4 with sram? 2013-04-05T15:09:08 < Robint91> Steffanx, XIP 2013-04-05T15:09:17 < Fail_Academy> Robin91: are you using the st app note code? 2013-04-05T15:09:23 < Erlkoenig> why squeezing linux on an F4 while you could just use an rpi or similar? 2013-04-05T15:09:24 < Robint91> Fail_Academy, Emcraft 2013-04-05T15:09:31 < Erlkoenig> (which also has an MMU) 2013-04-05T15:09:32 <+Steffanx> Robint91, so? 2013-04-05T15:10:20 < Robint91> Steffanx, requires less ram because you can execute the kernel from flash 2013-04-05T15:10:24 < Robint91> Steffanx, which is fast 2013-04-05T15:10:37 < Robint91> Steffanx, and you don't need to copy that into ram 2013-04-05T15:10:56 <+Steffanx> but still.. 192k isn't that much ( incl ccm ) 2013-04-05T15:11:02 < Fail_Academy> what filesystem is it using? 2013-04-05T15:11:25 < Robint91> Erlkoenig, you could, but isn't the rpi quite shitty to connect to the outside world? 2013-04-05T15:11:32 < Robint91> Fail_Academy, romfs 2013-04-05T15:11:37 < Fail_Academy> cool 2013-04-05T15:11:46 < Fail_Academy> so you cant write anywhere? 2013-04-05T15:11:59 < Fail_Academy> apart from... /media? 2013-04-05T15:12:28 < Robint91> Fail_Academy, add an SDcard and you can write 2013-04-05T15:12:35 <+Steffanx> You can always write to fliash of course Fail_Academy :) 2013-04-05T15:12:40 < Robint91> but I'm waiting on the F4 with SDRAM 2013-04-05T15:13:01 < Erlkoenig> Robint91: it even has an RJ45 and USB host and everything implemented 2013-04-05T15:13:21 < Erlkoenig> Robint91: but if you want timers or something else hardware-near, okay 2013-04-05T15:13:31 < Fail_Academy> EMcraft have some drivers aiuiu 2013-04-05T15:23:23 -!- dekar [~dekar@dslb-088-069-145-113.pools.arcor-ip.net] has joined ##stm32 2013-04-05T15:23:27 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-05T15:26:30 -!- dekar_ [~dekar@dslb-088-069-145-113.pools.arcor-ip.net] has joined ##stm32 2013-04-05T15:26:33 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-04-05T15:27:57 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has quit [Ping timeout: 245 seconds] 2013-04-05T15:28:12 -!- daku is now known as DaKu 2013-04-05T15:29:00 -!- dekar [~dekar@dslb-088-069-145-113.pools.arcor-ip.net] has quit [Ping timeout: 264 seconds] 2013-04-05T15:30:18 < Robint91> Erlkoenig, but for embedded stuff I wont even use the rpi 2013-04-05T15:30:22 < Robint91> shitty arm11 2013-04-05T15:30:42 < Robint91> Erlkoenig, the new SAMA5 of atmel is much better 2013-04-05T15:30:49 < Robint91> or the freescale vybirds 2013-04-05T15:31:41 < Erlkoenig> hmm dunno... didn't look much at embedded linux 2013-04-05T15:32:14 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-05T15:32:22 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-05T15:32:38 < karlp> shittyarm11 is one thing, but it's a shitty arm11 that I didn't have to build or manufacture 2013-04-05T15:32:41 < ShiftPlusOne> When using sd cards and fatfs, does it matter if you use spi or sdio? Is there a different in speed or difficulty to implement, for example? 2013-04-05T15:32:56 < Robint91> SDIO is way faster as SPI 2013-04-05T15:32:58 < karlp> so I've got a shittier still mips4k on my desk, but it works out of hte box (and in it's box) 2013-04-05T15:33:43 < Robint91> karlp, I try to view it this way, how much effort does it cost me to get linux running on a custom board 2013-04-05T15:34:16 < ShiftPlusOne> Robint91, alright, I'll give that a go. 2013-04-05T15:34:20 < Robint91> karlp, the BCM of the rpi with its nasty PoP, is way don't on the list 2013-04-05T15:34:36 < karlp> for me that effort is very high, and needs to be added to the effort of getting the board made too 2013-04-05T15:34:43 < karlp> sure, I'm not going to build my own rpi, 2013-04-05T15:34:51 < karlp> but i'm not building my own sam5a board either. 2013-04-05T15:35:57 < Erlkoenig> btw... i will have to control a proprietary closed-source device via CAN. In case that its CAN interface does not send "confirmation telegrams" to my commands (yet to be investigated), is there a clever way to determine whether i lost connection to that device? i'd need to shut down power automatically in that case... 2013-04-05T15:36:32 < Robint91> Erlkoenig, you can see if it acks 2013-04-05T15:36:55 < Erlkoenig> Robint91: problem is there are other devices on the bus, which might still ACK if that special device got kicked off the bus 2013-04-05T15:37:38 < Robint91> Erlkoenig, there isn't way to direct talk to that device 2013-04-05T15:37:53 < Erlkoenig> that device not receiving any commands anymore while my controller doesn't recognize that would be catastrophically 2013-04-05T15:37:55 < Robint91> Erlkoenig, where the otherones don't ack 2013-04-05T15:38:42 < Erlkoenig> yup exactly 2013-04-05T15:41:31 < Robint91> Erlkoenig, put on the Time triggered mode, send frame where only the prop device acks, check if it has acked, turn off time triggerd mode 2013-04-05T15:41:31 < ShiftPlusOne> Is there a way to see how much memory is used/free? 2013-04-05T15:42:11 < Erlkoenig> Robint91: uhm but how to make sure the other devices on the bus don't ACK? 2013-04-05T15:42:35 < Robint91> Erlkoenig, do they all ack on the same indentifier? 2013-04-05T15:43:11 < Erlkoenig> as far as i got the protocol, every CAN device ACK's every single message unindependant of Identifier 2013-04-05T15:43:26 < Robint91> Erlkoenig, not exaclty 2013-04-05T15:43:51 < Robint91> only devices where the identifier maches the filtersbanks are going to ack 2013-04-05T15:44:15 < Erlkoenig> sure?? any source for that? 2013-04-05T15:44:16 < Robint91> http://www.keil.com/dd/docs/datashts/st/stm32f10xxx.pdf / RM00008 2013-04-05T15:44:23 < Robint91> 22.7.4 2013-04-05T15:45:46 < Erlkoenig> that does not state that filtering affects the ACKing 2013-04-05T15:45:59 < Erlkoenig> filtering only affects what telegrams are saved in the buffer and thereby passed to software 2013-04-05T15:47:36 < Robint91> Erlkoenig, mhh, bosch specs aren't clear on that 2013-04-05T15:51:30 < Robint91> mhh 2013-04-05T15:51:42 -!- MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-05T15:51:54 < Robint91> oddly enough the ack is only about the if was recieved correctly 2013-04-05T15:52:11 < Robint91> Erlkoenig, makes it easy, you don't 2013-04-05T15:52:13 < Robint91> know 2013-04-05T15:52:27 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-05T15:54:19 < scrts> are there any web services, that would allow creating a web page to interface microcontroller? e.g. my stm32 pushes data through ethernet port to a special server and I generate a web page, which is hosted @ remote server 2013-04-05T15:54:39 < scrts> I mean that special server IS a remote server 2013-04-05T15:54:45 < Robint91> scrts, pachube? 2013-04-05T15:54:47 < scrts> just displays my variables at that web page 2013-04-05T15:54:57 < scrts> hmm, never heard of that, googling, thanks 2013-04-05T15:55:07 < Robint91> scrts, it is know https://cosm.com/ 2013-04-05T15:56:35 < scrts> thanks! 2013-04-05T15:57:12 < Posterdati> hi 2013-04-05T15:57:12 < Erlkoenig> Robint91: meh. hopefully that prop device has some mechanism to detect bus-failure and to shutdown 2013-04-05T15:57:24 < scrts> Robint91 -> by any chance, maybe You know pricing of that service? 2013-04-05T15:57:30 < scrts> can't find it :| 2013-04-05T15:57:45 < Posterdati> I'm trying to make the vcp usb otg example work, but I need STM32 virtual com port, where I can find it? 2013-04-05T15:57:49 < Robint91> scrts, free 2013-04-05T15:58:01 < scrts> great! 2013-04-05T15:58:02 < Posterdati> I googled a lot, but didn't find it 2013-04-05T15:58:38 < Robint91> Erlkoenig, yeah, I did work with CAN for a few projects 2013-04-05T15:58:49 < Robint91> Erlkoenig, and it is way better as using RS485 2013-04-05T15:59:06 < BJfreeman> Erlkoenig see if this helps http://roadwarrior.free-man.com/can/rvcan/charger.shtml 2013-04-05T16:00:02 < Erlkoenig> BJfreeman: wat thats just some CAN protocol 2013-04-05T16:00:16 < Robint91> I made my own 2013-04-05T16:00:35 < BJfreeman> Erlkoenig yes for RV 2013-04-05T16:01:06 < BJfreeman> it is the 29bit CAN 2013-04-05T16:06:34 < jpa-> Posterdati: you mean the driver? 2013-04-05T16:06:47 < jpa-> it comes from windows update 2013-04-05T16:11:37 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 246 seconds] 2013-04-05T16:12:25 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-05T16:12:51 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-05T16:23:42 -!- BJfreeman [~bjfree@82.sub-75-233-101.myvzw.com] has quit [Quit: had a good time] 2013-04-05T16:25:27 < Fail_Academy> wohoo 2013-04-05T16:25:36 * Fail_Academy is going to Dartmouth college 2013-04-05T16:25:52 < Fail_Academy> it looks exciting... in the middle of a massive forest 2013-04-05T16:26:49 < Fail_Academy> home of basic... 2013-04-05T16:29:24 < gxti> basic the fail language 2013-04-05T16:29:34 < Fail_Academy> ill fit in well 2013-04-05T16:30:07 < baird> GOTO DARTHMOUTH : END 2013-04-05T16:31:33 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 276 seconds] 2013-04-05T16:32:09 <+Steffanx> What are you going to do there Fail_Academy ? 2013-04-05T16:32:16 < Fail_Academy> fail 2013-04-05T16:32:25 < Fail_Academy> obvious answer is obvious 2013-04-05T16:32:58 <+Steffanx> ... 2013-04-05T16:33:34 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-04-05T16:34:06 <+Steffanx> I guess you're not so serious, once again 2013-04-05T16:36:45 < baird> My last great BASIC programming project was a FORTH interpreter that I wrote during first year Uni.. The head of the CS department wasn't too impressed... since I was using his account. :P :) 2013-04-05T16:48:01 <+Steffanx> Don't see how that is related to anything, but great story 2013-04-05T16:50:19 < Tectu> lol'd ^ 2013-04-05T16:52:07 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-05T16:53:41 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-05T17:05:47 -!- a2cypher [~cypher@mail.krausglobal.com] has joined ##stm32 2013-04-05T17:11:36 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 264 seconds] 2013-04-05T17:12:19 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-05T17:12:32 -!- Ranewen [a135b3e2@gateway/web/freenode/ip.161.53.179.226] has joined ##stm32 2013-04-05T17:19:17 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-05T17:20:02 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 245 seconds] 2013-04-05T17:20:53 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-05T17:24:14 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-05T17:24:30 < Posterdati> hi 2013-04-05T17:24:45 -!- baird [~cjb@ppp121-44-143-225.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-04-05T17:24:52 < Tectu> hi 2013-04-05T17:24:53 < Posterdati> is there anyone who was able to compile the VCP example project on stm32f10x? Tx 2013-04-05T17:32:44 < Posterdati> :( 2013-04-05T17:35:03 < Posterdati> main.cpp:99: undefined reference to `USBD_Init(USB_OTG_handle*, USB_OTG_CORE_ID_TypeDef, _Device_TypeDef*, _Device_cb*, _USBD_USR_PROP*)' 2013-04-05T17:35:41 < Posterdati> but the usbd_core.c was compiled before main.cpp 2013-04-05T17:37:32 < Erlkoenig> you have to include the usbd_core.o for linking of course... 2013-04-05T17:37:39 < Erlkoenig> learn how to use C Compilers&Linkers :D 2013-04-05T17:38:33 < jpa-> Posterdati: just use chibios :) 2013-04-05T17:39:23 < Posterdati> jpa-: I can't/won't 2013-04-05T17:39:36 < Posterdati> I've already got my RTOS 2013-04-05T17:39:55 < gxti> then what Erlkoenig said 2013-04-05T17:40:00 < gxti> lern2compile 2013-04-05T17:43:35 < Posterdati> gxti: I know how compile, tx 2013-04-05T17:44:02 < gxti> ok smart guy 2013-04-05T17:44:03 < Posterdati> Erlkoenig: I included in my makefile usbd_core.o 2013-04-05T17:44:17 < jpa-> so check if that file contains that symbol 2013-04-05T17:44:18 < Erlkoenig> then you faild some other way. 2013-04-05T17:44:26 < Erlkoenig> forgot -c or something 2013-04-05T17:44:34 < jpa-> then check if it is given to the linker 2013-04-05T17:44:45 < jpa-> the C linker is not magic, you should be able to figure it out 2013-04-05T17:44:49 < Posterdati> yes is it 2013-04-05T17:45:13 < jpa-> ld - now powered by pixie dust 2013-04-05T17:45:15 < Erlkoenig> no, the linker IS magic 2013-04-05T17:45:21 < Erlkoenig> black magic 2013-04-05T17:45:30 < Erlkoenig> only usable by wizards on the highest power level 2013-04-05T17:45:56 < gxti> code goes in, code comes out. never a miscommunication. you can't explain that! 2013-04-05T17:47:16 < Erlkoenig> in pixie fairy land it's probably so easy 2013-04-05T17:47:38 < Posterdati> Erlkoenig: no, maybe you'd like to see my Makefile, will you understand it? 2013-04-05T17:47:53 < Erlkoenig> maybe... pastebin it ^^ 2013-04-05T17:47:58 < Posterdati> ok 2013-04-05T17:50:17 < Fail_Academy> http://iopscience.iop.org/0031-9155/47/16/302 2013-04-05T17:50:53 < Posterdati> Erlkoenig: http://pastebin.com/bGWQgbLp 2013-04-05T17:50:59 < Posterdati> this is Makefile 2013-04-05T17:51:37 < Erlkoenig> empty line fetish? 2013-04-05T17:52:16 < Posterdati> http://pastebin.com/eiKfPXBi 2013-04-05T17:52:19 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-05T17:52:26 < Posterdati> this is Makefile.global 2013-04-05T17:52:27 < jpa-> Posterdati: check with nm if the usbd_core.o actually contains that symbol 2013-04-05T17:52:30 <+Steffanx> Fail_Academy get your crap out of here please 2013-04-05T17:52:34 <+Steffanx> *keep 2013-04-05T17:52:52 < Erlkoenig> this is why make sucks. 2013-04-05T17:53:23 < Posterdati> jpa-: mmmh, maybe the function definition and function call don't match 2013-04-05T17:53:31 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-05T17:54:03 < jpa-> Posterdati: C is not smart enough to detect that 2013-04-05T17:54:34 < Posterdati> jpa-: I din't check so strictly, just copied from VCP example project 2013-04-05T17:54:38 < jpa-> Posterdati: just use nm to see if the symbol is there or not 2013-04-05T17:54:55 < Erlkoenig> yes, do that 2013-04-05T17:55:08 < Erlkoenig> that makefile makes me want to hit things 2013-04-05T17:55:32 < jpa-> i'm coming to germany tomorrow, you can hit me 2013-04-05T17:55:37 < gxti> it's not make's fault he fails 2013-04-05T17:56:09 < Erlkoenig> jpa-: oh sure, i have my whips and chains ready 2013-04-05T17:56:19 < Erlkoenig> gxti: but make didn't produce that makefile 2013-04-05T17:56:41 < jpa-> exactly his point 2013-04-05T17:57:07 < Posterdati> arm-none-eabi-nm main.o | grep USBD_Init 2013-04-05T17:57:07 < Posterdati> U _Z9USBD_InitP14USB_OTG_handle23USB_OTG_CORE_ID_TypeDefP15_Device_TypeDefP10_Device_cbP14_USBD_USR_PROP 2013-04-05T17:57:20 < Erlkoenig> you compiled using g++ 2013-04-05T17:57:21 < jpa-> Posterdati: uh.. are you using C++? 2013-04-05T17:57:21 < Erlkoenig> fail 2013-04-05T17:57:29 < Erlkoenig> compile as C file, i.e. with gcc 2013-04-05T17:57:37 < Posterdati> jpa-: mixing 2013-04-05T17:57:44 < jpa-> Posterdati: remember extern "C" from main.cpp 2013-04-05T17:57:46 < Erlkoenig> don't compile C Source as C++ 2013-04-05T17:57:57 < jpa-> Erlkoenig: g++ is smart enough to handle that 2013-04-05T17:58:03 < Posterdati> Erlkoenig: in fact .c are compiled with gcc and .cpp with g++ 2013-04-05T17:58:08 < Erlkoenig> jpa-: doesn't look like that 2013-04-05T17:58:12 < Erlkoenig> because the name is mangled o.O 2013-04-05T17:58:16 < jpa-> Erlkoenig: that is nm of main.o 2013-04-05T17:58:22 < Erlkoenig> aaah okay 2013-04-05T17:58:27 < jpa-> he didn't do what we asked, but found the problem anyway :D 2013-04-05T17:58:37 < gxti> 14:43:35 < Posterdati> gxti: I know how compile, tx 2013-04-05T17:58:38 < gxti> durrr. 2013-04-05T17:58:39 < Erlkoenig> "we" are so competent. 2013-04-05T17:58:42 < Erlkoenig> harhar. 2013-04-05T17:58:49 < jpa-> of course if we really were that smart, we would have seen the main.cpp earlier 2013-04-05T17:58:55 < zyp> it's not a problem of compilation then, it's a problem of headers 2013-04-05T17:59:10 < zyp> C headers not supporting to be included from C++ properly 2013-04-05T17:59:11 < jpa-> Posterdati: put the USB headers inside extern "C" {} 2013-04-05T17:59:14 < gxti> that and the linker error with argument types 2013-04-05T17:59:25 < jpa-> gxti: ah, right 2013-04-05T17:59:42 < Posterdati> jpa-: ok, let me see, I put a bunch of include in "C" already, I forgot USB stuff :) 2013-04-05T17:59:44 < gxti> i never do c++ or i might have caught that sooner :p 2013-04-05T18:00:05 < gxti> "suspiciously precise error is suspiciously precise" 2013-04-05T18:00:21 < zyp> I usually do pure C++ :p 2013-04-05T18:00:26 < Erlkoenig> german radio news warn about Flash Player and Adobe Reader security issues. then it must be serious... 2013-04-05T18:00:43 < zyp> no plain C objects, so no different symbol naming styles 2013-04-05T18:00:49 < jpa-> zyp: maybe you could give Posterdati your C++ usb library.. just finish it up quickly :) 2013-04-05T18:00:51 < Posterdati> jpa-: they are already in a "C" {} 2013-04-05T18:01:59 < zyp> :p 2013-04-05T18:02:19 < Posterdati> ... 2013-04-05T18:02:48 < jpa-> Posterdati: then track down why they are not really extern "C" 2013-04-05T18:02:57 < jpa-> hint: check preprocessor output 2013-04-05T18:03:06 < Posterdati> only the vcp .h files project 2013-04-05T18:03:27 < Posterdati> there are includes without "C" {} 2013-04-05T18:03:40 < Posterdati> like usb_cdc_vcp.h 2013-04-05T18:03:51 < jpa-> and why is that? 2013-04-05T18:04:02 < Posterdati> because they are from a purely c project 2013-04-05T18:04:14 < Posterdati> I copied them. stop. 2013-04-05T18:04:21 < jpa-> but are they included in a C++ file? 2013-04-05T18:04:52 < Posterdati> not really, they are included in their .c files from vcp project 2013-04-05T18:05:16 < jpa-> so where does the definition of USBD_Init come to your main.cpp? 2013-04-05T18:05:28 < Posterdati> from 2013-04-05T18:05:52 < Posterdati> #include 2013-04-05T18:05:56 < Posterdati> in main.h 2013-04-05T18:06:03 < jpa-> is that inside extern "C"? 2013-04-05T18:06:04 < Posterdati> main.h is included in main.cpp 2013-04-05T18:06:06 < Posterdati> yes 2013-04-05T18:06:34 < jpa-> then check the preprocessor output for main.cpp and verify that all definitions of USBD_Init are inside extern "C" 2013-04-05T18:08:20 < Fail_Academy> is 2Mhz gpio speed actually capable of 2mhz? 2013-04-05T18:08:35 < jpa-> Fail_Academy: the rise and fall times are specified in datasheet 2013-04-05T18:08:53 < jpa-> yes, it is capable; no, it doesn't produce "ideal square wave" at that frequency 2013-04-05T18:09:02 -!- rigid [~daniel@178-26-71-67-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-05T18:09:09 < Fail_Academy> i see 2013-04-05T18:09:20 < Fail_Academy> wonder what my stepper driver thinks of it... 2013-04-05T18:09:34 < jpa-> you are going to step at 2MHz? 2013-04-05T18:09:46 < Fail_Academy> yes 2013-04-05T18:10:04 < Fail_Academy> well actually about 800KHz 2013-04-05T18:10:32 < Fail_Academy> and its 1/32 stepping 2013-04-05T18:10:35 < jpa-> should be one happybabby stepper driver 2013-04-05T18:11:02 < jpa-> unless you are driving some FETs directly, in which case it may be one angry FET in the roof 2013-04-05T18:12:19 <+Steffanx> Still for your pressure/measure thingy Fail_Academy ? 2013-04-05T18:12:26 < Fail_Academy> yes 2013-04-05T18:12:56 <+Steffanx> Do you have to finish it before you'll get your pdh 'title' ? 2013-04-05T18:13:11 < Fail_Academy> maybe... 2013-04-05T18:14:16 < jpa-> Steffanx: when are you getting your phd title? 2013-04-05T18:14:28 <+Steffanx> Not interested 2013-04-05T18:14:32 <+Steffanx> in that 2013-04-05T18:18:27 <+Steffanx> What would be a nice way of programming the uc on a pcb without pinheaders? Pogo pins or are there more fancy ways? 2013-04-05T18:19:14 < jpa-> bootloader 2013-04-05T18:19:16 < gxti> tag connect if you want a nice pogo pin thingy 2013-04-05T18:19:30 < gxti> as opposed to making a jig yourself or something 2013-04-05T18:19:43 <+Steffanx> oh, incl debugging jpa- :) 2013-04-05T18:19:50 < Posterdati> jpa-: I used gcc -E -dM 2013-04-05T18:20:13 < Posterdati> jpa-: now I've got main.o containings all the directives 2013-04-05T18:20:39 < jpa-> Steffanx: maybe you could use one of those connectors where there are little rods of copper with 2.54 mm spacings? 2013-04-05T18:21:18 < jpa-> Posterdati: then open it up in less and find places where USBD_Init is declared, then search backwards for extern "C", then figure out if it is still inside it 2013-04-05T18:21:24 <+Steffanx> Im not sure what you mean jpa- 2013-04-05T18:21:36 < gxti> pogo pins probably 2013-04-05T18:21:39 < Posterdati> jpa-: no USBD_Init in main.o 2013-04-05T18:22:11 < jpa-> Steffanx: they look like this http://shop.rabtron.co.za/catalog/images/pin%20header%2040%20pin%20single.JPG 2013-04-05T18:22:29 < jpa-> Posterdati: why not? wasn't that the place where you were calling it? 2013-04-05T18:22:38 < Posterdati> yes 2013-04-05T18:23:10 <+Steffanx> Hmm, i'll get me some pogo pins from ebay and give those a try 2013-04-05T18:23:12 < jpa-> so you have it there and you don't have it there? 2013-04-05T18:23:22 < Posterdati> nothing 2013-04-05T18:23:31 < Posterdati> there's no USBD_Init 2013-04-05T18:23:32 < jpa-> Steffanx: also i often just use wires soldered to pins if i'm making something tiny 2013-04-05T18:23:47 < Posterdati> jpa-: this thing is driving me mad :( 2013-04-05T18:24:00 < jpa-> Posterdati: you still have a lot to learn :) 2013-04-05T18:24:06 <+Steffanx> Oh, lol. I could do that too of course. Perhaps i shouldn't make it myself soo difficult 2013-04-05T18:24:12 < Posterdati> jpa-: about what? 2013-04-05T18:24:23 < jpa-> Posterdati: about tracking down problems 2013-04-05T18:24:32 < Posterdati> jpa-: lol 2013-04-05T18:33:42 < Ranewen> hey Steffanx 2013-04-05T18:37:25 < Ranewen> does anyone knows how to solder lfqp ? 2013-04-05T18:38:32 < Fail_Academy> with a BBQ 2013-04-05T18:39:02 < jpa-> Ranewen: lqfp is trivial 2013-04-05T18:39:15 < jpa-> you can use any hot object to solder it 2013-04-05T18:39:33 < Ranewen> i mean, i saw once something yellowish, which you placed on the pins, and then just slided the iron over the pins 2013-04-05T18:39:38 < jpa-> flux 2013-04-05T18:39:51 < jpa-> and yes, that is the most common way 2013-04-05T18:40:35 < Ranewen> how possible is to burn somethin ? 2013-04-05T18:40:47 < jpa-> not very 2013-04-05T18:40:59 < jpa-> most common problem is that you have some of the pins not aligned with the pads 2013-04-05T18:41:04 < Ranewen> i have 10$ iron 2013-04-05T18:41:13 < gxti> sux2beu 2013-04-05T18:41:27 < jpa-> then you'll have hard time to orient it back if you have already soldered half of it 2013-04-05T18:41:51 < jpa-> Ranewen: no thermostat? how many watts? 2013-04-05T18:42:19 < Ranewen> no thermo 2013-04-05T18:42:25 < Ranewen> i think its 30W 2013-04-05T18:42:28 < Posterdati> jpa-: function call seems matching the function definition :( 2013-04-05T18:42:42 < jpa-> Ranewen: if you have a 2mm or smaller tip, it is probably ok 2013-04-05T18:42:52 < jpa-> Posterdati: sure, otherwise you would get a warning 2013-04-05T18:43:12 < jpa-> Posterdati: find the declaration that is not inside extern "C" 2013-04-05T18:43:16 < Posterdati> jpa-: usbd_core.c is compiled by gcc 2013-04-05T18:43:30 < Posterdati> [ CC ] ../STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/src/usbd_core.c 2013-04-05T18:43:30 < Ranewen> i just hope this wont be fucked up like some other brakeboards i ordered http://www.ebay.com/itm/2-x-LQFP-48-LQFP48-Adapter-PCB-convert-to-DIP-/140598882624?pt=LH_DefaultDomain_0&hash=item20bc58b140 2013-04-05T18:43:55 < jpa-> Ranewen: what was the problem? 2013-04-05T18:44:37 < Ranewen> well i didnt ordered this stuff, but i ordered some pcb protoboards, and they were terriblee 2013-04-05T18:44:53 < jpa-> how? 2013-04-05T18:45:02 < Ranewen> holes and pads missalinged, soldering was a pain... pads were comming off etc 2013-04-05T18:45:18 < jpa-> cheap stuff is cheap 2013-04-05T18:45:43 < Ranewen> these http://www.ebay.com/itm/2-x-LQFP-48-LQFP48-Adapter-PCB-convert-to-DIP-/140598882624?pt=LH_DefaultDomain_0&hash=item20bc58b140 are also cheap 2013-04-05T18:46:04 < jpa-> cheap is not always garbage, just random 2013-04-05T18:47:11 < Ranewen> any advices about flux ? 2013-04-05T18:47:20 < jpa-> use it 2013-04-05T18:47:37 < Ranewen> is there some kind of syringe, pen ? 2013-04-05T18:47:53 < jpa-> yes, it can come in syringe, pen, bottle, whatever 2013-04-05T18:47:58 < jpa-> doesn't really matter much 2013-04-05T18:48:38 < jpa-> if you are in a pinch, melt some resin from a tree in alcohol and you have flux 2013-04-05T18:48:57 < jpa-> *dissolve 2013-04-05T18:49:19 < Ranewen> how much % alcohol ? 2013-04-05T18:49:30 < karlp> some 2013-04-05T18:49:32 < jpa-> as much as you can get 2013-04-05T18:49:33 < karlp> enough to make it runny 2013-04-05T18:49:36 < jpa-> isopropanol is better 2013-04-05T18:49:46 < Ranewen> i have medical alc 2013-04-05T18:50:06 < jpa-> (you can get 100% isopropanol quite easily, it is often sold as antifreeze etc.) 2013-04-05T18:51:07 < jpa-> the problem with making your own flux from resin is that it will leave a sticky residue on the PCB.. you can wash it away with alcohol but it is a bit annoying 2013-04-05T18:51:43 < Ranewen> il order some off ebay 2013-04-05T18:51:50 < Ranewen> just like brakeout boards 2013-04-05T18:51:55 < jpa-> some flux? yeah, that is the best :) 2013-04-05T18:52:20 < Ranewen> and il get more USART's 2013-04-05T18:52:37 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-05T18:53:47 < Ranewen> should i center the chip, and then run some electrician's tape over half of it ???? and then solder 1 half ???? and then solder the other one ??? 2013-04-05T18:54:10 < zyp> nah, that's unnecesary work 2013-04-05T18:54:29 < zyp> tin one pad first, then place chip while heating it, to tack it in place 2013-04-05T18:54:47 < zyp> then solder opposite corner 2013-04-05T18:54:50 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-05T18:54:52 < zyp> then solder everything in any order 2013-04-05T18:55:07 < Ranewen> thx 2013-04-05T18:55:27 < jpa-> and *check* that it is perfectly aligned 2013-04-05T18:55:39 < jpa-> on all sides 2013-04-05T18:56:33 < Ranewen> how much does 24MHz xtal drifts under high temperatures ?? is there any graphs online ?? 2013-04-05T18:56:40 < zyp> also, I've found that flux cored solder usually has enough flux that you don't need to add any extra 2013-04-05T18:57:35 < jpa-> Ranewen: yes, in the crystal datasheet 2013-04-05T18:58:09 < Ranewen> jpa-: oh... 2013-04-05T18:59:11 < Ranewen> but idk who made mine :D 2013-04-05T18:59:35 < Fail_Academy> i dont think you will get an stm32 to run with a 24mhz xtal 2013-04-05T18:59:49 < Fail_Academy> needs <20 or someething, i forget 2013-04-05T19:00:12 < Ranewen> for 2€ one it's =<24 2013-04-05T19:00:51 < karlp> if you don't know the crystal datasheet, then you clearly don't care what it does at various temps :) 2013-04-05T19:01:38 < karlp> Fail_Academy: L1 says HSE can be 1-32Mhz 2013-04-05T19:01:49 < Ranewen> im affraid that it goes above 24 (which is max) and then it turns to the internal 2013-04-05T19:01:50 < karlp> don't have the others open in front of me. 2013-04-05T19:02:44 < Posterdati> jpa-: removing or adding 2013-04-05T19:02:54 < jpa-> Ranewen: nah, the limit is not that exact 2013-04-05T19:03:04 < Posterdati> jpa-: removing or adding usbd_core from compilation doesn't change the error 2013-04-05T19:03:09 < Posterdati> jpa-: strange 2013-04-05T19:03:13 < jpa-> Posterdati: not strange at all 2013-04-05T19:03:21 < Ranewen> how exactly does the transfer happen ? from external to internal ?? 2013-04-05T19:03:29 < jpa-> Ranewen: by setting a bit 2013-04-05T19:03:41 < jpa-> Posterdati: you are referencing the wrong symbol, and now you are solving a wrong problem 2013-04-05T19:03:56 < jpa-> Posterdati: you have to figure out why the symbol in main.o gets mangled 2013-04-05T19:04:08 < Posterdati> mmh but USBD_Init is unique in the USB library 2013-04-05T19:04:27 < Ranewen> i was thinking does it turn off ? or does it interrupt something ? 2013-04-05T19:04:39 < Ranewen> *does it turn the uc off 2013-04-05T19:06:43 < jpa-> Posterdati: the linker complains the symbol is not found, because it is looking for the C++ symbol not the C symbol 2013-04-05T19:06:56 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-05T19:07:03 < jpa-> Posterdati: then you remove the C symbol and the C++ symbol is still missing, very surprising? 2013-04-05T19:07:19 < jpa-> Posterdati: you have to find out why it is looking for the C++ symbol and not the C symbol 2013-04-05T19:08:12 < Posterdati> that symbol should be in extern "C" {} 2013-04-05T19:08:55 < jpa-> but for some reason it is not 2013-04-05T19:09:18 < jpa-> and then you tried to look at the preprocessor output and suddenly there was nothing at all? 2013-04-05T19:09:24 < jpa-> maybe you should enroll in Fail_Academy :) 2013-04-05T19:09:38 < Posterdati> jpa-: nooooooooooooooooo 2013-04-05T19:13:09 < Posterdati> jpa-: in fact symbols like RCC_APB2PeriphClockCmd are not mangled 2013-04-05T19:13:30 < Posterdati> this is an extern "C" problem 2013-04-05T19:14:27 < jpa-> i have been trying to tell you that for a few hours now :) 2013-04-05T19:14:59 * karlp cries 2013-04-05T19:15:17 * jpa- pats karlp and says "there, there" 2013-04-05T19:16:13 < Posterdati> damned c++ I hate it 2013-04-05T19:19:23 < Posterdati> mangling names, what a blasfemy 2013-04-05T19:20:41 < Posterdati> and that foolish extern "C" 2013-04-05T19:21:06 < Posterdati> ah 2013-04-05T19:21:30 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has joined ##stm32 2013-04-05T19:22:48 < inca> what are the advantages of J-Link in comparison with something like Black Magic Probe? 2013-04-05T19:23:18 < jpa-> it has advantages? 2013-04-05T19:23:29 < inca> sorry, poorly framed question 2013-04-05T19:23:49 < inca> why do people use J-Link? 2013-04-05T19:24:22 < inca> it is not apparent to me given the documentation or first glance forum posts 2013-04-05T19:26:30 < gxti> professional support, more hardware supported 2013-04-05T19:26:39 < gxti> SWO trace 2013-04-05T19:32:32 < inca> So BMP is on par but with less hardware supported so far 2013-04-05T19:32:52 < jpa-> and no SWO trace 2013-04-05T19:33:03 < jpa-> or no software that support it 2013-04-05T19:34:34 < gxti> bmp works with most things that can use a remote gdb server, but more things support jlink 2013-04-05T19:49:08 -!- Ranewen [a135b3e2@gateway/web/freenode/ip.161.53.179.226] has quit [Quit: Page closed] 2013-04-05T19:51:05 -!- Mobyfab [~Mobyfab@80.239.168.84] has left ##stm32 [] 2013-04-05T19:53:18 -!- [1]MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-05T19:53:20 < Erlkoenig> #define GPIO_AF_1 ((uint8_t)0x01) /* TIM2, TIM15, TIM16, TIM17, OUT */ ... what is alternate function "OUT"? for the STM32F373 2013-04-05T19:53:23 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-05T19:56:03 -!- DaKu is now known as daku 2013-04-05T19:56:19 -!- daku is now known as DaKu 2013-04-05T20:02:56 -!- barthess1 [~barthess@178.154.23.4] has joined ##stm32 2013-04-05T20:18:07 < Posterdati> jpa-: maybe I found the problem: when one compiles c and c++ he must use g++ to link 2013-04-05T20:18:16 < Posterdati> jpa-: I used ld 2013-04-05T20:18:32 < gxti> yeah don't call ld directly 2013-04-05T20:18:49 < gxti> even for pure C :p 2013-04-05T20:18:53 < Posterdati> yes 2013-04-05T20:19:26 < Erlkoenig> the F407 RM has that nice picture of the AF mux on page 190... is there any AF list for the F373 that's a bit more explanatory than the #define GPIO_AF_* from the Stdperiph lib? 2013-04-05T20:19:30 < Posterdati> I do not recall how to pass ld compatible opts to gcc, gonna find the old makefile I used to do such compilation 2013-04-05T20:20:02 < gxti> Erlkoenig: datasheet has a grid iirc 2013-04-05T20:20:14 < gxti> with IOs down the left and AF along the top 2013-04-05T20:20:36 < Erlkoenig> ah right... 2013-04-05T20:20:37 < Posterdati> -Wl,--start-group 2013-04-05T20:21:13 < Erlkoenig> hm, maybe the "OUT" means "EVENTOUT" 2013-04-05T20:21:24 < Erlkoenig> why didn't they just write "DATA" or "SIGNAL" 2013-04-05T20:21:29 < Erlkoenig> wouldn't be less descriptive 2013-04-05T20:21:49 < gxti> PIN 2013-04-05T20:30:37 -!- _BJFreeman [~bjfree@188.sub-75-244-135.myvzw.com] has joined ##stm32 2013-04-05T20:30:58 -!- _BJFreeman is now known as BJfreeman 2013-04-05T20:56:31 -!- [1]MrMobius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-05T21:03:52 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Ping timeout: 256 seconds] 2013-04-05T21:04:19 -!- luke1 [~luke@cnh8092116116.pppoe.surfer.cnh.at] has joined ##stm32 2013-04-05T21:06:41 < inca> jpa- gxti gsmcmullin: I thought BMP could do SWO? http://embdev.net/articles/STM_Discovery_as_Black_Magic_Probe 2013-04-05T21:07:04 -!- Erlkoenig [~erlkoenig@pptp-212-201-73-250.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-05T21:07:13 -!- Luggi09 [~luke@cnh8092116121.pppoe.surfer.cnh.at] has quit [Ping timeout: 245 seconds] 2013-04-05T21:07:52 < jpa-> inca: kind-of, but i don't know if there is much software to support it with BMP 2013-04-05T21:10:22 <+Steffanx> inca there is some experimental support. At least it was experimental the ast time i looked at it 2013-04-05T21:10:45 <+Steffanx> mr gsmc... has some scripts on github 2013-04-05T21:12:36 < inca> that's exciting… the OSS is almost all set in the groundwork to start giving CrossWorks and IAR a run for their money 2013-04-05T21:14:41 < karlp> yeah, one day. 2013-04-05T21:14:48 < karlp> long way to go though 2013-04-05T21:14:56 <+Steffanx> for sure 2013-04-05T21:15:01 < inca> karlp: it's not so far 2013-04-05T21:15:20 < karlp> depends what you expect I guess. 2013-04-05T21:15:28 < inca> well… the bar is pretty low 2013-04-05T21:15:35 < inca> CrossWorks sucks 2013-04-05T21:15:47 < inca> even if IAR is exponentially better per dollar 2013-04-05T21:16:13 < inca> it can't be worth that kind of cash in order to develop 2013-04-05T21:16:52 < Posterdati> jpa-: damn, it is a static function!!!! 2013-04-05T21:18:39 < jpa-> so you never did this? 17:52:27 < jpa-> Posterdati: check with nm if the usbd_core.o actually contains that symbol 2013-04-05T21:19:22 < inca> karlp: so yeah, you are right. it does depend on what you expect. =) 2013-04-05T21:19:28 < Posterdati> arm-none-eabi-nm gcc/usbd_core.o | grep USBD_Init 2013-04-05T21:19:29 < Posterdati> 00000000 T USBD_Init 2013-04-05T21:20:05 < jpa-> hmm.. doesn't look static to me 2013-04-05T21:20:16 < Posterdati> jpa-: no no is not static, it is defined as void USBD_Init 2013-04-05T21:20:54 < jpa-> uh.. so what did you say is a static function? 2013-04-05T21:20:59 < Posterdati> jpa-: other functions in usbd_core.c are static but USBD_Init and USBD_DeInit 2013-04-05T21:21:15 < jpa-> sure, sounds normal 2013-04-05T21:22:14 < Posterdati> jpa-: what if I include usbd_core.c in my main.cpp file? 2013-04-05T21:22:32 < jpa-> why the hell would you do that? 2013-04-05T21:23:08 < Posterdati> to add function definition in main.cpp 2013-04-05T21:23:53 < jpa-> uh, you need to call the static functions? 2013-04-05T21:24:01 -!- luke1 is now known as Luggi09 2013-04-05T21:24:07 < Posterdati> jpa-: no, why? 2013-04-05T21:24:53 < jpa-> including the c file is not a proper solution to your problem with c++ name mangling 2013-04-05T21:25:03 < Posterdati> I only need USBD_Init 2013-04-05T21:25:05 < jpa-> you would just get the same error about some other symbol from the other usb files 2013-04-05T21:25:15 < jpa-> USBD_Init needs other functions 2013-04-05T21:25:19 < karlp> man, is this shit still going on? 2013-04-05T21:25:22 < karlp> I'm out of here 2013-04-05T21:25:37 < Posterdati> jpa-: yes I know 2013-04-05T21:25:45 < gxti> it must be really complicated karlp, because Posterdati knows how to compile 2013-04-05T21:25:55 < gxti> only super duper experts can figure it out :p 2013-04-05T21:26:04 < Posterdati> gxti: yes 2013-04-05T21:26:09 < Posterdati> gxti: not like you 2013-04-05T21:26:17 < Posterdati> gxti: you can't compile 2013-04-05T21:26:20 < gxti> nope 2013-04-05T21:26:34 < Posterdati> gxti: you haven't got that right to 2013-04-05T21:26:43 < Posterdati> pook gxti 2013-04-05T21:26:46 < gxti> right to what? party? 2013-04-05T21:26:48 < Posterdati> poor gxti 2013-04-05T21:26:51 < Posterdati> no compile 2013-04-05T21:27:15 < jpa-> right to fail in compiling 2013-04-05T21:27:27 < Posterdati> no 2013-04-05T21:27:33 < gxti> ok enough hacking i have super serious work to do 2013-04-05T21:27:43 < Posterdati> failing in compiling st shit usb stack 2013-04-05T21:30:01 < Posterdati> everything else worked ok 2013-04-05T21:31:42 < jpa-> make a C file and call that usb stuff from there 2013-04-05T21:32:11 < Posterdati> :( 2013-04-05T21:33:11 < jpa-> why :(? 2013-04-05T21:36:56 -!- Ranewen [a135b3e2@gateway/web/freenode/ip.161.53.179.226] has joined ##stm32 2013-04-05T21:43:33 < Posterdati> jpa-: didn't work either 2013-04-05T21:48:35 -!- ShiftPlusOne [~Shift@unaffiliated/shiftplusone] has quit [Read error: Connection reset by peer] 2013-04-05T21:48:54 -!- ShiftPlusOne [~Shift@unaffiliated/shiftplusone] has joined ##stm32 2013-04-05T21:50:44 -!- barthess [~barthess@86.57.155.106] has quit [Ping timeout: 255 seconds] 2013-04-05T21:59:08 -!- Mobyfab [~Mobyfab@2a01:e35:8a10:c580:c818:c5a7:e801:8653] has joined ##stm32 2013-04-05T21:59:14 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-05T22:03:06 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Client Quit] 2013-04-05T22:04:00 -!- barthess1 is now known as barthess 2013-04-05T22:05:46 < Posterdati> jpa-: I saw that there's no .d files for the file containing the USBD_Init 2013-04-05T22:08:08 < Posterdati> jpa-: there's no dependency file at all 2013-04-05T22:13:31 -!- Erlkoenig [~erlkoenig@pptp-212-201-73-250.pptp.stw-bonn.de] has joined ##stm32 2013-04-05T22:13:43 -!- phantoneD [~destroy@a95-92-88-3.cpe.netcabo.pt] has joined ##stm32 2013-04-05T22:15:48 < Posterdati> jpa-: that's the problem there's no -MD file 2013-04-05T22:15:52 < Posterdati> sorry 2013-04-05T22:15:56 < Posterdati> jpa-: that's the problem there's no .d file 2013-04-05T22:17:05 -!- phantoxeD [~destroy@a95-92-88-3.cpe.netcabo.pt] has quit [Ping timeout: 245 seconds] 2013-04-05T22:20:49 < Posterdati> jpa-: compiling only usbd_core.c gave me a usbd_core.d weird! 2013-04-05T22:26:34 < Posterdati> fixed, but still undefined symbol from USBD_Init :) lol 2013-04-05T22:39:26 -!- BusError_ [~michel@host217-44-87-213.range217-44.btcentralplus.com] has joined ##stm32 2013-04-05T22:40:12 < Robint91> http://www.youtube.com/watch?feature=player_embedded&v=IVnscHsPfR4#! 2013-04-05T22:40:30 < Robint91> I do think of dongs we I watch this 2013-04-05T22:41:39 -!- Laurenceb_ [~Laurence@host86-146-188-81.range86-146.btcentralplus.com] has joined ##stm32 2013-04-05T22:42:53 -!- mode/##stm32 [+o Steffanx] by ChanServ 2013-04-05T22:42:54 -!- Robint91 was kicked from ##stm32 by Steffanx [Robint91] 2013-04-05T22:43:04 -!- mode/##stm32 [-o Steffanx] by ChanServ 2013-04-05T22:43:07 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-05T22:43:09 < Robint91> WHY 2013-04-05T22:43:22 < Laurenceb_> cuz trololololol 2013-04-05T22:43:23 -!- BusError [~michel@host81-152-148-34.range81-152.btcentralplus.com] has quit [Ping timeout: 255 seconds] 2013-04-05T22:43:28 <+Steffanx> Its time to stop post bullcrap in this channel. 2013-04-05T22:44:21 <+Steffanx> No, troll Laurenceb_ is pretty serious. 2013-04-05T22:44:57 < Robint91> Steffanx, but, http://motherboard.vice.com/blog/deathray <- Tesla stuff 2013-04-05T22:45:47 < Laurenceb_> haha wtf 2013-04-05T22:47:14 < Robint91> see Laurenceb_ food for thought 2013-04-05T22:47:33 < Robint91> Steffanx, that youtube click wasn't that bad after all 2013-04-05T22:49:04 <+Steffanx> Except for it being 'dongs' related. it has NOTHING to do with this channel. So take it somewhere else 2013-04-05T22:50:04 < Robint91> Steffanx, is #sparkfun better? 2013-04-05T22:50:32 < Robint91> or #midlyintresstingbutSteffanxDoesntlikeitinsharpsharpstm32 ? 2013-04-05T22:50:48 * Robint91 gets kicked 2013-04-05T22:50:50 < Robint91> in 5 2013-04-05T22:50:51 < Robint91> 4 2013-04-05T22:50:52 < Robint91> 3 2013-04-05T22:50:53 < Robint91> 2 2013-04-05T22:50:54 < Robint91> 1 2013-04-05T22:53:00 < Laurenceb_> yawnz 2013-04-05T22:58:24 < Robint91> is it me or is the USB stack of the F4 really bloated 2013-04-05T22:58:34 < Robint91> compared to the F1/F3 one 2013-04-05T22:58:50 < Erlkoenig> the lib or the HW? 2013-04-05T22:58:53 < Robint91> lib 2013-04-05T23:01:10 -!- ohama [ohama@cicolina.org] has quit [Ping timeout: 256 seconds] 2013-04-05T23:03:25 <+Steffanx> hmpf, where you can find the peripheral lib om st.com nowadays? 2013-04-05T23:03:56 <+Steffanx> oh, nvm 2013-04-05T23:06:05 < Robint91> Steffanx, you google for it 2013-04-05T23:07:07 -!- ohama [ohama@cicolina.org] has joined ##stm32 2013-04-05T23:09:00 < Erlkoenig> why do they have one lib per device and not one that compiles correctly for the desired target by using preprocessor switches and similar? 2013-04-05T23:09:10 < Posterdati> jpa-: solved 2013-04-05T23:09:21 -!- CRF_Peter [~Peter@dhcp-190184.eduroam.chalmers.se] has quit [Ping timeout: 276 seconds] 2013-04-05T23:10:30 -!- CRF_Peter [~Peter@dhcp-190184.eduroam.chalmers.se] has joined ##stm32 2013-04-05T23:12:45 <+Steffanx> Are you sure Erlkoenig ? The one i have in front of me seems ot be one for f1/f2/f4 2013-04-05T23:13:06 < Erlkoenig> ah... the for f3 and the for f4 are different 2013-04-05T23:13:47 < Robint91> Erlkoenig, only device or OTG 2013-04-05T23:14:01 < Robint91> Erlkoenig, ST makes a difference between thsoe 2013-04-05T23:14:17 < Erlkoenig> uhm 2013-04-05T23:14:27 -!- Themapplz [~Themapplz@0x4dd74f01.adsl.cybercity.dk] has joined ##stm32 2013-04-05T23:14:41 <+Steffanx> Actually, Device, Host and OTG is what they have. ( three different libs ) 2013-04-05T23:14:48 -!- memand [~memand@0x4dd74f01.adsl.cybercity.dk] has joined ##stm32 2013-04-05T23:15:46 < Erlkoenig> ah, so they just removed the _sdadc.c/h files from the F4 lib 2013-04-05T23:16:28 < Themapplz> hi guys - we're hunting a little chip that can do simple fft of raw audio - quality is not important - any ideas? 2013-04-05T23:17:04 <+Steffanx> Even an AVR can do that :) 2013-04-05T23:17:17 < Robint91> Themapplz, how many bins and at which sample rate? 2013-04-05T23:17:59 < Themapplz> well we'll try to keep the sample rate as low as possible as we're not using the audio for playing it back, but merely for determining certain parametes 2013-04-05T23:18:14 < Robint91> how many points? 2013-04-05T23:18:35 < Themapplz> we need to process the audio in deferent ways in order to some fingerprinting - any chips that do that? 2013-04-05T23:20:50 < Erlkoenig> implement your processing on a PC processor, analyze the required performance, select chip accordingly 2013-04-05T23:20:53 < Themapplz> erm.. :| we're not pros here.. we have a friend that will do all that for us - we're just looking to do the shopping around for whats out there -- erm.. 'points'? 2013-04-05T23:21:23 < Erlkoenig> do the shopping AFTER the implementation of the algorithm so you know exactly what you need 2013-04-05T23:21:28 <+Steffanx> it has to be small Themapplz ? 2013-04-05T23:21:41 <+Steffanx> Otherwise, use a pc :) 2013-04-05T23:22:28 < Themapplz> eventually small,yes. 2013-04-05T23:22:58 < BJfreeman> or use a STM32f4 discovery board that has the stuff built in 2013-04-05T23:23:25 < Themapplz> i would say 128 points is sufficient 2013-04-05T23:25:28 -!- Ranewen [a135b3e2@gateway/web/freenode/ip.161.53.179.226] has quit [Ping timeout: 245 seconds] 2013-04-05T23:25:34 < Themapplz> BJfreeman: cool thx :) 2013-04-05T23:26:16 < Robint91> speaking of jobs 2013-04-05T23:26:29 < Robint91> I turned down a nice HW and SW dev job 2013-04-05T23:27:52 < Robint91> 1600€/month + mobile dataplan + the company pays to fuel the car 2013-04-05T23:27:55 < Robint91> as starting EE 2013-04-05T23:28:30 < Erlkoenig> the F373 Datasheet says that e.g. PE9 is connected to SDADC1_AIN7P, SDADC1_AIN8M, SDADC2_AIN7P, SDADC2_AIN8M ... how do i now select to what SDADC channel it should be connected?? 2013-04-05T23:28:34 < inca> 1600 euros? 2013-04-05T23:28:42 < BJfreeman> sounds about right for starting EE 2013-04-05T23:29:27 < Robint91> BJfreeman, it was too low, I have worked there for two years as intern 2013-04-05T23:29:44 < Robint91> and did my master thesis there and A LOT of support 2013-04-05T23:29:50 < Erlkoenig> sounds about what i earned in an internship i did with just highscool :P 2013-04-05T23:29:53 < BJfreeman> ah yes then you have been trained 2013-04-05T23:30:06 < BJfreeman> you should be a couple of levels up 2013-04-05T23:30:15 < Robint91> BJfreeman, I expected at least 1800 to 2000 2013-04-05T23:31:22 < BJfreeman> some thing to think about is benfits which are not taxable, that give you and effective higher salary 2013-04-05T23:32:45 -!- CRF_Peter [~Peter@dhcp-190184.eduroam.chalmers.se] has quit [Ping timeout: 276 seconds] 2013-04-05T23:36:36 < Erlkoenig> the F373 Datasheet says that e.g. PE9 is connected to SDADC1_AIN7P, SDADC1_AIN8M, SDADC2_AIN7P, SDADC2_AIN8M ... how do i now select to what SDADC channel it should be connected?? 2013-04-05T23:36:52 < Erlkoenig> zyp i know you know the answer 2013-04-05T23:37:40 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-238-17.clienti.tiscali.it] has quit [Ping timeout: 260 seconds] 2013-04-05T23:41:04 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-231-195.clienti.tiscali.it] has joined ##stm32 2013-04-05T23:41:20 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-05T23:44:37 < karlp> is that euros per month take home, or per what? 2013-04-05T23:45:33 < Robint91> karlp, what you recieve on your bank accoun 2013-04-05T23:45:51 < inca> Euros, USD, Canadian $, what? 2013-04-05T23:46:19 < karlp> it had a euro symbol inca 2013-04-05T23:46:24 < karlp> Robint91: per month? 2013-04-05T23:46:40 < inca> karlp: my irc client is apparently euro symbol-free 2013-04-05T23:46:49 < karlp> get a better one then :) 2013-04-05T23:47:13 < inca> karlp, it's OSS… I suppose I could hack it… put it on the todo list… I've run out of hacking time for today =) 2013-04-05T23:47:17 < karlp> can it see these properly? þæðöÐý? 2013-04-05T23:47:29 < Robint91> € / month 2013-04-05T23:47:32 < inca> seems okay to me 2013-04-05T23:47:42 < inca> Robint91: I only saw " / month" 2013-04-05T23:47:45 < Robint91> euro / month 2013-04-05T23:49:17 < karlp> seems a bit low to me, but *shrugs* 2013-04-05T23:49:55 < Robint91> karlp, 1600€ is entry level for an engineer in the EU/belgium 2013-04-05T23:50:52 < karlp> sure, it's about what I started on here, but not for hardware. 2013-04-05T23:51:16 < Robint91> karlp, full embedded engineer, making HW and embedded firmware 2013-04-05T23:51:20 < karlp> I was a generic software monkey for that much ~10 years ago 2013-04-05T23:53:47 < Robint91> karlp, US? 2013-04-05T23:54:27 < Mobyfab> US salaries are higher IMO 2013-04-05T23:55:19 < inca> in pure currency conversion, 1600 Euro => 2080 USD 2013-04-05T23:55:28 < inca> not sure how it relates in purchasing power 2013-04-05T23:56:23 < inca> starting EE in US is about $3k/mo for hardware 2013-04-05T23:57:02 < inca> I think euro's go a lot further in terms of buying and paying for things, like rent 2013-04-05T23:58:43 < inca> Robint91: I'm sure you'll find something good 2013-04-05T23:58:43 < Mobyfab> inca, prices are same or lower in US for most consumer goods so purchasing power is much better 2013-04-05T23:58:45 < Erlkoenig> depends heavily on where to rent... 300Eur for 25m^2 flat 2013-04-05T23:58:49 < Erlkoenig> is cheap here, e.g. 2013-04-05T23:58:57 < karlp> no, in the states I got paid a lot more. 2013-04-05T23:59:07 < Robint91> inca, I have been offered a PhD position 2013-04-05T23:59:14 < karlp> I arrived in iceland with no-one knowing much aout me, and got entry level pay for a few months 2013-04-05T23:59:29 < Mobyfab> Robint91, you got a trolololol PhD? 2013-04-05T23:59:34 < karlp> in the states I got paid absurdly well, but, well, had to live in the states 2013-04-05T23:59:39 < inca> Mobyfab: but we have rent extortion here… $1k/month to live cheap 2013-04-05T23:59:40 < Robint91> Mobyfab, yes 2013-04-05T23:59:59 < Robint91> brb --- Day changed Sat Apr 06 2013 2013-04-06T00:00:04 < inca> karlp: yeah, there is a price for that 2013-04-06T00:00:10 < Mobyfab> it really depends where you live, it's not only based on the country 2013-04-06T00:00:32 < inca> right 2013-04-06T00:00:59 < inca> car expenses paid by company would be a big deal 2013-04-06T00:01:06 < Mobyfab> but in general, IT/EE are paid fairly well in the states compared to eu 2013-04-06T00:01:27 < Mobyfab> like +50% or even more sometimes 2013-04-06T00:01:54 < inca> hmm… I wonder why that is 2013-04-06T00:02:04 < karlp> because CAPITALISM! murricah! 2013-04-06T00:02:15 < inca> karlp: I doubt it 2013-04-06T00:02:22 * karlp shrugs 2013-04-06T00:02:32 < inca> probably the lack of US EE/IT graduates 2013-04-06T00:02:36 < Mobyfab> culture difference I guess 2013-04-06T00:03:30 < inca> heh… yeah… lots of Arts majors in these parts. Probably in response to being force-fed CAPITALISM 2013-04-06T00:04:33 < Tectu> has anyone ever attached external memory over FSMC to an STM32 in order to use it as RAM? 2013-04-06T00:05:51 < Tectu> I guess there is no real "RAM" extension and I just have to write an read from it manually the data I want, right? 2013-04-06T00:17:26 < Mobyfab> Ram connected via FSMC is accessed using a special address space, everything is done in hardware 2013-04-06T00:18:15 < Tectu> so it's possible to hook up a chip but don't care about which data is how written and read? 2013-04-06T00:18:15 -!- dekar_ [~dekar@dslb-088-069-145-113.pools.arcor-ip.net] has quit [Ping timeout: 276 seconds] 2013-04-06T00:18:17 < emeb> Tectu: I've done it. Works great. Just make sure that you get the RAM timing regs set right or you'll get data errors. 2013-04-06T00:18:27 < Tectu> emeb, I see 2013-04-06T00:18:37 < Tectu> emeb, how hard was it to make it work? also, what RAM did you use? 2013-04-06T00:19:01 < emeb> I used the FSMC example from the StdPeriph lib, tweaked a few settings and it worked. 2013-04-06T00:19:20 < Tectu> cool 2013-04-06T00:19:33 < emeb> I used two kinds of memory - an ISSI 512k x 16 and a Micron 2M x 16 2013-04-06T00:19:44 < Tectu> but just that I get this 100% right... I can simply allocate more memory etc. I don't have to manually write data to the external memory and read it back again? 2013-04-06T00:19:50 < emeb> slightly different timings, but both worked. 2013-04-06T00:19:54 < Tectu> why two different? 2013-04-06T00:20:18 < emeb> Tried two kinds to see how they worked. 2013-04-06T00:20:35 < emeb> Didn't need the larger one, and the smaller one was easier to assemble (not BGA) 2013-04-06T00:21:17 < Tectu> emeb, and about my other question, this is right? 2013-04-06T00:21:59 < emeb> Tectu: Yeah - the memory appears in the FSMC address space. Just read / write it normally and the timing is automatically handled. 2013-04-06T00:22:43 < Tectu> emeb, but exactly the "just read / write it normally" part is the thing I'm caring about... when using an RTOS, for example, I can simply malloc() to it? 2013-04-06T00:22:57 < Tectu> TL;DR --> It's "contious" to the internal RAM? 2013-04-06T00:23:52 < emeb> Tectu: It's not contiguous w/ normal memory IIRC. You would have to declare a new section in your linker script to use it with malloc. 2013-04-06T00:24:40 < Tectu> emeb, this is enough of information, I thank you very much! 2013-04-06T00:24:45 < emeb> kk 2013-04-06T00:27:13 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: to sleep, perchance to dream] 2013-04-06T00:30:40 < BJfreeman> tectu here is a board with Sram https://www.olimex.com/Products/ARM/ST/STM32-P407/ 2013-04-06T00:31:04 < BJfreeman> you can look at the eagle files for construction 2013-04-06T00:31:21 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-06T00:31:39 < Tectu> BJfreeman, thank you very much, this will be useful! 2013-04-06T00:32:28 < Tectu> hmm, it doesn't look like a lot of work or a lot of trouble to hook it up 2013-04-06T00:33:16 < Tectu> well, I would like to use it on the same FSMC bus as a memory mapped LCD, I guess this is no problem, right? 2013-04-06T00:34:14 < BJfreeman> you can also see the schematic and the demo software for examples 2013-04-06T00:37:58 < BJfreeman> I use SPI LCD 2013-04-06T00:38:45 < BJfreeman> I have not used this particular board but knew about 2013-04-06T00:42:01 < Laurenceb_> eww that olimex board 2013-04-06T00:42:04 < Laurenceb_> HUGGEEE 2013-04-06T00:42:51 <+Steffanx> Robint91, you checked tweakers.net to compare that salary with others? 2013-04-06T00:42:51 < Tectu> BJfreeman, what's the maximum amount of external RAM I can adress? 2013-04-06T00:42:53 < Tectu> address* 2013-04-06T00:43:03 < Tectu> BJfreeman, can I just mount two of them as well? 2013-04-06T00:43:30 < Tectu> BJfreeman, or four :D 2013-04-06T00:43:30 <+Steffanx> Last time i checked most starters ( programmers ) got at least 2k or more, Robint91 2013-04-06T00:43:35 < gxti> it's a dev board Laurenceb_ not a tarduino 2013-04-06T00:43:51 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-06T00:44:23 < Laurenceb_> i <3 being a tard 2013-04-06T00:44:27 < Laurenceb_> tarduino for me 2013-04-06T00:44:57 < Tectu> o.O 2013-04-06T00:45:34 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: ….] 2013-04-06T00:46:36 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-06T00:46:39 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-06T00:48:06 < BJfreeman> techtu the upto 25 bit address, and yes you can have many SPI LCD as you have data pins to select them 2013-04-06T00:48:36 < Laurenceb_> hes back and ready to ban you 2013-04-06T00:48:48 -!- CRF_Peter [~Peter@193.11.200.145] has joined ##stm32 2013-04-06T00:53:09 -!- Themapplz [~Themapplz@0x4dd74f01.adsl.cybercity.dk] has left ##stm32 [] 2013-04-06T01:01:51 < Tectu> BJfreeman, 25bit addresses? as in 2^25? 2013-04-06T01:02:20 < Laurenceb_> anyone know about legacy Ti micros? 2013-04-06T01:02:34 < Laurenceb_> did they have a "USB" micro, i.e. ram only? 2013-04-06T01:04:20 < Posterdati> jpa-: it works! But otg doesn't 2013-04-06T01:04:38 -!- Mobyfab [~Mobyfab@2a01:e35:8a10:c580:c818:c5a7:e801:8653] has quit [Quit: Leaving] 2013-04-06T01:05:00 < Posterdati> jpa-: got stuck in OTG_FS_IRQHandler, the code I have got is not for 107 :( 2013-04-06T01:05:19 < Posterdati> jpa-: 107 hasn't got EP1 in out IRQs 2013-04-06T01:09:37 < BJfreeman> Tectu yes that much memory space 2013-04-06T01:09:44 -!- CRF_Peter [~Peter@193.11.200.145] has quit [Ping timeout: 258 seconds] 2013-04-06T01:09:48 < Robint91> Steffanx, did, but there is a diff between belgian industrial engineers and the engineer is the Netherlands 2013-04-06T01:09:57 < Robint91> Steffanx, and IT poeple do earn more 2013-04-06T01:10:36 <+Steffanx> Yeah, i think i kinda noticed that as well. At least what i understand from some other belgians i talk too 2013-04-06T01:11:07 <+Steffanx> but it was a hw/sw job no? 2013-04-06T01:11:13 < Tectu> BJfreeman, that means I can go up to 32MBit external memory? 2013-04-06T01:11:15 < Robint91> Steffanx, yeah 2013-04-06T01:11:28 < Robint91> Steffanx, design products form A to Z 2013-04-06T01:13:02 <+Steffanx> I was not possible to come with a counter offer? 2013-04-06T01:13:04 -!- barthess [~barthess@178.154.23.4] has quit [Ping timeout: 246 seconds] 2013-04-06T01:13:16 < Robint91> Steffanx, not neccarery 2013-04-06T01:13:25 < Robint91> Steffanx, I'm doing a Phd next 4 years 2013-04-06T01:13:30 <+Steffanx> heh 2013-04-06T01:14:43 -!- barthess [~barthess@77.67.171.45] has joined ##stm32 2013-04-06T01:16:32 -!- dekar [~dekar@212.255.243.165] has joined ##stm32 2013-04-06T01:16:35 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-06T01:16:55 < BJfreeman> Tectu a little over 8 gb 2013-04-06T01:17:12 < BJfreeman> total address space 2013-04-06T01:17:14 < Tectu> BJfreeman, how do I calculate this wrong? 2013-04-06T01:17:30 < Tectu> BJfreeman, also, I thought the STM32 address space is 4GB, this means the external memory will just extend it? 2013-04-06T01:18:16 < BJfreeman> me and decimal points 2013-04-06T01:18:26 < BJfreeman> little over 8mg 2013-04-06T01:18:54 < Tectu> wtf? 2013-04-06T01:19:10 < BJfreeman> NVM 2013-04-06T01:20:19 < Tectu> what are you doing 8mg? what? 2013-04-06T01:20:26 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-231-195.clienti.tiscali.it] has quit [Ping timeout: 245 seconds] 2013-04-06T01:20:34 < BJfreeman> 8388608 addresses 2013-04-06T01:22:14 < Tectu> BJfreeman, over the entire FSMC interface, right? 2013-04-06T01:25:05 < BJfreeman> Yes 2013-04-06T01:25:53 < Tectu> BJfreeman, when I bus the external RAM things, they have 19 address pins? 2013-04-06T01:26:02 < Tectu> BJfreeman, how does that work, I mean does it start with 0x000? I bet no? 2013-04-06T01:29:26 < BJfreeman> I am looking at the Schematic of the 407 A0-A26 2013-04-06T01:29:29 < BJfreeman> A25 2013-04-06T01:30:22 < Tectu> so I simply connect A0-A18 of the RAM to A0 to A18 of the STM32, but how does that work with the address space, does it start at 0x00? 2013-04-06T01:31:20 < BJfreeman> if you look at the code they supply for the demo you will get not only code but answers 2013-04-06T01:31:50 < Tectu> Okay, I definitely must do that :) 2013-04-06T01:31:56 < Tectu> thanks again! 2013-04-06T01:36:42 -!- a2cypher [~cypher@mail.krausglobal.com] has quit [Ping timeout: 245 seconds] 2013-04-06T01:51:28 -!- barthess [~barthess@77.67.171.45] has quit [Quit: Leaving.] 2013-04-06T01:59:34 -!- Steffann [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-06T01:59:34 -!- Steffann [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-06T01:59:34 -!- Steffann [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-06T01:59:37 -!- mode/##stm32 [+v Steffann] by ChanServ 2013-04-06T01:59:57 -!- Laurenceb_ [~Laurence@host86-146-188-81.range86-146.btcentralplus.com] has quit [Ping timeout: 258 seconds] 2013-04-06T02:01:15 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Ping timeout: 245 seconds] 2013-04-06T02:01:16 -!- DaKu is now known as daku 2013-04-06T02:05:11 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-06T02:17:21 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Quit: Ik ga weg] 2013-04-06T02:20:56 < Posterdati> hi 2013-04-06T02:21:17 < Posterdati> please help, float point arithmetic gone in my stm32f107 program :(, lol 2013-04-06T02:29:58 <+Steffann> uh what Posterdati ? 2013-04-06T02:30:17 < Posterdati> yes, every operations is zero 2013-04-06T02:52:48 -!- Steffann [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-06T03:24:29 -!- dekar_ [~dekar@212.255.243.165] has joined ##stm32 2013-04-06T03:24:32 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-04-06T03:31:47 -!- Netsplit *.net <-> *.split quits: jv, mervaka, Erlkoenig, daku, Luggi09, TeknoJuce, fiendie, ABLomas, resset, CoolBear, (+7 more, use /NETSPLIT to show all of them) 2013-04-06T03:33:21 -!- Netsplit over, joins: Rickta59 2013-04-06T03:39:39 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-06T03:39:40 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-06T03:51:28 < Posterdati> hi 2013-04-06T03:51:52 < Posterdati> in stm32f is usb ram memory mapped at fixed address^ 2013-04-06T03:51:54 < Posterdati> ? 2013-04-06T03:52:50 < upgrdman> i need (well want) to remove an SMD FFC connector from a pcb. any idea what kind of temp those things melt at? i normally use 350c, but not sure if i should go lower 2013-04-06T03:59:01 < BJfreeman> most solders melt at about 82 c 2013-04-06T04:00:22 < dongs> uh what 2013-04-06T04:03:25 < BJfreeman> dongs thinking of 60/40 solder 2013-04-06T04:08:30 < dongs> noone sane should be using that 2013-04-06T04:13:43 < upgrdman> so whats a safe temp for unknown solder? 150c? 2013-04-06T04:19:24 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-06T04:38:02 < zyp> I bought a qi (wireless) charger yesterday, since my phone supports that 2013-04-06T04:38:39 < zyp> it contains a motor to move the transmission coil underneath the optimal position for where you put the reception coil 2013-04-06T04:39:05 < zyp> so when I put my phone on it, it senses where and moves the transmission coil there 2013-04-06T04:41:22 < upgrdman> neat 2013-04-06T04:41:28 < upgrdman> what charger 2013-04-06T04:41:49 < BJfreeman> dongs I grew up using 60/40 have lbs of it 2013-04-06T04:42:04 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-04-06T04:42:21 < zyp> upgrdman, panasonic chargepad 2013-04-06T04:42:28 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-06T04:43:15 < zyp> http://vimeo.com/56386654 2013-04-06T04:43:42 < dongs> lol 2013-04-06T04:44:09 < dongs> how much was that and how much extra did it cost to make that shit 2013-04-06T04:44:29 < zyp> 3k yen-ish 2013-04-06T04:44:43 < zyp> cheapest qi charger I've seen too 2013-04-06T04:45:44 < dongs> wow 2013-04-06T04:45:46 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-06T04:46:01 < dongs> cool 2013-04-06T04:46:04 < dongs> a bunch on ebay 2013-04-06T04:46:06 < dongs> from japan 2013-04-06T04:46:08 < dongs> paypalin now. 2013-04-06T04:46:19 < dongs> that worked with dixus 4 right? 2013-04-06T04:47:20 < zyp> yep 2013-04-06T04:47:25 < dongs> excellent 2013-04-06T04:47:42 < upgrdman> how do you like your n4? 2013-04-06T04:47:58 < dongs> only have teo reboot once a week when it loses data connectivity 2013-04-06T04:48:04 < dongs> otherwise works fine for reading thereg and irc 2013-04-06T04:48:17 < zyp> I like mine a lot 2013-04-06T04:48:22 < Simon--> mine works without breaking except once when I was messing with LTE 2013-04-06T04:48:33 < Simon--> (have to use LTE on the seabus since HSDPA is totally saturated here) 2013-04-06T04:51:08 < upgrdman> Nexus 4 Bumper worth $20?! 2013-04-06T04:52:53 < dongs> zyp: what do you like about ti 2013-04-06T04:52:55 < dongs> it 2013-04-06T04:53:29 -!- Rickta59_ [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-06T04:53:46 < zyp> it tends to work and keep working while also being usable 2013-04-06T04:55:43 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 276 seconds] 2013-04-06T05:00:08 < dongs> mkay 2013-04-06T05:00:40 -!- baird [~cjb@ppp121-44-143-225.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-06T05:00:40 -!- karlp [~karl@palmtree.beeroclock.net] has joined ##stm32 2013-04-06T05:00:40 -!- Erlkoenig [~erlkoenig@pptp-212-201-73-250.pptp.stw-bonn.de] has joined ##stm32 2013-04-06T05:00:40 -!- Luggi09 [~luke@cnh8092116116.pppoe.surfer.cnh.at] has joined ##stm32 2013-04-06T05:00:40 -!- ds2 [noinf@netblock-66-245-251-24.dslextreme.com] has joined ##stm32 2013-04-06T05:00:40 -!- fiendie [fiendie@ipv6.leela.fiendie.net] has joined ##stm32 2013-04-06T05:00:40 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-04-06T05:00:40 -!- resset [~pillot@v194.c2.dhosting.pl] has joined ##stm32 2013-04-06T05:00:40 -!- daku [~DaKu@2a01:4f8:100:5323:0:bc28:d18c:9] has joined ##stm32 2013-04-06T05:00:40 -!- ossifrage [~ossifrage@c-71-224-59-2.hsd1.pa.comcast.net] has joined ##stm32 2013-04-06T05:00:40 -!- jv [jv@pilsedu.cz] has joined ##stm32 2013-04-06T05:00:40 -!- fergusnoble [fergusnobl@repl.esden.net] has joined ##stm32 2013-04-06T05:00:40 -!- mervaka [~mervaka@mervaka.co.uk] has joined ##stm32 2013-04-06T05:00:40 -!- scrts [~quassel@unaffiliated/scrts] has joined ##stm32 2013-04-06T05:00:40 -!- ABLomas [~abl@78-60-198-200.static.zebra.lt] has joined ##stm32 2013-04-06T05:00:40 -!- CoolBear [~hightower@ti0069a380-0800.bb.online.no] has joined ##stm32 2013-04-06T05:02:45 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 248 seconds] 2013-04-06T05:05:15 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-06T05:08:19 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-06T05:14:48 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-06T06:05:51 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-06T06:06:00 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-06T06:22:55 -!- Erlkoenig [~erlkoenig@pptp-212-201-73-250.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-06T06:34:43 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-06T06:38:26 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-04-06T07:18:32 -!- R2COM1 [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-06T07:21:15 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 256 seconds] 2013-04-06T07:30:13 -!- jeet_ [188d71d8@gateway/web/freenode/ip.24.141.113.216] has joined ##stm32 2013-04-06T07:34:19 -!- R2COM1 is now known as R2COM 2013-04-06T07:45:28 -!- jeet_ [188d71d8@gateway/web/freenode/ip.24.141.113.216] has quit [Ping timeout: 245 seconds] 2013-04-06T07:46:23 -!- BJfreeman [~bjfree@188.sub-75-244-135.myvzw.com] has quit [Quit: had a good time] 2013-04-06T07:48:24 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-06T07:50:25 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Client Quit] 2013-04-06T08:16:46 < ds2> hmmm looks like you figured it out 2013-04-06T08:16:54 < ds2> it is basically an open collector output 2013-04-06T08:39:36 < inca> does anyone actually use the standard system_stm32fxxx.c files from CMSIS for stuff like SystemInit()? 2013-04-06T08:47:57 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 256 seconds] 2013-04-06T08:48:57 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-06T08:50:57 < inca> thought not 2013-04-06T09:10:25 -!- Rickta59_ [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 245 seconds] 2013-04-06T09:22:10 < dongs> hello chats 2013-04-06T09:22:10 < dongs> inca: i do, shit works fine 2013-04-06T09:24:00 < inca> I copied it to a local place in the project, ran it through cpp to remove all the bullshit deadcode that will blow up my project at the client's site when someone doesn't configure it perfectly, and then deleted more stuff I didn't like. 2013-04-06T09:24:26 < inca> I think STM should be banned from writing code 2013-04-06T09:27:15 < inca> otherwise, thanks for plugging me into CrossWorks. Being able to see real debugger output is worth the pain of their IDE. 2013-04-06T09:27:27 < dongs> cool 2013-04-06T09:27:37 < dongs> yeah the ide is sadface 2013-04-06T09:27:47 < dongs> they dont even have code complete/parameter reference shit 2013-04-06T09:27:56 < dongs> it was working at some point then broke in 2.x and hasnt been fixed since 2013-04-06T09:28:32 < inca> I can tell they write their code for the IDE like EE's do firmware 2013-04-06T09:29:18 < inca> I am having trouble saying nice things 2013-04-06T09:31:39 * inca is a EE 2013-04-06T09:31:45 < dongs> heh 2013-04-06T09:32:44 < inca> is it really that hard to fucking auto generate -I? 2013-04-06T09:35:03 < ossifrage> Anyone know of a fast cortex-m3 way to compute bitwise parity? 2013-04-06T09:35:39 -!- dekar_ [~dekar@212.255.243.165] has quit [Quit: Leaving] 2013-04-06T09:35:55 < ds2> ewwwwwwwwwwwwww IDE 2013-04-06T09:36:07 < ossifrage> There is always the sieve trick, but I was hoping for a faster method 2013-04-06T09:44:09 < inca> dongs, does CrossWorks's Dynamic folder recursion and auto-include ever work for you? 2013-04-06T09:46:05 < dongs> seems so 2013-04-06T09:46:05 < dongs> i think i used it once to include some shit 2013-04-06T09:46:26 < dongs> I dislike having projects in 24293847 dirs though 2013-04-06T09:46:31 < inca> likewise 2013-04-06T09:46:46 < dongs> i only put libs + cmsis + etc in dirs 2013-04-06T09:46:47 < inca> I'm just trying not to make this makefile for the 800th time 2013-04-06T09:47:55 < inca> I am annoyed that people think XML is an appropriate format for enumerating a list of files to process 2013-04-06T09:49:02 -!- claude is now known as Claude 2013-04-06T09:51:47 < dongs> what do you mean its not?? 2013-04-06T09:52:09 < inca> XML is for robots 2013-04-06T09:52:27 < inca> I am not a robot. Yet. 2013-04-06T09:54:07 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-06T09:54:12 -!- Claude is now known as claude 2013-04-06T09:54:24 < Robint91> hi all 2013-04-06T09:55:29 < inca> what's up Robint91 2013-04-06T09:55:49 < Robint91> just woke up 2013-04-06T09:57:19 < inca> dongs: Because the crashing I do of CrossWorks's IDE generally has to do with them reading/writing XML 2013-04-06T09:59:02 < inca> XML is just a bad way to handle data. Not all data is hierarchical. In fact, most of it is not. MIME, JSON, ASCII text… now that's some data! 2013-04-06T10:00:29 < Robint91> inca, csv 2013-04-06T10:00:53 < inca> Robint91: I consider that a subset of ASCII =) 2013-04-06T10:01:11 < inca> even though it's really UTF* 2013-04-06T10:01:35 < Robint91> ლ(ಠ_ಠლ) 2013-04-06T10:01:59 < inca> haha… nice 2013-04-06T10:02:21 < ossifrage> I generally prefer my config files to be simple as possible and easily human readable... 2013-04-06T10:02:47 < Robint91> I use ini files for config 2013-04-06T10:03:24 < inca> ossifrage: You mean you don't like <>'s and verbosity with all these extra CPU cycles to spare? 2013-04-06T10:03:36 < inca> you must also hate Documentation 2013-04-06T10:04:37 < ossifrage> *easily* human readable, the typical excessively verbose bad xml is rarely easily human readable 2013-04-06T10:06:22 < inca> I hear you. I said the same thing 3 years ago but some xml zealots at work just went on and refactored everything into xml anyway 2013-04-06T10:06:50 < Robint91> I would never use XML for configs, that is madness 2013-04-06T10:07:13 < inca> the pm got attached to the idea after spending so many man-hours on integration that it never occurred to him to revert back to plain text 2013-04-06T10:08:28 < Robint91> inca, plain text like csv or something else? 2013-04-06T10:08:46 < inca> plain text 2013-04-06T10:08:55 < inca> like lists 2013-04-06T10:09:04 < Robint91> inca, but with structure? 2013-04-06T10:09:05 < inca> not unlike makefiles 2013-04-06T10:09:09 < inca> flat files 2013-04-06T10:09:13 < Robint91> value = "data"; 2013-04-06T10:09:18 < inca> lists of files, properies 2013-04-06T10:09:23 < inca> yeah 2013-04-06T10:09:29 < inca> like an INI file 2013-04-06T10:09:34 < Robint91> ah 2013-04-06T10:11:16 < inca> Dammit! CW will not find a .h file that is sitting right there 2013-04-06T10:12:03 < dongs> why do yoiu need it to find .h files? 2013-04-06T10:12:14 < dongs> theyt're not compiled right? 2013-04-06T10:13:08 < inca> my -I include paths are getting clobbered somehow 2013-04-06T10:13:18 < inca> I checked the project .xml file and it's clean 2013-04-06T10:13:31 < inca> somehow it's generating completely junk include paths 2013-04-06T10:13:56 < inca> time to do the old MS Office, new document copy paste trick 2013-04-06T10:17:03 < zyp> dongs, http://www.keil.com/ulinkme/ <- is this good shit? 2013-04-06T10:17:36 < dongs> ooOO 2013-04-06T10:17:36 < dongs> yeah 2013-04-06T10:17:37 < dongs> is legit one cheap? 2013-04-06T10:17:51 < zyp> I picked up a couple of lpc devboards in akiba today 2013-04-06T10:18:02 < zyp> lpc1830 and lpc4330 2013-04-06T10:18:03 < dongs> oh gay, it comes with boards only 2013-04-06T10:18:13 < zyp> they included one each 2013-04-06T10:18:15 < dongs> you wont be able to use it outside of keil ide, 2013-04-06T10:18:19 < dongs> so I think you better send me one :) 2013-04-06T10:19:03 < dongs> lpc4330 < that had to cost > $100? 2013-04-06T10:19:33 < zyp> nah, 7k yen or so 2013-04-06T10:19:40 < zyp> and 6k for the lpc1830 2013-04-06T10:19:56 < dongs> bullshit, the MCB4357 ? 2013-04-06T10:20:11 < zyp> http://shop.ngxtechnologies.com/product_info.php?products_id=104 2013-04-06T10:20:34 < dongs> oh looks weird 2013-04-06T10:20:35 < dongs> not official keil shit 2013-04-06T10:20:45 < dongs> and that came with ulink-me? 2013-04-06T10:20:54 < dongs> intersting 2013-04-06T10:20:58 < dongs> anyway, yeah, if you dont need one feel free to throw one my way 2013-04-06T10:25:08 < zyp> I guess I could, would need to figure out how to send shit then 2013-04-06T10:26:18 < dongs> do you have my old label from lcd? 2013-04-06T10:26:35 < dongs> just go to some kuroneko place nearby and tell them to write a postage collect label 2013-04-06T10:26:38 < dongs> to that address 2013-04-06T10:26:51 < dongs> they'll write it for you if you cant jappo 2013-04-06T10:30:11 < zyp> postage collect? as in you pay for shipping? 2013-04-06T10:30:15 < dongs> yeah 2013-04-06T10:30:21 < dongs> unless you're feeling generous 2013-04-06T10:30:23 < dongs> for not paying shipping on lcd 2013-04-06T10:30:44 < zyp> what do they call it in japanese? 2013-04-06T10:32:27 < dongs> the collet shit? 2013-04-06T10:32:32 < dongs> collect 2013-04-06T10:32:44 < dongs> ko-re-ku-to 2013-04-06T10:32:56 < zyp> ah 2013-04-06T10:33:49 < dongs> rofl, googled that and first shit is www.correct.co.jp 2013-04-06T10:33:51 < dongs> was g onna paste url w/jappo chars 2013-04-06T10:36:09 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Read error: Connection reset by peer] 2013-04-06T10:36:33 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-06T10:50:25 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Read error: Connection reset by peer] 2013-04-06T10:51:03 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-04-06T11:11:43 < zyp> kuroneko-guy called it ato-barai 2013-04-06T11:14:20 < zyp> he didn't appear to understand a single word of english either 2013-04-06T11:14:31 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Read error: Connection reset by peer] 2013-04-06T11:15:17 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-04-06T11:16:40 < dongs> hm maybe collect is only if youre doing shipping + extra fee 2013-04-06T11:16:40 < dongs> like COD or whatever 2013-04-06T11:16:40 < dongs> since thats the only shit I ship out 2013-04-06T11:22:10 < zyp> http://paste.jvnv.net/view/hKE9V 2013-04-06T11:22:59 < inca> why do some THUMB Debug configurations include the private "common" configuration whiles others do not? 2013-04-06T11:23:05 < inca> in CrossWorks 2013-04-06T11:27:46 < Posterdati> hi 2013-04-06T11:28:20 < Posterdati> please help, I integrated the USB OTG stack in my code, but if I run it, the ram got corrupted 2013-04-06T11:29:00 < Posterdati> shall I write a linker script to assign ram zones? 2013-04-06T11:29:31 < dongs> inca: yeah it warns you if you fuck with that private/public config shit 2013-04-06T11:30:30 < inca> yeah… the Dynamic Folder nonsense is completely b0rked. I have compromised my morals and manually entered include paths for this bitch. 2013-04-06T11:30:33 < dongs> there's one y ou should edit and others you should not touch 2013-04-06T11:31:02 < inca> and as a result, I have also misspelled them 2013-04-06T11:32:54 < inca> Ah… finally. Now to port the LCD interface to a scans/printf jobby 2013-04-06T11:34:15 < donigs> Posterdati: are you using CAN 2013-04-06T11:34:34 < donigs> o wait oTG 2013-04-06T11:34:35 < donigs> so youre not on F1 2013-04-06T11:34:45 < Posterdati> stm32f107 2013-04-06T11:37:05 < Posterdati> donigs: ? 2013-04-06T11:37:12 < donigs> dongs: so, are you using CAN also? 2013-04-06T11:38:01 < dongs> oh 2013-04-06T11:39:21 < Posterdati> dongs: hi 2013-04-06T11:39:58 < Posterdati> dongs: I think I need a liker script 2013-04-06T11:40:25 < zyp> dongs only has hater scripts 2013-04-06T11:40:51 < dongs> that is true 2013-04-06T11:41:09 < Posterdati> you can't hate or ate with a script 2013-04-06T11:49:19 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-06T11:51:55 -!- daku is now known as DaKu 2013-04-06T12:02:40 < Posterdati> could anyone help me correctly setup the usb otg on a poor stm32f107? Thanks 2013-04-06T12:04:56 < timemob> Works for me without any dinker scripts 2013-04-06T12:05:09 < Posterdati> timemob: I'm trying to use VCP 2013-04-06T12:05:33 < timemob> Ya. 2013-04-06T12:05:48 < timemob> The sample should work 2013-04-06T12:06:10 < Posterdati> I've got OTG_FS_WKUP_IRQHandler 2013-04-06T12:06:25 < Posterdati> OTG_FS_IRQHandler 2013-04-06T12:06:50 < Posterdati> the latter with USBD_OTG_ISR_Handler(&USB_OT_dev) call in it 2013-04-06T12:12:48 -!- t1memob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-06T12:12:48 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Read error: Connection reset by peer] 2013-04-06T12:23:09 < ShiftPlusOne> Hello, how do you keep track of memory usage? Do you just estimate or is there a way to check how much free memory is available? 2013-04-06T12:23:29 < Posterdati> ShiftPlusOne: I use animals teeth 2013-04-06T12:25:01 * ShiftPlusOne doesn't get it >.> 2013-04-06T12:25:27 < Posterdati> I throw them on the table 2013-04-06T12:25:42 < zyp> ShiftPlusOne, does it matter? 2013-04-06T12:25:53 < ShiftPlusOne> Posterdati, ... go on. =p 2013-04-06T12:26:09 < zyp> ShiftPlusOne, either it's enough or it's not 2013-04-06T12:26:17 < zyp> and if everything works, you probably have enough 2013-04-06T12:26:23 < zyp> what more do you need to know? 2013-04-06T12:26:30 < Posterdati> ShiftPlusOne: then you can calculate the amount of free memory from teeth positions 2013-04-06T12:26:45 < t1memob> What "memory"? Compiler will show static ram usage. You can make your own alloc functions that keep track of heap 2013-04-06T12:27:02 < ShiftPlusOne> zyp, well yeah, I am going to have a buffer for some IO and it would be nice to know how much the rest of the code is using up, so that I know how much room I have to play with. 2013-04-06T12:27:24 < zyp> well, you have three kinds of memory usage 2013-04-06T12:27:33 < zyp> static, heap and stack 2013-04-06T12:27:36 < ShiftPlusOne> Posterdati, ah, thanks. 2013-04-06T12:27:51 < Posterdati> :) another well done job 2013-04-06T12:28:20 < zyp> static is known at compile time, heap and stack are allocated at runtime and is hard to predict ahead of time 2013-04-06T12:28:22 < Posterdati> ShiftPlusOne: you have to put up a garbage collector system! 2013-04-06T12:30:20 < Posterdati> ShiftPlusOne: or you have to write a piece of code that get track of allocated/freed memory 2013-04-06T12:30:46 -!- vpopov [~happylife@dyn-32-176.fttbee.kis.ru] has joined ##stm32 2013-04-06T12:31:44 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-231-195.clienti.tiscali.it] has joined ##stm32 2013-04-06T12:31:59 < t1memob> Why would you put io buffers into dynamic ram 2013-04-06T12:32:10 < Posterdati> ? 2013-04-06T12:33:21 < zyp> nobody said that 2013-04-06T12:33:41 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Read error: Connection reset by peer] 2013-04-06T12:33:54 < zyp> but a static allocation will obviously reduce the amount of memory left over for dynamic allocations 2013-04-06T12:33:54 < t1memob> Make the shit static and shut up 2013-04-06T12:33:56 < t1memob> zyp, well yeah, I am going to have a buffer for some IO and it would be nice to know how much the rest of the code is using up, so that I know how much room I have to play with. 2013-04-06T12:33:56 < t1memob> Lol 2013-04-06T12:33:56 < Posterdati> my usb otg continues to fuck up processes memory :( 2013-04-06T12:34:16 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-04-06T12:35:21 < t1memob> zyp, but if it's io buffers for something that doesn't change in size or runs most of the time I don't see any reason to dynamically allocate it 2013-04-06T12:35:26 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-06T12:35:41 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Read error: Connection reset by peer] 2013-04-06T12:36:59 < t1memob> Unless you're on f4 and wrote your own allocators that put stuff into ccm or not anyway for io it's probably not ccm if DMA is involved 2013-04-06T12:37:05 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-04-06T12:38:37 < zyp> t1memob, agreed 2013-04-06T12:38:42 < ShiftPlusOne> Thanks for the input everyone. I'll go do a bit more reading. 2013-04-06T12:43:32 < ShiftPlusOne> Ah, and I see the compiler does indeed complain if you try to use more (static?) memory than is available. 2013-04-06T12:44:26 < zyp> yes 2013-04-06T12:45:16 < zyp> but it doesn't protect you from runtime issues due to using up most memory for static allocations, leaving too little for dynamic allocations 2013-04-06T12:46:26 < ShiftPlusOne> Yup, I am not doing any dynamic allocation yet. Do the included libraries? 2013-04-06T12:46:56 < zyp> you mean heap now, don't forget that stack is also dynamic allocations 2013-04-06T12:47:09 < zyp> and you do stack allocations every time you call a function 2013-04-06T12:47:51 < ShiftPlusOne> Ah yeah, fair enough. 2013-04-06T12:48:14 < t1memob> Don't expensive compilers show stack allocations? 2013-04-06T12:48:19 < t1memob> I can get map file output that shows per function stack usage 2013-04-06T12:48:40 < zyp> sure, so can gcc 2013-04-06T12:49:19 < ShiftPlusOne> I think I'll go noob it up elsewhere for a while. before I am chased out with pitchforks. Thanks again. 2013-04-06T12:49:24 < Robint91> has the CCM of the F4 even some use? 2013-04-06T12:49:34 < zyp> but per-function is not very useful by itself, you need to know the call graph 2013-04-06T12:49:50 < t1memob> Ya with a mile long command line 2013-04-06T12:50:00 < zyp> which is also easy to extract, until you hit function pointers 2013-04-06T12:50:07 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-06T12:50:29 < zyp> tracking which functions can be called through a function pointer call is suddenly way harder 2013-04-06T12:52:15 < t1memob> Depends on the style 2013-04-06T12:56:57 -!- t1memob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 258 seconds] 2013-04-06T12:57:21 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-06T12:59:34 -!- t1memob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-04-06T13:00:29 -!- bsdfox_ [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-04-06T13:01:44 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 260 seconds] 2013-04-06T13:01:56 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 258 seconds] 2013-04-06T13:08:40 -!- t1memob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Read error: Connection reset by peer] 2013-04-06T13:08:48 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-04-06T13:09:39 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-06T13:09:40 -!- bsdfox_ [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 260 seconds] 2013-04-06T13:10:25 -!- bsdfox_ [~Bob@c-71-197-82-145.hsd1.ca.comcast.net] has joined ##stm32 2013-04-06T13:10:25 -!- bsdfox_ [~Bob@c-71-197-82-145.hsd1.ca.comcast.net] has quit [Changing host] 2013-04-06T13:10:25 -!- bsdfox_ [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-04-06T13:11:45 -!- bsdfox_ [~Bob@unaffiliated/bsdfox] has quit [Read error: Connection reset by peer] 2013-04-06T13:12:23 -!- bsdfox_ [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-04-06T13:12:29 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 256 seconds] 2013-04-06T13:14:50 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: to sleep, perchance to dream] 2013-04-06T13:15:42 -!- barthess [~barthess@77.67.248.114] has joined ##stm32 2013-04-06T13:24:33 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Ping timeout: 258 seconds] 2013-04-06T13:24:55 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-04-06T13:25:47 -!- Laurenceb_ [~Laurence@host86-146-188-81.range86-146.btcentralplus.com] has joined ##stm32 2013-04-06T13:37:26 -!- t1memob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-04-06T13:37:26 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Read error: Connection reset by peer] 2013-04-06T13:48:14 < Posterdati> why I need to use a USART to get data from OTG in the VCP example project? 2013-04-06T13:50:14 -!- t1memob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Ping timeout: 258 seconds] 2013-04-06T13:56:14 -!- DaKu is now known as daku 2013-04-06T13:56:14 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-06T14:02:05 < Laurenceb_> http://www.mspaintadventures.com/ 2013-04-06T14:18:33 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-06T14:21:46 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-06T14:23:40 < Laurenceb_> http://www.b3tards.com/u/899d78c16b9bb1676226/square_usher.jpg 2013-04-06T14:23:41 < Laurenceb_> lolz 2013-04-06T14:26:46 < timemob> Is this wife behind you in car seat safe 2013-04-06T14:28:48 -!- _BJFreeman [~bjfree@10.sub-75-233-218.myvzw.com] has joined ##stm32 2013-04-06T14:29:13 -!- _BJFreeman is now known as BJfreeman 2013-04-06T14:33:19 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Read error: Connection reset by peer] 2013-04-06T14:33:31 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-06T14:33:33 -!- Erlkoenig [~erlkoenig@pptp-194-94-198-221.pptp.stw-bonn.de] has joined ##stm32 2013-04-06T14:37:52 < dongs> sup blogs 2013-04-06T14:38:42 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Quit: Bye] 2013-04-06T14:40:55 < Robint91> sup ding dongs 2013-04-06T14:43:00 < dongs> bloggin on blogs 2013-04-06T14:44:51 < Robint91> dongs, do you have a blag? 2013-04-06T14:46:31 < Erlkoenig> yup http://www.tarduino.cc/ 2013-04-06T14:46:47 < Erlkoenig> dongs: you could blog about the 6$ "voltage dividers" for arduino 2013-04-06T14:46:49 < Robint91> No posts 2013-04-06T14:50:21 < dongs> Erlkoenig: its funnier than you think 2013-04-06T14:50:33 < dongs> Erlkoenig: in another channel some guy was asking about powering a RF transmitter with a resistor divider 2013-04-06T14:50:34 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-06T14:50:39 < dongs> cuz he was to ocheap for a 3.3V reg 2013-04-06T14:50:46 < Erlkoenig> yey, that kind of question is not that uncommon 2013-04-06T14:52:37 < Robint91> dongs, #arduino? 2013-04-06T14:54:36 -!- Mobyfab_ [Mobyfab@2a01:e35:8a10:c580:3897:df44:872a:17ba] has joined ##stm32 2013-04-06T14:54:41 -!- Mobyfab_ [Mobyfab@2a01:e35:8a10:c580:3897:df44:872a:17ba] has quit [Read error: Connection reset by peer] 2013-04-06T14:54:51 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:3897:df44:872a:17ba] has joined ##stm32 2013-04-06T15:01:42 -!- baird [~cjb@ppp121-44-143-225.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-04-06T15:06:19 -!- daku is now known as DaKu 2013-04-06T15:11:26 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-06T15:11:27 -!- [1]MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-06T15:15:47 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-06T15:19:30 -!- DaKu is now known as daku 2013-04-06T15:20:04 -!- daku is now known as DaKu 2013-04-06T15:44:27 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has joined ##stm32 2013-04-06T15:47:20 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 256 seconds] 2013-04-06T15:47:27 -!- dongs_ [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-06T15:52:44 -!- dongs_ is now known as dongs 2013-04-06T15:56:36 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has quit [Ping timeout: 264 seconds] 2013-04-06T16:00:16 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 256 seconds] 2013-04-06T16:05:58 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-06T16:08:13 -!- BJfreeman [~bjfree@10.sub-75-233-218.myvzw.com] has quit [Quit: had a good time] 2013-04-06T16:11:28 -!- [1]MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-06T16:11:36 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-06T16:16:46 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 256 seconds] 2013-04-06T16:17:48 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-06T16:25:45 < karlp> bah humbug, spi works on my f1 board, not on my l1 board. 2013-04-06T16:25:55 < karlp> stupid gpio af shit 2013-04-06T16:26:06 < karlp> I've probably mixed up something there again 2013-04-06T16:28:46 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 245 seconds] 2013-04-06T16:29:43 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-06T16:42:33 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 240 seconds] 2013-04-06T16:43:40 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-06T16:55:02 < Erlkoenig> karlp: yes it's f*cked up 2013-04-06T17:07:48 -!- Erlkoenig [~erlkoenig@pptp-194-94-198-221.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-06T17:11:18 -!- MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-06T17:11:22 -!- Shift_ [~Shift@unaffiliated/shiftplusone] has joined ##stm32 2013-04-06T17:11:49 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-06T17:14:55 -!- ShiftPlusOne [~Shift@unaffiliated/shiftplusone] has quit [Ping timeout: 258 seconds] 2013-04-06T17:18:19 -!- memand [~memand@0x4dd74f01.adsl.cybercity.dk] has quit [Quit: C'YA] 2013-04-06T17:21:30 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-06T17:21:31 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-06T17:30:40 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-06T17:30:40 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-06T17:30:40 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-06T17:30:43 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-06T17:32:24 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 252 seconds] 2013-04-06T17:33:00 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-06T17:39:32 < Posterdati> hi 2013-04-06T17:40:56 < emeb_mac> lo 2013-04-06T17:41:26 < Posterdati> please help a poor strm32 fan to win on usb otg on stm32f107 2013-04-06T17:41:41 < zyp> *yawn* 2013-04-06T17:43:21 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 2013-04-06T17:43:22 < emeb_mac> bedtime in JP zyp 2013-04-06T17:43:31 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-06T17:43:42 < zyp> yep 2013-04-06T17:44:07 < zyp> well, it's only 2344, not falling asleep yet 2013-04-06T17:45:40 < emeb_mac> 745 here. not quite awake yet (didn't get enough sleep) 2013-04-06T18:02:28 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-06T18:02:55 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-06T18:09:32 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 256 seconds] 2013-04-06T18:10:16 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-06T18:11:24 -!- MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-06T18:12:04 -!- MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-06T18:23:11 -!- Erlkoenig [~erlkoenig@pptp-194-94-198-83.pptp.stw-bonn.de] has joined ##stm32 2013-04-06T18:34:03 -!- Hydra [~Hydra@AGrenoble-651-1-398-175.w90-52.abo.wanadoo.fr] has joined ##stm32 2013-04-06T18:41:32 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-06T18:50:31 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:3897:df44:872a:17ba] has quit [Quit: Leaving] 2013-04-06T19:02:45 < dongs> donging on dongs 2013-04-06T19:11:29 < Tectu> dongs, any progress on the BMPs? 2013-04-06T19:11:53 -!- MrMobius [~Joey@194.176.111.29] has quit [Read error: Connection reset by peer] 2013-04-06T19:11:55 < dongs> they're still in box 2013-04-06T19:11:59 < dongs> where i threw them last time 2013-04-06T19:12:02 < dongs> i raged out at opensauce 2013-04-06T19:12:19 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-06T19:12:27 < Tectu> do you yet know when you're giving 'em another try? 2013-04-06T19:14:16 < dongs> maybe tomrorwo if i feel liek it 2013-04-06T19:15:02 < Tectu> k 2013-04-06T19:15:12 < Tectu> how much where the materialcost? 2013-04-06T19:16:16 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:34d8:1b77:fb4d:28bb] has joined ##stm32 2013-04-06T19:26:52 < Posterdati> I've got problem with usb hid protocol and my application, ram memory got corrupted as I start usb protocol, without it no problem, any hints? Thanks 2013-04-06T19:27:22 < Posterdati> ah, plugging/unplugging the device freezes the mcu 2013-04-06T19:27:35 < Erlkoenig> Posterdati: ST's USB library ignores the input buffer boundaries 2013-04-06T19:27:59 < Erlkoenig> the buffer always needs to have at least max-packet-size bytes free 2013-04-06T19:28:07 < Erlkoenig> the buffer passed to PrepareRx 2013-04-06T19:28:12 < Posterdati> Erlkoenig: for now I call only USB_Init() and run the ISRs, no data sent or received 2013-04-06T19:28:47 < Erlkoenig> hum 2013-04-06T19:29:06 < Posterdati> USB config + my application = exploding 2013-04-06T19:29:19 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-06T19:31:29 < Posterdati> my application = working for weeks 2013-04-06T19:32:03 < Posterdati> seems a ram corruption, as the task scheduling and i2c stopped working ramdomly 2013-04-06T19:32:43 < Erlkoenig> try a data watchpoint? 2013-04-06T19:32:52 < Posterdati> no 2013-04-06T19:33:06 < Posterdati> I cannot debug the board 2013-04-06T19:33:24 < Posterdati> I'm waiting for the JTAG version of it 2013-04-06T19:34:48 < Posterdati> but what about the plug/unplug problem? 2013-04-06T19:36:29 < Posterdati> it hangs especially when I disconnect the otg port 2013-04-06T19:37:16 < Posterdati> it seems a wrong irq 2013-04-06T19:42:25 -!- bsdfox_ [~Bob@unaffiliated/bsdfox] has quit [Read error: Connection reset by peer] 2013-04-06T19:43:01 -!- bsdfox_ [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-04-06T19:48:06 < dongs> task scheduling? 2013-04-06T19:48:10 < dongs> you have rtos going? 2013-04-06T19:53:42 -!- barthess [~barthess@77.67.248.114] has quit [Remote host closed the connection] 2013-04-06T19:56:04 -!- barthess [~barthess@77.67.234.79] has joined ##stm32 2013-04-06T19:56:09 -!- sterna1 [~Adium@s83-191-130-156.cust.tele2.se] has joined ##stm32 2013-04-06T20:02:36 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Ping timeout: 264 seconds] 2013-04-06T20:03:12 -!- Hydra [~Hydra@AGrenoble-651-1-398-175.w90-52.abo.wanadoo.fr] has quit [Quit: HydraIRC -> http://www.hydrairc.com <- *I* use it, so it must be good!] 2013-04-06T20:06:29 < inca> donigs: Is there a way to change the compiler with a project configuration in CrossWorks? 2013-04-06T20:07:41 < inca> i.e. changing the "Toolchain Root Directory" 2013-04-06T20:11:49 < dongs> unsure, wht would you do that though? 2013-04-06T20:11:52 < dongs> the included gcc is fine 2013-04-06T20:12:32 -!- [1]MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-06T20:13:05 < inca> dongs well… they include a dhrystone test that I would like to set up to run between the n toolchain configurations I maintain at the moment 2013-04-06T20:13:37 < dongs> cant you just build their sores using your shit 2013-04-06T20:14:02 < inca> heh… I am getting sores from this project 2013-04-06T20:14:45 < inca> sorry, I got distracted… let me get back to actually porting the ethernet junk 2013-04-06T20:15:26 < inca> oh yeah, they have the external build tools.xml, but I don't think that can be altered with a build configuration 2013-04-06T20:15:28 -!- MrMobius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-06T20:18:43 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-04-06T20:24:26 -!- _BJFreeman [~bjfree@95.sub-75-233-46.myvzw.com] has joined ##stm32 2013-04-06T20:24:55 -!- _BJFreeman is now known as BJfreeman 2013-04-06T20:31:49 < Posterdati> dongs: yes, I've got a working rtos 2013-04-06T20:43:41 < inca> I put in a ticket, now I can be productive again… god I love side quests! 2013-04-06T21:12:43 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-06T21:13:07 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 264 seconds] 2013-04-06T21:15:24 <+Steffanx> Does ST have some USB references designs somewhere? I think i saw the somewhere before, but im unable to find them :S 2013-04-06T21:15:40 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-06T21:16:09 < ds2> discovery boards? 2013-04-06T21:16:59 <+Steffanx> Yes, no.. i remember some document with examples for the serveral different situations. 2013-04-06T21:17:11 <+Steffanx> bus powered, not bus powered etc. 2013-04-06T21:17:20 < ds2> oh 2013-04-06T21:17:22 <+Steffanx> perhaps im wrong and it wasnt ST 2013-04-06T21:19:00 < Robint91> Steffanx, http://www.youtube.com/watch?v=IbLpBWNeIxo 2013-04-06T21:19:14 < Robint91> Steffanx, I did most of the control electronics on it 2013-04-06T21:19:52 <+Steffanx> ok, nice. 2013-04-06T21:20:07 < Robint91> Steffanx, it is not my video 2013-04-06T21:20:13 < Robint91> Steffanx, it has shitty music 2013-04-06T21:41:24 -!- BrainDamage1 [~BrainDama@62.10.5.60] has joined ##stm32 2013-04-06T21:43:12 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-231-195.clienti.tiscali.it] has quit [Ping timeout: 256 seconds] 2013-04-06T22:12:36 -!- MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-06T22:12:57 -!- MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-06T22:41:11 -!- BrainDamage1 [~BrainDama@62.10.5.60] has quit [Read error: Connection reset by peer] 2013-04-06T22:45:18 -!- DaKu is now known as daku 2013-04-06T22:53:28 < BJfreeman> ds2 are you talking hardware or software or the discovery board and which f series 2013-04-06T22:53:43 < BJfreeman> for the 2013-04-06T22:54:08 -!- daku is now known as DaKu 2013-04-06T22:55:04 < BJfreeman> some of the Olimex boards have the switchable OTG to Host 2013-04-06T23:07:07 < Tectu> switchable OTG-to-Host? what? 2013-04-06T23:08:38 < GargantuaSauce> 5th pin floating or grounded 2013-04-06T23:13:13 -!- [1]MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-06T23:16:04 -!- MrMobius [~Joey@194.176.111.29] has quit [Ping timeout: 246 seconds] 2013-04-06T23:18:12 <+Steffanx> meh, jpa- why you didn't tell me 2013-04-06T23:18:19 <+Steffanx> The smallest L1 has no USB 2013-04-06T23:22:44 <+Steffanx> Weird.. the parametric table says it does, but the ref manual doesnt agree with that table. http://share.naffets.nl/a-20130406-222217.png 2013-04-06T23:23:20 <+Steffanx> nevermind fail 2013-04-06T23:24:40 <+Steffanx> ( /me shouldn't think out loud ) 2013-04-06T23:52:54 < Tectu> who of you wants to share his STM32 KiCAD libs with me? --- Day changed Sun Apr 07 2013 2013-04-07T00:12:01 < BJfreeman> tectu the A13 has the OTG USB confiigured to provide power (swithable) you can see the schematic at https://github.com/OLIMEX/OLINUXINO/tree/master/HARDWARE/A13-OLinuXino/A13-OLinuXino_Rev_A.sch.pdf 2013-04-07T00:13:26 -!- MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-07T00:15:19 -!- [1]MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-07T00:15:23 < Tectu> BJfreeman, interesting 2013-04-07T00:15:40 < Tectu> never worked with an ARM other than M 2013-04-07T00:16:27 < BJfreeman> Got the A13 to interface for RVers as the dash board 2013-04-07T00:17:06 < BJfreeman> it can run both Android (bootable from nand) and Linux bootable from SD 2013-04-07T00:17:23 < Tectu> how does that work with these "high performance" ARMs? Can you use them without some linux? 2013-04-07T00:18:08 < BJfreeman> I use the STM32F4 with just ARM code 2013-04-07T00:18:23 < Tectu> yes, me too, but I mean the A-Series 2013-04-07T00:18:35 < BJfreeman> but the A13 was ment to be a PC 2013-04-07T00:18:52 < BJfreeman> More target the Android 2013-04-07T00:19:28 < Tectu> I see 2013-04-07T00:19:37 < Tectu> so nobody does program an A13 like an M4? 2013-04-07T00:21:04 < BJfreeman> well yes an no since it supports i2c, SPI you can attatch many sensors as well as camera to it 2013-04-07T00:21:20 < BJfreeman> those are done in C 2013-04-07T00:22:06 < Tectu> yeah, but in form of linux programs? 2013-04-07T00:22:07 < BJfreeman> but most of the Pins are taken up with external memory 2013-04-07T00:22:37 < BJfreeman> the "driver" 2013-04-07T00:22:50 < BJfreeman> can be ported to anything 2013-04-07T00:23:07 < Tectu> makes sense 2013-04-07T00:23:35 < MrMobius> cant you write everything from scratch if you want to skip linux or android and just havea lot of number crunching power? 2013-04-07T00:23:57 < BJfreeman> even sTM32 2013-04-07T00:24:19 < BJfreeman> I save that for the STM32F4 2013-04-07T00:25:00 < Tectu> MrMobius, I bet you can, but I don't think that it will make a lot of fun 2013-04-07T00:25:01 < BJfreeman> DSP can not be replaced by a FPU 2013-04-07T00:26:36 < MrMobius> Tectu, i mean if you just want to write C code to crunch a lot of numbers wouldnt it be about the same as working with M series? 2013-04-07T00:26:41 < BJfreeman> I am using the f4 for a quad copter that even supply the drivers to each brushless motor with no ESC 2013-04-07T00:26:58 < Tectu> MrMobius, my answer was targetting exactly that question 2013-04-07T00:27:38 < BJfreeman> m series as in ARM m4? 2013-04-07T00:30:25 < Robint91> has someone tried codesys run time? http://www.codesys.com/ 2013-04-07T00:31:21 < Tectu> BJfreeman, yes 2013-04-07T00:31:32 < Tectu> Robint91, I hope you are fucking kidding 2013-04-07T00:31:45 < Tectu> Robint91, I hated every single millisecond I had to mess around with that 2013-04-07T00:34:01 < BJfreeman> all the one I mentioned have diffterent Arm archecture rellated to an ARM M series so I don't understand the reference of using M series 2013-04-07T00:34:11 < Laurenceb_> ferritin-labeled rabbit antisheep IgG as the secondary antibody 2013-04-07T00:34:24 < Laurenceb_> this sounds relevant to my interests 2013-04-07T00:35:23 < Robint91> Tectu, really, did you use it? what platfrom softplc? 2013-04-07T00:35:28 < Robint91> or really embedded 2013-04-07T00:35:44 < Tectu> Robint91, on some Siemens S700 2013-04-07T00:36:12 < Robint91> Tectu, I didn't knew that siemens used the codesys runtime 2013-04-07T00:36:20 < Robint91> but isn't that STEP7? 2013-04-07T00:36:56 < Robint91> Tectu, I know that beckhoff twincat is based on codesys 2013-04-07T00:37:55 < Tectu> Robint91, it was a siemens simatntic s7 2013-04-07T00:37:57 < Tectu> s700* 2013-04-07T00:38:11 < Robint91> Tectu, those are shit, codesys is much better 2013-04-07T00:38:28 < Robint91> Tectu, used profinet or ethercat? 2013-04-07T00:38:33 < Robint91> or just profibus 2013-04-07T00:39:06 < Posterdati> hi 2013-04-07T00:39:07 < Tectu> Robint91, I used codesys. 2013-04-07T00:39:36 < Posterdati> is it convenient to use i2c with irq? 2013-04-07T00:41:12 < Robint91> Tectu, why the hate? 2013-04-07T00:42:02 < Tectu> Robint91, because I'm hating this crap. 2013-04-07T00:42:06 < Tectu> I don't want to talk about it 2013-04-07T00:42:13 < Tectu> I'm already in rage mode again 2013-04-07T00:48:43 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Quit: Ik ga weg] 2013-04-07T00:49:21 < Posterdati> you killed him 2013-04-07T00:57:25 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:34d8:1b77:fb4d:28bb] has quit [Quit: Leaving] 2013-04-07T01:00:15 -!- barthess [~barthess@77.67.234.79] has quit [Quit: Leaving.] 2013-04-07T01:01:17 < Posterdati> solved! My issue was solved! 2013-04-07T01:01:28 < Posterdati> tx stm32f107 2013-04-07T01:01:56 <+Steffanx> Yeah, a miracle? 2013-04-07T01:02:05 < Posterdati> were my i2c routines, they weren't atomic, so usb irq interfere with i2c mechanics 2013-04-07T01:04:28 -!- barthess [~barthess@77.67.207.142] has joined ##stm32 2013-04-07T01:11:37 -!- [1]MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-07T01:13:34 -!- MrMobius [~Joey@194.176.111.29] has quit [Read error: Connection reset by peer] 2013-04-07T01:18:42 < Tectu> what is the NE pin on an FSMC for? 2013-04-07T01:18:46 < Tectu> D are data, A are addresses 2013-04-07T01:18:52 < Tectu> NE is what? o.o 2013-04-07T01:23:00 < Posterdati> is it safe to use varargs? 2013-04-07T01:23:14 < Tectu> Posterdati, most people say no 2013-04-07T01:27:10 <+Steffanx> chip select Tectu 2013-04-07T01:27:29 < Posterdati> I think I've got a problem with floats... 2013-04-07T01:28:02 < Posterdati> I compiled with -msoft-float and got wrong float calculations 2013-04-07T01:59:13 < Tectu> Steffanx, so the FSMC has 4x 4x64MB banks, right? 2013-04-07T01:59:43 < Tectu> but it looks like the banks are separated for NAND and RAM, how comes? 2013-04-07T02:01:07 -!- barthess [~barthess@77.67.207.142] has quit [Quit: Leaving.] 2013-04-07T02:03:33 < BJfreeman> FSMC and also be used to interface to memory mapped LCD 2013-04-07T02:11:42 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-07T02:14:55 -!- [1]MrMobius [~Joey@194.176.111.29] has quit [Ping timeout: 246 seconds] 2013-04-07T02:15:27 < Tectu> that is the only part I know about FSMC ;-) 2013-04-07T02:15:46 -!- Shift__ [~Shift@unaffiliated/shiftplusone] has joined ##stm32 2013-04-07T02:18:33 -!- Shift_ [~Shift@unaffiliated/shiftplusone] has quit [Ping timeout: 240 seconds] 2013-04-07T02:23:23 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-07T02:26:43 -!- baird [~cjb@ppp121-44-143-225.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-07T02:30:02 < Erlkoenig> Posterdati: as of C++11, vararg is superfluous. Use variadic templates to get typesafe variadic functions 2013-04-07T02:30:21 < Posterdati> Erlkoenig: mmmh 2013-04-07T02:31:06 -!- Laurenceb_ [~Laurence@host86-146-188-81.range86-146.btcentralplus.com] has quit [Ping timeout: 258 seconds] 2013-04-07T02:33:18 < Posterdati> Erlkoenig: that's why I hate c++ 2013-04-07T02:33:29 < Erlkoenig> also, floats are evil... it's very easy to do everything wrong :D 2013-04-07T02:33:30 < Erlkoenig> wat 2013-04-07T02:33:35 < Erlkoenig> C++ is awesome 2013-04-07T02:33:49 < Erlkoenig> you "just" have to know what you're doing... 2013-04-07T02:44:43 < ossifrage> is it possible for timer to toggle a current sink pin on F0s? 2013-04-07T02:45:10 < ossifrage> ie the pwm toggles between tristate and current sink? 2013-04-07T02:47:52 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: to sleep, perchance to dream] 2013-04-07T02:50:44 < Erlkoenig> dunno about F0, but on F3,4 you can configure GPIO's to be "Open Drain", and "Pull-Up" 2013-04-07T02:51:55 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-07T02:54:15 < ossifrage> okay so otr can be push/pull or open drain 2013-04-07T02:55:19 -!- sterna1 [~Adium@s83-191-130-156.cust.tele2.se] has quit [Quit: Leaving.] 2013-04-07T02:55:22 < ossifrage> ah there is a comment about AF in either mode, so I guess it would work 2013-04-07T02:56:13 < ossifrage> trying to drive a common anode rgb led from a timer 2013-04-07T03:05:57 -!- vpopov [~happylife@dyn-32-176.fttbee.kis.ru] has quit [Ping timeout: 248 seconds] 2013-04-07T03:10:48 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-07T03:12:00 -!- [1]MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-07T03:14:46 -!- MrMobius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-07T03:48:25 < Tectu> meh... All the power supplsy symbols I am using in KiCAD give me "are not driven" in the DRC 2013-04-07T03:48:35 < Tectu> ERC* 2013-04-07T03:51:10 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: to sleep, perchance to dream] 2013-04-07T03:56:39 < flop> put a powar flag 2013-04-07T04:10:46 -!- Erlkoenig [~erlkoenig@pptp-194-94-198-83.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-07T04:12:12 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-07T04:12:58 -!- Shift__ is now known as ShiftPlusOne 2013-04-07T04:15:19 -!- [1]MrMobius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-07T04:18:48 < Tectu> flop, what's that? 2013-04-07T04:19:12 < Tectu> flop, also, in the PCB, when I have a bunch of components, can't I just simply click one to select it and drag it around? 2013-04-07T04:20:03 < flop> you have to arange them first 2013-04-07T04:20:18 < Tectu> how? 2013-04-07T04:20:23 < Tectu> sorry, I'm completely new to KiCAD 2013-04-07T04:20:25 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Read error: Operation timed out] 2013-04-07T04:23:49 -!- DaKu is now known as daku 2013-04-07T04:25:54 < dongs> sup dongs 2013-04-07T04:28:20 < emeb_mac> veggin' out 2013-04-07T04:28:25 < Tectu> dongs, ever used kiCAD? 2013-04-07T04:28:34 < dongs> of course not 2013-04-07T04:28:36 < dongs> i dont use shit 2013-04-07T04:28:53 < Tectu> you use windows 2013-04-07T04:29:53 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-07T04:33:43 < Tectu> flop? 2013-04-07T04:35:40 < flop> you can get the power flag in add parts>power 2013-04-07T04:35:42 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-07T04:36:48 < Tectu> flop, and how about the PCB thing with arrange ? 2013-04-07T04:39:47 < flop> you click on automatic move and place modules, then on context menu choose glob move and place, then place all modules 2013-04-07T04:40:48 < Tectu> wow 2013-04-07T04:40:55 < Tectu> how long did it take you to figure this out? 2013-04-07T04:41:36 < Tectu> flop, also, is it possible to select a part just by clicking instead of frame-selection? 2013-04-07T04:42:21 < BJfreeman> ^^^^^^ 2013-04-07T04:42:28 < flop> you press m to move the part 2013-04-07T04:42:41 < BJfreeman> wrong channel 2013-04-07T04:42:44 < flop> not even a single click 2013-04-07T04:42:45 < Tectu> impressive 2013-04-07T04:42:54 < Tectu> flop, so just pointing - them m 2013-04-07T04:43:12 < flop> on the parts, yes 2013-04-07T04:43:37 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-07T04:44:04 < flop> dongs: what cad you use? 2013-04-07T04:44:15 < flop> dongsCAD? 2013-04-07T04:44:33 < Tectu> flop, no, he uses notopensorseCAD 2013-04-07T04:45:19 < Tectu> flop, ever tried the autorouter? 2013-04-07T04:45:28 < dongs> rofl, autorouter in opensores cad 2013-04-07T04:45:42 < flop> no, it sux 2013-04-07T04:45:58 < flop> dongs: what cad? 2013-04-07T04:46:22 < dongs> diptrace 2013-04-07T04:46:54 < flop> is that better than kicad? 2013-04-07T04:46:59 < dongs> uh 2013-04-07T04:47:01 < dongs> loll 2013-04-07T04:47:09 < dongs> lets see 2013-04-07T04:47:14 < dongs> it has working schematic + pcb layout 2013-04-07T04:47:18 < dongs> it has working copper pours 2013-04-07T04:47:19 < dongs> it has working drc 2013-04-07T04:47:27 < dongs> it has working + usable parts/patterns editors 2013-04-07T04:47:33 < dongs> etc. 2013-04-07T04:47:43 < qyx_> "working" is too subjective 2013-04-07T04:47:48 < Tectu> dongs, you forgot libraries 2013-04-07T04:47:57 < dongs> libraries? no thanks 2013-04-07T04:47:59 < Tectu> also what qyx_ said 2013-04-07T04:48:27 < flop> dongs: how do you define shit cad? 2013-04-07T04:48:42 < qyx_> anything else 2013-04-07T04:48:53 < dongs> flop: if i cant make a design in it in 5 minutes and have it work, if i have to manually text edit some shit to create parts, etc. 2013-04-07T04:49:56 < flop> dongs: what kind of design you can practically do in 5 minutes? 2013-04-07T04:50:10 < talsit> greetings, does anyone have any experience in driving the HSE using a TCXO? 2013-04-07T04:50:41 < dongs> flop: im talking about cad letting me do my work and staying out of hte way 2013-04-07T04:51:23 < qyx_> talsit: gxti did design with some vcxo 2013-04-07T04:52:06 < Tectu> flop, can I make that the 'm' thin doesn't move the text but always selects the enitre part? 2013-04-07T04:52:27 < qyx_> talsit: http://partiallystapled.com/2013/01/laureline-gps-ntp-server/ 2013-04-07T04:52:56 < talsit> qyx_: cheers, i've seen that one before - it's very very cool! 2013-04-07T04:55:27 < flop> Tectu: no 2013-04-07T04:55:51 < Tectu> flop, I thank you very much for your help! 2013-04-07T04:55:52 < Tectu> cu guys 2013-04-07T04:56:09 < dongs> talsit: i think he probably meant he used a tcxo in that design 2013-04-07T04:56:28 < dongs> i dont see how it would be any diferent 2013-04-07T04:56:37 < dongs> you just feed it clock from the thing and done 2013-04-07T04:56:42 < dongs> instead of crystal 2013-04-07T04:56:49 < dongs> so you only need to connect xtalin or whatever 2013-04-07T04:57:21 < talsit> dongs: yeah, what i'm seeing is that the TCXO outputs 0.8V p-p 2013-04-07T04:57:42 < talsit> and i'm a bit lost on how to drive OSC_IN with that 2013-04-07T04:57:53 < dongs> then get the one that isnt 2013-04-07T04:58:00 < dongs> or run it through a buffer? 2013-04-07T04:58:16 < talsit> i've checked out a couple of datasheets of VCXO, and they all output 0.5V->VCC-0.5 2013-04-07T04:59:25 < qyx_> you can try to ac couple it to rail-to-rail output comparator 2013-04-07T04:59:50 < qyx_> to get squared 0-VCC from it 2013-04-07T05:00:00 < qyx_> but i never did that 2013-04-07T05:00:06 < dongs> what 2013-04-07T05:00:15 < dongs> its output is already square, no? 2013-04-07T05:00:37 < qyx_> dont know, 0.8vpp doesnt seem so to me 2013-04-07T05:01:00 < talsit> it's clipped sine wave 2013-04-07T05:01:01 < qyx_> maybe some fancy ecl logic 2013-04-07T05:01:24 < dongs> then just buffer it 2013-04-07T05:01:48 < dongs> sinewave -> buffer -> square 2013-04-07T05:02:37 < qyx_> but if voltage swing is not enough, use some gain 2013-04-07T05:03:21 < talsit> but surely there's a more standard way to drive osc_in than using a buffer, right? 2013-04-07T05:03:26 < dongs> there's defintely tcxos that output square wave so 2013-04-07T05:03:49 < dongs> oh 2013-04-07T05:03:52 < dongs> i remember lookingg this up months ago 2013-04-07T05:03:55 < dongs> http://www.taitien.com.tw/db/pictures/modules/CMS/CMS060207001/AP20100105-Utilize%20Clipped%20Sine%20Waveform%20in%20Circuit%20Design.pdf 2013-04-07T05:04:14 < dongs> there's s 3 solutions for you 2013-04-07T05:04:16 < dongs> pick the ghettoest one 2013-04-07T05:04:26 < talsit> dongs: there's one that "outputs" CMOS, but it's datahseet also says 0.8v p-p 2013-04-07T05:05:15 < talsit> dongs: ooo... looks good! 2013-04-07T05:06:55 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: to sleep, perchance to dream] 2013-04-07T05:07:44 < gxti> yeah looking to replace the vcxo and analog stuff with a fixed tcxo in the future, just haven't bothered writing the code yet to make sure it performs well 2013-04-07T05:08:22 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 245 seconds] 2013-04-07T05:10:02 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-07T05:11:49 -!- MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-07T05:12:21 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-07T05:16:04 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-07T05:16:54 * talsit maybe i should just stick to a simple XO 2013-04-07T05:17:43 < gxti> the first example in dongs' link looks good for a microcontroller oscillator 2013-04-07T05:19:10 < talsit> for use with stm32? 2013-04-07T05:19:17 < gxti> with anything really 2013-04-07T05:19:27 < talsit> i'll look at the datasheet again to see what it's expecting 2013-04-07T05:19:51 < gxti> it wants something centered around the threshold voltage of a schmitt trigger 2013-04-07T05:20:13 < gxti> and that resistor/capacitor combination in the pdf recenters the tcxo's output automatically 2013-04-07T05:21:04 < gxti> it starts out too low with the cap discharged so the XO is stuck high, which charges up the cap until it centers. and the negative feedback keeps it centered. 2013-04-07T05:21:08 < talsit> but the first example is just putting a cap in series with the pin, right? 2013-04-07T05:21:31 < gxti> cap in series and a 1M resistor to the XO pin, and make sure the stm32 is in crystal mode 2013-04-07T05:24:39 < talsit> so: (TCXO's OUTPUT Pin) -> Cap -> OSC_IN Pin 2013-04-07T05:24:50 < talsit> and the 1M resistor, goes from OSC_IN Pin to??? 2013-04-07T05:24:58 < gxti> OSC_IN to OSC_OUT 2013-04-07T05:29:21 < talsit> gxti: so something like this: http://flockdraw.com/upload/gdqt51rjodsso804k8g.png 2013-04-07T05:29:34 < gxti> talsit: yes 2013-04-07T05:29:45 < talsit> that seems almost too easy... 2013-04-07T05:32:12 < talsit> i'll design for both and test both 2013-04-07T05:32:44 < talsit> thank you 2013-04-07T05:54:24 -!- izzy84075 [~quassel@50.35.196.221] has quit [Read error: Connection reset by peer] 2013-04-07T05:54:53 -!- izzy84075 [~quassel@50.35.196.221] has joined ##stm32 2013-04-07T06:05:06 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-07T06:05:15 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-07T06:12:21 -!- MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-07T06:12:42 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-07T07:00:36 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has joined ##stm32 2013-04-07T07:01:40 < dongs> http://i.imgur.com/sW6I9ld.gif retweeting 2013-04-07T07:05:49 < emeb_mac> ouch 2013-04-07T07:06:11 < emeb_mac> looks like it was a stunt that went bad - there's an airbag under the tower, but he missed it. 2013-04-07T07:06:52 < dongs> i wonder if the falling thing was a gopro or something 2013-04-07T07:10:16 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-07T07:12:07 -!- MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-07T07:12:49 -!- MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-07T07:25:17 -!- BJfreeman [~bjfree@95.sub-75-233-46.myvzw.com] has quit [Quit: had a good time] 2013-04-07T07:45:00 < baird> I can see where he did it wrong-- he was suppose to grab the pylons below him and swing away from the tower, but his feet hit something and made him swing towards it. 2013-04-07T08:12:21 -!- MrMobius [~Joey@194.176.111.29] has quit [Read error: Connection reset by peer] 2013-04-07T08:13:04 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-07T08:25:45 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-04-07T08:34:36 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-07T08:34:47 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has left ##stm32 [] 2013-04-07T08:35:16 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-07T08:35:28 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Client Quit] 2013-04-07T08:35:46 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-07T08:48:08 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-07T09:12:41 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-07T09:13:16 -!- MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-07T09:17:20 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-07T09:17:33 < Robint91> hi all 2013-04-07T09:19:30 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 252 seconds] 2013-04-07T09:36:27 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-07T09:48:17 -!- vpopov [~happylife@dyn-32-176.fttbee.kis.ru] has joined ##stm32 2013-04-07T09:55:31 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 246 seconds] 2013-04-07T09:59:30 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-07T10:14:04 -!- [1]MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-07T10:15:54 -!- MrMobius [~Joey@194.176.111.29] has quit [Read error: Connection reset by peer] 2013-04-07T10:29:28 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Ping timeout: 246 seconds] 2013-04-07T10:36:21 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-07T10:37:14 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-07T10:45:41 -!- grummund [~user@unaffiliated/grummund] has quit [Quit: leaving] 2013-04-07T10:46:00 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2013-04-07T11:07:40 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: and like that, he's gone] 2013-04-07T11:13:48 -!- [1]MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-07T11:14:22 -!- MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-07T11:16:35 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-07T11:23:06 -!- talsit1 [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-07T11:24:33 -!- sterna1 [~Adium@s83-191-130-156.cust.tele2.se] has joined ##stm32 2013-04-07T11:25:23 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Ping timeout: 256 seconds] 2013-04-07T11:33:14 -!- barthess [~barthess@77.67.146.149] has joined ##stm32 2013-04-07T11:52:49 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-07T12:05:17 -!- SuicideFunky [~randy@185.10.51.188] has quit [Ping timeout: 255 seconds] 2013-04-07T12:06:09 -!- SuicideFunky [~randy@185.10.51.188] has joined ##stm32 2013-04-07T12:13:53 -!- MrMobius [~Joey@194.176.111.29] has quit [Read error: Connection reset by peer] 2013-04-07T12:14:28 -!- MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-07T12:16:34 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:91bd:c70:fca9:e13] has joined ##stm32 2013-04-07T12:18:10 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-07T12:47:51 -!- sterna1 [~Adium@s83-191-130-156.cust.tele2.se] has quit [Quit: Leaving.] 2013-04-07T12:47:52 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 256 seconds] 2013-04-07T12:55:33 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-07T13:07:09 < Posterdati> variadic templates suck 2013-04-07T13:07:17 < dongs> lol C++ 2013-04-07T13:08:26 < Posterdati> useless and stupid, like stroustroup 2013-04-07T13:08:26 < zyp> how so? 2013-04-07T13:08:36 < Posterdati> you cannot iterate. 2013-04-07T13:09:07 < zyp> you can recurse 2013-04-07T13:09:35 < Posterdati> perfectly useless i such thing array.init(1, 2, 4, 5, ...) 2013-04-07T13:09:53 < Posterdati> array[ 0 ] = ?. array[ 1 ] = ? 2013-04-07T13:10:20 < Posterdati> alas you push args in a list or array 2013-04-07T13:10:34 < zyp> http://cgit.jvnv.net/laks/tree/util/rblog.h <- what about this? 2013-04-07T13:11:08 < zyp> I find that to be a perferctly valid and useful usage of variadic templates 2013-04-07T13:12:57 < zyp> http://cgit.jvnv.net/laks/tree/usb/descriptor.h <- and the pack()-function here is another way I'm using variadic templates 2013-04-07T13:14:05 -!- MrMobius [~Joey@194.176.111.29] has quit [Read error: Connection reset by peer] 2013-04-07T13:14:43 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-07T13:17:12 < dongs> http://i.imgur.com/MvSUk5b.jpg retweet 2013-04-07T13:17:20 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-07T13:18:40 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2013-04-07T13:19:51 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 252 seconds] 2013-04-07T13:21:40 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-07T13:24:30 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 276 seconds] 2013-04-07T13:24:33 -!- barthess [~barthess@77.67.146.149] has quit [Quit: Leaving.] 2013-04-07T13:24:37 -!- talsit1 [~talsit@FLH1Agw127.osk.mesh.ad.jp] has left ##stm32 [] 2013-04-07T13:25:03 -!- talsit1 [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-07T13:39:33 -!- barthess [~barthess@77.67.249.165] has joined ##stm32 2013-04-07T13:41:14 -!- barthess [~barthess@77.67.249.165] has quit [Client Quit] 2013-04-07T13:43:28 < talsit1> i have a question regarding bootloader in system memory 2013-04-07T13:43:38 < talsit1> on stm32f4, in particular 2013-04-07T13:44:38 -!- barthess [~barthess@77.67.171.67] has joined ##stm32 2013-04-07T13:45:40 < talsit1> basically, if i put BOOT0=1 & BOOT1=0, the mcu will try to enter bootloader mode, right? 2013-04-07T13:46:31 < talsit1> in particular, i'm interested in trying to update firmware over usb 2013-04-07T13:47:13 < Tectu> talsit1, afaik 0 0 is not bootloader mode 2013-04-07T13:47:22 < talsit1> 1,0 2013-04-07T13:48:05 < talsit1> Tectu: hence me asking about 1 0 2013-04-07T13:50:43 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-07T13:50:43 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-07T13:52:12 -!- baird [~cjb@ppp121-44-143-225.lns20.syd7.internode.on.net] has left ##stm32 ["Konversation terminated!"] 2013-04-07T13:57:18 < Tectu> talsit1, 2013-04-07T13:57:18 < Tectu> BOOT1 BOOT0 Boot Mode 2013-04-07T13:57:18 < Tectu> X 0 User Flash memory User Flash memory is selected as the boot space 2013-04-07T13:57:20 < Tectu> 0 1 System memory System memory is selected as the boot space 2013-04-07T13:57:23 < Tectu> 1 1 Embedded SRAM Embedded SRAM is selected as the boot space 2013-04-07T13:57:45 < Tectu> BOOT1 to 0 and BOOT0 to 1 for bootloader 2013-04-07T13:57:59 < Tectu> Steffanx, may confirm this 2013-04-07T13:58:00 < talsit1> yep, what i said ;) 2013-04-07T13:58:05 -!- talsit1 is now known as talsit 2013-04-07T14:01:16 < zyp> yes, that is correct 2013-04-07T14:01:41 < talsit> and it will just start looking for DFU over serial, and USB? 2013-04-07T14:01:54 < zyp> yes 2013-04-07T14:01:58 < zyp> read AN2606 for details 2013-04-07T14:02:25 < talsit> yeah, i read it several times, it just hasn't clicked in my mind yet :S 2013-04-07T14:02:32 < Posterdati> zyp: http://pastebin.com/FDWLqyiz 2013-04-07T14:02:48 < Posterdati> zyp: will it work on baremetal stm32? 2013-04-07T14:03:28 < zyp> dunno, don't have any experience with using STL on stm32 2013-04-07T14:03:35 < zyp> try jpa, I'm about to head out 2013-04-07T14:04:25 < zyp> anyway, instead of using a STL array, you could just use a C array 2013-04-07T14:04:48 < zyp> const float argslist[] = {args...}; 2013-04-07T14:05:42 <+Steffanx> nice weather there zyp ? 2013-04-07T14:15:02 -!- [1]MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-07T14:15:20 < dongs> sup blogs 2013-04-07T14:15:30 < Tectu> sup japs 2013-04-07T14:15:42 < dongs> lol stl 2013-04-07T14:16:32 -!- vpopov [~happylife@dyn-32-176.fttbee.kis.ru] has quit [Ping timeout: 260 seconds] 2013-04-07T14:18:01 -!- MrMobius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-07T14:21:37 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Ping timeout: 256 seconds] 2013-04-07T14:31:00 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Quit: Leaving.] 2013-04-07T14:37:26 -!- Erlkoenig [~erlkoenig@pptp-212-201-77-106.pptp.stw-bonn.de] has joined ##stm32 2013-04-07T14:38:51 -!- BrainDamage [~BrainDama@62.10.5.60] has joined ##stm32 2013-04-07T14:48:23 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-07T14:58:36 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-07T15:13:54 -!- Laurenceb_ [~Laurence@host86-146-188-81.range86-146.btcentralplus.com] has joined ##stm32 2013-04-07T15:14:00 -!- daku is now known as DaKu 2013-04-07T15:14:45 -!- [1]MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-07T15:15:09 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-07T15:36:11 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-07T15:38:14 -!- _BJFreeman [~bjfree@172.sub-75-233-161.myvzw.com] has joined ##stm32 2013-04-07T15:39:23 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-07T15:41:24 < Posterdati> what the hell ---> error: 'M_PI' was not declared in this scope 2013-04-07T15:41:32 < Posterdati> there's a huge #include 2013-04-07T16:15:28 -!- [1]MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-07T16:18:25 -!- MrMobius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-07T16:26:50 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-07T16:27:38 < Posterdati> error: expansion pattern 'args#0' contains no argument packs 2013-04-07T16:27:40 < Posterdati> grrrr 2013-04-07T16:27:44 < Posterdati> c++ sucks 2013-04-07T16:28:14 < Erlkoenig> you just don't know how to use it :o 2013-04-07T16:29:11 < Posterdati> no it sucks 2013-04-07T16:30:49 -!- _BJFreeman is now known as BJfreeman 2013-04-07T16:31:39 < Erlkoenig> less than any other language for the applications where C++ is applicable, so don't complain 2013-04-07T16:33:03 < Posterdati> common lisp is better 2013-04-07T16:34:09 < Erlkoenig> terms like "better" and "worse" are not applicable for programming languages 2013-04-07T16:34:14 < Robint91> C > C++ 2013-04-07T16:34:22 < Robint91> you can perfectly do OO in C 2013-04-07T16:35:33 < Erlkoenig> you "can" but it is much more natural and error-safe in C++ 2013-04-07T16:35:36 < Erlkoenig> also C++ has templates, C not 2013-04-07T16:35:41 < Erlkoenig> and namespaces 2013-04-07T16:35:45 < Erlkoenig> and typesafety 2013-04-07T16:40:23 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-07T16:40:27 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-07T16:44:20 < BJfreeman> the problem with C++ is bloat to code size 2013-04-07T16:44:35 < Erlkoenig> only if you use it wrong 2013-04-07T16:44:48 < BJfreeman> in C a 10K becomes 100K 2013-04-07T16:45:06 < Erlkoenig> disable exceptions and rtti and the C++ code will be 10K 2013-04-07T16:45:51 < BJfreeman> the bloat comes from carrying the whole class methods each instance 2013-04-07T16:46:07 < Erlkoenig> would you care to explain that? 2013-04-07T16:46:43 < Erlkoenig> a c++ class with 100 methods (assuming no virtual ones) and one uint32_t member variable is 4bytes in sizeof() 2013-04-07T16:46:47 < BJfreeman> I C even though you have many functions the linker will only pull those that are needed 2013-04-07T16:47:01 < Erlkoenig> in C++ just as well 2013-04-07T16:47:03 < BJfreeman> in C 2013-04-07T16:47:19 < Erlkoenig> gc-sections works with C++ functions exactly as with C functions 2013-04-07T16:48:53 < BJfreeman> well I am learning something, but will verify just so I understand, I understand:P 2013-04-07T16:50:25 < zyp> Steffanx, some days 2013-04-07T16:50:27 < zyp> like today 2013-04-07T16:50:33 < zyp> yesterday was very wet 2013-04-07T16:50:49 <+Steffanx> No extreme winds? 2013-04-07T16:50:55 < Erlkoenig> struct Foobar { uint32_t a, b, c, d; } foobar_bla (struct Foobar* f) { ... } Foobar f; foobar_bla (&f); .... vs. .... class Foobar { public: void bla () { ... }; uint32_t a, b, c, d; } Foobar f; f.bla (); compiles to exactly the same code 2013-04-07T16:51:09 < zyp> ah, today was pretty windy as well 2013-04-07T16:51:12 < zyp> but that's ok 2013-04-07T16:51:25 <+Steffanx> Saw some nice videos of airplanes on tv 2013-04-07T16:58:15 -!- barthess [~barthess@77.67.171.67] has quit [Quit: Leaving.] 2013-04-07T16:58:48 < Robint91> how do you guys save settings in the flash? 2013-04-07T16:59:00 < Robint91> are you doing something like eeprom emulation? 2013-04-07T17:00:03 <+Steffanx> never did it, but i think its what i would do 2013-04-07T17:00:47 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-07T17:05:10 < dongs> i just use some unused flash pagfe 2013-04-07T17:05:14 < dongs> and dump stuff there 2013-04-07T17:05:22 < dongs> why bother emulating something with an extra layer of shit that can go wrong 2013-04-07T17:07:52 <+Steffanx> you lose your data when you lose power during erase/write? 2013-04-07T17:08:14 < zyp> so what? 2013-04-07T17:08:22 < zyp> don't lose power during erase/write 2013-04-07T17:08:38 < dongs> how is "eeprom emulation" going to solve your problems 2013-04-07T17:08:40 < gxti> use two pages 2013-04-07T17:08:56 < gxti> add checksum, flipflop if it's b0rked 2013-04-07T17:09:14 <+Steffanx> zyp, people here didn't like it when i said that last time :P 2013-04-07T17:09:50 < gxti> i've been using eeprom because i'm using the ones with a burned-in mac address 2013-04-07T17:10:29 < zyp> Steffanx, corrupted data is no better than lost data 2013-04-07T17:11:24 <+Steffanx> I didn't say that did i? 2013-04-07T17:13:37 < emeb_mac> Whoa - was just rereading the F303 ref manual & noticed that the I2S ports can be full duplex. 2013-04-07T17:13:48 < emeb_mac> don't know how I missed that beforem. 2013-04-07T17:14:54 -!- [1]MrMobius [~Joey@194.176.111.29] has quit [Read error: Connection reset by peer] 2013-04-07T17:15:40 -!- MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-07T17:17:47 < zyp> Steffanx, no, but that's the reasoning behind my «so what?» 2013-04-07T17:20:06 < BJfreeman> can't remeber which Uc but one you can write of the flash address without erase 2013-04-07T17:20:18 < BJfreeman> write over 2013-04-07T17:20:47 < Robint91> BJfreeman, *none if it flashbased 2013-04-07T17:22:41 < BJfreeman> it was a while ago so not clear on the paritculars. will probably come to top in a while when I forgot this conversation :P 2013-04-07T17:22:47 < zyp> BJfreeman, you can on pretty much any, but only to 0 2013-04-07T17:23:31 < zyp> erase sets all bits in a page to 1, and then the bits can be individually written to 0 2013-04-07T17:25:03 < zyp> i.e. all the bits you write to 1 during a flash write will be unchanged 2013-04-07T17:35:45 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-07T17:39:57 < dongs> zyp, your shit shows up tomrow 2013-04-07T17:40:11 < dongs> and my qi charger tuesday 2013-04-07T17:45:40 < zyp> I picked up another qi charger today 2013-04-07T18:15:55 -!- [1]MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-07T18:16:29 -!- BrainDamage [~BrainDama@62.10.5.60] has quit [Quit: Leaving.] 2013-04-07T18:16:41 -!- BrainDamage1 [~BrainDama@62.10.5.60] has joined ##stm32 2013-04-07T18:16:51 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Read error: Connection reset by peer] 2013-04-07T18:17:33 -!- MrMobius [~Joey@194.176.111.29] has quit [Read error: Connection reset by peer] 2013-04-07T18:18:55 < dongs> lol why 2013-04-07T18:19:10 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Ping timeout: 246 seconds] 2013-04-07T18:19:27 < zyp> because I wanted another, of course 2013-04-07T18:21:07 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-07T18:26:43 < BJfreeman> Ok android does not recognize either the uno or the maple 2013-04-07T18:27:20 < BJfreeman> oops darn irc client 2013-04-07T18:27:39 < Robint91> SHA1 is bruteforceable? 2013-04-07T18:29:19 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-07T18:37:34 < zyp> BJfreeman, how did you expect it to be recognized? 2013-04-07T18:45:00 < BJfreeman> was verifying for someone else 2013-04-07T18:45:37 < BJfreeman> the A13 does have android apps for SPI and i2c though 2013-04-07T18:47:58 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-07T19:00:10 < dongs> WhaT 2013-04-07T19:00:15 < dongs> that makes about as much sense as blogging 2013-04-07T19:00:17 < dongs> ok bedtime 2013-04-07T19:11:39 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-07T19:15:48 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-07T19:15:57 < Laurenceb_> blog to i2c interface? 2013-04-07T19:16:08 -!- MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-07T19:16:17 < Laurenceb_> you blog the data you want to send to the i2c bus, and its passed via "the cloud" 2013-04-07T19:16:27 < Laurenceb_> im sure someone has made this for fandriod 2013-04-07T19:17:23 < Erlkoenig> connect a keyboard and an LCD and you don't need a computer or smartfone for blogging anymore... sounds handy 2013-04-07T19:19:16 -!- sterna1 [~Adium@s83-191-130-156.cust.tele2.se] has joined ##stm32 2013-04-07T19:19:36 -!- sterna1 [~Adium@s83-191-130-156.cust.tele2.se] has quit [Remote host closed the connection] 2013-04-07T19:20:11 < BJfreeman> the olimex a13 has a library of drivers for GPS, GSM, IO that canbe incorporated into linux or android 2013-04-07T19:38:18 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-07T19:57:32 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 256 seconds] 2013-04-07T20:02:49 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-07T20:04:12 -!- vpopov [~happylife@dyn-32-176.fttbee.kis.ru] has joined ##stm32 2013-04-07T20:07:49 -!- Gavin144 [95a0ea01@gateway/web/freenode/ip.149.160.234.1] has joined ##stm32 2013-04-07T20:10:03 < Gavin144> Hi everyone, I just saw TNT at the top of the irc, is this currently recommended over GCC-Arm-embedded? 2013-04-07T20:16:07 < Erlkoenig> at least gcc-arm-embedded is more widely used 2013-04-07T20:16:13 -!- MrMobius [~Joey@194.176.111.29] has quit [Read error: Connection reset by peer] 2013-04-07T20:16:25 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-07T20:17:49 < Gavin144> Also is it possible that GCC-arm-embedded's malloc instruction would be giving back memory not in the heap? I'm getting very strange errors when copying into some malloc'd memory. 2013-04-07T20:18:49 < Erlkoenig> uh, you probably have to set up a few things to be able to use malloc 2013-04-07T20:21:48 < Gavin144> Hmm. It's been working for me, but I might have just gotten lucky, any info on where I might look into making malloc work? 2013-04-07T20:28:15 < Laurenceb_> i didnt know Tectu had joined the police 2013-04-07T20:29:36 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 245 seconds] 2013-04-07T20:32:19 < Tectu> Laurenceb_, ? 2013-04-07T20:32:28 < Laurenceb_> http://thechive.files.wordpress.com/2012/03/virgin-4-life-2.jpg 2013-04-07T20:32:41 < Laurenceb_> Tectu is the middle guy 2013-04-07T20:33:06 < Robint91> trolololo 2013-04-07T20:33:23 < Robint91> Laurenceb_, you are lucky that Steffanx isn't here 2013-04-07T20:33:54 < Laurenceb_> lolz 2013-04-07T20:34:34 < Gavin144> Alright I'm going to try TNT, if that doesn't work I'll be back 2013-04-07T20:34:38 -!- Gavin144 [95a0ea01@gateway/web/freenode/ip.149.160.234.1] has quit [Quit: Page closed] 2013-04-07T20:40:14 -!- phantoneD [~destroy@a95-92-88-3.cpe.netcabo.pt] has quit [Ping timeout: 246 seconds] 2013-04-07T20:43:30 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-07T20:44:24 -!- phantoxeD [~destroy@a95-92-88-3.cpe.netcabo.pt] has joined ##stm32 2013-04-07T20:44:53 -!- BJfreeman [~bjfree@172.sub-75-233-161.myvzw.com] has quit [Ping timeout: 240 seconds] 2013-04-07T20:45:25 -!- _BJFreeman [~bjfree@247.sub-75-233-66.myvzw.com] has joined ##stm32 2013-04-07T20:45:38 -!- barthess [~barthess@77.67.171.67] has joined ##stm32 2013-04-07T20:46:17 < Laurenceb_> I have sexdaily, I mean dyslexia 2013-04-07T20:56:24 < Robint91> Laurenceb_, how dificult was having dyslexia to finish you PhD? 2013-04-07T20:56:31 * Robint91 is in the same situation 2013-04-07T20:56:37 < Laurenceb_> its a joke :P 2013-04-07T20:56:43 < Laurenceb_> i dodnt really, sorry 2013-04-07T20:57:16 < Robint91> -_- 2013-04-07T21:02:30 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-07T21:16:40 -!- [1]MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-07T21:19:21 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-07T21:25:30 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 276 seconds] 2013-04-07T21:28:31 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-07T21:28:34 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-07T21:31:06 <+Steffanx> Robint91 indeed, Steffanx isn't here 2013-04-07T21:33:14 < inca> is there a point to using CrossWorks without CTL? 2013-04-07T21:33:21 < inca> their tasking library 2013-04-07T21:38:32 < inca> ugh… this is a mess. their samples don't even compile without CTL 2013-04-07T21:38:43 < inca> what's the point 2013-04-07T22:02:10 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:91bd:c70:fca9:e13] has quit [Quit: Leaving] 2013-04-07T22:06:27 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 276 seconds] 2013-04-07T22:08:08 -!- izzy84075 [~quassel@50.35.196.221] has quit [Read error: Connection reset by peer] 2013-04-07T22:08:16 -!- _BJFreeman is now known as BJfreeman 2013-04-07T22:09:20 -!- izzy84075 [~quassel@50.35.196.221] has joined ##stm32 2013-04-07T22:16:51 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-07T22:19:58 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-07T22:24:06 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-07T22:32:50 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-07T22:32:50 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-07T22:32:50 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-07T22:45:30 < Laurenceb_> but.. closed sores is good 2013-04-07T23:01:58 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 246 seconds] 2013-04-07T23:17:05 -!- [1]MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-07T23:19:01 < gxti> sores for everyone! 2013-04-07T23:20:10 -!- MrMobius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-07T23:22:10 < Robint91> Steffanx, -_- 2013-04-07T23:30:25 -!- vpopov [~happylife@dyn-32-176.fttbee.kis.ru] has quit [Ping timeout: 245 seconds] 2013-04-07T23:31:46 < Robint91> Steffanx, never use the translate function of google chrome when viewing source code 2013-04-07T23:32:26 < Robint91> Steffanx, leegt loop(); { als() terwijl .... 2013-04-07T23:35:02 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-07T23:38:14 < Erlkoenig> side note: setting AF 15 on random STM32F3 Pins crashes the core 2013-04-07T23:38:32 < Erlkoenig> without any Busfault or similar handler 2013-04-07T23:41:37 -!- mtbg [~mtbg@89-77-192-170.dynamic.chello.pl] has joined ##stm32 2013-04-07T23:42:04 < mtbg> hi 2013-04-07T23:42:39 < mtbg> I am trying to use high speed ULPI phy (CY7C68003) with stm32f407's OTG_HS 2013-04-07T23:43:25 < mtbg> I configured the clock on MCO properly and I get 24MHz on PHY's XI and 60MHz on ULPI_CLK 2013-04-07T23:44:31 < mtbg> I also programmed NOVBUSSENS bit in GCCFG since the device is usb powered and when the core is running, the vbus is always present 2013-04-07T23:45:01 < mtbg> however, the phy still doesn't drive pull ups on USB lines and therefore the host doesn't detect the device 2013-04-07T23:45:31 < mtbg> is there something else what I have to do when dealing with ULPI phy? 2013-04-07T23:46:26 < mtbg> I mean, GPIO MODER and AFRH/AFRL are in accordance to the datasheet and they act like ULPI i/o --- Day changed Mon Apr 08 2013 2013-04-08T00:02:21 -!- baird [~cjb@ppp121-44-143-225.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-08T00:05:52 -!- DaKu is now known as daku 2013-04-08T00:11:20 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-08T00:17:17 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-08T00:20:22 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-08T00:27:14 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Quit: Ik ga weg] 2013-04-08T01:01:58 -!- barthess [~barthess@77.67.171.67] has quit [Read error: Connection reset by peer] 2013-04-08T01:04:49 -!- BrainDamage1 [~BrainDama@62.10.5.60] has quit [Quit: Leaving.] 2013-04-08T01:11:50 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-08T01:17:29 -!- [1]MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-08T01:20:34 -!- MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-08T01:21:22 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-08T01:22:31 -!- barthess [~barthess@77.67.201.86] has joined ##stm32 2013-04-08T01:39:43 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-08T01:50:42 -!- izzy84075 [~quassel@50.35.196.221] has quit [Read error: Connection reset by peer] 2013-04-08T01:51:50 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-08T01:52:58 -!- Laurenceb_ [~Laurence@host86-146-188-81.range86-146.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-08T01:55:50 -!- izzy84075 [~quassel@50.35.196.221] has joined ##stm32 2013-04-08T02:03:06 -!- _BJFreeman [~bjfree@221.sub-75-196-24.myvzw.com] has joined ##stm32 2013-04-08T02:03:15 -!- BJfreeman [~bjfree@247.sub-75-233-66.myvzw.com] has quit [Ping timeout: 252 seconds] 2013-04-08T02:03:43 -!- _BJFreeman is now known as BJfreeman 2013-04-08T02:15:15 -!- barthess [~barthess@77.67.201.86] has quit [Quit: Leaving.] 2013-04-08T02:15:58 -!- jef79m [~jef79m@124-149-183-64.dyn.iinet.net.au] has quit [Ping timeout: 245 seconds] 2013-04-08T02:17:44 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-08T02:17:48 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-08T02:20:42 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-04-08T02:39:59 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-08T02:39:59 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-08T02:39:59 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-08T02:48:30 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-08T02:51:37 -!- rigid [~daniel@178-26-71-67-dynip.superkabel.de] has joined ##stm32 2013-04-08T03:01:25 < talsit> hey, how crazy does this idea sound? 2013-04-08T03:01:43 < talsit> i want to be able to dfu my stm32, the simplest way possible 2013-04-08T03:02:29 < talsit> so i want to do it over usb, but i don't want to add another button to my box to pull up BOOT0 2013-04-08T03:03:21 < talsit> i will only ever use USB for dfu or debugging, so i thought of adding a loop-back pin on my usb connector (i have to use custom connectors anyway) that shorts BOOT0 to VCC 2013-04-08T03:03:42 < talsit> too whacky? 2013-04-08T03:03:57 < inca> talsit: Whatever works, man 2013-04-08T03:04:28 < inca> you may need a buffering transistor in there to protect/isolate the mcu 2013-04-08T03:04:48 < talsit> in what way? 2013-04-08T03:05:25 < inca> USB bus can be dirty 2013-04-08T03:05:35 < talsit> you mean, for BOOT0? 2013-04-08T03:05:38 < inca> right 2013-04-08T03:06:02 -!- Erlkoenig [~erlkoenig@pptp-212-201-77-106.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-08T03:06:28 < talsit> well, my VCC is 3.3v, and although BOOT0 is 5V tolerant (right?), i'd rather push my own vcc 2013-04-08T03:06:56 < Bird|lappy> talsit, better yet, connect BOOT0 to VBus through a voltage divider? 2013-04-08T03:07:03 < Bird|lappy> or some sort of circuit? 2013-04-08T03:08:06 < talsit> Bird|lappy: if i do that, i would have to push my own divided vbus through the pins, and i may as well just push vcc in there 2013-04-08T03:08:23 < Bird|lappy> talsit, I mean, no need for a loopback function at all 2013-04-08T03:08:27 < dongs> i think the problem there is probably timing 2013-04-08T03:08:33 < dongs> you need boot0 shorted before vcc is applied. 2013-04-08T03:08:33 < Bird|lappy> if USB isn't hooked up, there is no VBus :P 2013-04-08T03:08:58 < Bird|lappy> dongs: a pin reset with boot0 pulled up won't put the part into programming mode? 2013-04-08T03:09:07 < talsit> Bird|lappy: ah... i think i get what you mean 2013-04-08T03:09:28 < talsit> dongs: yeah, i do have a reset button 2013-04-08T03:09:45 < talsit> so the idea would be to hold the reset while plugging in, or plug in and reset 2013-04-08T03:10:40 < dongs> so why not have reset button pulling it to 3.3V? 2013-04-08T03:10:53 < talsit> it==boot0? 2013-04-08T03:10:55 < dongs> yea 2013-04-08T03:10:59 < dongs> wh is vbus even involved 2013-04-08T03:11:06 < dongs> thats how i program all my boards 2013-04-08T03:11:11 < talsit> because i don't always want to program on reset 2013-04-08T03:11:18 < dongs> thats fine? 2013-04-08T03:11:27 < dongs> oh uh.. 2013-04-08T03:11:35 < dongs> why do you even ahve a RESET button then 2013-04-08T03:11:40 < Bird|lappy> dongs: I take it the bootloader won't get confused if its invoked with nothing hooked up to the USB port? 2013-04-08T03:11:53 < dongs> Bird|lappy: it will try to bootloader off uart, can, i2c,, whatever else 2013-04-08T03:12:02 < dongs> USB is like last line anyway' 2013-04-08T03:12:07 < Bird|lappy> ah 2013-04-08T03:12:38 < talsit> dongs: in case it gets really stuffed up and needs a reset ;) 2013-04-08T03:17:57 -!- [1]MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-08T03:20:58 -!- MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-08T03:23:55 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 264 seconds] 2013-04-08T03:26:03 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-08T03:54:07 < inca> can the community edition ARM DS-5 for android be hacked for STM32 dev? 2013-04-08T03:54:13 < inca> http://www.arm.com/products/tools/software-tools/ds-5/community-edition/index.php 2013-04-08T03:55:47 < dongs> ohh, did they release a freetard version? 2013-04-08T03:55:56 < dongs> I think ADS5 doesn't do cortex 2013-04-08T03:57:40 < inca> no cortex androids… well… maybe all we'd have to do is patch in a modern GCC or something with the right compile/linker crap 2013-04-08T03:57:57 < inca> debugger/programmer and IDE is about the same 2013-04-08T03:58:25 < talsit> i've seen people put a few tantalums around an stm32, as in, one on each corner, even though the datasheet doesn't ask for it, is that kinda common? 2013-04-08T03:59:12 < inca> talsit: yes. it's called decoupling. 2013-04-08T03:59:25 < inca> N.B. tantalums do not last forever 2013-04-08T03:59:47 < talsit> yep, but, is it normal to put more than what the datasheet recommends? 2013-04-08T04:00:18 < inca> talsit: it is normal to place them at every vcc to the chip 2013-04-08T04:00:44 < inca> and also wherever conducted emi might enter the chip 2013-04-08T04:01:05 < talsit> the 0.1uF ceramics, yep, but 1206's tant? 2013-04-08T04:02:23 < inca> I don't use tantalums, electroytics, or anything with polyamide 2013-04-08T04:03:46 < talsit> never? 2013-04-08T04:04:00 < talsit> what do you use for largish caps? 2013-04-08T04:04:06 < inca> old habits for mil-std and because I just don't savor the idea of caps that will die before I do 2013-04-08T04:04:53 < inca> talsit: ceramic cap farms, glass for HV caps... 2013-04-08T04:05:22 < talsit> fair enough 2013-04-08T04:07:47 < inca> dongs: I caved and downloaded Atollic for the next dev platform. CrossWorks was making me sad. IAR and Keil enqueued on downloads if Atollic fails. I really don't have much more time for this. 2013-04-08T04:14:02 < zyp> mtbg, did you set the PHYSEL bit correctly? 2013-04-08T04:14:46 < mtbg> I set it to 0, so high speed ulpi, according to the programming manual 2013-04-08T04:15:03 < zyp> yes, that sounds correct 2013-04-08T04:15:13 < dongs> atollic is trash 2013-04-08T04:15:22 < dongs> its just all teh fail of eclipse + closed sores aids 2013-04-08T04:15:27 < zyp> mtbg, are you using your own usb stack 2013-04-08T04:15:29 < zyp> ? 2013-04-08T04:16:04 < mtbg> yes, adopting it to OTG_HS 2013-04-08T04:16:20 < mtbg> it works ok on OTG_FS 2013-04-08T04:17:06 < zyp> do you reset the usb core properly after configuring PHYSEL? 2013-04-08T04:17:31 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-08T04:17:45 < mtbg> no 2013-04-08T04:17:50 < mtbg> should I? 2013-04-08T04:18:10 < zyp> http://cgit.jvnv.net/laks/tree/usb/dwc_otg.h#n129 <- yes, something like this 2013-04-08T04:18:11 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-08T04:18:52 < zyp> though, I think PHYSEL defaults to 0 on OTG_HS, so I'm not sure that's your problem 2013-04-08T04:19:58 < zyp> I have a branch of that code modified to use ULPI, but apparently I haven't pushed it to the server 2013-04-08T04:25:20 < zyp> found a copy 2013-04-08T04:25:24 < zyp> here's the changes: http://paste.jvnv.net/view/qRifj 2013-04-08T04:28:13 < mtbg> I changed it in similar way 2013-04-08T04:28:39 < mtbg> I have no vbus sensing, though, but I'm not sure if it matters when using external phy 2013-04-08T04:28:45 < zyp> also, remember to enable both OTGHS and OTGHSULPI in RCC 2013-04-08T04:29:21 < inca> dongs: does IAR work better with open sores? 2013-04-08T04:29:21 < mtbg> ST's usb stack doesn't configure vbus sensing in GCCFG when using external ulpi phy 2013-04-08T04:29:35 < mtbg> yep, I enabled the clocks 2013-04-08T04:29:38 < zyp> I don't know about that, my hardware has vbus hooked to the phy 2013-04-08T04:32:05 -!- jef79m [~jef79m@203-214-159-194.dyn.iinet.net.au] has joined ##stm32 2013-04-08T04:32:48 < dongs> inca: no, noone uses that 2013-04-08T04:33:00 < dongs> I had to use IAR shit for smartcard stuff, and it was just aids. 2013-04-08T04:54:44 < baird> My housemate's Brony friend has left-- he gave us a thank-you gift... http://i.imgur.com/v0nOHPq.jpg 2013-04-08T04:54:50 < baird> Awesome. 2013-04-08T04:56:13 < gxti> what's the card thing in the bg? 2013-04-08T04:56:46 < baird> The subrack? Raspberry Pi s 2013-04-08T04:56:49 < baird> The subrack? Raspberry Pi Supercomputer. 2013-04-08T04:56:58 < gxti> derp 2013-04-08T05:01:36 < talsit> crap, i forgot to connect VDDA to VCC :( 2013-04-08T05:05:58 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-08T05:09:56 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Ping timeout: 255 seconds] 2013-04-08T05:17:43 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-08T05:18:18 < zyp> «supercomputer» 2013-04-08T05:18:25 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-08T05:19:06 < zyp> I'd be willing to bet my phone is more powerful than that 2013-04-08T05:24:27 < inca> dongs: Then KEIL? 2013-04-08T05:29:17 < mtbg> :> 2013-04-08T05:30:40 < inca> yes, log says KEIL 2013-04-08T05:35:50 < dongs> yea 2013-04-08T05:38:39 -!- jef79m [~jef79m@203-214-159-194.dyn.iinet.net.au] has quit [Ping timeout: 260 seconds] 2013-04-08T05:42:06 -!- jef79m [~jef79m@124-169-145-70.dyn.iinet.net.au] has joined ##stm32 2013-04-08T05:48:11 < gxti> these pth usb mini-b sockets are sweet 2013-04-08T05:51:38 < dongs> indeed 2013-04-08T05:52:06 < gxti> too bad i got the usb lines reversed 2013-04-08T05:52:16 < gxti> bodgeable but now i have to do 11 more of these 2013-04-08T05:52:23 < dongs> good job 2013-04-08T05:52:52 < gxti> now to figure out how to program this ftdi crap 2013-04-08T05:54:05 < dongs> program? 2013-04-08T05:54:09 < dongs> to write in custom descriptor shit? 2013-04-08T05:54:36 < gxti> to change the gpio function 2013-04-08T05:57:17 < gxti> much fancier than the mcp2200 crap 2013-04-08T05:59:59 < mtbg> zyp: do I need to set OSPEEDR for the ULPI I/Os? 2013-04-08T06:03:43 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-08T06:03:52 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-08T06:13:16 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-08T06:16:38 < mtbg> I think so, but that didn't helped 2013-04-08T06:18:27 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-08T06:18:35 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-08T06:18:49 < dongs> pretty sure you dont 2013-04-08T06:18:53 < dongs> once pin is in AF it will do its own thing 2013-04-08T06:20:35 < mtbg> for MCO1 I had to 2013-04-08T06:20:51 < mtbg> I got pretty low amplitude on that pin otherwise 2013-04-08T06:21:06 < mtbg> at 24MHz 2013-04-08T06:39:05 < mtbg> hmmm 2013-04-08T06:39:20 < mtbg> ULPI_DIR is hi-z right now 2013-04-08T06:40:36 < mtbg> oh well 2013-04-08T06:50:29 < mtbg> the pad is unsoldered 2013-04-08T06:52:01 -!- BJfreeman [~bjfree@221.sub-75-196-24.myvzw.com] has quit [Quit: had a good time] 2013-04-08T07:10:17 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has quit [Quit: quit] 2013-04-08T07:12:56 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has joined ##stm32 2013-04-08T07:18:53 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-08T07:18:54 -!- [1]MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-08T07:45:28 < dongs> zyp's warez arrived 2013-04-08T07:49:21 < baird> want some pony biscuits? 2013-04-08T07:51:35 < dongs> lol their fucing cable actually has a pin plugged up 2013-04-08T07:53:39 < qyx_> hm, white led with Vf=3.2V, If=20mA and 13.7 lumens 2013-04-08T07:54:21 < qyx_> that gives me 214lm/W which is maximum i've ever seen 2013-04-08T07:54:44 < dongs> firmware update is required 2013-04-08T07:56:00 < dongs> work 2013-04-08T07:56:02 < dongs> thanks zyp 2013-04-08T07:56:10 < dongs> this is almost as good as my chinese ulink2 lcone 2013-04-08T07:56:12 < dongs> clone 2013-04-08T07:59:22 < dongs> but this is legit which means less chances of aids and/or getting trolled like jlink clones 2013-04-08T08:18:40 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-08T08:18:51 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-08T08:19:11 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-08T08:41:24 -!- jef79m [~jef79m@124-169-145-70.dyn.iinet.net.au] has quit [Excess Flood] 2013-04-08T08:42:06 -!- jef79m [~jef79m@124-169-145-70.dyn.iinet.net.au] has joined ##stm32 2013-04-08T08:48:18 < inca> here I am, typing include paths into KEIL 2013-04-08T08:51:04 < inca> and it crashed 2013-04-08T08:53:16 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-08T08:53:45 < qyx_> must be kidding, payware never crashes 2013-04-08T08:56:34 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: Leaving] 2013-04-08T09:07:32 -!- ds2 [noinf@netblock-66-245-251-24.dslextreme.com] has quit [Ping timeout: 245 seconds] 2013-04-08T09:08:12 -!- ds2 [noinf@netblock-66-245-251-24.dslextreme.com] has joined ##stm32 2013-04-08T09:10:37 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Ping timeout: 246 seconds] 2013-04-08T09:14:45 < inca> dead serial 2013-04-08T09:15:56 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-04-08T09:16:27 < inca> all right! 2013-04-08T09:16:52 < inca> 36kb compiled! need to shrink it down to 32kb so it will link 2013-04-08T09:16:54 < inca> hmmm 2013-04-08T09:19:11 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-08T09:19:22 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-08T09:25:54 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-08T09:26:01 -!- mtbg [~mtbg@89-77-192-170.dynamic.chello.pl] has quit [Quit: Konversation terminated!] 2013-04-08T09:29:02 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-04-08T09:30:29 < dongs> inca: enable microlib 2013-04-08T09:30:31 < dongs> and lto 2013-04-08T09:31:02 < inca> I see how to do micro lib… how do I do lto? 2013-04-08T09:31:08 < dongs> somewhear near there 2013-04-08T09:31:12 < inca> k 2013-04-08T09:31:16 < dongs> its called somethign else 2013-04-08T09:31:19 < dongs> something optimization 2013-04-08T09:31:21 < dongs> cross module? 2013-04-08T09:31:26 < inca> kk 2013-04-08T09:31:48 < inca> wow… they compile their armlink.exe with debug symbols 2013-04-08T09:32:14 * inca shakes head 2013-04-08T09:37:43 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-04-08T09:48:14 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2013-04-08T09:48:14 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2013-04-08T09:48:14 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-04-08T09:48:29 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-04-08T09:59:45 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-08T10:19:35 -!- [1]MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-08T10:20:04 -!- MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-08T10:26:34 < jpa-> zlog 2013-04-08T10:26:35 < zlog> jpa-: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2013-04-08.html 2013-04-08T10:34:47 < inca> holy shit… it compiled AND linked 2013-04-08T10:35:00 < inca> now I can test shit! 2013-04-08T10:49:10 < Robint91> inca, what are you making? 2013-04-08T10:49:37 -!- bsdfox_ [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 245 seconds] 2013-04-08T10:49:57 < inca> Robint91: The most unholy ethernet driver ever 2013-04-08T10:50:07 < Robint91> oh? 2013-04-08T10:50:13 < Robint91> explain? 2013-04-08T10:50:34 -!- bsdfox_ [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-04-08T10:50:44 < inca> This is my first time back in ST land for about 4 years 2013-04-08T10:51:00 < inca> getting a sane dev environment has been a nightmare 2013-04-08T10:51:54 < Robint91> IDE or makefiles? 2013-04-08T10:51:55 < inca> it would be comical just how many examples, application notes, toolchains, and toolchain configurations I have broken 2013-04-08T10:52:00 < inca> both 2013-04-08T10:52:18 < Robint91> I'm still looking for a good C editor with nice autocomplete 2013-04-08T10:52:18 < talsit> so what are you settling on? 2013-04-08T10:52:21 < Robint91> and indexing 2013-04-08T10:52:30 < inca> so is the rest of the world 2013-04-08T10:52:41 < talsit> i kinda live vc+vass 2013-04-08T10:52:59 < Robint91> talsit, for STM32 tell me more? 2013-04-08T10:53:17 < inca> http://stackoverflow.com/questions/5737671/any-alternatives-to-eclipse http://geany.org/ http://stackoverflow.com/questions/2382871/lightweight-alternatives-to-cdt-for-c-edition-in-eclipse 2013-04-08T10:53:33 < talsit> you said editor, not IDE 2013-04-08T10:53:44 < qyx_> i use geany, quite usable 2013-04-08T10:54:01 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-04-08T10:54:31 < inca> talsit: The line between editor and IDE is not quite what it used to be 2013-04-08T10:55:32 -!- bsdfox_ [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 260 seconds] 2013-04-08T10:56:12 < Robint91> I tried sublime text but is has shit support for C 2013-04-08T10:56:24 < inca> sublime 2? 2013-04-08T10:57:07 < Robint91> yeah 2013-04-08T10:57:20 < inca> python sucks 2013-04-08T10:57:33 < Robint91> .NET is better? 2013-04-08T10:57:59 < talsit> st3 is supoosed to be better, though i am biased 2013-04-08T10:58:05 < inca> I started liking Sublime 2, then I realized Xcode is way better for doing C editing 2013-04-08T10:58:09 < inca> TextMate is ok 2013-04-08T10:58:30 < inca> VS.NET has been the best dev env I've ever used, hands down 2013-04-08T10:58:49 < inca> except for the fact that it's MS 2013-04-08T10:59:13 < Robint91> talsit, ST3 does include better C autocomplete and indexing? 2013-04-08T10:59:51 < talsit> #define better 2013-04-08T11:00:03 < talsit> better than 2? 2013-04-08T11:00:06 < Robint91> yeah 2013-04-08T11:00:06 < talsit> yes 2013-04-08T11:00:12 < talsit> as good as vass? no 2013-04-08T11:00:26 < Robint91> vass? 2013-04-08T11:00:30 < talsit> visual assist 2013-04-08T11:19:22 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-08T11:20:20 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-08T11:36:37 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-08T11:36:37 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-08T11:36:37 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-08T11:36:40 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-08T11:40:00 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Read error: Connection reset by peer] 2013-04-08T11:40:37 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-04-08T11:47:32 < inca> hmm 2013-04-08T11:47:45 < inca> Keil is not recognizing STLink 2013-04-08T11:48:58 < Tectu> inca, that's bad 2013-04-08T11:49:25 < inca> Tectu, am I going to live? 2013-04-08T11:49:37 < Tectu> depends on your religion ;-) 2013-04-08T11:50:05 < inca> Tectu, Just be straight with me doc… how long have I got?! 2013-04-08T11:50:21 < Tectu> 41 2013-04-08T11:50:34 < inca> Nooooooooooo! 2013-04-08T11:51:25 < Tectu> seconds. 2013-04-08T11:51:33 < Tectu> or was it days? 2013-04-08T11:51:35 < Tectu> no maybe years 2013-04-08T11:51:40 < inca> =) 2013-04-08T11:51:41 < Tectu> no sure anymore, but definitely 41 2013-04-08T11:51:52 < Tectu> I forget these things often - let me know when you found out 2013-04-08T11:51:53 < inca> who needs types or units 2013-04-08T11:51:58 < inca> it's just data! 2013-04-08T11:52:49 < Tectu> PHP fag detected 2013-04-08T11:53:21 < Robint91> *JAVASCRIPT 2013-04-08T11:53:22 < qyx_> one pin missing :( 2013-04-08T11:53:28 < Robint91> Tectu, FTFY 2013-04-08T11:53:36 < Tectu> FTFY yourself 2013-04-08T11:53:38 < Tectu> :) 2013-04-08T11:53:43 < Robint91> :) 2013-04-08T11:54:44 < inca> so the interwebs tell me I should swap DLLs in KEIL 2013-04-08T11:54:50 < inca> whatever the hell that means 2013-04-08T11:54:53 < inca> copy paste 2013-04-08T11:57:53 -!- Robin_ [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-08T11:58:45 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Disconnected by services] 2013-04-08T11:58:53 -!- Robin_ is now known as Robint91 2013-04-08T11:59:03 < Robint91> silly freenode 2013-04-08T12:09:21 < qyx_> where the .. is the boot1 pin on f30x? 2013-04-08T12:09:49 < Robint91> euh 2013-04-08T12:10:00 < inca> damn 2013-04-08T12:10:03 < Robint91> same place as on the F1 2013-04-08T12:10:19 < qyx_> datasheet doesnt list it 2013-04-08T12:10:20 < inca> I get lwip compiled with KEIL, then try to get blink to work but all I get is FAIL 2013-04-08T12:10:35 < qyx_> only boot0 2013-04-08T12:10:35 < inca> STLink fail 2013-04-08T12:10:39 < Robint91> lwip is bloated 2013-04-08T12:10:46 < Robint91> I don't like the setup of it 2013-04-08T12:11:12 < inca> Robint91: If by bloated you mean has too many files, sure 2013-04-08T12:11:26 < inca> I don't have a choice though 2013-04-08T12:11:36 < inca> it is the spec'd IP stack 2013-04-08T12:13:30 < Robint91> qyx_, strange 2013-04-08T12:13:36 < Robint91> shitty datasheet is shit 2013-04-08T12:13:49 < Robint91> but I espect that it is the same pin as on the F1 series 2013-04-08T12:13:59 < qyx_> just reading AN4228 2013-04-08T12:14:05 < qyx_> migrating from F1 to F3 2013-04-08T12:14:13 < Robint91> inca, just to get it working 2013-04-08T12:14:15 < qyx_> and it says that boot mode selection strategy has changed 2013-04-08T12:14:16 < Robint91> inca, so much work 2013-04-08T12:14:29 < qyx_> and boot1 is not necessary anymore 2013-04-08T12:14:48 < inca> Robint91: ST already has an app note with it working 2013-04-08T12:14:58 < inca> repeating that app note has been the bane of my existence 2013-04-08T12:18:04 < Robint91> qyx_, am I correct that you can use the USB en the CAN together 2013-04-08T12:18:12 < Robint91> which wasn't possible with the F1 2013-04-08T12:19:42 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-08T12:19:56 < qyx_> i don't know, i will use CAN only 2013-04-08T12:20:10 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-08T12:23:28 -!- Mobyfab [~Mobyfab@80.239.168.84] has joined ##stm32 2013-04-08T12:24:21 < inca> why, god, why 2013-04-08T12:24:35 < inca> it builds and runs in CrossWorks 2013-04-08T12:24:55 < inca> I load the same bin into STLink on windows, and nadda 2013-04-08T12:25:09 < inca> maybe STLink is b0rked on my windows 2013-04-08T12:27:19 < dongs> oh 2013-04-08T12:27:23 < dongs> no dude. 2013-04-08T12:27:28 < dongs> crossworks has some extra stuff in debug build 2013-04-08T12:27:35 < dongs> for debug output etc 2013-04-08T12:27:44 < dongs> you need to b uild release if you want to load hex without IDE running 2013-04-08T12:27:45 < inca> semihosting shit 2013-04-08T12:27:48 < dongs> yes 2013-04-08T12:30:09 < dongs> http://i.imgur.com/0APYooW.jpg my new favorite piece of debugger kit 2013-04-08T12:31:06 < inca> bins look the same... hmm 2013-04-08T12:32:56 <+Steffanx> hmm, that's really all inside the ulink case? 2013-04-08T12:33:01 < Robint91> dongs, what is that white pcb? 2013-04-08T12:33:04 <+Steffanx> What kind of uc it suses dongs? 2013-04-08T12:33:13 < inca> nevermind 2013-04-08T12:33:18 < inca> bins are different 2013-04-08T12:33:24 < inca> rebuilding release 2013-04-08T12:33:45 < dongs> LPC2148 2013-04-08T12:33:51 < dongs> Steffanx: usually yea 2013-04-08T12:34:00 < dongs> Steffanx: bigger ulink has some resistors and crap 2013-04-08T12:35:09 < dongs> Robint91: my flyingdongs stuff. useless. 2013-04-08T12:35:21 < zyp> nice 2013-04-08T12:35:25 < Robint91> euh what? 2013-04-08T12:36:08 < Robint91> dongs, da HC49 XTAL 2013-04-08T12:36:56 < dongs> Robint91: cost + lazy to change since hardware is in production, would need to change stencils etc. 2013-04-08T12:37:36 < Robint91> dongs, that is even in production. do you sell it somewhere? 2013-04-08T12:38:01 < dongs> ye,s but again, this is not relevalt to your interests so it doesnt matter. 2013-04-08T12:39:44 -!- Laurenceb_ [~Laurence@host86-146-188-81.range86-146.btcentralplus.com] has joined ##stm32 2013-04-08T12:39:58 < Robint91> dongs, why so hostile? 2013-04-08T12:40:00 < inca> dongs: have you ever had KEIL fail to open a connection with the ST-Link? 2013-04-08T12:40:14 < dongs> inca: no cause.. i dont use stlink, but when I did try it, seemed to work ok 2013-04-08T12:40:17 < dongs> make sure youre using v2 driver 2013-04-08T12:40:22 < dongs> and your stlink firmware is latest 2013-04-08T12:40:32 < dongs> i presume youre using latest keil, which is like 4.9something 2013-04-08T12:40:35 < dongs> Robint91: not at all 2013-04-08T12:40:47 < dongs> or 4.7 i guess 2013-04-08T12:40:52 < Robint91> dongs, I guess it is a quadcopter board or something 2013-04-08T12:41:03 < inca> 470a, it should be v2 st-link since that's what I have 2013-04-08T12:41:20 < dongs> pfft, 470a 2013-04-08T12:41:25 < dongs> i wonder whats missing in my 470 2013-04-08T12:41:27 < inca> I tried copying USB driver from stlink dir to KEIL/ARM dir 2013-04-08T12:41:45 < dongs> dont do that. 2013-04-08T12:41:49 < dongs> shit just works 2013-04-08T12:41:54 < dongs> unplug everything, plug it back in. 2013-04-08T12:41:58 < dongs> if it doesnt work youre doing something wrong 2013-04-08T12:42:35 < inca> ok. digging up a newer version 2013-04-08T12:42:43 < inca> maybe that'll cure some of my aids 2013-04-08T12:48:00 < Laurenceb_> dongs, why so hostile? 2013-04-08T12:48:04 < Laurenceb_> ^ i lolled 2013-04-08T12:48:31 < Laurenceb_> ##stm32trolling 2013-04-08T12:53:28 < dongs> im never hostile 2013-04-08T12:55:24 < Laurenceb_> s/never/always 2013-04-08T12:55:43 < inca> 4.70a seems like the latest MDK-ARM Keil 2013-04-08T12:56:25 < dongs> yeah im on 4.70 2013-04-08T12:56:33 < dongs> and i can debug/flash using stlink on f4discovery just fine 2013-04-08T12:57:03 < dongs> are you debugging external target? or some -discovery board 2013-04-08T12:57:32 < inca> external target 2013-04-08T12:57:37 < inca> a custom F1 board 2013-04-08T12:58:25 < dongs> so its real stlink? 2013-04-08T12:58:29 < dongs> not part of discoboard? 2013-04-08T12:58:33 < inca> correct 2013-04-08T12:58:33 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 240 seconds] 2013-04-08T12:58:44 < inca> the real stink 2013-04-08T13:00:01 < Robint91> Laurenceb_, -_- 2013-04-08T13:02:45 -!- Laurenceb_ [~Laurence@host86-146-188-81.range86-146.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2013-04-08T13:04:07 < Robint91> http://i.imgur.com/79WnIqo.png 2013-04-08T13:04:20 < Robint91> electronics is so more easier as MCAD 2013-04-08T13:04:33 < dongs> waht is that, a rectal thermometer? 2013-04-08T13:06:21 < Robint91> dongs, new version of this http://www.vmarker.be/img/product_IR-pen-touch.jpg 2013-04-08T13:09:31 -!- gsmcmullin [~gareth@c-76-21-106-184.hsd1.ca.comcast.net] has quit [Ping timeout: 264 seconds] 2013-04-08T13:09:37 < dongs> mkay 2013-04-08T13:09:41 < karlp> "price is similar to the wiimote soltuion" ? 2013-04-08T13:09:44 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 256 seconds] 2013-04-08T13:09:51 < karlp> what is that, and why is it so important to compare yourselves to it? 2013-04-08T13:09:54 < dongs> so its 4.99 @ delayextreme? 2013-04-08T13:11:20 < Robint91> karlp, do you know those wiimote whiteboards 2013-04-08T13:11:20 < Robint91> ? 2013-04-08T13:11:50 < karlp> no. 2013-04-08T13:12:01 < dongs> karlp: clearly youre not the target audience 2013-04-08T13:12:24 < Robint91> karlp, wiimotes have few major drawbacks 1) they work on batteries 2) the use bluetooth 3) the require extra software to work as a whiteboard 2013-04-08T13:13:00 < Robint91> http://www.youtube.com/watch?v=5s5EvhHy7eQ 2013-04-08T13:14:56 * talsit wonders why stm32f4's sdio pins aren't all together - it would make much more sense to layout a board... 2013-04-08T13:15:04 < karlp> so yours doesn't use batteries? 2013-04-08T13:15:20 < inca> so if I flash it with ST-Link.exe and it does not run, is my boot0 line what is preventing it from running or did I miss something in the original linker script? 2013-04-08T13:17:14 < dongs> did you reconnect the board? or tell to "run" when flashing? 2013-04-08T13:18:05 < inca> I've told it to reset after flashing, pressed the reset button, and told it to run post flash 2013-04-08T13:19:50 < inca> the same bin file as what is seen in memory after crossworks builds and runs, is seen and verified with st-link.exe 2013-04-08T13:20:14 -!- [1]MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-08T13:22:00 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-08T13:23:39 < Blok> I am looking for a ~3-10VDC to 3.3VDC converter with very low quiescent current consumption. Any ideas? 2013-04-08T13:27:51 < Robint91> Blok, something buck boost 2013-04-08T13:28:02 < Robint91> Blok, TI? linear? maxim? 2013-04-08T13:28:20 < Blok> Robint91: Anything small :) 2013-04-08T13:29:29 < Blok> currently I am using TPS62056, but I wan to try something else. 2013-04-08T13:29:37 < Blok> *want 2013-04-08T13:30:55 < donigs> Blok: LP2992? 2013-04-08T13:31:06 < donigs> wait wat, thats a switcher 2013-04-08T13:34:26 < Robint91> Blok, 2013-04-08T13:34:26 < Robint91> http://parametric.linear.com/Internal_Power_Switch_Buck-Boost 2013-04-08T13:34:29 -!- dongs_ [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-08T13:36:15 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has left ##stm32 [] 2013-04-08T13:39:12 -!- Netsplit *.net <-> *.split quits: dongs, BusError_ 2013-04-08T13:39:18 -!- dongs_ is now known as dongs 2013-04-08T13:42:40 -!- BusError_ [~michel@host217-44-87-213.range217-44.btcentralplus.com] has joined ##stm32 2013-04-08T13:46:54 <+Steffanx> Robint91, your customers like to have a 'bare' pcb in their hands? I 2013-04-08T13:46:59 <+Steffanx> I wouldn't like that 2013-04-08T13:47:15 < Robint91> Steffanx, why do you think I'm drawing this stuff 2013-04-08T13:47:26 < Robint91> Steffanx, but we sold more then 500 of those pens 2013-04-08T13:47:39 <+Steffanx> oh, i didn't see the link before it 2013-04-08T13:48:02 < Robint91> Steffanx, 2.4mm thick PCB + some PUR resin does wonders 2013-04-08T13:48:33 <+Steffanx> still, it doesn't look finish 2013-04-08T13:48:35 <+Steffanx> ed 2013-04-08T13:50:32 < Robint91> Steffanx, http://i.imgur.com/xKA5JBS.png ray traced that for you 2013-04-08T13:50:52 <+Steffanx> What do you use for that? SolidWorks? 2013-04-08T13:51:21 < Robint91> autodesk inventor 2013-04-08T13:51:47 <+Steffanx> yay 2013-04-08T13:54:21 -!- CRF_Peter [~Peter@dhcp-188203.eduroam.chalmers.se] has joined ##stm32 2013-04-08T13:58:30 -!- Robin_ [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-08T13:58:37 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Disconnected by services] 2013-04-08T13:58:48 -!- Robin_ is now known as Robint91 2013-04-08T13:58:56 < Robint91> silly internetz 2013-04-08T14:06:58 < karlp> Blok: mcp1702/1703? 2013-04-08T14:11:25 < inca> all right... it has something to do with my config. I hit reset after a successful build/deploy in CrossWorks and the blinky firmware does not start up again. it only plays if a debugger tells it to go to main 2013-04-08T14:13:52 < inca> seems to be regardless of BOOT0's state 2013-04-08T14:18:01 < Blok> Thanks too both! 2013-04-08T14:20:01 -!- [1]MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-08T14:20:28 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-08T14:27:39 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-04-08T14:29:34 < baird> Just made a 'bounce' demo (re: Amiga) for the STM32F4 board.. Running a bit slow at the moment, as it's frobbing DrawPixel() for the entire screen.. http://i.imgur.com/jTFjVKb.jpg 2013-04-08T14:29:35 -!- alexn_ [~alexn@93.104.205.194] has joined ##stm32 2013-04-08T14:29:36 -!- Steffann [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-08T14:29:36 -!- ShiftPlusOne [~Shift@unaffiliated/shiftplusone] has quit [Read error: Connection reset by peer] 2013-04-08T14:29:36 -!- ShiftPlusOne [~Shift@124.170.45.73] has joined ##stm32 2013-04-08T14:29:36 -!- Steffann [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-08T14:29:36 -!- Steffann [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-08T14:29:36 -!- mode/##stm32 [+v Steffann] by ChanServ 2013-04-08T14:29:36 -!- ShiftPlusOne [~Shift@124.170.45.73] has quit [Changing host] 2013-04-08T14:29:36 -!- ShiftPlusOne [~Shift@unaffiliated/shiftplusone] has joined ##stm32 2013-04-08T14:30:38 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has quit [Ping timeout: 255 seconds] 2013-04-08T14:30:38 -!- dfletcher [~fletch@drupal.org/user/72475/view] has quit [Ping timeout: 255 seconds] 2013-04-08T14:30:40 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Ping timeout: 260 seconds] 2013-04-08T14:31:54 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has joined ##stm32 2013-04-08T14:32:23 -!- alexn [~alexn@93.104.205.194] has quit [Ping timeout: 256 seconds] 2013-04-08T14:32:47 < dongs> inca: sounds right with debug builds 2013-04-08T14:32:50 < dongs> of cw stuff 2013-04-08T14:34:24 < inca> It must be one of their poorly documented #define MACROS like STARTUP_FROM_RESET, which they tell you not to set 2013-04-08T14:42:48 < inca> so if I set STARTUP_FROM_RESET=true and develop that way, should I change the start flash address to some 0x0800 0000 + offset so that I can always flash it again, or can my ST-Link/V2 SWD always be able to handle a bricked target? 2013-04-08T14:50:48 < inca> ah crap... my eyes are not tracking so well. sleep time. see you guys in a bit 2013-04-08T14:54:20 < baird> (slow) boing! https://www.youtube.com/watch?v=SeKvffNG0wY 2013-04-08T14:55:12 <+Steffann> lol baird :) 2013-04-08T14:56:24 < Robint91> baird, make it faster 2013-04-08T14:57:43 < baird> Where the hell is Tectu. ChibiOS is his department. 2013-04-08T14:59:29 < baird> The thing actuall frobs every pixel on the screen.. 2013-04-08T14:59:30 < baird> Ripped it from an IOCCC submission :) .. http://dpaste.org/NUMRr/ 2013-04-08T14:59:52 < baird> http://dpaste.org/NUMRr/raw/ .. less rainbow faggotree 2013-04-08T15:09:17 < Fail_Academy> lurn2code 2013-04-08T15:09:50 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-08T15:10:07 < baird> Original code: http://www.ioccc.org/2011/eastman/eastman.c 2013-04-08T15:12:14 < dongs> jesus that is terribly slow 2013-04-08T15:15:03 < baird> Need to do something other than DrawPixel(), obviously. strncpy() a line at a time, or something. 2013-04-08T15:15:47 < Fail_Academy> haha wtf 2013-04-08T15:16:07 < Fail_Academy> nice codeball 2013-04-08T15:17:19 < Fail_Academy> http://www.theregister.co.uk/2013/04/08/hatebase_launch/ 2013-04-08T15:17:20 < Fail_Academy> sperg 2013-04-08T15:17:22 < Fail_Academy> sperg 2013-04-08T15:17:34 < Fail_Academy> shemale 2013-04-08T15:17:55 -!- alexn_ [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-04-08T15:18:15 < baird> So true. Rwandans all had Internet access back then. 2013-04-08T15:18:57 < Fail_Academy> if we try hard enough they will add ##stm32 to the database 2013-04-08T15:20:11 <+Steffann> So, everyone who wants Fail_Academy's crap please go to: ##stm32-crrap 2013-04-08T15:20:11 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-08T15:20:44 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-08T15:20:47 < Fail_Academy> its empty :( 2013-04-08T15:20:56 <+Steffann> Then no one wants your crap 2013-04-08T15:21:22 < Fail_Academy> :( 2013-04-08T15:21:43 < Robint91> Fail_Academy, join ##stm32-crap 2013-04-08T15:21:51 < Fail_Academy> lol 2013-04-08T15:21:57 < Fail_Academy> attn dongs: http://regmedia.co.uk/2013/04/08/stats_history_lesson.png 2013-04-08T15:22:03 < Robint91> I claim the throne of ##stm32-crap 2013-04-08T15:23:13 <+Steffann> At least that's not totally bullcrap Fail_Academy. And if the stats are right.. looks pretty nice too me 2013-04-08T15:23:40 < Fail_Academy> linux right around 0% 2013-04-08T15:23:47 < Fail_Academy> making dongs happy 2013-04-08T15:23:49 <+Steffann> What happend with win 7 in january? 2013-04-08T15:24:01 <+Steffann> *febr/march 2013-04-08T15:24:24 < Fail_Academy> they moved to windows8 2013-04-08T15:24:25 <+Steffann> oh, win 8 release or so 2013-04-08T15:26:18 < Fail_Academy> http://www.hatebase.org/vocabulary/sperg 2013-04-08T15:26:23 < Fail_Academy> epic rofl 2013-04-08T15:26:42 < Fail_Academy> the trolling has started already 2013-04-08T15:31:24 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-04-08T15:47:19 < dongs> does it mean i can add laurenceb 2013-04-08T15:47:24 < dongs> to the list? 2013-04-08T15:48:37 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-04-08T15:49:21 < Fail_Academy> lolz 2013-04-08T15:58:54 <+Steffann> Whoa, is nice how you eagle finally has an option to directly open a package from the pcb/schematic designer. 2013-04-08T16:00:45 < Fail_Academy> lol 2013-04-08T16:00:48 < Fail_Academy> finally 2013-04-08T16:01:12 < dongs> eagle? 2013-04-08T16:01:15 < dongs> people still use that?? 2013-04-08T16:01:20 < Fail_Academy> trolololol 2013-04-08T16:01:28 < dongs> worthless german shitheap 2013-04-08T16:01:41 < Fail_Academy> so fits in well here 2013-04-08T16:01:55 <+Steffann> Yes, dongs we know your opinion 2013-04-08T16:03:22 < dongs> my opinion is backed by years of experience 2013-04-08T16:03:26 <+Steffann> is that or use kicad dongs :P 2013-04-08T16:03:34 < dongs> i dont think i've seen shitttier commercial pcb cad 2013-04-08T16:03:35 < dongs> than eagle 2013-04-08T16:04:11 < Bird|lappy> eagle's library is annoying as all get out, yeah. I don't think I'm ever touching it again just because of that 2013-04-08T16:04:30 -!- _BJFreeman [~bjfree@253.sub-75-233-141.myvzw.com] has joined ##stm32 2013-04-08T16:04:54 -!- _BJFreeman is now known as BJfreeman 2013-04-08T16:05:11 <+Steffann> Im not sure what you mean by that Bird|lappy 2013-04-08T16:05:47 < Bird|lappy> Steffann, I cut my teeth in gEDA, and use KiCad as well 2013-04-08T16:05:57 < Bird|lappy> Eagle's library knocked me for a serious loop 2013-04-08T16:06:04 < dongs> Steffann: he means it fucking sucks 2013-04-08T16:06:17 < Bird|lappy> "how many different ways can you say 'resistor'? *sigh*" 2013-04-08T16:06:38 < Bird|lappy> most of the time I don't need 50 of the exact same resistor 2013-04-08T16:06:48 < Bird|lappy> (and when I do, can anyone say 'resistor pack'?) 2013-04-08T16:07:09 <+Steffann> At least it doesnt require wine, lol :P 2013-04-08T16:07:14 <+Steffann> *WINE 2013-04-08T16:11:24 <+Steffann> anyway, i know i shouldn't say things like that in here. Won't do it next time :( 2013-04-08T16:11:31 <+Steffann> -' 2013-04-08T16:11:42 < dongs> https://pbs.twimg.com/media/BHKNP8aCYAAt94h.jpg:large haha lunix 2013-04-08T16:12:11 <+Steffann> Is it just me or .. i always first check the details for the photo. 2013-04-08T16:12:23 < dongs> details? 2013-04-08T16:12:24 <+Steffann> "Are the reflections OK' .. etc. 2013-04-08T16:12:43 <+Steffann> Photoshop ruined my view 2013-04-08T16:13:02 <+Steffann> but dongs: ##stm32-crap 2013-04-08T16:13:55 < Robint91> http://trinixy.ru/2008/03/27/trudnye_budni_setevykh_rabotnikov_i_adminov_70_shtuk.html 2013-04-08T16:14:02 < Robint91> ^ network admin in russian 2013-04-08T16:14:31 < Bird|lappy> dongs: I've seen plenty of photos of kiosks etal with Windows BSODs, so Linux seems to be ahead so far... 2013-04-08T16:15:40 < baird> Hmm. Got the ersatz-boing demo up to about ~6fps, by streaming write_data() 2013-04-08T16:16:32 < Robint91> does someone know a 3 port gig Ethernet switch IC? 2013-04-08T16:16:50 < Robint91> with 1 one phy port 2013-04-08T16:16:53 <+Steffann> Still pretty slowish baird ? 2013-04-08T16:16:59 < Robint91> something like RGMII / GMII 2013-04-08T16:17:23 < BJfreeman> windows main goal is to make money. this includes off app manufactures. the App manufactures go along becuase Windows keep Changing so Customers have to buy new apps 2013-04-08T16:17:35 < gxti> i know they exist Robint91 but the question is are they attainable by mortals 2013-04-08T16:17:45 < baird> Steffann: it looks like an XBox trying to play Metal Gear Solid 2 :P 2013-04-08T16:18:07 <+Steffann> No xbox here, so dont know what it looks like 2013-04-08T16:18:12 < Robint91> gxti, I know that 100M switch IC are easy attainable 2013-04-08T16:18:17 < Robint91> but Gigbit not 2013-04-08T16:18:28 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-08T16:18:33 < gxti> marvell would have some but they are not widely distributed 2013-04-08T16:18:52 < Robint91> http://www.realtek.com.tw/products/productsView.aspx?Langid=1&PNid=18&PFid=42&Level=5&Conn=4&ProdID=295 2013-04-08T16:18:53 < Robint91> mhh 2013-04-08T16:18:58 < Robint91> but I don't like realtek 2013-04-08T16:19:44 <+Steffann> Sometimes you have to overcome your phobias Robint91 2013-04-08T16:19:47 < BJfreeman> you can alway punt and build your own 2013-04-08T16:20:07 <+Steffann> "Integrated 8051 microprocessor." heh 2013-04-08T16:20:10 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-08T16:20:16 -!- zlog [~zlog@ip68-102-194-208.ks.ok.cox.net] has quit [Remote host closed the connection] 2013-04-08T16:20:21 < Robint91> 88E6121 2013-04-08T16:20:24 < Robint91> ^w00t 2013-04-08T16:20:41 <+Steffann> unknown manufacturer .. 2013-04-08T16:20:46 < Robint91> http://www.mcuol.com/download/upfile/20110211102740_88E6122_88E6121-Datasheet-Part%203.pdf 2013-04-08T16:20:47 < Robint91> marvell 2013-04-08T16:21:26 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-08T16:21:28 < Robint91> but you can get easier uranium then these ICs 2013-04-08T16:22:41 < Thorn> I need cheap 4-layer boards. 2013-04-08T16:22:45 -!- zlog [~zlog@ip68-102-194-208.ks.ok.cox.net] has joined ##stm32 2013-04-08T16:22:47 < Robint91> seeedstudio 2013-04-08T16:25:10 < dongs> no you dont 2013-04-08T16:25:57 < dongs> cheap + 4 layer = good luck finding shorts 2013-04-08T16:25:57 < dongs> shitstudio cant even make non-shorted 2L shit 2013-04-08T16:25:57 < dongs> i cant imagine how fucking horrible their 4L stuff is 2013-04-08T16:27:15 < Fail_Academy> lol 2013-04-08T16:27:22 < Fail_Academy> i just got invited to a party 2013-04-08T16:27:30 < Fail_Academy> to celebrate Thatchers death 2013-04-08T16:28:49 < Thorn> looks like rezonit.ru is only 30% more expensive (for 2 boards instead of 10 but I don't need more) 2013-04-08T16:31:30 < Fail_Academy> russian boards 2013-04-08T16:31:30 < Fail_Academy> thats going to end well 2013-04-08T16:31:59 < baird> Steffann: like this-- https://www.youtube.com/watch?v=YXaURbk0i1A 2013-04-08T16:32:28 <+Steffann> Looks 100 times better than the previous one :) 2013-04-08T16:33:28 <+Steffann> oh, you bought the lcd board from ST? 2013-04-08T16:33:43 <+Steffann> no, you didn't. differnent one 2013-04-08T16:34:02 <+Steffann> *different 2013-04-08T16:34:31 < baird> Yeah, it's the STM-branded Embest LCD. 2013-04-08T16:35:11 <+Steffann> oh, the from ST are from embest, hmpf 2013-04-08T16:37:43 < baird> Hmm. The disassembly is showing some software-float routines being called (floor, d2f, etc.), in spite of hardware FPU used. Kill those. 2013-04-08T16:43:34 < dongs> baird: use float versions of stuffs 2013-04-08T16:43:54 < dongs> i.e. sinf() etc 2013-04-08T16:43:54 < dongs> once you kill the last one your binary will be much smaller too 2013-04-08T16:43:58 < dongs> because it wont be pulling all the double crap in 2013-04-08T16:45:38 < Fail_Academy> tl;dr lurn 2 code 2013-04-08T16:45:49 < baird> fukyeh: https://www.youtube.com/watch?v=QUqWLPcBmlA 2013-04-08T16:46:28 <+Steffann> Nice baird .. how many fps is that? 2013-04-08T16:46:33 < baird> d: I'd thought I'd done that, but actually checking the disass proved I'd missed something. 2013-04-08T16:46:42 <+Steffann> More than youtube can show? 2013-04-08T16:47:29 < baird> Faster than the 30fps the camera recorded it at, at least. 2013-04-08T16:48:23 < baird> One of my other cameras can do 60fps recording. I'll check with that. 2013-04-08T16:50:28 <+Steffann> Hmpf why this part has a pin number 6-1 and 6-2 ?! 2013-04-08T17:08:18 < dongs> http://www.joanne-raeann.com/2013/03/floating-magic-hot-babe-levitates.html#comment-form rofl laurenceb raged out he had to blog himself over 4 posts 2013-04-08T17:08:22 -!- CRF_Peter [~Peter@dhcp-188203.eduroam.chalmers.se] has quit [Ping timeout: 246 seconds] 2013-04-08T17:08:53 < Fail_Academy> wtf page 2013-04-08T17:13:33 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2013-04-08T17:15:10 -!- alexn [~alexn@93.104.205.194] has quit [Quit: Leaving] 2013-04-08T17:17:15 -!- baird [~cjb@ppp121-44-143-225.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-04-08T17:18:05 -!- a2cypher [~cypher@mail.krausglobal.com] has joined ##stm32 2013-04-08T17:21:08 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-08T17:21:31 -!- CRF_Peter [~Peter@dhcp-181152.eduroam.chalmers.se] has joined ##stm32 2013-04-08T17:22:11 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-08T17:27:21 <+Steffann> What type of usd connector would be more robust. One with a hinge, push/push or pull/push ? 2013-04-08T17:27:40 < karlp> what? 2013-04-08T17:28:13 <+Steffann> *microsd connector .. used for some bicycle project. So it shaky-ish 2013-04-08T17:28:28 <+Steffann> *socket 2013-04-08T17:29:02 < karlp> hing/push/push/pull/push?! 2013-04-08T17:29:02 < Thorn> potted: 2013-04-08T17:29:08 < karlp> what sort of things are you comparing? 2013-04-08T17:29:35 <+Steffann> Type of SD card insertion, karlp 2013-04-08T17:29:56 <+Steffann> I wonder if it really matters though 2013-04-08T17:31:51 < karlp> oh, i was still reading usb 2013-04-08T17:31:53 < karlp> doh. 2013-04-08T17:32:13 <+Steffann> :) 2013-04-08T17:38:31 <+Steffann> but 1.80 euro for a microsd card socket :S 2013-04-08T17:38:32 <+Steffann> Whoa 2013-04-08T17:38:59 < Fail_Academy> https://www.youtube.com/watch?v=_KC_zWufZOM&feature=player_detailpage#t=62s 2013-04-08T17:39:17 <+Steffann> ##stm32-crap 2013-04-08T17:40:26 -!- Posterdati [~antani@host166-213-dynamic.11-87-r.retail.telecomitalia.it] has quit [Read error: Connection reset by peer] 2013-04-08T17:45:20 -!- CRF_Peter [~Peter@dhcp-181152.eduroam.chalmers.se] has quit [Read error: Operation timed out] 2013-04-08T17:47:46 -!- Posterdati [~antani@host166-213-dynamic.11-87-r.retail.telecomitalia.it] has joined ##stm32 2013-04-08T17:48:54 <+Steffann> nah, i'll go for a hinged lid and i will see if it'll work out. 2013-04-08T17:50:38 < BJfreeman> Steffann the USB with the hinge tends to come undone with vibration the push/push is better for that rugged enviorment 2013-04-08T17:50:47 <+Steffann> Not USB :P 2013-04-08T17:51:07 <+Steffann> Why you guys read usb when i say usd? :) 2013-04-08T17:51:14 <+Steffann> *write 2013-04-08T17:51:20 < BJfreeman> sorry SD 2013-04-08T17:51:36 < BJfreeman> mistyped 2013-04-08T17:51:39 <+Steffann> ok ok 2013-04-08T17:52:45 <+Steffann> I tested some push/push thingy, and it released the SD card in the test, but it probably wasnt tested very well :) 2013-04-08T17:52:48 < BJfreeman> http://www.ebay.com/itm/10-Pcs-TransFlash-TF-Micro-SD-Card-Socket-Adapter-/270797244565 2013-04-08T17:53:15 <+Steffann> ( dropped a pcb from ~10cm on the sd card ) 2013-04-08T17:53:36 <+Steffann> even 5 cm is enough 2013-04-08T17:54:03 < dongs> https://youtube.com/watch?v=_KC_zWufZOM#t=121s cool trick 2013-04-08T17:54:10 < dongs> i did that once on a rainy road 2013-04-08T17:54:28 <+Steffann> OLD ##stm32-crap 2013-04-08T17:55:04 <+Steffann> ebay is dead BJfreeman :( 2013-04-08T17:55:54 < BJfreeman> Dead? 2013-04-08T17:58:00 < BJfreeman> this is the one I use with the imx233 board http://www.ebay.com/itm/LinkSprite-Breakout-Board-microSD-Transflash-/271102000183 2013-04-08T17:58:17 < Tectu> [Mon April 08 2013 13:57:42]: baird (~cjb@ppp121-44-143-225.lns20.syd7.internode.on.net) (##stm32): Where the hell is Tectu. ChibiOS is his department. 2013-04-08T17:58:20 < Tectu> now I'm here 2013-04-08T18:00:23 <+Steffann> BJfreeman, thanks.. i'll just try and see what works best 2013-04-08T18:00:58 < Tectu> Hey folks, how's it going? 2013-04-08T18:01:19 -!- CRF_Peter [~Peter@dhcp-181152.eduroam.chalmers.se] has joined ##stm32 2013-04-08T18:01:34 <+Steffann> wonderful 2013-04-08T18:08:01 <+Steffann> You ordered those 10pcs too BJfreeman ? 2013-04-08T18:08:20 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-08T18:14:28 < BJfreeman> Steffann yes before I found the breakout board, still sitting waiting to be used in my SD Sata device 2013-04-08T18:14:34 < Robint91> BJfreeman, which imx233 board do you have? 2013-04-08T18:14:54 < BJfreeman> the Olimex Maxi 2013-04-08T18:15:22 <+Steffann> BJfreeman just wondering if they have a type number and if there is a card dectection function 2013-04-08T18:16:12 < BJfreeman> yes all of olimex board have card detection, I am not sure about ID 2013-04-08T18:17:14 -!- vpopov [~happylife@dyn-32-176.fttbee.kis.ru] has joined ##stm32 2013-04-08T18:17:46 < BJfreeman> https://www.olimex.com/Products/OLinuXino/iMX233/iMX233-OLinuXino-MICRO/resources/iMX233-OLINUXINO-MICRO.pdf 2013-04-08T18:18:45 <+Steffann> That's tnot the same socket :( 2013-04-08T18:19:54 < BJfreeman> sorry wrong board https://www.olimex.com/Products/OLinuXino/iMX233/iMX233-OLinuXino-MAXI/resources/iMX233-OLINUXINO-MAXI.pdf 2013-04-08T18:21:22 <+Steffann> I guess they show a different 'socket' in their datasheet. The one on the photo looks like it, but http://share.naffets.nl/a-20130408-172114.png is different 2013-04-08T18:21:51 <+Steffann> nevermind, doesn't look like it at all. 2013-04-08T18:22:08 <+Steffann> I'll see when i receive mine 2013-04-08T18:23:28 < BJfreeman> OK 2013-04-08T18:24:35 -!- [1]MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-08T18:24:40 -!- MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-08T18:26:09 < dongs> imx23? 2013-04-08T18:26:10 < dongs> haha 2013-04-08T18:26:12 < dongs> garbage 2013-04-08T18:27:05 <+Steffann> dongs, can you make and send me something? 2013-04-08T18:27:28 < Tectu> let it be BMP2s 2013-04-08T18:27:33 <+Steffann> "Not approved by dongs"-stickers 2013-04-08T18:27:43 < emeb> dongs loves the BMP2 :) 2013-04-08T18:27:48 < emeb> it's his favorite thing 2013-04-08T18:28:06 < Robint91> BMP2s? 2013-04-08T18:28:10 < Tectu> emeb, I'm waiting for mine now for ages 2013-04-08T18:28:14 <+Steffann> black magic probe v2 Robint91 2013-04-08T18:28:38 < zyp> emeb, did you see the ulink-me I sent him? 2013-04-08T18:28:40 < Robint91> what black magic is that? 2013-04-08T18:29:03 < emeb> Robint91: http://ebrombaugh.studionebula.com/embedded/bmp2/index.html 2013-04-08T18:29:18 < Tectu> emeb, dongs fails at flashing 2013-04-08T18:29:32 < dongs> < dongs> http://i.imgur.com/0APYooW.jpg my new favorite piece of debugger kit 2013-04-08T18:29:53 < emeb> cute 2013-04-08T18:30:31 < Tectu> ^ 2013-04-08T18:32:13 < zyp> favorite already? it's that good? :p 2013-04-08T18:32:21 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 251 seconds] 2013-04-08T18:32:29 < BJfreeman> dongs the Imx233 serves a purpose just the the A13 does. at least for me unless you now of a similar solution 2013-04-08T18:32:44 < BJfreeman> know of 2013-04-08T18:33:01 < Robint91> BJfreeman, and that is? 2013-04-08T18:33:33 < zyp> I like the design of the ulink-me, it has the mini-10pin and female 20pin, like I wanted for the bmp2 2013-04-08T18:33:52 < Robint91> why does someone want to use jtag? 2013-04-08T18:33:57 < Robint91> instead of SWD? 2013-04-08T18:34:21 < BJfreeman> Linux, android user interface, Ethernet, Wifi, compisite video, VGA output, start with 2013-04-08T18:34:44 < zyp> Robint91, chaining? swd not being available? 2013-04-08T18:35:25 < Robint91> zyp, okay on chaining, but every CMx mcu has SWD 2013-04-08T18:35:32 < Robint91> or am I wrong 2013-04-08T18:35:33 < zyp> no 2013-04-08T18:35:37 < zyp> well 2013-04-08T18:35:42 < zyp> take lpc43xx for instance 2013-04-08T18:35:49 < zyp> it has both 2013-04-08T18:35:57 < BJfreeman> 1 GHz, SD USB Host, USB otg, and linux and android code for I2C SPI devices 2013-04-08T18:35:57 < zyp> but you only get one core through swd 2013-04-08T18:36:09 < zyp> you need to use jtag if you want to debug the M0 core 2013-04-08T18:36:20 < Robint91> mhh 2013-04-08T18:36:48 < Tectu> dongs, actually, what's the white board? 2013-04-08T18:37:01 < Robint91> Tectu, he doesn't tell 2013-04-08T18:37:03 < zyp> it's a bit silly restriction, because swd supports multi-drop 2013-04-08T18:37:10 < zyp> but that's how it is 2013-04-08T18:37:21 < zyp> and that's a valid reason to use jtag 2013-04-08T18:39:57 < zyp> Robint91, by the way, why are you asking? 2013-04-08T18:40:08 < Robint91> just wondering 2013-04-08T18:40:19 < Robint91> saw the 20 pin connector 2013-04-08T18:40:36 < zyp> well, jtag is available on the 10pin as well 2013-04-08T18:40:52 < zyp> the 20pin connector mostly only adds interleaved grounds 2013-04-08T18:40:59 < emeb> and SWD works on the 20-pin too 2013-04-08T18:41:17 < zyp> of course, since it's a subset of jtag pins 2013-04-08T18:41:47 < zyp> the 20pin connector is mostly interesting for legacy reasons 2013-04-08T18:42:23 < zyp> i.e. boards I happen to already have or buy 2013-04-08T18:42:56 < zyp> so far I have two using that 2013-04-08T18:43:46 < zyp> and seven different boards using the mini-10 2013-04-08T18:44:11 < zyp> standardizing is nice :) 2013-04-08T18:46:52 < dongs> http://i.imgur.com/nN6ghy2.jpg I plugged it into my 20>10 adapter 2013-04-08T18:46:57 < dongs> and i think ill just use it like this 2013-04-08T18:47:04 < dongs> the short shitty cable it came with is kinda useles 2013-04-08T18:48:07 < zyp> hah 2013-04-08T18:48:28 < zyp> just plug the long cable into the board? 2013-04-08T18:48:42 < dongs> then it doesnt stand vertical 2013-04-08T18:49:00 < zyp> is that a desired feature? 2013-04-08T18:49:05 < dongs> yes 2013-04-08T18:49:13 < Robint91> somebody use rtems here? 2013-04-08T18:52:59 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Ping timeout: 255 seconds] 2013-04-08T18:54:50 < Tectu> nein 2013-04-08T18:55:06 < Fail_Academy> wtf is that jtag? 2013-04-08T18:55:23 < Fail_Academy> doesnt look like bmp2 2013-04-08T18:55:38 < dongs> its nonshitty closed sores stuff 2013-04-08T18:57:39 < dongs> fucking avr 2013-04-08T18:57:45 < dongs> their thermal pad has to be soldered 2013-04-08T18:57:58 -!- bsdfox [~Bob@c-71-197-82-145.hsd1.ca.comcast.net] has joined ##stm32 2013-04-08T18:57:58 -!- bsdfox [~Bob@c-71-197-82-145.hsd1.ca.comcast.net] has quit [Changing host] 2013-04-08T18:57:58 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-04-08T18:58:21 < dongs> wanna use QFN version but dont wanna waste all the space under it 2013-04-08T18:58:25 < dongs> hmpf 2013-04-08T18:58:47 <+Steffann> You really need a "Not dongs-approved" stamp dongs 2013-04-08T18:58:54 < dongs> yea :( 2013-04-08T18:58:55 < dongs> ok bedtime 2013-04-08T18:59:02 <+Steffann> have fun 2013-04-08T18:59:08 < zyp> good idea 2013-04-08T18:59:25 <+Steffann> Still in jappieland 2013-04-08T19:04:08 < Fail_Academy> Fail_Academy 2013-04-08T19:06:53 <+Steffann> http://share.naffets.nl/a-20130408-180631.png .. what they want with "non conductive" traces? 2013-04-08T19:07:10 <+Steffann> What's the point of them, or even better what are they used for? 2013-04-08T19:07:32 < zyp> you fail at reading 2013-04-08T19:07:43 <+Steffann> no condictive whatever 2013-04-08T19:08:32 < zyp> it means «don't put exposed cu here, they can short out shit on the connector» 2013-04-08T19:08:35 <+Steffann> *u 2013-04-08T19:09:02 <+Steffann> Oh, really, is that all :) 2013-04-08T19:09:18 < zyp> well, isn't that obvious? 2013-04-08T19:09:44 <+Steffann> I don't have the sockets here, so .. no 2013-04-08T19:10:00 <+Steffann> Traces are always conductive 2013-04-08T19:10:24 < zyp> not through solder mask 2013-04-08T19:11:02 <+Steffann> Not for 'the outside' but they are still conductive. 2013-04-08T19:11:53 < zyp> you are not making yourself less silly now 2013-04-08T19:12:32 <+Steffann> I've never ever made something more complex than a xtal before, so it's the first time i even read this 2013-04-08T19:12:44 <+Steffann> ok, not more complex than a uc :) 2013-04-08T19:16:30 < emeb> More Black Magic: http://www.blackmagicdesign.com/products/blackmagicpocketcinemacamera 2013-04-08T19:16:31 <+Steffann> Anyway, im not as smart as you zyp. I already knew that :P 2013-04-08T19:16:33 < emeb> :P 2013-04-08T19:17:16 <+Steffann> Too much 'silver' in this black magic p 2013-04-08T19:18:11 < emeb> hilarious picture of it mounted to that giant 18-80 lens. 2013-04-08T19:18:21 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 252 seconds] 2013-04-08T19:23:29 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-08T19:23:37 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-08T19:24:06 <+Steffann> lol, nice emeb 2013-04-08T19:26:12 < zyp> well, nothing wrong with that, is it? :p 2013-04-08T19:26:25 < zyp> no point in having a camera as large as the lens 2013-04-08T19:26:40 < emeb> just find it crazy that that the camera disappears at the end of the lens. 2013-04-08T19:27:16 <+Steffann> Anyway zyp. I'd rather ask, and be silly, then doing something terribly wrong 2013-04-08T19:27:28 < zyp> of course :) 2013-04-08T19:31:10 <+Steffann> Is it me or is that huge lens + camera, not a photo but a 3d model? 2013-04-08T19:31:28 <+Steffann> ( just like everything else on that page ) 2013-04-08T19:35:33 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-08T19:43:11 < gxti> the images aren't even loading here 2013-04-08T19:43:15 < gxti> probably corporate proxy fail 2013-04-08T19:47:02 -!- barthess [~barthess@77.67.192.81] has joined ##stm32 2013-04-08T20:01:31 -!- ohama [ohama@cicolina.org] has quit [Ping timeout: 256 seconds] 2013-04-08T20:02:53 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Ping timeout: 252 seconds] 2013-04-08T20:05:29 -!- ohama [ohama@cicolina.org] has joined ##stm32 2013-04-08T20:21:45 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-08T20:21:58 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-08T20:25:04 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-08T20:47:44 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-08T21:05:00 -!- zlog [~zlog@ip68-102-194-208.ks.ok.cox.net] has quit [Ping timeout: 260 seconds] 2013-04-08T21:16:01 -!- daku is now known as DaKu 2013-04-08T21:18:26 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2013-04-08T21:18:26 -!- dfletcher_ [~fletch@drupal.org/user/72475/view] has joined ##stm32 2013-04-08T21:18:27 -!- dfletcher_ is now known as dfletcher 2013-04-08T21:22:26 -!- [1]MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-08T21:22:35 -!- MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-08T21:22:53 < Tectu> when's usually baird online? 2013-04-08T21:27:52 -!- Laurenceb_ [~Laurence@host86-146-188-81.range86-146.btcentralplus.com] has joined ##stm32 2013-04-08T21:31:27 * inca yawns 2013-04-08T21:31:56 * Laurenceb_ trolls 2013-04-08T21:32:05 * Tectu faps 2013-04-08T21:32:12 < Laurenceb_> ewww 2013-04-08T21:32:33 <+Steffann> ##stm32-crap 2013-04-08T21:32:40 <+Steffann> :P 2013-04-08T21:35:34 < inca> Keil sucks 2013-04-08T21:35:40 < inca> CrossWorks sucks 2013-04-08T21:35:44 < gxti> software sucks inca 2013-04-08T21:35:45 < inca> Eclipse* sucks 2013-04-08T21:35:55 < gxti> the world would be better without it 2013-04-08T21:35:59 < inca> gxti: The hardware makers aren't helping much 2013-04-08T21:36:08 < gxti> hardware sucks too 2013-04-08T21:36:10 < inca> and from the sample code I see for firmware 2013-04-08T21:36:21 < inca> C is an addiction 2013-04-08T21:36:24 < inca> C/C++ 2013-04-08T21:36:42 < inca> it's the crack pipe of the industry 2013-04-08T21:36:50 < Tectu> inca, that's why I don't use any IDE anymore for ages 2013-04-08T21:36:53 < inca> and we are its crack babies 2013-04-08T21:36:56 < Tectu> (about 1.5 years now) 2013-04-08T21:37:03 < inca> Tectu: I would love to not use an IDE right now 2013-04-08T21:37:17 < Tectu> inca, where's the problem? 2013-04-08T21:37:22 < Tectu> inca, I just use vi + make 2013-04-08T21:37:36 < inca> however, the debug environment just is not there for STLink/V2 commercial version to an F107 board 2013-04-08T21:37:42 < Laurenceb_> http://s3-ak.buzzfeed.com/static/enhanced/terminal01/2009/12/28/17/enhanced-buzz-18837-1262037781-17.jpg 2013-04-08T21:37:48 < inca> I can't /see/ anything without these shitty IDE's 2013-04-08T21:37:53 < inca> semihosting doesn't work 2013-04-08T21:37:54 < Tectu> Laurenceb_, 2013-04-08T21:38:04 < Laurenceb_> is that you? 2013-04-08T21:38:11 < Tectu> the girl, yes 2013-04-08T21:38:13 < gxti> crap pls 2013-04-08T21:38:36 < Tectu> inca, what exactly don't you /see/ here? http://i.imgur.com/uhjJJ.png (picture about a year old now) 2013-04-08T21:38:59 < gxti> leet 2013-04-08T21:39:23 < Laurenceb_> 1338 2013-04-08T21:39:28 < Laurenceb_> am i doing it rite? 2013-04-08T21:39:29 < inca> Tectu: I see a debugging environment that /might/ not suck 2013-04-08T21:39:40 < Tectu> inca, /see/ 2013-04-08T21:39:47 < inca> does it do breakpoints, watchpoints, traces? 2013-04-08T21:39:51 < Tectu> yes 2013-04-08T21:39:54 < Tectu> yes 2013-04-08T21:39:54 < Tectu> yes 2013-04-08T21:39:58 < inca> how 2013-04-08T21:39:59 < Tectu> it's GDB. 2013-04-08T21:40:01 < inca> word 2013-04-08T21:40:06 < Tectu> (gdb) break main.c:42 2013-04-08T21:40:36 < inca> likely gdbtui 2013-04-08T21:40:50 < inca> so how do I get that to work with a STINK/V2? 2013-04-08T21:40:59 < gxti> inca: openocd or texane stlink 2013-04-08T21:41:07 < Tectu> inca, download openocd, download arm toolchain 2013-04-08T21:41:20 < inca> OpenOCD has never worked for me on the commercial STLink/V2 2013-04-08T21:41:22 < Tectu> inca, I started writing this one back some time: http://chibios.org/dokuwiki/doku.php?id=chibios:community:guides:work_without_ide 2013-04-08T21:41:30 < gxti> i thought it was the same as discovery 2013-04-08T21:41:30 < Tectu> inca, it works flawlessly, I use it daily 2013-04-08T21:41:34 < gxti> surely someone has used openocd with it 2013-04-08T21:41:51 < Tectu> I have a commercial one here 2013-04-08T21:41:53 < inca> it's supposed to be, but it has a different chipid or whatever, so OCD pukes 2013-04-08T21:42:06 < inca> what is the main branch for OCD? 2013-04-08T21:42:13 < gxti> i've always had to use my own script for it anyway 2013-04-08T21:42:25 < inca> Pull request, for the love of god! 2013-04-08T21:42:29 < gxti> well maybe not for disco, but it's standar for jtag adapters 2013-04-08T21:42:30 < Tectu> inca, git clone git://openocd.git.sourceforge.net/gitroot/openocd/openocd 2013-04-08T21:42:39 <+Steffann> Laurenceb_, do you agree on getting banned for posting too much crap? 2013-04-08T21:42:40 < inca> Tectu: I have that 2013-04-08T21:43:03 < Tectu> inca, if it's so important to you, I could try it out again (use some jtagkey2 for some weeks now) 2013-04-08T21:43:14 < Tectu> inca, just get texane otherwise, GDB works the same - follow the guide 2013-04-08T21:43:59 < inca> Texane works... no semihosting or debug output that I could tell 2013-04-08T21:44:12 < inca> just steping 2013-04-08T21:44:23 < Tectu> use what you want - I don't care. I'm open for questions relating my setup or my underwear 2013-04-08T21:44:38 < inca> Tectu: it is important, I'll check out your guide 2013-04-08T21:44:45 < inca> thank you, thank you, thank you 2013-04-08T21:44:55 < Tectu> inca, well, the actual debugging part is missing 2013-04-08T21:44:59 < inca> haha 2013-04-08T21:45:05 < inca> well shit 2013-04-08T21:45:14 < Tectu> don't worry 2013-04-08T21:45:17 < Tectu> it's pretty straight forward 2013-04-08T21:45:27 < Tectu> also, try to write code you don't need to debug is a good approach too 2013-04-08T21:45:51 < inca> Tectu: as a first time back on the platform in 4 years, it's kinda hard to have that confidence at the moment 2013-04-08T21:47:24 < gxti> ironically i only solved the shitfest i was getting with stlink the day before my BMP arrived 2013-04-08T21:48:39 < inca> gxti: how did you solve it? install BMP? 2013-04-08T21:57:13 < gxti> no, switched to gcc arm embedded toolchain 2013-04-08T21:57:40 < gxti> i'd tried using a hand-rolled one and summon-arm-toolchain and both totally failed to breakpoint 2013-04-08T22:00:21 < Tectu> Steffann, why you no help inca setting up openocd from git? 2013-04-08T22:00:25 < Tectu> -> OSX 2013-04-08T22:01:32 -!- zlog [~zlog@ip24-255-190-22.ks.ks.cox.net] has joined ##stm32 2013-04-08T22:02:22 < Tectu> or zyp ^ 2013-04-08T22:02:25 < Tectu> or jpa- ^ 2013-04-08T22:02:35 < Tectu> or any other OSX guy here using OCD 2013-04-08T22:05:15 <+Steffann> because i dont use openocd .. and never will 2013-04-08T22:06:10 < inca> Steffann: what do you use with ST-Link? 2013-04-08T22:06:14 < inca> commercial variant 2013-04-08T22:07:16 -!- barthess [~barthess@77.67.192.81] has quit [Quit: Leaving.] 2013-04-08T22:22:50 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-08T22:25:28 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-08T22:25:46 <+Steffann> bmp :P 2013-04-08T22:25:59 <+Steffann> No stlink 2013-04-08T22:35:59 < inca> so should I flash my disco board to BMP then? 2013-04-08T22:36:04 < inca> is that what we're saying here? 2013-04-08T22:37:06 < inca> is it possible to flash a discovery STLink/V2 for BMP with a STLink/V2 commercial edition... yes. So this is really the answer to my OpenOCD prayers? 2013-04-08T22:41:45 -!- Erlkoenig [~erlkoenig@pptp-212-201-76-196.pptp.stw-bonn.de] has joined ##stm32 2013-04-08T22:43:07 < inca> where is the active OpenOCD ticket/issue tracker? 2013-04-08T22:43:18 < inca> http://sourceforge.net/apps/trac/openocd/report/1 <--- this is dead 2013-04-08T22:43:54 < Tectu> speak the name of ntfreak_ and he'll listen to your words 2013-04-08T22:45:47 < inca> ntfreak_: for openocd, please update jimtcl submodule to master 2013-04-08T22:46:05 < inca> autosetup < 0.6.5 breaks jimtcl during configuration 2013-04-08T22:46:19 < inca> it was a gcc/llvm issue with debug symbols 2013-04-08T22:46:54 < inca> ntfreak_: 2nd, please change line 11 of openocd's configure.ac from AM_ to AC_ 2013-04-08T22:47:57 < inca> these are both required for DARWIN platform (Darwin Kernel Version 11.4.2, Automake 1.13.1, Autoconf 2.69) 2013-04-08T22:49:57 < Laurenceb_> didnt sourceforge get haxored? 2013-04-08T22:52:07 -!- TeknoJuce01 [~TeknoJuce@bas1-london15-2925075985.dsl.bell.ca] has joined ##stm32 2013-04-08T22:53:32 < Tectu> lol what? 2013-04-08T22:54:09 -!- ddrown [~abob@vps3.drown.org] has joined ##stm32 2013-04-08T22:54:29 < Laurenceb_> someone hacked sourceforge 2013-04-08T22:55:22 < inca> Laurenceb_ that's why we use github 2013-04-08T22:55:35 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 252 seconds] 2013-04-08T22:56:19 < Erlkoenig> and stole all of SF's sourcecode??? 2013-04-08T22:56:34 < Tectu> oh noez! 2013-04-08T22:56:49 < Laurenceb_> aiui they inserted trolling 2013-04-08T22:57:01 < inca> open sores, with out messes combined... we are... 2013-04-08T22:57:58 < Tectu> they inserted a picture of Laurenceb? 2013-04-08T22:58:08 < Laurenceb_> no such thing exists 2013-04-08T22:59:42 < Tectu> but I saw! 2013-04-08T23:00:30 < Laurenceb_> http://www.reactionface.info/sites/default/files/images/1287666826226.png 2013-04-08T23:00:59 -!- gsmcmullin [~gareth@c-76-21-106-184.hsd1.ca.comcast.net] has joined ##stm32 2013-04-08T23:05:08 <+Steffann> Answer my question please Laurenceb_ 2013-04-08T23:05:22 <+Steffann> ~1.5 hours ago 2013-04-08T23:05:40 < inca> is JTAG just slower than SWD? 2013-04-08T23:06:06 < Tectu> nope 2013-04-08T23:06:08 < Tectu> same speed 2013-04-08T23:06:20 < inca> what's the difference? just the connector? 2013-04-08T23:06:27 < Tectu> SWD is JTAG without the chaining and unneded GNDs, from my understanding 2013-04-08T23:06:46 < inca> fair enough 2013-04-08T23:06:57 < inca> I've been using SWD up to this point. 2013-04-08T23:07:25 < gsmcmullin> inca: Read the manual if you care about technical differences, otherwise it's good enough to know that swd uses less wires. 2013-04-08T23:07:25 < inca> okay, going to try OpenOCD with STLink/V2 commercial version 2013-04-08T23:08:16 < inca> gsmcmullin: I just need to get a sane dev env going before I go insane. I've broken KEIL, CrossWorks, and Eclipse* 2013-04-08T23:08:42 < gsmcmullin> I would suggest that they all started broken. 2013-04-08T23:08:50 < inca> gsmcmullin: =) 2013-04-08T23:08:58 < inca> you are too polite 2013-04-08T23:09:13 < gsmcmullin> inca: But I use vim and command line gdb, so don't listen to me. 2013-04-08T23:10:17 < inca> gsmcmullin: I rarely stray from CL development... I am just trying to orient myself here. Even the OSS stuff has been flaky for me getting back into the embedded dev workflow 2013-04-08T23:11:29 < inca> Tectu gxti: what OpenOCD scripts do you use to make STLink/V2 work? 2013-04-08T23:12:03 < Tectu> inca, there's some -f interface/stlinkv2.cfg or whateverest 2013-04-08T23:12:05 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 245 seconds] 2013-04-08T23:12:22 < inca> gxti was mentioning a custom one 2013-04-08T23:12:54 < Tectu> no idea about that 2013-04-08T23:12:58 < inca> testing 2013-04-08T23:19:54 < Tectu> anyone ever used FSMC in 8-bit mode' 2013-04-08T23:19:55 < Tectu> ?* 2013-04-08T23:23:41 < inca> negative 2013-04-08T23:24:11 -!- MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-08T23:24:25 < Posterdati> hi 2013-04-08T23:24:58 -!- vpopov [~happylife@dyn-32-176.fttbee.kis.ru] has quit [Ping timeout: 246 seconds] 2013-04-08T23:25:21 < Posterdati> I experienced a strange variable behaviour: I've got a global var that it is assigned in a function and used in another, the latter cannot access the correct value 2013-04-08T23:25:49 < Tectu> Posterdati, unit test? 2013-04-08T23:25:52 < Tectu> Posterdati, paste? 2013-04-08T23:26:18 < inca> holy shit, openocd launched! maybe it'll do something this time! 2013-04-08T23:26:33 < Thorn> say you have a network of devices with 12 or 24V and CAN (two pairs of wires total) going between them. environment is indoors, not industrial. power is connected to a dc/dc converter in each device. what would you do to reasonably protect these inputs (power and CAN)? cost is an issue too 2013-04-08T23:26:37 < Tectu> inca, told ya 2013-04-08T23:26:43 < Erlkoenig> Posterdati: try a watchpoint 2013-04-08T23:27:02 < gsmcmullin> inca: You may save yourself some headaches by staying away from openocd. 2013-04-08T23:27:05 < Tectu> Erlkoenig, musst du eigentlich in jedem scheiss verdammten channel rumlungern, in dem ich auch bin, hase? :D 2013-04-08T23:27:26 < inca> gsmcmullin: it's a stop loss measure... I need to get something up and running today 2013-04-08T23:27:38 < Erlkoenig> Tectu: ja, du musst schließlich beaufsichtigt werden 2013-04-08T23:27:44 < Tectu> thehehehe 2013-04-08T23:27:45 < inca> gsmcmullin: when I get time I'll do the bmp on stlink/v2 2013-04-08T23:28:21 < Tectu> inca, is it possible to put BMP on a commercial stlink/v2? o.O 2013-04-08T23:28:50 < inca> Tectu: I have a disco board I can practice with 2013-04-08T23:28:56 < inca> with oem stlink 2013-04-08T23:29:16 < inca> I think regular oem DFU USB is possible to upgrade straight to bmp without hardware hack 2013-04-08T23:29:54 < Tectu> ah, this is something I might think of... can I put an additional STM32F103 on my development board and then simply flash it with the stlink/v2 software so I have an on-board debugger or is the firmware not available? 2013-04-08T23:30:01 -!- vpopov [~happylife@dyn-32-176.fttbee.kis.ru] has joined ##stm32 2013-04-08T23:30:12 < inca> I am just going to record the USB interplay for a DFU firmware update on disco board and use that to re-flash it if it breaks 2013-04-08T23:30:22 < inca> Tectu: yes 2013-04-08T23:30:27 < inca> but use BMP instead 2013-04-08T23:30:33 < Tectu> inca, any documentations on how to do this? 2013-04-08T23:30:58 < inca> http://embdev.net/articles/STM_Discovery_as_Black_Magic_Probe 2013-04-08T23:31:07 < inca> plus bmp wiki stuff and gsmcmullin 2013-04-08T23:31:20 < gsmcmullin> inca: I don't think so. ST link claims to be DFU, but isn't really. 2013-04-08T23:31:57 < inca> yeah, I haven't had time to investigate, but I suspect you may be correct 2013-04-08T23:32:14 < inca> it's likely some broken, barely fully implemented ST thing, as per the usual 2013-04-08T23:32:22 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-08T23:34:28 < Posterdati> Tectu: ... :( 2013-04-08T23:34:35 < inca> it looks like CrossWorks was doing linker magic between my elf file and the debugger loading 2013-04-08T23:35:01 < inca> what is the point of a linker script if you are just going to ignore it when you make than damn .elf file?! 2013-04-08T23:35:21 < Tectu> Posterdati, what's happening? 2013-04-08T23:35:29 < Tectu> Posterdati, what did I do to make you feel sad? 2013-04-08T23:35:31 < Posterdati> volatile? 2013-04-08T23:36:54 < Erlkoenig> zyp: my STM32 C++ hardware access library now knows what AF has what number on what pin and configures them automatically 2013-04-08T23:41:29 < inca> why does OpenOCD whine to me that the target is not halted whilst it has the ability to halt the target? 2013-04-08T23:42:48 < inca> Tectu: I think I have a semi-working copy of openocd... can you show me a little how to use it... It does not seem to operate the same as stlink 2013-04-08T23:43:41 < Tectu> inca, do you have GDB open? 2013-04-08T23:43:47 < Tectu> some arm-none-eabi-gdb ofc 2013-04-08T23:43:51 < inca> yes 2013-04-08T23:43:58 -!- DaKu is now known as daku 2013-04-08T23:44:00 < Tectu> did you follow the guide so far? 2013-04-08T23:44:10 < inca> it doesn't seem to read the debug symbols right 2013-04-08T23:44:19 -!- daku is now known as DaKu 2013-04-08T23:44:20 < inca> checking the guide 2013-04-08T23:48:43 < inca> I'll use libopencm3 as regression test 2013-04-08T23:48:57 < inca> I'll use libopencm3 as regression test 2013-04-08T23:52:12 < Tectu> yeah, do that 2013-04-08T23:52:13 < Tectu> yeah, do that 2013-04-08T23:52:16 < gxti> shh 2013-04-08T23:52:39 -!- vpopov [~happylife@dyn-32-176.fttbee.kis.ru] has quit [Ping timeout: 245 seconds] 2013-04-08T23:55:46 < inca> communication breakdown 2013-04-08T23:55:50 < inca> fail 2013-04-08T23:56:25 < Tectu> inca, I am sorry, but I have to leave now 2013-04-08T23:56:30 < Tectu> what exactly fails? 2013-04-08T23:56:39 < inca> it's okay, it's late 2013-04-08T23:56:51 < inca> OpenOCD fails to reset andhalt the device 2013-04-08T23:56:57 < inca> so it just gives up talking to it 2013-04-08T23:57:12 < Tectu> are you sure that OpenOCD connects successfully? 2013-04-08T23:57:18 < Tectu> did you try to manual reset? 2013-04-08T23:57:23 < inca> to the STLink/V2? 2013-04-08T23:57:29 < inca> No, I am sure of nothing 2013-04-08T23:57:39 < Tectu> meh, then we have to get to this tomorrow, sorry 2013-04-08T23:57:46 < inca> it's okay --- Day changed Tue Apr 09 2013 2013-04-09T00:00:44 < Posterdati> Tectu: connot solve the global var problem 2013-04-09T00:01:37 < inca> all right... anyone else have a working STLink setup? 2013-04-09T00:03:25 < inca> gxti: do you still have those openocd configs for stlink that you had right before bmp? 2013-04-09T00:04:43 < gxti> inca: it's trivial: http://hg.partiallystapled.com/circuits/laureline/raw-file/b3d8fc93c8a2/code/main/jtag/board.cfg 2013-04-09T00:05:05 -!- DaKu is now known as daku 2013-04-09T00:05:06 < gxti> if you need custom vid/pid crap you would replace the include of stlink-v2.cfg with its contents and fix whatever it has 2013-04-09T00:07:16 -!- a2cypher [~cypher@mail.krausglobal.com] has quit [Ping timeout: 256 seconds] 2013-04-09T00:16:10 < inca> gxti: it worked 2013-04-09T00:16:25 < inca> had to telnet in and halt before typing load in gdb 2013-04-09T00:16:36 < inca> OpenOCD for stlink 2013-04-09T00:16:39 < inca> fragile 2013-04-09T00:16:55 < gxti> i used an openocd cfg to flash, not gdb 2013-04-09T00:17:14 < gxti> e.g. http://hg.partiallystapled.com/circuits/laureline/file/b3d8fc93c8a2/code/main/jtag/flash.cfg 2013-04-09T00:17:38 < gxti> although now that i'm using bmp i like the gdb way better 2013-04-09T00:18:48 < inca> what do you use to gdb? 2013-04-09T00:19:08 < gxti> blackmagic probe 2013-04-09T00:19:08 < inca> or did you use before bmp? 2013-04-09T00:19:15 < inca> =) 2013-04-09T00:19:18 < gxti> well, i used gdb but not for flashing 2013-04-09T00:20:14 < inca> so you flash, reset, attach gdb? 2013-04-09T00:20:44 < gxti> yes 2013-04-09T00:21:45 < inca> excellent, that's the next step... somehow my hardware config prohibits that 2013-04-09T00:21:55 < inca> I think it flashes to ram or something weird 2013-04-09T00:31:00 < Posterdati> hi 2013-04-09T00:31:01 -!- [1]MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-09T00:31:15 < Posterdati> should I use "volatile" for global objects? 2013-04-09T00:31:33 -!- MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-09T00:31:35 < ds2> will they be changed outside of the current context while it is running? 2013-04-09T00:31:53 < Posterdati> ? 2013-04-09T00:32:10 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-09T00:32:17 < ds2> can it change outside of a given function that is using it 2013-04-09T00:32:31 < ds2> if yes, then volatile. if not, no. 2013-04-09T00:32:59 < Posterdati> a function assign the global variable and another read it 2013-04-09T00:33:19 < ds2> so no interrupts or other threads using it? 2013-04-09T00:33:29 < Posterdati> no 2013-04-09T00:33:30 < ds2> and it is not tied to a HW register address? 2013-04-09T00:33:36 < Posterdati> no 2013-04-09T00:33:42 < ds2> then nope. 2013-04-09T00:33:51 < Posterdati> but 2013-04-09T00:33:58 < ds2> volatile tells teh compiler something outside of its knowledge can change it 2013-04-09T00:34:25 < Posterdati> I experienced that the vars are changed in a task, but the other task could not retrieve the new value 2013-04-09T00:34:47 < ds2> that is not what you described with your answer 2013-04-09T00:34:58 < ds2> another task is for all intents and purposes a heavy weight thread 2013-04-09T00:36:42 -!- Steffann [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-09T00:38:14 < Posterdati> then? 2013-04-09T00:39:32 -!- CRF_Peter [~Peter@dhcp-181152.eduroam.chalmers.se] has quit [Ping timeout: 252 seconds] 2013-04-09T01:05:19 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-09T01:10:01 < Thorn> MTBF: 681.7Khrs min. for a Mean Well PS-15. wat. 2013-04-09T01:25:44 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 2013-04-09T01:25:55 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-09T01:26:02 < talsit> greetings 2013-04-09T01:26:28 < talsit> what's the roll of OTG_FS_ID and do i really need it? 2013-04-09T01:31:12 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-09T01:31:20 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-09T01:34:38 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-09T01:43:36 < gxti> talsit: do you need OTG? 2013-04-09T01:43:47 -!- Laurenceb_ [~Laurence@host86-146-188-81.range86-146.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-09T01:45:29 -!- baird [~cjb@ppp121-45-182-27.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-09T01:47:25 < talsit> OTG is where you can plug in, say a USB thumb drive to the stm32, right? 2013-04-09T01:48:02 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Read error: Connection reset by peer] 2013-04-09T01:52:53 < gxti> https://en.wikipedia.org/wiki/USB_On-The-Go 2013-04-09T01:53:23 < gxti> you don't need OTG to act as a host as i understand it 2013-04-09T01:55:37 < baird> Tectu: https://www.youtube.com/watch?v=QUqWLPcBmlA 2013-04-09T02:02:56 -!- Erlkoenig [~erlkoenig@pptp-212-201-76-196.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-09T02:06:14 < Thorn> now implement lambert shading 2013-04-09T02:09:32 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-09T02:09:32 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-09T02:09:32 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-09T02:18:28 -!- Fail_Academy [~laurence@vlsi1.eee.nottingham.ac.uk] has quit [Ping timeout: 245 seconds] 2013-04-09T02:30:55 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-09T02:31:27 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-09T02:31:42 -!- Fail_Academy [~laurence@vlsi1.eee.nottingham.ac.uk] has joined ##stm32 2013-04-09T02:45:36 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-09T03:03:51 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 260 seconds] 2013-04-09T03:10:55 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Quit: Leaving.] 2013-04-09T03:31:40 -!- [1]MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-09T03:33:57 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-09T03:41:21 -!- BJfreeman [~bjfree@253.sub-75-233-141.myvzw.com] has quit [Quit: had a good time] 2013-04-09T04:05:58 -!- Fail_Academy [~laurence@vlsi1.eee.nottingham.ac.uk] has quit [Ping timeout: 245 seconds] 2013-04-09T04:18:23 -!- Fail_Academy [~laurence@vlsi1.eee.nottingham.ac.uk] has joined ##stm32 2013-04-09T04:19:35 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 245 seconds] 2013-04-09T04:31:20 -!- [1]MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-09T04:31:58 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-09T04:44:03 < inca> how do I stop openocd from outputting libusb spam? 2013-04-09T04:48:55 < inca> ntfreak_: openocd does not obey the --debug <0:3> documentation 2013-04-09T04:56:26 < dongs> cool it works 2013-04-09T04:56:36 < dongs> zyp: chargepad wins 2013-04-09T04:58:08 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-09T04:59:14 < zyp> :) 2013-04-09T05:02:13 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 248 seconds] 2013-04-09T05:12:43 < dongs> hey zyp 2013-04-09T05:12:50 < dongs> allwhiner A31 supports eDP 4 lanes 2013-04-09T05:12:52 < dongs> up to 2k rez 2013-04-09T05:13:15 < dongs> now you can lunix while you lunix 2013-04-09T05:15:50 < zyp> hardcore shit yo 2013-04-09T05:16:12 < dongs> have you noticed how long the shit takes to cahrge vs usb? 2013-04-09T05:16:14 < dongs> is it about same? 2013-04-09T05:16:20 < dongs> usb = wall usb not pc shit 2013-04-09T05:16:36 < zyp> seems fast enough 2013-04-09T05:16:57 < zyp> probably a bit slower than wall, but faster than 500mA USB 2013-04-09T05:31:33 -!- MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-09T05:32:09 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-09T05:41:35 -!- Gargantuasauce_ [~Gargantua@blk-222-208-237.eastlink.ca] has joined ##stm32 2013-04-09T05:41:45 -!- Gargantuasauce_ [~Gargantua@blk-222-208-237.eastlink.ca] has quit [Client Quit] 2013-04-09T05:47:18 < dongs> http://www.kickstarter.com/projects/227846049/flat-hat-tripod-board?ref=home_spotlight 2013-04-09T05:47:21 < dongs> no really 2013-04-09T05:51:53 < dongs> http://www.kickstarter.com/projects/attinyprogram/chipper-the-attiny-programming-and-prototyping-shi?ref=category 2013-04-09T05:53:48 < dongs> http://www.kickstarter.com/projects/vaavud/a-wireless-wind-meter-containing-no-electronics 2013-04-09T05:53:51 < dongs> wow, REALLY 2013-04-09T05:53:59 < dongs> Measure the wind with your iPhone, iPad or Android phone and share it online. 2013-04-09T05:54:06 < dongs> just what I fucking wanted to do 2013-04-09T05:54:09 < dongs> with 23k gbp 2013-04-09T05:54:31 < inca> =) 2013-04-09T05:55:06 < dongs> http://www.kickstarter.com/projects/1373995643/the-love-linux-campaign-the-tuxdrive-and-the-tuxpo?ref=category 2013-04-09T05:55:08 < ds2> so it'd be a blow job? 2013-04-09T05:55:08 < dongs> whaaaaaaaaaaat 2013-04-09T06:00:01 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-04-09T06:02:30 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-09T06:02:40 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-09T06:08:06 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-04-09T06:13:15 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-09T06:19:43 < gxti> oh is it dickstarter night again 2013-04-09T06:20:09 < gxti> i *have* been having trouble sleeping lately, this should help 2013-04-09T06:32:21 -!- [1]MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-09T06:35:28 -!- MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-09T06:42:43 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-09T07:09:42 < baird> Buying shit from Element14 night for me. 2013-04-09T07:32:37 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-09T07:32:43 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-09T07:32:53 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-09T07:54:15 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-09T07:59:08 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-09T08:04:53 < inca> is openocd supposed to be run as root? 2013-04-09T08:06:55 < dongs> lol lunix 2013-04-09T08:08:08 -!- gsmcmullin [~gareth@c-76-21-106-184.hsd1.ca.comcast.net] has quit [Ping timeout: 260 seconds] 2013-04-09T08:14:28 < dongs> k got a free panel this afternoon gonna make breakout for that PIP chip 2013-04-09T08:14:47 < ds2> panel? what size? 2013-04-09T08:15:18 < dongs> just 2L stuff 2013-04-09T08:15:32 < ds2> what's 2L? 2013-04-09T08:15:52 < dongs> i mean I can panel any of my 2L designs into shit going out for production today 2013-04-09T08:15:54 < dongs> since theres some space 2013-04-09T08:16:02 < dongs> so im gonna make some quick breakout boards 2013-04-09T08:32:34 -!- gsmcmullin [~gareth@c-76-21-106-184.hsd1.ca.comcast.net] has joined ##stm32 2013-04-09T08:32:46 -!- [1]MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-09T08:35:52 -!- MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-09T08:36:31 < inca> dongs: It took me a second to realize you were loling at me =) 2013-04-09T08:36:50 < inca> keil still can't find STLink 2013-04-09T08:37:53 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-09T08:42:30 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Quit: leaving] 2013-04-09T08:58:39 < talsit> hey, gxti, thanks for that before - i had to run off 2013-04-09T09:02:10 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-04-09T09:04:19 -!- ABLomas [~abl@78-60-198-200.static.zebra.lt] has quit [Read error: Operation timed out] 2013-04-09T09:10:47 < inca> it's time to sleep. So far, the scoreboard---> Posix: 1 Windows: 0 <--- 2013-04-09T09:14:43 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-09T09:14:46 < Tectu> hey inca, I'm back 2013-04-09T09:14:52 < Robint91> hi all 2013-04-09T09:14:58 < Tectu> well, seems to be a bad time now :P 2013-04-09T09:15:03 < inca> haha 2013-04-09T09:15:12 < inca> I can stay up a bit later 2013-04-09T09:15:16 < inca> 40 minutes 2013-04-09T09:15:20 < inca> getting some tea 2013-04-09T09:15:46 < Tectu> inca, I'm at work anyways 2013-04-09T09:16:09 < inca> as an update, I've got the hang of openocd, it's a bit quirky... the README really ought to mention most of what's in your guide 2013-04-09T09:16:46 < inca> especially the part you mentioned about restarting openocd and gdb together, each time 2013-04-09T09:16:49 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-04-09T09:17:13 < inca> I also have been playing with the windows stuff for comparison 2013-04-09T09:17:24 < inca> dongs: I think Atollic hosed my STLink driver =( 2013-04-09T09:17:38 * inca shakes his head 2013-04-09T09:17:46 < Tectu> inca, meh 2013-04-09T09:17:54 < inca> haste makes waste... I usually encapsulate each dev env in a separate VM 2013-04-09T09:17:55 < dongs> wouldnt surprise me 2013-04-09T09:18:37 < inca> this has just been a free-for-all shit fest on installing, testing, blowing up, and then not even bothering to uninstall because it takes so god damn long 2013-04-09T09:22:53 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-04-09T09:32:18 -!- [1]MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-09T09:33:00 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-09T09:47:52 < alexn> need help wtih MCO output on F3. 2013-04-09T09:48:05 < alexn> RCC_CFGR |= RCC_CFGR_MCO_SYSCLK; 2013-04-09T09:48:30 < alexn> the gpio pin is configured as alternate function. 2013-04-09T09:49:42 < alexn> i dont see any clock on the pin. 2013-04-09T09:50:15 < talsit> someone yesterday said something about the pin speed in order to get MCO working 2013-04-09T09:52:22 < alexn> ok. my problem is, i dont know with which speed the cpu is working therfore i want check it with this pin. 2013-04-09T09:53:02 < Tectu> alexn, yeah, a friend of mine told me that the MCO requires a given sysclock 2013-04-09T09:53:08 < Tectu> I mean some special value 2013-04-09T09:53:10 < Tectu> not sure anymore 2013-04-09T09:53:25 < Tectu> I just adviced me never to use MCO :P 2013-04-09T09:55:09 < talsit> as in setting OSPEEDR 2013-04-09T09:55:34 < talsit> not the MCU speed 2013-04-09T09:57:36 < alexn> gpio speed settings. 2013-04-09T10:01:04 < talsit> yep 2013-04-09T10:02:05 < talsit> alexn: pm 2013-04-09T10:10:18 < baird> Only Weenies do spinning cubes on their LCDs: https://www.youtube.com/watch?v=Eu1vbLMDltk 2013-04-09T10:10:54 < Tectu> dongs is a weenie 2013-04-09T10:11:52 < baird> https://www.youtube.com/watch?v=smz2cU3FfFk 2013-04-09T10:12:23 < dongs> http://bcas.tv/paste/results/h1l4nf40.html this is the new rage 2013-04-09T10:19:06 < Thorn> yageo will stop marking their chip resistors 2013-04-09T10:20:46 < Tectu> oh noez 2013-04-09T10:20:52 -!- CRF_Peter [~Peter@194.17.253.121] has joined ##stm32 2013-04-09T10:21:11 < dongs> that sucks 2013-04-09T10:21:16 < dongs> they are the cheapest with decent quality 2013-04-09T10:21:18 < dongs> after stackpole 2013-04-09T10:22:19 < Thorn> "for environmental protection" 2013-04-09T10:27:29 < Thorn> looks like in a few years we'll only have fine pitch bga, csp, and 0402 discretes 2013-04-09T10:30:47 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-09T10:32:32 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-09T10:33:22 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-09T10:34:16 < qyx_> few years ago in the age of DIPs you didn't know that somewhen in the future you will do lqfp or even that smd resistors 2013-04-09T10:38:40 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-09T10:53:07 < talsit> is it important to try to make all traces of SDIO equal in length? 2013-04-09T10:53:13 < talsit> i'm going to guess not 2013-04-09T10:53:49 < Robint91> talsit, SDIO is too slow to matter 2013-04-09T10:53:56 < Robint91> talsit, and it is not even DDR 2013-04-09T10:54:30 < talsit> same goes with USB FS? 2013-04-09T10:54:37 < zyp> yeah 2013-04-09T10:54:50 < Robint91> talsit, nope, that is has diff signaling 2013-04-09T10:55:05 < Robint91> talsit, see that those two traces have the same lenght 2013-04-09T10:55:27 < talsit> yeah, differential, but speeds similar to SDIO 2013-04-09T10:55:30 < talsit> right? 2013-04-09T10:55:52 < Robint91> talsit, differential = always match lenghts 2013-04-09T10:55:55 < Thorn> length matching matters for high speed usb iirc 2013-04-09T10:55:56 < zyp> slower, really 2013-04-09T10:56:32 < zyp> Robint91, how matched should they be? 2013-04-09T10:56:36 < talsit> ok, cool 2013-04-09T10:56:46 < qyx_> the fact that they are differential doesn't matter imho, it's the speed of signalling 2013-04-09T10:56:53 < zyp> yes. 2013-04-09T10:57:46 < qyx_> more important part could be impedance matching if that two lines 2013-04-09T10:57:51 < talsit> hey, not bad, 74.43mm for DM, 75.47mm for DP 2013-04-09T10:58:05 < Robint91> talsit, those are long 2013-04-09T10:58:15 < zyp> bullshit 2013-04-09T10:58:19 < talsit> aren't the cables longer? 2013-04-09T10:58:43 < Robint91> talsit, cables have twisted wires 2013-04-09T10:58:44 < qyx_> zyp: what, the impedance matching or that they are long? 2013-04-09T10:58:48 < talsit> or, since they are twister pair... 2013-04-09T10:59:03 < Thorn> cables use twisted pair but 74mm is not a lot, just make sure the traces are close together 2013-04-09T10:59:16 < talsit> 6mil apart 2013-04-09T10:59:57 < zyp> qyx_, length is irrelevant, only the difference matters 2013-04-09T11:00:15 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 256 seconds] 2013-04-09T11:00:19 < zyp> and 1mm of difference is too little to matter 2013-04-09T11:00:27 < Robint91> yeah 1mm isn't bad 2013-04-09T11:01:46 < zyp> either way, for FS usb it's not too important anyway 2013-04-09T11:01:54 < qyx_> yep, agree 2013-04-09T11:01:56 < qyx_> btw www.usb.org/developers/docs/hs_usb_pdg_r1_0.pdf 2013-04-09T11:01:58 < zyp> you could probably run FS usb over coat hangers if you wanted to 2013-04-09T11:02:02 < talsit> yeah, not doing HS 2013-04-09T11:02:18 < talsit> zyp: coathangers take up too much space 2013-04-09T11:03:31 < Thorn> how do you twist coat hangers 2013-04-09T11:03:55 < talsit> you get the ones with vinyl covering 2013-04-09T11:04:24 -!- ABLomas [~abl@78-60-198-200.static.zebra.lt] has joined ##stm32 2013-04-09T11:08:27 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-09T11:12:56 -!- _BJFreeman [~bjfree@223.sub-75-233-99.myvzw.com] has joined ##stm32 2013-04-09T11:13:36 -!- _BJFreeman is now known as BJfreeman 2013-04-09T11:26:54 < inca> dongs: yep... uninstalled * in windows, reinstalled Keil, now the STLink stuff works 2013-04-09T11:32:49 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-09T11:33:56 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-09T11:34:33 < Posterdati> hi 2013-04-09T11:38:40 -!- zippe [~Adium@173.11.99.161] has quit [Read error: Connection reset by peer] 2013-04-09T11:38:44 -!- zippe1 [~Adium@173.11.99.161] has joined ##stm32 2013-04-09T11:47:03 < dongs> inca: what a surprise 2013-04-09T11:47:09 < dongs> atollic trash probably installed "libusb" or some other "aids" 2013-04-09T11:47:18 < inca> it did 2013-04-09T11:47:22 < dongs> did it? 2013-04-09T11:47:24 < talsit> what's with you and aids? 2013-04-09T11:47:32 < dongs> libusb is fucking filth 2013-04-09T11:47:42 < talsit> wouldn't it be better to say cancer? 2013-04-09T11:47:43 < dongs> nastiest piece of opensoers trash 2013-04-09T11:47:44 < dongs> no 2013-04-09T11:47:48 < inca> it installed a version of STLink USB drivers overtop of Keil's 2013-04-09T11:48:09 < inca> the uninstaller popped up a USB uninstaller 2013-04-09T11:48:13 < inca> guiltily 2013-04-09T11:48:23 < inca> now I am trying to get blinky to work in KEIL 2013-04-09T11:54:16 -!- pelrun_ [~James@123-243-159-164.static.tpgi.com.au] has joined ##stm32 2013-04-09T12:01:06 < talsit> also, it's generally considered "bad" to run traces in parallel to each other on either side of a board, right? 2013-04-09T12:02:17 < inca> talsit, it depends on what you are doing 2013-04-09T12:02:54 < talsit> the fastest i'm doing is SPI @ 24MHz 2013-04-09T12:03:05 < talsit> and it'll probably be 12MHz 2013-04-09T12:03:48 * inca wishes EE cad was not allergic to simulators 2013-04-09T12:04:15 < inca> iirc, parallel traces get more stray capacitance, less inductance 2013-04-09T12:05:18 < talsit> that makes sense 2013-04-09T12:06:40 < BJfreeman> the parallel trances have inductance but are canceld if like it is a signal and grnd 2013-04-09T12:08:06 < inca> dongs: do you use the configuration wizard in keil? 2013-04-09T12:08:11 < talsit> they are signal and signal and signal and signal 2013-04-09T12:08:53 < dongs> inca: no 2013-04-09T12:08:55 < dongs> what is that 2013-04-09T12:09:16 < inca> a tab on the bottom for automatically fucking up your startup files 2013-04-09T12:10:58 < Tectu> shit shit shit, my USB is not working anymore 2013-04-09T12:11:08 < inca> Reboot 2013-04-09T12:11:11 < Tectu> [11620.026050] usb 1-1.1: new full-speed USB device number 16 using ehci-pci 2013-04-09T12:11:16 < Tectu> ooh, good one! 2013-04-09T12:11:17 < Tectu> afk 2013-04-09T12:12:02 < BJfreeman> talsit current flows through a conductor, and generates a field the if big enough will cut across other conductors, so the question is how much of field does you signal create and that determines the spacing to reduce the effects of the fields on other traces 2013-04-09T12:13:17 < dongs> inca: no of course not 2013-04-09T12:13:35 < Tectu> jesus it's working again 2013-04-09T12:13:42 < Tectu> inca, thank you very much.... I always forget to reboot after some kernel updates 2013-04-09T12:14:02 < inca> =) 2013-04-09T12:14:02 < Tectu> inca, I already pissed blood... I have a presentation of this finals project on tursday 2013-04-09T12:14:32 < Tectu> jesus... I crapped my pants, afk 2013-04-09T12:14:38 < inca> hah... you might want to get that checked out ;) 2013-04-09T12:21:44 -!- BJfreeman [~bjfree@223.sub-75-233-99.myvzw.com] has quit [Quit: had a good time] 2013-04-09T12:21:47 < Tectu> hehe 2013-04-09T12:23:54 < alexn> is this the real cpu clock when i set this flag? 2013-04-09T12:23:58 < alexn> RCC_CFGR |= (RCC_CFGR_MCO_SYSCLK << RCC_CFGR_MCO_SHIFT); 2013-04-09T12:33:22 < inca> FUCK YEAH!!! 2013-04-09T12:33:28 < inca> IT FUCKING BLINKS! 2013-04-09T12:33:51 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-09T12:34:02 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-09T12:34:04 < inca> this is the happiest moment of my life with close sores! 2013-04-09T12:35:48 -!- baird is now known as cjbaird_away 2013-04-09T12:37:58 < Tectu> inca, what are you doing now? 2013-04-09T12:38:12 < inca> proving the existence of god 2013-04-09T12:38:16 < Tectu> Also read "this is the happiest moment in my life with clothes on" 2013-04-09T12:38:17 < inca> or a god 2013-04-09T12:38:29 < inca> closed sores* 2013-04-09T12:38:38 < inca> haha 2013-04-09T12:38:52 < inca> why do we get addicted to computers? 2013-04-09T12:39:08 < inca> pain & suffer => occasional accomplishment 2013-04-09T12:40:35 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-09T12:40:38 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-09T12:40:40 < Tectu> not all of us are like you 2013-04-09T12:40:55 < inca> oh come now 2013-04-09T12:41:01 < Posterdati> inca: because we are feticists? 2013-04-09T12:41:15 < inca> it's the struggle which defines the success 2013-04-09T12:41:29 < Posterdati> or the feticism grade 2013-04-09T12:42:08 < inca> there are no stories of heroes who won without adversity 2013-04-09T12:42:22 <+Steffanx> such wise words :P 2013-04-09T12:42:27 < Posterdati> so in feticism stories 2013-04-09T12:43:10 < Tectu> how's it floating, Steffanx 2013-04-09T12:44:03 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-04-09T12:45:18 -!- talsit is now known as tlst_away 2013-04-09T12:45:35 <+Steffanx> Tectu [insert what you say all the time here] 2013-04-09T12:47:23 -!- dfletcher [~fletch@drupal.org/user/72475/view] has quit [Ping timeout: 256 seconds] 2013-04-09T12:49:32 < Robint91> -_° 2013-04-09T12:49:43 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 256 seconds] 2013-04-09T12:52:51 -!- BrainDamage [~BrainDama@62.10.5.60] has joined ##stm32 2013-04-09T12:59:51 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-09T13:01:31 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 256 seconds] 2013-04-09T13:06:29 -!- Luggi09 [~luke@cnh8092116116.pppoe.surfer.cnh.at] has quit [Read error: Operation timed out] 2013-04-09T13:17:31 -!- Luggi09 [~luke@cnh8092116116.pppoe.surfer.cnh.at] has joined ##stm32 2013-04-09T13:19:20 <+Steffanx> Fail_Academy awake? 2013-04-09T13:21:12 < Posterdati> Steffanx: I need support! 2013-04-09T13:21:32 <+Steffanx> Nevermind Fail_Academy, you can go back to sleep 2013-04-09T13:21:40 < Posterdati> Steffanx: I need support! 2013-04-09T13:21:50 <+Steffanx> ok 2013-04-09T13:21:53 < Posterdati> ok 2013-04-09T13:22:14 <+Steffanx> lol 2013-04-09T13:22:17 < Posterdati> hold fast to your chair/couch 2013-04-09T13:22:32 < Posterdati> etc 2013-04-09T13:22:36 < dongs> sup chats 2013-04-09T13:23:21 < Posterdati> Steffanx: I need to share objects among threads, I read http://www.drdobbs.com/cpp/volatile-the-multithreaded-programmers-b/184403766 2013-04-09T13:24:05 <+Steffanx> Didn't you use some rtos? 2013-04-09T13:24:13 < Posterdati> but I'd like to understand how I suppose to provide a copy constructor and overload for operator= 2013-04-09T13:24:33 < Posterdati> Steffanx: I did one by myself, but I didn't provide any mutex mechanism yet 2013-04-09T13:24:38 <+Steffanx> Ah 2013-04-09T13:24:49 < Posterdati> now 2013-04-09T13:24:59 < Posterdati> problems arise from a shared object 2013-04-09T13:25:08 <+Steffanx> but .. you shouldn't ask question like that to me. I know something about it, but not enough 2013-04-09T13:25:28 <+Steffanx> There are others more into that 2013-04-09T13:25:32 < Posterdati> the main question is, do I need such a mechanism? 2013-04-09T13:25:39 < Posterdati> I mean 2013-04-09T13:26:15 <+Steffanx> I think zyp made some mutex for his laks. 2013-04-09T13:26:16 < Posterdati> my object is updated in a thread but reading in another thread fails returning wrong values 2013-04-09T13:26:21 <+Steffanx> Not sure how well it works 2013-04-09T13:26:27 < Posterdati> ok 2013-04-09T13:26:34 < Posterdati> what about dongs? 2013-04-09T13:26:42 < Posterdati> ssssh he could hear us 2013-04-09T13:26:53 < karlp> weren't these just regular globals? 2013-04-09T13:27:00 < Posterdati> karlp: yes 2013-04-09T13:27:16 < karlp> are they actually globals, or are they stack locals inside this rtos you built? 2013-04-09T13:27:40 < Posterdati> the object is declared as global in main.cpp 2013-04-09T13:27:45 < karlp> you're the guy who built your own rtos right? 2013-04-09T13:27:51 < Posterdati> yes 2013-04-09T13:28:00 < Posterdati> yet almost incomplete 2013-04-09T13:28:22 < Posterdati> but the problem I'm facing is strange 2013-04-09T13:29:04 < Posterdati> other globals that are not classes are good working, object globals seems not to be updated 2013-04-09T13:29:33 < Posterdati> as I read an object in a thread its value it is never updated 2013-04-09T13:32:01 <+Steffanx> Are the variables/members of the class also declared volatile? 2013-04-09T13:32:08 < ntfreak_> inca: the jimtcl OSX patch is awaiting review - http://openocd.zylin.com/1311 2013-04-09T13:32:08 < ntfreak_> AM to AC change has already been merged into master 2013-04-09T13:32:08 < ntfreak_> can you exaplin what does not worj with -d ? 2013-04-09T13:32:19 <+Steffanx> ( not sure if that's required though ) 2013-04-09T13:32:57 < Posterdati> Steffanx: according to the article I read, no 2013-04-09T13:33:10 < Posterdati> Steffanx: I only declared the whole object as volatile 2013-04-09T13:33:43 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-09T13:33:57 < Posterdati> but such declaration need volatile capable methods in the class to be defined 2013-04-09T13:34:01 < inca> ntfreak_ what do you mean by -d? 2013-04-09T13:34:17 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-09T13:34:24 < Robint91> Posterdati, you are asking for troubles with this 2013-04-09T13:34:33 < Posterdati> ? 2013-04-09T13:35:05 < ntfreak_> inca: yoiu mentioned - openocd does not obey the --debug <0:3> documentation 2013-04-09T13:35:22 < Robint91> sharing global objects with different tasks 2013-04-09T13:35:33 < Posterdati> Robint91: yes 2013-04-09T13:35:57 < Robint91> Posterdati, are all you functions reentrant 2013-04-09T13:36:08 < inca> oh, right, yes... it generates quite a bit of noise to stdout. Mostly "libusb info" 2013-04-09T13:36:22 < inca> regardless of -d level 2013-04-09T13:36:45 < Posterdati> Robint91: yes 2013-04-09T13:36:57 < inca> it should only output that at level >= 2 2013-04-09T13:37:11 < inca> -d >= 2 2013-04-09T13:37:55 < Posterdati> Robint91: precisely, one thread is reentrant, the other not since it is working with a shared (global) object 2013-04-09T13:38:04 < inca> I imagine it might be a reversed comparison operator, like < instead of > 2013-04-09T13:39:08 < Robint91> brb 2013-04-09T13:39:09 < Robint91> FOOD 2013-04-09T13:43:06 < ntfreak_> inca: how did you configure/build OpenOCD, as the libusb output is not set by OpenOCD 2013-04-09T13:44:01 < inca> ./configure --enable-maintainer-mode --enable-stlink --enable-buspirate 2013-04-09T13:44:17 < inca> disable maintainer mode? 2013-04-09T13:46:32 < dongs> --stop-lunix 2013-04-09T13:47:30 <+Steffanx> Posterdati on stackoverflow they say it's not a good idea. 2013-04-09T13:47:31 <+Steffanx> http://stackoverflow.com/questions/2341399/c-volatile-multithreading-variables 2013-04-09T13:48:47 < ntfreak_> inca: that looks ok, do you have LIBUSB_DEBUG enviroment var set somewhere ? can you post the output ? 2013-04-09T13:51:29 < inca> http://pastie.org/7383577 2013-04-09T13:51:54 < inca> I would like to note that this is on STDOUT, whereas the debugging output from openocd appears to come from STDERR 2013-04-09T14:01:40 < zyp> inca, are you sure you haven't loaded a debug version of libusb? 2013-04-09T14:01:43 < inca> Tectu: do you use linaro or baremetal? 2013-04-09T14:01:50 -!- cjbaird_away is now known as baird 2013-04-09T14:02:24 < inca> zyp, if homebrew installed it that way, then maybe 2013-04-09T14:02:29 < inca> how could I test it 2013-04-09T14:02:45 < zyp> homebrew shouldn't install debug version of libusb 2013-04-09T14:12:10 -!- Laurenceb_ [~Laurence@host86-177-60-113.range86-177.btcentralplus.com] has joined ##stm32 2013-04-09T14:14:30 -!- tlst_away is now known as talsit 2013-04-09T14:14:38 < Posterdati> Steffanx: ok 2013-04-09T14:17:00 < Tectu> inca, I don't use linaro 2013-04-09T14:18:16 < inca> their gdb seems to suck less 2013-04-09T14:18:25 < inca> a lot of their stuff seems to suck less 2013-04-09T14:19:36 < Tectu> that's what I'd tell about my stuff as well 2013-04-09T14:20:13 < inca> btw, I just got blinky to cross compile with both KEIL and GNU ARM gcc 2013-04-09T14:20:47 < inca> rubbing out the magic, one assumption or linker or startup script piece at a time 2013-04-09T14:21:16 < Tectu> so you're still using keil? I thought since yesterday you want to go the no-IDE was as well 2013-04-09T14:21:19 < inca> by compile, I mean it actually made the led blink 2013-04-09T14:21:25 < inca> well 2013-04-09T14:21:40 < inca> here's the last rub before I can go whole hog no ide 2013-04-09T14:21:47 < Tectu> I bet in your desperate situation you just power cycled the board to see the power led blinking 2013-04-09T14:22:11 < inca> none of the linux tools deploy to flash such that it will run on reset 2013-04-09T14:22:16 < inca> hahaha 2013-04-09T14:22:29 < inca> that was last week ;) 2013-04-09T14:22:35 < inca> had to keep moral up 2013-04-09T14:22:55 < Tectu> what do you mean about reset? 2013-04-09T14:23:17 < Tectu> you can tell openocd to automatically reset at connect. it's default not enabled because it's needed when you want to sneak in in case of error checking 2013-04-09T14:23:18 < inca> when keil loads the .elf file, I hit reset, and it blinks 2013-04-09T14:23:25 < Tectu> and? 2013-04-09T14:23:39 < inca> texane an openocd don't seem to be doing it for the same elf/hex 2013-04-09T14:24:14 < Tectu> as I said - configuration 2013-04-09T14:24:25 < Tectu> that are different philosophies for all the reset stuff 2013-04-09T14:25:25 < inca> hmm 2013-04-09T14:27:38 < inca> keil has an option called HW RESET after flash, what is the oocd equiv to that? 2013-04-09T14:27:40 < inca> brb 2013-04-09T14:28:18 < karlp> after flash? 2013-04-09T14:28:22 < karlp> just do run in gdb 2013-04-09T14:30:35 < inca> there is no run in my gdb 2013-04-09T14:30:40 < inca> for this target 2013-04-09T14:34:34 -!- MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-09T14:35:01 < Robint91> damm silly bitcoins are silly 2013-04-09T14:35:02 -!- baird [~cjb@ppp121-45-182-27.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-04-09T14:35:02 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-09T14:35:03 < Robint91> 200$ 2013-04-09T14:35:31 < karlp> did you do target remote, or target extended-remote? (always do extended-remote) 2013-04-09T14:35:42 < inca> extended 2013-04-09T14:37:51 < inca> sleep time for me 2013-04-09T14:37:53 < inca> bbl 2013-04-09T14:45:27 * Laurenceb_ fails at investments 2013-04-09T14:45:45 < Laurenceb_> should have spent all my money on bitcoins when it was $50 2013-04-09T14:45:57 <+Steffanx> What about when it was 1$? :) 2013-04-09T14:46:18 < Laurenceb_> instead i put it in the bank at 3.5% :( 2013-04-09T14:46:27 <+Steffanx> The bubble is going to burst anyway.. 2013-04-09T14:46:52 < Laurenceb_> yeah 2013-04-09T14:46:54 <+Steffanx> Or hacked .. making every single bit coin worthless 2013-04-09T14:46:58 < Laurenceb_> lol 2013-04-09T14:47:20 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-04-09T14:47:49 < Laurenceb_> well with all the publicity the stable value will be higher 2013-04-09T14:48:04 < Laurenceb_> i cant see how it could possibly be $200 tho 2013-04-09T14:48:39 < Laurenceb_> http://www.google.co.uk/trends/explore#q=bitcoin 2013-04-09T14:48:53 < Laurenceb_> tracks value quite well 2013-04-09T14:48:56 < Laurenceb_> thats a good sign 2013-04-09T14:49:14 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2013-04-09T14:49:26 < inca> the russians lost their money laundering spot in greece 2013-04-09T14:49:34 < inca> so I hear the rest goes to btc 2013-04-09T14:49:36 < inca> =) 2013-04-09T14:51:07 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-09T14:51:46 < Laurenceb_> russian mafia will be threatening baird soon 2013-04-09T14:51:59 < Laurenceb_> with their new peado scam 2013-04-09T14:53:00 < Laurenceb_> the perfect victim :P 2013-04-09T14:53:06 -!- CRF_Peter [~Peter@194.17.253.121] has quit [Read error: Operation timed out] 2013-04-09T15:02:11 -!- Posterdati is now known as Posterdati_Fail 2013-04-09T15:02:13 < Posterdati_Fail> hi 2013-04-09T15:02:33 <+Steffanx> lol 2013-04-09T15:03:07 < Posterdati_Fail> mutexes are not implemented in my arm toolchain :( sigh! 2013-04-09T15:03:44 <+Steffanx> implement one yourself 2013-04-09T15:03:50 <+Steffanx> :P 2013-04-09T15:03:54 < Posterdati_Fail> lazy person here! 2013-04-09T15:03:58 < Posterdati_Fail> ok 2013-04-09T15:04:01 < Posterdati_Fail> I will 2013-04-09T15:04:03 < Posterdati_Fail> but 2013-04-09T15:04:04 <+Steffanx> it is known 2013-04-09T15:04:19 < Posterdati_Fail> anyway 2013-04-09T15:04:29 < Posterdati_Fail> Please I need some hints 2013-04-09T15:04:32 <+Steffanx> zyp made something. http://cgit.jvnv.net/laks/tree/os/mutex.h not sure how well it works 2013-04-09T15:04:50 <+Steffanx> ( don't know if he things it's good either ) 2013-04-09T15:04:58 <+Steffanx> *thinks 2013-04-09T15:04:58 < Posterdati_Fail> zyp: stuffs don't work it is well known too (lol) 2013-04-09T15:05:11 <+Steffanx> What? 2013-04-09T15:05:18 < Posterdati_Fail> I mean 2013-04-09T15:05:23 < Posterdati_Fail> zyp's stuffs don't work it is well known too (lol) 2013-04-09T15:05:32 < Posterdati_Fail> lol 2013-04-09T15:05:35 <+Steffanx> That's not well known 2013-04-09T15:06:17 -!- _BJFreeman [~bjfree@10.sub-75-233-178.myvzw.com] has joined ##stm32 2013-04-09T15:06:48 < Posterdati_Fail> it was a joke 2013-04-09T15:06:51 < Posterdati_Fail> :( 2013-04-09T15:06:54 -!- _BJFreeman is now known as BJfreeman 2013-04-09T15:07:10 <+Steffanx> You shouldn't joke about things like that, really. :P 2013-04-09T15:07:42 < Posterdati_Fail> ok 2013-04-09T15:08:28 < Posterdati_Fail> I will face zyp 2013-04-09T15:08:49 <+Steffanx> Good luck in japan 2013-04-09T15:09:00 < Posterdati_Fail> they've got patriots too 2013-04-09T15:10:39 -!- flop|2 [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-09T15:11:43 < Robint91> zyp, why do you do that data memory barrier in your mutex code? 2013-04-09T15:13:07 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Ping timeout: 246 seconds] 2013-04-09T15:18:28 -!- Laurenceb_ [~Laurence@host86-177-60-113.range86-177.btcentralplus.com] has quit [Ping timeout: 245 seconds] 2013-04-09T15:21:46 < Tectu> I'm getting trolled by the network analyzer... doing dual port analyzing of LC-Filter... getting not the same result for S12 and S21... therefore switching the cables and connectors from both ports and getting exactly the same result 2013-04-09T15:23:26 < Robint91> lol 2013-04-09T15:23:29 < Tectu> of course the filter is fully symmetric 2013-04-09T15:24:57 < Tectu> this is as when you'd measure the voltage of a battery, getting -9V, change the polarisation of the probles or flip the battery, and still get -9V 2013-04-09T15:28:16 < Robint91> mhh 2013-04-09T15:28:23 < Robint91> question 2013-04-09T15:28:32 < Robint91> say if you need to interface something to a PC 2013-04-09T15:28:38 < Robint91> like STM32 <-> PC 2013-04-09T15:28:59 < Robint91> and you need to transfer data between them, number most of the time 2013-04-09T15:29:05 < dongs> parallel port is teh best!!!1oneoneleventy 2013-04-09T15:29:06 < Robint91> what would you do 2013-04-09T15:29:25 < Robint91> go ASCII or just send the binary data 2013-04-09T15:29:35 < Robint91> dongs, no matter what communication interface 2013-04-09T15:29:44 < Robint91> dongs, but in this case USB HID 2013-04-09T15:30:09 < BJfreeman> Most PC to day don't have a parallel port so you have to have a USB to parallel converter best to just go USB to serial 2013-04-09T15:31:39 < BJfreeman> you can add the USB to serial chip to the STM board 2013-04-09T15:31:52 < BJfreeman> then just use a USB cable 2013-04-09T15:32:31 < Robint91> BJfreeman, there is already a USB connection to the F3 2013-04-09T15:32:36 < Robint91> *F103 2013-04-09T15:32:53 < Robint91> BJfreeman, on a higher layer 2013-04-09T15:33:03 < talsit> Robint91: is it numbers? 2013-04-09T15:33:16 < Robint91> talsit, could be anything 2013-04-09T15:33:31 < Robint91> talsit, true/false, number, a string 2013-04-09T15:33:41 < talsit> if you're dealing with floating point numbers, then i would definitely go binary 2013-04-09T15:33:41 < Robint91> talsit, a large binary blob 2013-04-09T15:33:54 < Robint91> talsit, only integers 2013-04-09T15:34:07 < dongs> you shoudl fake the data so it looks like something hideous. 2013-04-09T15:34:17 < talsit> rot13 ascii 2013-04-09T15:34:28 -!- MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-09T15:34:29 < Robint91> why not rot26? 2013-04-09T15:34:47 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-09T15:34:49 < talsit> too obvious 2013-04-09T15:35:10 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 2013-04-09T15:35:15 < talsit> ascii is easy to read visually 2013-04-09T15:35:18 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-09T15:35:25 < talsit> binary is a garanteed length 2013-04-09T15:35:29 < talsit> for numbers anyway 2013-04-09T15:35:56 < talsit> i like binary = fixed length 2013-04-09T15:36:49 < BJfreeman> Robint91 ah yes, was thinking for the bridge diode protection chip 2013-04-09T15:37:22 < Robint91> BJfreeman, dafuq 2013-04-09T15:37:32 < talsit> esd diodes? 2013-04-09T15:37:41 < BJfreeman> need my morning coffee 2013-04-09T15:38:13 < karlp> Robint91: I'd use binary, but something well defined, bencode, protocolbuffers or something. 2013-04-09T15:38:19 < karlp> or even HDLC 2013-04-09T15:38:26 < talsit> protocolbuffers? 2013-04-09T15:38:41 < BJfreeman> talsit yes 2013-04-09T15:38:57 < karlp> I've regretted using my own struct for a packet definition already 2013-04-09T15:39:02 < talsit> ooo 2013-04-09T15:39:12 < talsit> what if you need a very very packed and compact format? 2013-04-09T15:39:29 < Robint91> karlp, yeah, I'm fixiing that choice also right now 2013-04-09T15:39:39 < karlp> :) 2013-04-09T15:39:44 < Robint91> karlp, I want something scaleble 2013-04-09T15:39:54 < karlp> ipv6! 2013-04-09T15:40:14 < karlp> (still need to decide what to put in the frames I know) 2013-04-09T15:40:42 < talsit> boh, bencode doesn't support ieee754 floats 2013-04-09T15:40:43 < BJfreeman> Robint91 use a structue to define you info then you can just add to it 2013-04-09T15:41:53 < BJfreeman> let the protocol deside how to break it up to send 2013-04-09T15:47:20 < Robint91> karlp, mhh HDLC isn't that bad 2013-04-09T15:47:29 < Robint91> karlp, HDLC + RPC 2013-04-09T15:48:51 < Robint91> BJfreeman, I need something that is capable to split a large packet into 64byte frames 2013-04-09T15:49:03 < karlp> mostly for serial though, some of it's redundant on usb 2013-04-09T15:49:50 < donigs> just d o PPPOE over ATM over HID 2013-04-09T15:50:31 < Robint91> donigs, you found those terms in the last 5 minutes on wikipedia 2013-04-09T15:50:33 < Robint91> don't you 2013-04-09T15:50:48 < donigs> Robint91: yes thats why I was quiet googling, you stupid fuck. 2013-04-09T15:51:41 < donigs> actually i was thinking of some ridiculous shit to counter some of the great ideas passed here 2013-04-09T15:51:53 < donigs> zmodem over HID sounds great too 2013-04-09T15:53:08 < Robint91> -_- 2013-04-09T15:53:12 < Robint91> silly donigs 2013-04-09T15:53:32 <+Steffanx> dongs, dont forget to use x86 emulation on a f4 2013-04-09T15:53:39 <+Steffanx> *donigs 2013-04-09T15:54:23 < donigs> z80 would be better. 2013-04-09T15:54:30 < donigs> do XML-RPC in z80 assembly 2013-04-09T15:54:46 < BJfreeman> well being silly might as well through in the NMEA 0183 2013-04-09T16:04:50 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 256 seconds] 2013-04-09T16:05:40 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-09T16:17:45 -!- CRF_Peter [~Peter@dhcp-178077.eduroam.chalmers.se] has joined ##stm32 2013-04-09T16:25:28 < zyp> Robint91, http://infocenter.arm.com/help/topic/com.arm.doc.dht0008a/ch01s03s02.html 2013-04-09T16:26:18 < zyp> it's based on that example 2013-04-09T16:26:59 < zyp> that goes for Posterdati_Fail as well 2013-04-09T16:28:27 < Robint91> zyp, the dmb is more for multi cpu systems? 2013-04-09T16:34:29 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-09T16:35:03 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-09T16:36:12 < zyp> well, it would be essential for multi cpu systems 2013-04-09T16:41:27 < zyp> either way, having it doesn't harm correct functionality 2013-04-09T16:42:59 < Robint91> zyp, yeah 2013-04-09T16:43:15 * Fail_Academy is trolling the day away 2013-04-09T16:43:29 < Fail_Academy> so we have a new project for PEADiatric monitoring 2013-04-09T16:43:37 < Fail_Academy> i suggested we make it bear shaped 2013-04-09T16:44:19 < Fail_Academy> boss suggested concept design.. currently shopping some peadobear 2013-04-09T16:46:03 < Robint91> Fail_Academy, ಠ_ಠ 2013-04-09T16:46:47 < Fail_Academy> "bear shaped is child friendly" 2013-04-09T16:48:36 < Tectu> trolling faprence is trolling 2013-04-09T16:50:30 < gxti> don't enable him :p 2013-04-09T16:51:03 < Tectu> ;) 2013-04-09T16:52:17 < Fail_Academy> "troll enabler" 2013-04-09T16:52:28 < Fail_Academy> in b4 westboro baptists 2013-04-09T16:53:50 <+Steffanx> ##stm32-crap 2013-04-09T16:53:59 < gxti> ^ 2013-04-09T16:54:04 < Tectu> ^ 2013-04-09T16:54:18 <+Steffanx> You still didn't answer my question from yesterday, Fail_Academy 2013-04-09T16:54:46 -!- Fail_Academy is now known as Troll_Academy 2013-04-09T16:55:02 <+Steffanx> ( was a serious question, yeye ) 2013-04-09T16:56:16 < Tectu> what did you ask him?b 2013-04-09T16:56:53 < dongs> check out my nonstm32related crap http://i.imgur.com/sl3zzB2.png 2013-04-09T16:57:23 <+Steffanx> Apr 08 20:42:38 Laurenceb_, do you agree on getting banned for posting too much crap? <== Tectu :) 2013-04-09T16:57:26 < Troll_Academy> arduino gpio breakout? 2013-04-09T16:57:39 < Robint91> dongs, what is that? 2013-04-09T16:57:43 < BrainDamage> dongs: you should start putting goatse on the unused silkscreen portions 2013-04-09T16:57:45 < Troll_Academy> Steffanx: but theres no other point to this channel 2013-04-09T16:58:07 < Tectu> Steffanx, I'd agree 2013-04-09T16:58:09 < Troll_Academy> BrainDamage: arduino gpio breakout? 2013-04-09T16:58:10 < gxti> you may have forgotten because your brain is mush, but yes people here actually do talk about stm32 stuff 2013-04-09T16:58:31 < dongs> i only talk about dongs 2013-04-09T16:58:42 <+Steffanx> Blame gxti Troll_Academy. He pointed out this channel IS actually too much crap. 2013-04-09T16:58:51 < Robint91> Steffanx, I think this channels as 25% crap talk and 75% stm32 talk 2013-04-09T16:58:57 <+Steffanx> Not really 2013-04-09T16:59:01 < Tectu> BrainDamage, smart people use lorem ipsum generator mask over unused silkscreen portions 2013-04-09T16:59:21 <+Steffanx> And still, 25% totally non-uc related crap Robint91 2013-04-09T16:59:21 < Tectu> what's stm32 anyways? 2013-04-09T16:59:40 < Robint91> Steffanx, is that bad? 2013-04-09T16:59:40 < dongs> whats your favorite animu, Tectu 2013-04-09T16:59:49 < dongs> is it something pinku and kawaii? 2013-04-09T16:59:51 <+Steffanx> Robint91, to some degree. I think it is. 2013-04-09T16:59:59 < Tectu> dongs, no animus here 2013-04-09T17:00:18 < BrainDamage> 90% of my talk, makes a relevant fraction of the non-uc crap :/ 2013-04-09T17:00:29 < Robint91> Steffanx, then we should create a channel for this 2013-04-09T17:00:52 < Tectu> dongs, on the board you posted, I see issues about different trace length on crstyal crap 2013-04-09T17:01:05 < dongs> Tectu: its only 20mhz. 2013-04-09T17:01:13 < Tectu> dongs, no worries then - sorry 2013-04-09T17:01:29 < dongs> 20.25MHz to be exact 2013-04-09T17:01:33 < Tectu> dongs, however, seems easy to be flipped, why not? 2013-04-09T17:01:37 < Robint91> Tectu, you don't need to match xtal lengths 2013-04-09T17:01:39 < dongs> lazy. i might do it 2013-04-09T17:01:48 < Tectu> dongs, 90° ccw 2013-04-09T17:01:53 < Robint91> Tectu, do you know who those oscillators work? 2013-04-09T17:02:08 < Tectu> Robint91, I'm working in an RF lab. 2013-04-09T17:02:36 < Robint91> Tectu, still matching Xtals wires is crazy 2013-04-09T17:03:23 < Tectu> Robint91, please take a look at the PCB and tell me how hard it's to do. 2013-04-09T17:03:29 < Tectu> here's a link again: http://i.imgur.com/sl3zzB2.png 2013-04-09T17:03:43 < dongs> its a throwaway breakout board 2013-04-09T17:03:54 < Robint91> Tectu, it is nicer to turn that xtal 90° but it doesn't matter 2013-04-09T17:03:57 < Tectu> no reason not to do something not wrong 2013-04-09T17:04:07 < Robint91> dongs, is it a OSD board 2013-04-09T17:04:17 < Tectu> Robint91, I never said it matters on this board. 2013-04-09T17:04:30 -!- vpopov [~happylife@dyn-32-176.fttbee.kis.ru] has joined ##stm32 2013-04-09T17:04:32 < Tectu> dongs, how comes the special shape? 2013-04-09T17:04:37 < dongs> Robint91: incorrect 2013-04-09T17:04:48 < Robint91> dongs, damm 2013-04-09T17:05:06 < Robint91> dongs, but it has to do with video 2013-04-09T17:05:24 < Robint91> because VS/HS vertical sync/ horizontal sync 2013-04-09T17:05:29 < Robint91> and the LM1881 2013-04-09T17:06:02 < Robint91> ah picture in picture 2013-04-09T17:06:22 < Tectu> OSD is picture in picture, on? 2013-04-09T17:08:10 < dongs> < Tectu> dongs, how comes the special shape? 2013-04-09T17:08:14 < dongs> so i can cut it in half 2013-04-09T17:09:14 < Tectu> I understand 2013-04-09T17:09:29 < Tectu> you mean you cannot cut this one in half? http://www.rockbox.org/wiki/pub/Main/GigabeatSInfo/PCB_chips.jpg 2013-04-09T17:10:12 < dongs> imx.31 in a media player? 2013-04-09T17:10:18 < dongs> more retarded than you think. 2013-04-09T17:10:38 < Tectu> no idea, I just asked google for pictures of a complex PCB 2013-04-09T17:11:04 < Troll_Academy> woow 2013-04-09T17:11:14 < Troll_Academy> thats one dense pcb 2013-04-09T17:11:35 < Tectu> I bet it's open sores 2013-04-09T17:11:47 < Troll_Academy> do you want to join my academy? 2013-04-09T17:12:01 < Tectu> yes please, sir 2013-04-09T17:12:06 < Troll_Academy> wtf is a p003 thingy? 2013-04-09T17:12:15 < Troll_Academy> theres 4 of them in an array 2013-04-09T17:12:18 < BrainDamage> you force it too much trollenceb, it stops being funny 2013-04-09T17:12:48 < Tectu> I agree 2013-04-09T17:13:00 < Troll_Academy> :( 2013-04-09T17:13:07 -!- Troll_Academy is now known as Laurenceb 2013-04-09T17:13:48 < dongs> maybe its a quadcore cortex-m0 2013-04-09T17:13:49 <+Steffanx> Yeah, there is ##stm32-crap Robint91. and no one is there 2013-04-09T17:14:03 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Remote host closed the connection] 2013-04-09T17:14:08 < dongs> ^ ragequit 2013-04-09T17:14:12 < Robint91> W00t 2013-04-09T17:14:17 < Laurenceb> lolz 2013-04-09T17:14:18 < Robint91> POST ALL THE SHIT 2013-04-09T17:14:24 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-09T17:14:27 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-09T17:14:33 < Robint91> ragequit? Steffanx 2013-04-09T17:14:42 < Robint91> or pressed the wrong button? 2013-04-09T17:14:53 < Tectu> Steffanx, never presses the wrong button 2013-04-09T17:15:00 <+Steffanx> Software 2013-04-09T17:15:17 < dongs> luinux tcrashed?? 2013-04-09T17:15:40 <+Steffanx> You know i don't use that. 2013-04-09T17:16:27 < Tectu> This channel is not only getting boring, but also totally annoying 2013-04-09T17:16:37 < Laurenceb> thanks to you 2013-04-09T17:21:47 < Robint91> we should join ##reddit or #reddit 2013-04-09T17:23:38 < dongs> or #fuckoff 2013-04-09T17:23:42 < dongs> im perfectly fine here 2013-04-09T17:23:50 < dongs> OR 2013-04-09T17:23:54 < dongs> #stm32-without-trolls 2013-04-09T17:23:58 < dongs> but I suspect that one will be empty, too 2013-04-09T17:24:09 < Tectu> I'm voting for ##stm32 actually being an ##stm32 channel 2013-04-09T17:24:20 < dongs> start making some kawaii projects in chibios then 2013-04-09T17:24:22 <+Steffanx> dongs perhaps, but i somehow get the idea some are annoyed by it. 2013-04-09T17:24:22 < Tectu> I'm sure you'd find your way there, dongs 2013-04-09T17:24:26 < dongs> like baird is doing 2013-04-09T17:25:06 <+Steffanx> Trolling and you are one thing. So, you're used it o 2013-04-09T17:27:50 -!- a2cypher [~cypher@mail.krausglobal.com] has joined ##stm32 2013-04-09T17:28:14 < Robint91> In what channel can we do our daily rant about stuff EE and non EE 2013-04-09T17:28:23 <+Steffanx> #sparkfun 2013-04-09T17:28:25 < Tectu> Robint91, #sparkfun 2013-04-09T17:28:38 < gxti> i don't see any issue with vaguely EE stuff 2013-04-09T17:29:05 <+Steffanx> Yeah, but grandpas grabbing boobs of 'childeren' is totally non EE related 2013-04-09T17:29:14 < gxti> indeed 2013-04-09T17:29:16 < Tectu> I fully agree 2013-04-09T17:29:22 < Tectu> this channel should be sfw as well, I think 2013-04-09T17:29:29 < Tectu> since most of us here are at work, I guess 2013-04-09T17:29:42 < Tectu> and when I opened that picture yesterday 2013-04-09T17:29:42 < Tectu> damn man 2013-04-09T17:34:37 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-09T17:37:26 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-09T17:38:24 -!- CRF_Peter [~Peter@dhcp-178077.eduroam.chalmers.se] has quit [Ping timeout: 260 seconds] 2013-04-09T17:39:49 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-09T17:41:06 < ntfreak_> inca: think the noisy libusb log was caused by OpenOCD, i have pushed a patch - http://openocd.zylin.com/1314 2013-04-09T17:47:19 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-04-09T17:48:54 <+Steffanx> Hmm, SD SPI protocol 'requires' a pullup, the internal pullups should work, not? 2013-04-09T17:49:00 < Posterdati_Fail> :( 2013-04-09T17:49:51 < Laurenceb> Steffanx: it need high voltage at sd card powerup aiui 2013-04-09T17:50:16 <+Steffanx> High voltage? 2013-04-09T17:51:00 < Laurenceb> erm 2013-04-09T17:51:04 <+Steffanx> oh, you mean it has to be 'high' at start up. 2013-04-09T17:51:05 < Laurenceb> logic 1 voltage 2013-04-09T17:51:10 <+Steffanx> Hmm 2013-04-09T17:51:14 <+Steffanx> me looks into the specs again 2013-04-09T17:51:48 < Laurenceb> aiui the bus drive is push pull 2013-04-09T17:52:02 < Laurenceb> but it needs logic 1 when the bus is tristated 2013-04-09T17:52:07 < Thorn> every schematics I've seen has a bunch of 10k resistors iirc. 2013-04-09T17:52:13 < Laurenceb> yeah 2013-04-09T17:52:44 -!- daku is now known as DaKu 2013-04-09T17:59:01 <+Steffanx> ok, external it is. 2013-04-09T18:00:23 < Thorn> not exactly sure why, maybe people just copy what they find 2013-04-09T18:00:52 < gxti> sd has reset right? 2013-04-09T18:01:11 < gxti> if so then just ping the reset after stm32 is running and it's fine 2013-04-09T18:01:33 < Thorn> microsd (at least) doesn't 2013-04-09T18:01:51 < gxti> is it common to gate vcc to the card then? 2013-04-09T18:02:03 < Thorn> you can cycle power with a mosfet though lol 2013-04-09T18:02:06 < gxti> right 2013-04-09T18:02:13 < Thorn> never seen that 2013-04-09T18:02:52 < gxti> then it would seem prudent to have pullups 2013-04-09T18:03:14 <+Steffanx> So, i guess i should look into the specs to find WHY 2013-04-09T18:03:17 <+Steffanx> *find out 2013-04-09T18:04:06 < Thorn> looks like I'm actually going to save money if I do my current design in 4 layers instead of 2. 2013-04-09T18:04:07 -!- dekar [~dekar@dslb-088-069-136-214.pools.arcor-ip.net] has joined ##stm32 2013-04-09T18:04:09 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-09T18:04:39 < Laurenceb> i use the enable line to a dedicated vreg 2013-04-09T18:04:55 < Laurenceb> but i need to be able to sleep all the digital stuff 2013-04-09T18:10:34 <+Steffanx> Heh 2013-04-09T18:10:42 <+dekar> I am trying to build my stm32f1 firmware for an stm32f4. The StdPeriph API seems to be the same, but it seems like they broke their USB API (e.g. usb_sil.c missing). Is there a compatibility layer or something? 2013-04-09T18:13:36 < Robint91> dekar, nope, 2013-04-09T18:13:53 < Robint91> dekar, USB of the F1 is totaly different as the usb of the F4 2013-04-09T18:15:50 -!- CRF_Peter [~Peter@dhcp-197200.eduroam.chalmers.se] has joined ##stm32 2013-04-09T18:15:57 <+Steffanx> What is that file part of dekar ? Doesn't seem to be part of the v1.1.0 of the usb lib 2013-04-09T18:16:00 <+Steffanx> nor 1.0.0 2013-04-09T18:16:37 < Robint91> Steffanx, looking at the device lib? 2013-04-09T18:16:49 < karlp> Robint91: there's two "f1" usb cores, 2013-04-09T18:17:05 < karlp> f105 and f107 have different cores 2013-04-09T18:17:06 < Robint91> one with the OTG and one without 2013-04-09T18:17:22 < Robint91> aren't those the same as the F2/F4? 2013-04-09T18:17:33 < karlp> one of them is, yeah, don't remember which 2013-04-09T18:20:07 <+Steffanx> Yes, this is some lib they started in ~2011, Robint91 2013-04-09T18:20:26 < Robint91> Steffanx, the F103 is the device lib 2013-04-09T18:20:36 < Robint91> Steffanx, same like the F30x 2013-04-09T18:20:50 <+Steffanx> The other one is the 'everything is included' lib? 2013-04-09T18:20:51 < Robint91> but the F105/107 F2/F4 is the otg lib 2013-04-09T18:21:02 < Robint91> which doesn't support the F103 2013-04-09T18:21:05 < Robint91> and F3 2013-04-09T18:22:14 <+Steffanx> Ah, right. no f103 2013-04-09T18:22:45 <+Steffanx> Looked over it :( 2013-04-09T18:24:12 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Quit: Leaving.] 2013-04-09T18:25:00 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-09T18:26:53 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-04-09T18:27:19 < zyp> Robint91, usb is still usb, not too hard supporting multiple cores with the same stack 2013-04-09T18:27:33 < zyp> (mine supports both with the same api) 2013-04-09T18:27:43 < zyp> (as does libopencm3) 2013-04-09T18:32:55 <+Steffanx> For ST it is. 2013-04-09T18:33:17 <+Steffanx> ( or the devs were not given the time to implement it for all cores ) 2013-04-09T18:34:16 < zyp> you mean both? 2013-04-09T18:34:44 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-09T18:34:55 <+Steffanx> all cores used in STM32, which is in these is, both. 2013-04-09T18:36:05 < zyp> :p 2013-04-09T18:36:25 <+Steffanx> */these/this case 2013-04-09T18:38:17 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-09T18:38:51 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has quit [Remote host closed the connection] 2013-04-09T18:40:31 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2013-04-09T18:41:57 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-04-09T19:05:06 < Laurenceb> wtf 2013-04-09T19:05:12 -!- ABLomas [~abl@78-60-198-200.static.zebra.lt] has quit [Quit: ABLomas] 2013-04-09T19:05:12 < Laurenceb> thatcher parties everywhere 2013-04-09T19:07:33 -!- dekar [~dekar@dslb-088-069-136-214.pools.arcor-ip.net] has quit [Ping timeout: 248 seconds] 2013-04-09T19:08:13 < emeb> celebrating her passing? 2013-04-09T19:08:51 < Tectu> emeb, I'm able to put an STM32F103 on my design and put BMP on it to flash my main MCU, as the discoveries do it? 2013-04-09T19:09:20 < emeb> Tectu: why not? 2013-04-09T19:09:43 < zyp> also; why? 2013-04-09T19:09:57 < Tectu> emeb, how does that look with licensing of BMP? 2013-04-09T19:10:09 < Tectu> also, what's the interface from the BMP to the actual MCU? 2013-04-09T19:10:20 < Tectu> zyp, because this will be a dev board 2013-04-09T19:10:23 < zyp> swd 2013-04-09T19:10:26 < emeb> Tectu: AFAIK licenseing is opensource. 2013-04-09T19:10:28 < zyp> (or jtag) 2013-04-09T19:10:38 < emeb> GPL? Not sure. 2013-04-09T19:10:44 < zyp> GPL IIRC 2013-04-09T19:10:46 < karlp> he wants to build his own discovery board, let him. 2013-04-09T19:10:49 < Tectu> but the BMP-MCU does just use GPIO, right? 2013-04-09T19:10:55 < emeb> yep 2013-04-09T19:11:03 < Tectu> karlp, it's not actually discovery 2013-04-09T19:11:10 < Tectu> it's with external RAM and other stuff 2013-04-09T19:11:24 < zyp> just use the same pins as bmp and you won't have to modify the firmware 2013-04-09T19:11:33 < Tectu> I see 2013-04-09T19:12:08 < Tectu> it's fairly cheep then 2013-04-09T19:13:00 < emeb> Not much to it at all. 2013-04-09T19:13:30 < zyp> except the software, of course 2013-04-09T19:13:32 < zyp> it's nice 2013-04-09T19:13:36 < emeb> you can even leave off a lot of the power control & monitoring stuff if both the BMP MCU and target are on the same board with same power supplies. 2013-04-09T19:13:57 < emeb> and since that stuff doesn't work right anyway. :P 2013-04-09T19:14:16 < Laurenceb> http://bristol.indymedia.org/article/731486 2013-04-09T19:14:19 < Laurenceb> ^lulwut 2013-04-09T19:32:24 < inca> ntfreak: Awesome! thanks! 2013-04-09T19:35:33 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-09T19:35:47 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-09T19:36:02 < Tectu> emeb, so should I place a reset button for the BMP MCU as well? 2013-04-09T19:36:03 < gxti> i excluded the power crap from my clone as well 2013-04-09T19:36:07 < gxti> not something i'd ever use 2013-04-09T19:36:26 < gxti> Tectu: i think so, it locks up sometimes 2013-04-09T19:36:33 < Tectu> gxti, what power crap do you guys talk about? 2013-04-09T19:36:49 < gxti> bmp has a mosfet that can be used to turn power on and off to the target 2013-04-09T19:37:04 < gxti> but i never power stuff that way so it wouldn't do any good 2013-04-09T19:37:23 < gxti> i don't think it would make sense for a dev board either 2013-04-09T19:37:24 < Tectu> ah 2013-04-09T19:37:30 < Tectu> I agree 2013-04-09T19:37:39 < gxti> nor would vcc monitoring 2013-04-09T19:38:05 < gxti> no need for a hard button for the DFU bootloader either, just leave pads 2013-04-09T19:40:54 * inca Yawn! 2013-04-09T19:45:41 < emeb> Tectu: what gxti said 2013-04-09T19:46:09 < Tectu> emeb, yep 2013-04-09T19:46:14 -!- dekar [~dekar@212.255.240.41] has joined ##stm32 2013-04-09T19:46:18 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-09T19:53:28 -!- Erlkoenig [~erlkoenig@pptp-212-201-72-237.pptp.stw-bonn.de] has joined ##stm32 2013-04-09T19:56:35 < inca> all right 2013-04-09T19:56:56 < inca> good morning/afternoon/evening, y'all 2013-04-09T19:57:07 < Tectu> morning 2013-04-09T19:57:38 < inca> now for the question which plagued my dreams: what is the difference between linaro gcc and arm-none-eabi-gcc ? 2013-04-09T19:57:44 < Mobyfab> Yo :) 2013-04-09T20:03:06 < karlp> inca: linaro targets cortex A 2013-04-09T20:03:13 < karlp> gcc-arm-embedded targets M and R 2013-04-09T20:03:39 < karlp> I can't find the quote on the linaro page explaining that at the moment 2013-04-09T20:04:21 < karlp> speaking of which, there's a 2013q1 release of g-a-e Ihadn't noticed 2013-04-09T20:04:57 < inca> https://answers.launchpad.net/gcc-arm-embedded/+question/200472 2013-04-09T20:05:16 < karlp> that's the one I was looking for :) 2013-04-09T20:05:21 < inca> GCC ARM Embedded (call Embedded later) is tuned for Cortex-M/R. Linaro GCC 2013-04-09T20:05:23 < inca> (call Linaro later) is tuned for Cortex-A. 2013-04-09T20:05:28 < inca> Embedded values code size more than performance. Linaro vice versa. 2013-04-09T20:06:29 < inca> still though, I am pretty sure Linaro has some advantages over the GNU ARM gcc 2013-04-09T20:06:46 < inca> monthly release cycle on a dev platform? 2013-04-09T20:06:56 < karlp> you're extremely welcome to test them out in your own applications and see how they fit for you 2013-04-09T20:07:02 < inca> maybe my gdb won't choke on __INLINE's 2013-04-09T20:07:09 < karlp> I'm going to just stick with g-a-e 2013-04-09T20:07:22 < karlp> what the hell is __INLINE ? 2013-04-09T20:07:27 < karlp> is that some keil magic? 2013-04-09T20:07:48 < inca> karlp: It's a legit way to make your compiled C code not look like shit in assembly 2013-04-09T20:08:14 < karlp> right. ok then. 2013-04-09T20:08:58 < inca> I tracked a bug down that crashed my gdb ocd session 2013-04-09T20:09:08 < inca> it had been fixed on linaro since 2011 2013-04-09T20:09:29 < inca> debugging my debugger 2013-04-09T20:09:32 < inca> =) 2013-04-09T20:09:35 -!- barthess [~barthess@77.67.142.51] has joined ##stm32 2013-04-09T20:10:03 < karlp> what's the bug? 2013-04-09T20:13:36 < inca> https://bugs.launchpad.net/gdb-linaro/+bug/711375 2013-04-09T20:14:07 < Erlkoenig> found some sort of "compiler oops" yesterday 2013-04-09T20:14:43 < Erlkoenig> in some case, GCC generates code to do an AND on a 32bit-Register with 0xFFFFFFFF and an OR with 0 2013-04-09T20:16:37 < karlp> inca: what gdb were you using that crashed? teh one from g-a-e? 2013-04-09T20:17:48 < inca> yes 2013-04-09T20:18:16 < Tectu> g-a-e? 2013-04-09T20:18:27 < karlp> well done, good breakage 2013-04-09T20:18:33 < karlp> the g-a-e one was the one that didn't break for me. 2013-04-09T20:19:09 < Tectu> g-a-e is a company? a project? 2013-04-09T20:19:11 < Tectu> never heard of that 2013-04-09T20:20:02 < inca> gnu-a 2013-04-09T20:20:37 < karlp> gcc-arm-embedded (launchpad) 2013-04-09T20:20:45 < inca> https://answers.launchpad.net/gcc-arm-embedded 2013-04-09T20:21:10 < Tectu> karlp, ah, I agree. That's the one I use as well 2013-04-09T20:21:16 < Tectu> and I recommend that to everybody 2013-04-09T20:21:22 < Tectu> it's the only one really working 2013-04-09T20:21:31 < Tectu> especially ChibiOS/RT stuff has problems with some other GCC 2013-04-09T20:24:21 < Erlkoenig> g-a-e generates FPU code... in contrast to others 2013-04-09T20:28:13 < Robint91> who know what bluetooth module is used in the pebble? 2013-04-09T20:28:46 < Tectu> at least none capable of BTLE 2013-04-09T20:29:12 < Robint91> Tectu, It is BLE what I have seen 2013-04-09T20:29:16 < Robint91> and 2.1EDR 2013-04-09T20:29:24 < Tectu> Robint91, just checked wiki - you're right 2013-04-09T20:32:03 < Robint91> Tectu, CC2560 2013-04-09T20:32:11 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Read error: Operation timed out] 2013-04-09T20:32:21 < Tectu> thanks Robint91 2013-04-09T20:32:44 < Tectu> I hate bluetooth 2013-04-09T20:32:56 < Robint91> http://www.digikey.com/product-detail/en/ENW-89823A2JF/P14873CT-ND/2699148 2013-04-09T20:33:12 < Robint91> http://www.panasonic.com/industrial/includes/pdf/PAN1326-PAN1316_New_Product_Introduction_Sheet.pdf 2013-04-09T20:35:15 < inca> Erlkoenig: linaro supports FPU AFAIK 2013-04-09T20:35:32 < Erlkoenig> possibly, but it's not for Cortex ;) 2013-04-09T20:35:37 < Erlkoenig> errm, -M 2013-04-09T20:35:43 < karlp> Robint91: st's bluetooth module is ble too right? 2013-04-09T20:36:13 < Robint91> st's module ? 2013-04-09T20:36:16 < Robint91> what module? 2013-04-09T20:36:55 < karlp> it was in the ST monthyl product spam recently, one tick 2013-04-09T20:37:06 < inca> not sure how much I trust this source, Erlkoenig, but linaro apparently supports it "out of the box" 2013-04-09T20:37:08 < inca> http://www.meatandnetworking.com/tutorials/arm-cortex-mx-quickstart/ 2013-04-09T20:37:43 < Erlkoenig> hm ah okay 2013-04-09T20:37:58 < Erlkoenig> g-a-e supports FPU outofthebox as well 2013-04-09T20:38:00 < inca> I also see it in some of their 2012 release notes 2013-04-09T20:38:04 < inca> indeed 2013-04-09T20:38:13 < karlp> http://www.st.com/web/catalog/sense_power/FM1968/CL1976/SC1324 2013-04-09T20:38:15 < Erlkoenig> yagarto e.g. does NOT generate fpu code :/ 2013-04-09T20:38:20 < inca> gae is on a yearly release cycle. linaro is monthly 2013-04-09T20:38:34 < karlp> well, gae gets updated about every 4-5 months 2013-04-09T20:38:38 < inca> it looks like linaro is much more heavily developed 2013-04-09T20:38:55 < karlp> you're free to use linaro then 2013-04-09T20:38:59 -!- MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-09T20:39:00 < inca> karlp: yes, but I am refering to the release engineering 2013-04-09T20:39:06 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-09T20:39:18 < inca> karlp: this is not my bragging about linaro or vice versa 2013-04-09T20:40:14 < inca> karlp: I am just trying to understand what the relationship between the groups are... who is upstream to who... are they even in each other's dev streams. I see talk of backports but I am unsure that they even talk with each other 2013-04-09T20:40:35 < karlp> the both end up in gcc mainline eventually. 2013-04-09T20:40:56 < karlp> summon-arm-toolchain uses mainline gcc iirc 2013-04-09T20:41:01 < karlp> and some people like using that. 2013-04-09T20:41:14 < Erlkoenig> i compiled g-a-e myself to enable LTO (Link-Time-Optimization) - it really saves a lot of code size 2013-04-09T20:41:19 < karlp> have you got one working yet? good, keep using it. 2013-04-09T20:41:20 < inca> if you believe in cathedrals, if you get what I mean =) 2013-04-09T20:42:01 < inca> Erlkoenig: yeah, lto seems to be pretty helpful in the KEIL demos so that I can actually run the code =) 2013-04-09T20:42:01 < karlp> you know that arm contributed staff to linaro right? 2013-04-09T20:42:08 < inca> yes 2013-04-09T20:42:12 < karlp> and they look after g-a-e too? 2013-04-09T20:42:17 < inca> they are a key member of that group 2013-04-09T20:42:19 < inca> yes 2013-04-09T20:42:24 < inca> hence my inquiry 2013-04-09T20:42:29 < karlp> so whjy not just take the statements of cortex a focus vs cortex R/M focus at face value 2013-04-09T20:42:33 < karlp> what else are you trying to find out? 2013-04-09T20:42:42 < Erlkoenig> inca: ha, is the generated code too big without LTO? 2013-04-09T20:42:49 < inca> Erlkoenig: typically =) 2013-04-09T20:44:26 < inca> karlp: if g-a-e is upstream of linaro, which is upstream of gcc mainline, then I may consider the effort of building/testing linaro for stm32 development since it will be more up-to-date and, hopefully, stable 2013-04-09T20:44:54 < karlp> or, just use g-a-e, which is already stable. 2013-04-09T20:44:57 < inca> if the above is true, it also means that g-a-e misses out on lots of linaro dev 2013-04-09T20:45:19 < inca> karlp: like I said, I have crashed that gdb already on things linaro had supposedly fixed. 2013-04-09T20:45:20 < inca> anyway 2013-04-09T20:45:30 < inca> I'll submit my 02 on launchpad 2013-04-09T20:45:37 < inca> thanks for the thoughts 2013-04-09T21:02:17 -!- DaKu is now known as daku 2013-04-09T21:03:11 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 256 seconds] 2013-04-09T21:26:22 -!- Laurenceb_ [~Laurence@host86-177-60-113.range86-177.btcentralplus.com] has joined ##stm32 2013-04-09T21:37:11 -!- [1]MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-09T21:39:10 -!- MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-09T21:39:47 -!- bsdfox [~Bob@c-71-197-82-145.hsd1.ca.comcast.net] has joined ##stm32 2013-04-09T21:39:47 -!- bsdfox [~Bob@c-71-197-82-145.hsd1.ca.comcast.net] has quit [Changing host] 2013-04-09T21:39:47 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-04-09T21:45:41 -!- barthess [~barthess@77.67.142.51] has quit [Quit: Leaving.] 2013-04-09T21:48:33 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-09T21:51:36 -!- Mobyfab_ [Mobyfab@2a01:e35:8a10:c580:f939:8e2d:499a:6ea0] has joined ##stm32 2013-04-09T21:51:54 -!- Robin_ [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-09T21:52:49 -!- rigid [~daniel@178-26-71-67-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-09T21:54:43 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Ping timeout: 245 seconds] 2013-04-09T21:56:12 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-09T22:03:14 -!- CRF_Peter [~Peter@dhcp-197200.eduroam.chalmers.se] has quit [Ping timeout: 252 seconds] 2013-04-09T22:05:21 -!- CRF_Peter [~Peter@dhcp-197200.eduroam.chalmers.se] has joined ##stm32 2013-04-09T22:15:34 < Tectu> can I do strlen() on an uint16_t array? 2013-04-09T22:16:33 < mervaka> what are you after? 2013-04-09T22:17:46 < Tectu> yeah, I see the problem :P 2013-04-09T22:18:05 < Tectu> I fill a buffer I allocated with pixel color values, and I want to know how many are written 2013-04-09T22:18:17 < Tectu> that would invoke that I make everything else 0x00 but then I could have black areas etc. 2013-04-09T22:19:03 < mervaka> strlen would look for a zero terminated string 2013-04-09T22:19:07 < mervaka> surely 2013-04-09T22:19:12 <+Steffanx> So, not for Tectu 2013-04-09T22:19:46 < mervaka> bad idea. 2013-04-09T22:19:50 < Tectu> yep, sorry 2013-04-09T22:20:12 < mervaka> i'd just calculate it from what you do know. 2013-04-09T22:21:13 < Tectu> I don't have the RAM to do what I was looking for anways 2013-04-09T22:21:21 < mervaka> ah 2013-04-09T22:21:24 < mervaka> i know that story 2013-04-09T22:21:38 < Tectu> I'm writing a new demo application for ChibiOS/GFX. It's supposed to become a notepad with the ability to save and open already drawn pictures from an SD card 2013-04-09T22:21:48 < Tectu> but I think I don't do it right anways 2013-04-09T22:21:51 < mervaka> i tried calculating the other dat the size of LUT i'd need if i were not calculating IIR coefficients on the fly 2013-04-09T22:21:56 < mervaka> day* 2013-04-09T22:22:00 < Tectu> I thought I'll allocate a buffer and simply write that onto the SD card 2013-04-09T22:22:03 < mervaka> i'd have needed 40MB 2013-04-09T22:22:18 < Tectu> But I guess I should be able to directly pipe the pixels I read into the SD card, no= 2013-04-09T22:22:19 < Tectu> ?* 2013-04-09T22:22:34 < mervaka> as a file? 2013-04-09T22:22:39 < mervaka> you could as a bitmap 2013-04-09T22:22:54 < mervaka> depends on the exact format i guess 2013-04-09T22:23:02 < Tectu> I don't care about the format yet 2013-04-09T22:23:07 < Tectu> I can read back the pixel values 2013-04-09T22:23:09 < mervaka> i've not worked with images/files yet 2013-04-09T22:23:10 < Tectu> and I have a FatFS 2013-04-09T22:23:28 < Tectu> hmm... I already have an image decoder in my library which can handle BMP, maybe I should write an encoder as well :P 2013-04-09T22:23:38 < mervaka> well you need some form of file format, surely? 2013-04-09T22:23:49 < mervaka> even if it's your own 2013-04-09T22:23:53 < Tectu> my fileformat can be foo.customformat 2013-04-09T22:23:54 < Tectu> yes 2013-04-09T22:24:05 < Tectu> and I thought simple 2-byte stream 2013-04-09T22:24:12 < mervaka> up to you. 2013-04-09T22:24:29 < Posterdati_Fail> mervaka or merkava? 2013-04-09T22:24:41 < mervaka> oh no, not this discussion again. 2013-04-09T22:24:44 <+Steffanx> Tectu as a demo bmp would be much nicer 2013-04-09T22:26:00 < Tectu> Steffanx, could be opened on a desktop :P 2013-04-09T22:26:05 <+Steffanx> Yeah 2013-04-09T22:26:31 < Tectu> does anybody know out of his mind if I can stream data into a file of elm-chan's fatfs? 2013-04-09T22:27:17 -!- rigid1 [~daniel@178-26-71-67-dynip.superkabel.de] has joined ##stm32 2013-04-09T22:27:57 -!- rigid [~rigid@178-26-71-67-dynip.superkabel.de] has joined ##stm32 2013-04-09T22:28:46 -!- rigid1 [~daniel@178-26-71-67-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-09T22:29:09 <+Steffanx> probably not 2013-04-09T22:29:36 < Tectu> shit 2013-04-09T22:29:39 < Tectu> how do I solve this problem 2013-04-09T22:29:46 < Tectu> most do line wise then, I guess? 2013-04-09T22:36:22 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-09T22:37:54 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-09T22:44:02 < Tectu> when I use f_write(), write some data, then call f_write() again, will it append the data or overwrite? 2013-04-09T22:44:05 < Tectu> Steffanx, mervaka ^ 2013-04-09T22:44:10 < Tectu> (in case of you know this) 2013-04-09T22:44:16 <+Steffanx> dunno :) 2013-04-09T22:44:40 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-09T22:45:25 < Tectu> Steffanx, you're not being helpful ;-) 2013-04-09T22:46:43 < Tectu> Steffanx, tried it out - it clearly appends 2013-04-09T22:50:15 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has joined ##stm32 2013-04-09T22:58:32 -!- pelrun_ [~James@123-243-159-164.static.tpgi.com.au] has quit [Ping timeout: 260 seconds] 2013-04-09T22:58:49 -!- Mobyfab_ [Mobyfab@2a01:e35:8a10:c580:f939:8e2d:499a:6ea0] has quit [Read error: Connection reset by peer] 2013-04-09T22:59:07 -!- Mobyfab_ [Mobyfab@2a01:e35:8a10:c580:f939:8e2d:499a:6ea0] has joined ##stm32 2013-04-09T23:00:34 <+Steffanx> ok Tectu :) 2013-04-09T23:16:49 -!- Robin_ is now known as Robint91 2013-04-09T23:21:33 -!- BrainDamage [~BrainDama@62.10.5.60] has quit [Read error: Connection reset by peer] 2013-04-09T23:22:30 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 245 seconds] 2013-04-09T23:31:45 -!- CRF_Peter [~Peter@dhcp-197200.eduroam.chalmers.se] has quit [Ping timeout: 276 seconds] 2013-04-09T23:36:43 -!- [1]MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-09T23:38:15 -!- Mobyfab_ [Mobyfab@2a01:e35:8a10:c580:f939:8e2d:499a:6ea0] has quit [Read error: Connection reset by peer] 2013-04-09T23:39:55 -!- MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-09T23:40:47 -!- Erlkoenig [~erlkoenig@pptp-212-201-72-237.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-09T23:54:54 -!- vpopov [~happylife@dyn-32-176.fttbee.kis.ru] has quit [Read error: Operation timed out] --- Day changed Wed Apr 10 2013 2013-04-10T00:01:27 -!- CRF_Peter [~Peter@193.11.200.145] has joined ##stm32 2013-04-10T00:04:25 -!- BJfreeman [~bjfree@10.sub-75-233-178.myvzw.com] has quit [Ping timeout: 246 seconds] 2013-04-10T00:06:39 -!- _BJFreeman [~bjfree@10.sub-75-233-178.myvzw.com] has joined ##stm32 2013-04-10T00:07:22 -!- CRF_Peter [~Peter@193.11.200.145] has quit [Ping timeout: 256 seconds] 2013-04-10T00:08:41 -!- _BJFreeman is now known as BJfreeman 2013-04-10T00:12:47 -!- rigid_ [~rigid@178-26-71-67-dynip.superkabel.de] has joined ##stm32 2013-04-10T00:13:08 -!- rigid- [~rigid@178-26-71-67-dynip.superkabel.de] has joined ##stm32 2013-04-10T00:13:27 -!- rigid| [~rigid@178-26-71-67-dynip.superkabel.de] has joined ##stm32 2013-04-10T00:13:28 -!- rigid| [~rigid@178-26-71-67-dynip.superkabel.de] has quit [Client Quit] 2013-04-10T00:14:02 -!- rigid- [~rigid@178-26-71-67-dynip.superkabel.de] has quit [Client Quit] 2013-04-10T00:14:35 -!- rigid [~rigid@178-26-71-67-dynip.superkabel.de] has quit [Quit: NO WINE, NO WIFE, NO CARRIER] 2013-04-10T00:24:09 -!- rigid [~rigid@178-26-71-67-dynip.superkabel.de] has joined ##stm32 2013-04-10T00:26:38 -!- GargantuaSauce_ [~sauce@blk-222-208-237.eastlink.ca] has joined ##stm32 2013-04-10T00:30:08 < Laurenceb_> its dead in here 2013-04-10T00:33:35 -!- Netsplit *.net <-> *.split quits: BusError_, GargantuaSauce 2013-04-10T00:35:05 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: and like that, he's gone] 2013-04-10T00:35:21 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-10T00:35:39 -!- gnomad is now known as Quiescent 2013-04-10T00:36:46 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-10T00:36:57 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-10T00:40:18 -!- Netsplit over, joins: BusError_ 2013-04-10T00:46:42 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-10T00:47:36 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-10T00:48:03 -!- rigid [~rigid@178-26-71-67-dynip.superkabel.de] has quit [Quit: NO WINE, NO WIFE, NO CARRIER] 2013-04-10T00:48:03 -!- rigid_ [~rigid@178-26-71-67-dynip.superkabel.de] has quit [Quit: NO WINE, NO WIFE, NO CARRIER] 2013-04-10T00:48:25 -!- rigid [~rigid@178-26-71-67-dynip.superkabel.de] has joined ##stm32 2013-04-10T00:49:03 -!- rmob [~rmob@178-26-71-67-dynip.superkabel.de] has joined ##stm32 2013-04-10T00:49:22 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-10T01:11:50 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-10T01:11:58 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Quit: Ik ga weg] 2013-04-10T01:17:35 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-10T01:23:37 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has quit [Quit: trepidaciousMBR] 2013-04-10T01:28:40 -!- solid_liq [~solidly@50-83-69-30.client.mchsi.com] has joined ##stm32 2013-04-10T01:28:48 -!- solid_liq [~solidly@50-83-69-30.client.mchsi.com] has quit [Changing host] 2013-04-10T01:28:48 -!- solid_liq [~solidly@unaffiliated/solidliq] has joined ##stm32 2013-04-10T01:29:18 -!- solid_li1 [~solidly@50-83-69-30.client.mchsi.com] has quit [Read error: Connection reset by peer] 2013-04-10T01:37:11 -!- [1]MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-10T01:39:24 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-10T01:40:19 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 252 seconds] 2013-04-10T01:42:50 -!- a2cypher [~cypher@mail.krausglobal.com] has quit [Ping timeout: 256 seconds] 2013-04-10T01:45:24 -!- Laurenceb_ [~Laurence@host86-177-60-113.range86-177.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-10T01:54:05 < Posterdati_Fail> hi 2013-04-10T01:54:47 < Posterdati_Fail> I've got a strange behaviour of TIM_SetCompare... it can set PWM pulse width only if I use numerical value in it :( 2013-04-10T02:00:15 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-10T02:00:15 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-10T02:00:15 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-10T02:37:14 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-10T02:38:46 -!- [1]MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-10T02:46:11 < zyp> what else would you use? 2013-04-10T02:47:10 -!- MrMobius [~Joey@194.176.111.28] has quit [Read error: Connection reset by peer] 2013-04-10T02:55:40 < emeb> anyone know if there are Excel spreadsheets for STM32F303 pinouts with the number/name/alt funcs? 2013-04-10T02:59:20 < Posterdati_Fail> zyp: I converted float to uint16_t the value in the resulting var is ok, but using this var in the TIM_SetCompare1 result in a zero duty cycle pwm... 2013-04-10T03:01:05 -!- Quiescent is now known as gnomad 2013-04-10T03:19:43 < zyp> Posterdati_Fail, and? 2013-04-10T03:23:09 < zyp> hmm 2013-04-10T03:24:23 -!- BJfreeman [~bjfree@10.sub-75-233-178.myvzw.com] has quit [Quit: had a good time] 2013-04-10T03:24:25 < zyp> how to annoy the guys you are travelling with: make sure you only check in yourself on the internet pre-check-in stuff airlines have 2013-04-10T03:24:49 < zyp> somehow I managed to do that 2013-04-10T03:25:16 < zyp> so I could just drop off my luggage at a desk with no line, while the rest of the guys have to stand in line for normal check in 2013-04-10T03:54:22 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 246 seconds] --- Log closed Wed Apr 10 04:13:14 2013 --- Log opened Wed Apr 10 04:13:26 2013 2013-04-10T04:13:26 -!- jpa- [jpa@hilla.kapsi.fi] has joined ##stm32 2013-04-10T04:13:26 -!- Irssi: ##stm32: Total of 70 nicks [1 ops, 0 halfops, 1 voices, 68 normal] 2013-04-10T04:14:22 -!- Irssi: Join to ##stm32 was synced in 61 secs 2013-04-10T04:25:45 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-10T04:43:43 -!- phantoxeD [~destroy@a95-92-88-3.cpe.netcabo.pt] has quit [Ping timeout: 264 seconds] 2013-04-10T04:49:39 -!- phantoxeD [~destroy@a95-92-88-3.cpe.netcabo.pt] has joined ##stm32 2013-04-10T05:04:35 -!- baird [~cjb@ppp121-45-182-27.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-10T05:23:48 -!- baird [~cjb@ppp121-45-182-27.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-04-10T05:39:54 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-10T06:01:21 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-10T06:01:29 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-10T06:10:51 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Ping timeout: 276 seconds] 2013-04-10T06:45:51 -!- jef79m [~jef79m@124-169-145-70.dyn.iinet.net.au] has quit [Quit: ZNC - http://znc.in] 2013-04-10T06:57:21 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-04-10T06:59:38 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-10T06:59:48 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-10T07:45:02 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 246 seconds] 2013-04-10T07:55:32 -!- jef79m [~jef79m@124-169-145-70.dyn.iinet.net.au] has joined ##stm32 2013-04-10T08:19:58 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-10T08:21:06 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: Leaving] 2013-04-10T08:47:40 -!- baird [~cjb@ppp121-45-182-27.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-10T08:51:10 < baird> Something I discovered by accident today-- you can type 'make' at the gdb prompt 2013-04-10T08:53:41 < baird> Working on the required Intro screen for pirated STM32 warez: https://www.youtube.com/watch?v=VcD7BlhK0u8 (..kind boring, though) 2013-04-10T08:58:52 < dongs> < baird> Something I discovered by accident today-- you can type 'make' at the gdb prompt 2013-04-10T08:58:55 < dongs> old 2013-04-10T08:59:06 < dongs> i dont even use lunix and i knew this 2013-04-10T09:04:34 < baird> Cool. I'm stealing code where the author isn't aware that Cos(x) = Sin(x+90).. 2013-04-10T09:06:44 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-10T09:06:52 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-04-10T09:08:36 -!- pelrun_ [~James@203-206-187-234.perm.iinet.net.au] has joined ##stm32 2013-04-10T09:13:29 < dongs> whats a cos 2013-04-10T09:14:34 < baird> Cosine 2013-04-10T09:14:44 < dongs> i didnt actually expect an answer :( 2013-04-10T09:15:59 -!- dekar_ [~dekar@212.255.250.158] has joined ##stm32 2013-04-10T09:16:02 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-04-10T09:19:07 -!- dekar [~dekar@212.255.240.41] has quit [Ping timeout: 256 seconds] 2013-04-10T09:28:04 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-04-10T09:33:09 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-10T09:34:49 -!- Maya-sama [~Maya@s529c4932.adsl.online.nl] has joined ##stm32 2013-04-10T09:35:33 -!- hackkitten [~Maya@s529c4932.adsl.online.nl] has quit [Disconnected by services] 2013-04-10T09:35:35 -!- Maya-sama is now known as hackkitten 2013-04-10T09:45:17 < dongs> anyone using some standard small/cheap SMD button 2013-04-10T10:12:01 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-04-10T10:16:13 < Posterdati_Fail> me 2013-04-10T10:17:44 < Posterdati_Fail> zyp: as I said, the value in the uint16_t is correct, then I pass it to TIM_SetCompare1 and PWM is always 0 2013-04-10T10:19:31 < dongs> and you configured that channel for output compare etc? 2013-04-10T10:19:49 < Posterdati_Fail> if I use same value in TIM_SetCompare1 in the same code part it works 2013-04-10T10:20:01 < Posterdati_Fail> I mean 2013-04-10T10:20:19 < Posterdati_Fail> TIM_SetCompare(TIM4, uiCCRValue) ==> don't work 2013-04-10T10:20:39 < Posterdati_Fail> TIM_SetCompare(TIM4, 0x1450) ==> work 2013-04-10T10:22:04 < Posterdati_Fail> uiCCRValue = (uint16_t) (m_nFrequency * nPulseWidth * (float) 0xffff) 2013-04-10T10:26:36 < Posterdati_Fail> resulting value is between 0 and 65536 2013-04-10T10:26:44 < Posterdati_Fail> resulting value is between 0 and 65535 2013-04-10T10:29:08 < dongs> uh.. 2013-04-10T10:29:26 < dongs> and have y ou tried setting ccr directly? 2013-04-10T10:29:33 < Posterdati_Fail> yes, the same 2013-04-10T10:29:35 < dongs> TIM4->CCRx = foo 2013-04-10T10:29:50 < Posterdati_Fail> problem in in uiCCRValue conversion 2013-04-10T10:30:15 < Posterdati_Fail> TIM4->CCR1=0x1450 ==> works 2013-04-10T10:30:27 < dongs> well dude, youve got swd and realtime debugger 2013-04-10T10:30:33 < dongs> watch uiccrvalue and youll see it fails. 2013-04-10T10:31:05 < Posterdati_Fail> I saw it with gdb an placed a break just after uiCCRValue assignement 2013-04-10T10:31:19 < Posterdati_Fail> uiCCRValue = correct value!!!! 2013-04-10T10:31:25 < dongs> bullshit 2013-04-10T10:31:30 < Posterdati_Fail> ok 2013-04-10T10:32:58 < Posterdati_Fail> gdb is wrong then 2013-04-10T10:37:03 < Posterdati_Fail> could be a sorta math error? 2013-04-10T10:51:58 -!- timemob [~dongs@149.110.131.180.west.global.crust-r.net] has joined ##stm32 2013-04-10T10:54:24 -!- ABLomas [~abl@78-60-198-200.static.zebra.lt] has joined ##stm32 2013-04-10T10:59:18 < baird> Another priapism for Tectu: https://www.youtube.com/watch?v=7X-x9gpAS-A 2013-04-10T11:01:29 < pelrun_> your types are wrong somewhere 2013-04-10T11:02:01 < timemob> Whoa 2013-04-10T11:04:07 < timemob> Too bad chibios sucks 2013-04-10T11:08:13 -!- Erlkoenig [~erlkoenig@gw-2s00.inf.fh-bonn-rhein-sieg.de] has joined ##stm32 2013-04-10T11:09:12 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Ping timeout: 252 seconds] 2013-04-10T11:22:44 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 246 seconds] 2013-04-10T11:24:28 -!- t1memob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-10T11:26:35 -!- timemob [~dongs@149.110.131.180.west.global.crust-r.net] has quit [Ping timeout: 255 seconds] 2013-04-10T11:30:20 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-10T11:30:21 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-10T11:34:45 < dongs> zyp: i dunno, this panasonic shit seems to charge faster than usb 2013-04-10T11:34:48 < dongs> am i getting trolled? 2013-04-10T11:35:06 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-10T11:36:11 -!- Erlkoenig [~erlkoenig@gw-2s00.inf.fh-bonn-rhein-sieg.de] has quit [Quit: Leaving.] 2013-04-10T11:41:54 -!- _BJFreeman [~bjfree@35.sub-75-196-32.myvzw.com] has joined ##stm32 2013-04-10T11:42:13 -!- _BJFreeman is now known as BJfreeman 2013-04-10T11:47:33 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-04-10T11:51:42 < baird> lol, I've just found a bug in that Spinnin' Bubbles demo.. but the bizarre effect, making act like it's in a Severed Heads music video, is definitely worth keeping. :) 2013-04-10T11:59:25 < baird> BUBBLES LOSE CONTROL!!! 2013-04-10T12:02:56 -!- t1memob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 256 seconds] 2013-04-10T12:03:38 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-10T12:18:47 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 255 seconds] 2013-04-10T12:19:24 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-10T12:19:33 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Read error: Connection reset by peer] 2013-04-10T12:42:24 -!- PosterdatiNotFai [53671aa2@gateway/web/freenode/ip.83.103.26.162] has joined ##stm32 2013-04-10T12:42:37 < PosterdatiNotFai> zyp: hi, it's me 2013-04-10T12:43:02 < PosterdatiNotFai> I'm debugging now the variable: nCCRValue = 2572 2013-04-10T12:43:34 -!- PosterdatiNotFai is now known as Posterdati_NotFa 2013-04-10T12:43:46 -!- Posterdati_NotFa is now known as Posterdati_Not 2013-04-10T12:45:46 < dongs> ffigurd it out? 2013-04-10T12:47:54 < Posterdati_Not> it seems that the switch statements executes only the break in the cases, so TIM_SetCompare1 is never executed 2013-04-10T12:48:42 < Posterdati_Not> I'll exchange it with an if else construct 2013-04-10T12:52:46 < dongs> waut 2013-04-10T12:54:38 < Posterdati_Not> it seems to reach the TIM_SetCompare1() now! 2013-04-10T12:55:15 < Posterdati_Not> but wy the switch failed? 2013-04-10T12:55:57 < qyx_> paste it 2013-04-10T12:56:09 < Posterdati_Not> what? The switch? 2013-04-10T12:56:14 <+Steffanx> ye 2013-04-10T12:56:21 < Posterdati_Not> gone now! 2013-04-10T12:56:24 < Posterdati_Not> ok 2013-04-10T12:56:42 < Posterdati_Not> I'll reconstruct it 2013-04-10T12:56:46 < qyx_> ctrl+z it 2013-04-10T13:00:55 < Posterdati_Not> http://pastebin.com/ym9Uet7p 2013-04-10T13:01:40 < Posterdati_Not> control reaches only the breaks 2013-04-10T13:01:50 < Posterdati_Not> very funny 2013-04-10T13:08:32 < baird> Holy Shit. Typing "MAKE" (in uppercase) works in gdb as well. Truly this is a tool for experienced programmers. 2013-04-10T13:09:52 -!- Laurenceb_ [~Laurence@host86-177-60-113.range86-177.btcentralplus.com] has joined ##stm32 2013-04-10T13:18:40 -!- BJfreeman [~bjfree@35.sub-75-196-32.myvzw.com] has quit [Quit: had a good time] 2013-04-10T13:18:53 < Posterdati_Not> Steffanx: is it weird? 2013-04-10T13:19:02 < Posterdati_Not> dongs: Your thoughts? 2013-04-10T13:19:47 < Posterdati_Not> qyx_: did you take a look at the code I pasted? 2013-04-10T13:24:10 < Laurenceb_> http://bitcoincharts.com/charts/mtgoxUSD#rg2ztgSzm1g10zm2g25zv 2013-04-10T13:24:12 < Laurenceb_> ^lolz 2013-04-10T13:24:16 <+Steffanx> I dont see something too weird, Posterdati_ 2013-04-10T13:24:36 < Laurenceb_> bitcoin got so high it overflowed the charting code 2013-04-10T13:24:43 <+Steffanx> Looked at the (dis)assembly too see if things are gone Posterdati_Not ? 2013-04-10T13:25:05 * Steffanx shoots arrow at bubble.. *poof* 2013-04-10T13:43:28 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 256 seconds] 2013-04-10T13:45:17 < dongs> what teh fuck 2013-04-10T13:45:29 < dongs> Posterdati_Not: youre writing an abstraction layer on top of stdperiphlib... 2013-04-10T13:45:34 < dongs> you do realize just how retarded that is right 2013-04-10T13:46:48 < Laurenceb_> lolz 2013-04-10T13:49:14 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-10T13:49:59 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Excess Flood] 2013-04-10T13:53:30 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-10T13:55:28 -!- Posterdati_Not [53671aa2@gateway/web/freenode/ip.83.103.26.162] has quit [Ping timeout: 245 seconds] 2013-04-10T14:01:00 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: to sleep, perchance to dream] 2013-04-10T14:04:15 < Tectu> comming online - first post seen: lolz 2013-04-10T14:04:19 < Tectu> my life definitely sucks. 2013-04-10T14:05:03 < Laurenceb_> no lolz for you 2013-04-10T14:17:45 -!- Laurenceb_ [~Laurence@host86-177-60-113.range86-177.btcentralplus.com] has quit [Read error: Operation timed out] 2013-04-10T14:33:03 < qyx_> Posterdati_Fail: no, not available now, unknown paste id 2013-04-10T14:56:10 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 256 seconds] 2013-04-10T14:57:03 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-10T14:59:51 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-10T15:03:56 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 255 seconds] 2013-04-10T15:04:43 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-10T15:09:00 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 252 seconds] 2013-04-10T15:09:52 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-10T15:15:24 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Remote host closed the connection] 2013-04-10T15:19:39 -!- jef79m [~jef79m@124-169-145-70.dyn.iinet.net.au] has quit [Quit: ZNC - http://znc.in] 2013-04-10T15:22:13 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-10T15:23:42 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-10T15:23:43 < Robint91> hi all 2013-04-10T15:23:53 < talsit> gday 2013-04-10T15:26:28 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 260 seconds] 2013-04-10T15:26:48 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-10T15:27:51 -!- jef79m [~jef79m@124-169-145-70.dyn.iinet.net.au] has joined ##stm32 2013-04-10T15:27:53 -!- jef79m [~jef79m@124-169-145-70.dyn.iinet.net.au] has quit [Excess Flood] 2013-04-10T15:29:34 -!- jef79m [~jef79m@124-169-145-70.dyn.iinet.net.au] has joined ##stm32 2013-04-10T15:36:53 -!- ds2 [noinf@netblock-66-245-251-24.dslextreme.com] has quit [Ping timeout: 248 seconds] 2013-04-10T15:38:01 -!- PosterdatiWin [53671aa2@gateway/web/freenode/ip.83.103.26.162] has joined ##stm32 2013-04-10T15:48:03 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 276 seconds] 2013-04-10T15:48:37 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-10T15:48:53 < Laurenceb> Holy Shit. Typing "MAKE" (in uppercase) works in gdb as well. Truly this is a tool for experienced programmers. 2013-04-10T15:48:56 < Laurenceb> lulwut 2013-04-10T15:49:04 < Laurenceb> how long did it take you to work that out?! 2013-04-10T15:49:50 <+Steffanx> Like that matters. You can't know everything 2013-04-10T16:02:58 < baird> (gdb) make out with Laurenceb 2013-04-10T16:03:01 < baird> make: eewwwwww... 2013-04-10T16:03:09 < Laurenceb> O_o 2013-04-10T16:04:05 < zyp> I can type scons in my gdb 2013-04-10T16:05:23 < baird> Not here.. 2013-04-10T16:05:42 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 256 seconds] 2013-04-10T16:05:53 < zyp> no, I added it 2013-04-10T16:06:07 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-10T16:07:06 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 245 seconds] 2013-04-10T16:12:32 < Laurenceb> scons with jam on 2013-04-10T16:17:30 -!- baird [~cjb@ppp121-45-182-27.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-04-10T16:19:53 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-10T16:23:48 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 276 seconds] 2013-04-10T16:24:06 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-10T16:25:53 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 240 seconds] 2013-04-10T16:31:51 < Laurenceb> http://vimeo.com/6287394 2013-04-10T16:31:54 < Laurenceb> i lolled 2013-04-10T16:43:33 -!- SilverHornet9 [~Steve@cpe-65-189-214-87.neo.res.rr.com] has joined ##stm32 2013-04-10T16:56:18 -!- PosterdatiWin [53671aa2@gateway/web/freenode/ip.83.103.26.162] has quit [Ping timeout: 245 seconds] 2013-04-10T17:04:59 -!- zlog [~zlog@ip24-255-190-22.ks.ks.cox.net] has quit [Ping timeout: 245 seconds] 2013-04-10T17:08:09 -!- zlog [~zlog@ip24-255-190-22.ks.ks.cox.net] has joined ##stm32 2013-04-10T17:10:14 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-10T17:18:29 -!- a2cypher [~cypher@mail.krausglobal.com] has joined ##stm32 2013-04-10T17:20:22 -!- daku is now known as DaKu 2013-04-10T17:24:32 -!- CRF_Peter [~Peter@dhcp-181208.eduroam.chalmers.se] has joined ##stm32 2013-04-10T17:40:03 -!- alexn_ [~alexn@93.104.205.194] has joined ##stm32 2013-04-10T17:42:50 -!- alexn [~alexn@93.104.205.194] has quit [Ping timeout: 246 seconds] 2013-04-10T17:50:18 < qyx_> oh, first prototype works on first try, awesome 2013-04-10T17:50:34 < qyx_> i was rather waiting for it to catch on fire 2013-04-10T17:51:14 <+Steffanx> prototype of what qyx_ ? 2013-04-10T17:51:25 < qyx_> rs485 to ethernet 2013-04-10T17:51:48 <+Steffanx> meh, st why you timeout so often when i try to wget files from your server? 2013-04-10T17:52:16 < qyx_> you probably do not deserve their content 2013-04-10T17:52:41 <+Steffanx> Just trying to download all pdfs from their website 2013-04-10T17:53:23 < qyx_> then you should charge them for that service 2013-04-10T17:53:34 < qyx_> independent backups 2013-04-10T17:53:44 <+Steffanx> :P 2013-04-10T17:53:47 <+Steffanx> for sure 2013-04-10T17:54:32 <+Steffanx> Actually only the pdfs they list on the design resources pages 2013-04-10T17:54:39 < Posterdati_Fail> hi 2013-04-10T17:54:45 < Posterdati_Fail> same problem :( 2013-04-10T17:54:56 <+Steffanx> Same problem? 2013-04-10T17:58:39 < Posterdati_Fail> pwm won't wotk 2013-04-10T17:58:44 < Posterdati_Fail> pwm won't work 2013-04-10T17:59:13 -!- pelrun_ [~James@203-206-187-234.perm.iinet.net.au] has quit [Ping timeout: 240 seconds] 2013-04-10T18:03:14 -!- vpopov [~happylife@dyn-32-176.fttbee.kis.ru] has joined ##stm32 2013-04-10T18:03:36 < gxti> so negative 2013-04-10T18:07:12 < Posterdati_Fail> yes 2013-04-10T18:07:27 < Posterdati_Fail> if I set a constant value in the same function it works! 2013-04-10T18:09:05 < qyx_> you have very strange problem with basic c constructs 2013-04-10T18:09:40 < Posterdati_Fail> yes 2013-04-10T18:09:41 < qyx_> i would check if some stack overruns happen 2013-04-10T18:09:58 < Posterdati_Fail> I checked the var just enter TIM_SetCompare1 2013-04-10T18:10:13 < Posterdati_Fail> and it is correctly setted 2013-04-10T18:11:00 < qyx_> variables don't usually change randomly as they like 2013-04-10T18:11:06 < Posterdati_Fail> a stack related problem? 2013-04-10T18:12:11 < qyx_> could be, don't know 2013-04-10T18:12:27 < Posterdati_Fail> but it won't work with constant value too 2013-04-10T18:15:27 -!- CRF_Peter [~Peter@dhcp-181208.eduroam.chalmers.se] has quit [Ping timeout: 252 seconds] 2013-04-10T18:15:50 < gxti> your paste expired :[ 2013-04-10T18:16:07 < Posterdati_Fail> new one 2013-04-10T18:17:27 < Posterdati_Fail> http://pastebin.com/sqkj9Sxr 2013-04-10T18:17:41 < Posterdati_Fail> gxti: look at the comment, in that manner the PWM works 2013-04-10T18:18:11 < gxti> oh boy templates 2013-04-10T18:19:40 < gxti> why ARR on line 8? 2013-04-10T18:19:54 < Posterdati_Fail> gxti: in case I'd change the frequency 2013-04-10T18:20:04 < gxti> ok but it's not a capture register 2013-04-10T18:20:15 < Posterdati_Fail> no it is the period 2013-04-10T18:20:18 < gxti> just a weird var name i guess 2013-04-10T18:20:37 < Posterdati_Fail> yes 2013-04-10T18:20:45 < Posterdati_Fail> it has to be period 2013-04-10T18:20:52 < gxti> clearly 2013-04-10T18:20:59 < gxti> so you should call it period, not capture :p 2013-04-10T18:21:05 < Posterdati_Fail> yes 2013-04-10T18:21:24 < gxti> multiplying period by frequency does not make sense. is frequency also misnamed? 2013-04-10T18:21:42 < Posterdati_Fail> no 2013-04-10T18:21:54 < Posterdati_Fail> the pulse width is a time not a period 2013-04-10T18:22:28 < Posterdati_Fail> duty cycle = pulse length / pwm period = pulse length * pwm frequency 2013-04-10T18:22:39 < gxti> ok, well it looks like you have a math issue not a typecast issue 2013-04-10T18:22:44 < Posterdati_Fail> yes 2013-04-10T18:23:00 < Posterdati_Fail> I was thinking about this, but gdb show me a reasonable value 2013-04-10T18:23:02 < Posterdati_Fail> say 2013-04-10T18:23:09 < Posterdati_Fail> pulse width = 1.5e-3 2013-04-10T18:23:13 < Posterdati_Fail> frequency = 50.0 2013-04-10T18:23:25 < Posterdati_Fail> period = 65535 2013-04-10T18:23:28 < Posterdati_Fail> so 2013-04-10T18:24:09 < Posterdati_Fail> uiCCRValue = 4915 2013-04-10T18:25:00 < Posterdati_Fail> shall I set -mfloat-abi=softfp 2013-04-10T18:25:01 < Posterdati_Fail> ? 2013-04-10T18:31:33 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-04-10T18:32:04 -!- alexn_ [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-04-10T18:34:37 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has left ##stm32 [] 2013-04-10T18:34:38 -!- _BJFreeman [~bjfree@59.sub-75-244-154.myvzw.com] has joined ##stm32 2013-04-10T18:35:04 -!- _BJFreeman is now known as BJfreeman 2013-04-10T18:39:02 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has quit [Quit: zzzz] 2013-04-10T18:48:47 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-10T18:48:52 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-10T19:05:17 -!- DaKu is now known as daku 2013-04-10T19:15:03 < Posterdati_Fail> :( 2013-04-10T19:21:05 -!- ds2 [noinf@netblock-66-245-251-24.dslextreme.com] has joined ##stm32 2013-04-10T19:24:00 < jpa-> Posterdati_Fail: hey, looks like you have graduated! 2013-04-10T19:24:25 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-10T19:24:27 < Tectu> emeb_mac, what's the MCU I need to run blackmagic? 2013-04-10T19:24:29 < Tectu> fuuuuu!!!!!! 2013-04-10T19:24:45 < jpa-> stm32f10x 2013-04-10T19:24:53 < Tectu> what memory requirements? 2013-04-10T19:25:13 <+Steffanx> Tectu something wrong? 2013-04-10T19:25:18 <+Steffanx> oh, he left :) 2013-04-10T19:25:32 < Tectu> yes, in the same second 2013-04-10T19:25:50 < jpa-> Tectu: why not check the schematic? 2013-04-10T19:26:04 <+Steffanx> The newest one uses 102c8 iirc 2013-04-10T19:26:09 <+Steffanx> ( the old one 103 ) 2013-04-10T19:26:18 <+Steffanx> but i could be wrong about the c8 2013-04-10T19:27:19 <+Steffanx> oh, RB even 2013-04-10T19:27:44 < Tectu> I never looked through all this lettering 2013-04-10T19:27:51 <+Steffanx> its in the datasheet :) 2013-04-10T19:28:20 < Tectu> >.< 2013-04-10T19:29:05 <+Steffanx> Datasheet.. i forgot to download those 2013-04-10T19:29:32 <+Steffanx> Last page before Revision history, Tectu 2013-04-10T19:30:54 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-10T19:31:09 <+Steffanx> yay @ my ugly python ST documents downloader ( it fails terribly sometimes ) 2013-04-10T19:31:26 < ossifrage> I'm working on a project using a STM32F0 and I'm tying to figure out the least painful way to provide firmware upgrades 2013-04-10T19:31:47 < ossifrage> (not least painful for me but least painful for users) 2013-04-10T19:31:52 < Robint91> ossifrage, usb? 2013-04-10T19:31:54 <+Steffanx> usb bootloader 2013-04-10T19:32:00 < ossifrage> no usb on this part 2013-04-10T19:32:03 <+Steffanx> Ah :) 2013-04-10T19:32:09 < Robint91> ftdi 2013-04-10T19:32:24 <+Steffanx> Which makes it uart, Robint91 ? 2013-04-10T19:33:13 < ossifrage> I have a tx/rx pins on the header that is user accessable, but I don't have boot0 and nrst 2013-04-10T19:33:40 < Robint91> ossifrage, pcb already made? 2013-04-10T19:33:51 < ossifrage> nope, just a schematic right now 2013-04-10T19:33:53 < karlp> you can jump there from code if the user can do something else to trigger upgrade? 2013-04-10T19:34:17 < ossifrage> on another board we have a oneshot so the reset button can both reset the board and enter the bootloader 2013-04-10T19:34:36 < ossifrage> short press and release you reset, long press and release and you enter the bootloader 2013-04-10T19:34:36 < Robint91> ossifrage, my best option, would be to use a ft232 and connect that to a unused uart and the boot0/nrst 2013-04-10T19:34:57 < Robint91> ossifrage, and with libftdi you can control these lines via software 2013-04-10T19:35:04 < karlp> and double the cost of the board :) 2013-04-10T19:35:05 -!- jv [jv@pilsedu.cz] has quit [Read error: Operation timed out] 2013-04-10T19:35:14 < Robint91> karlp, but very easy for the user 2013-04-10T19:35:26 < ossifrage> I'd rather avoid adding that to the bom because 99% of the users won't use it 2013-04-10T19:35:39 < karlp> (just ship out replacements to people who need firmware updates) 2013-04-10T19:36:02 < karlp> (or leave an unpopulated pin header suitable for cortex-m debug/stlink) 2013-04-10T19:36:26 < Robint91> ossifrage, how intelligent are the users? 0 (how do I turn on a PC) - 10 (I can design a circuit + draw up a PCB) 2013-04-10T19:36:31 < ossifrage> I have a header for that for my debugging (there is plenty of board space) 2013-04-10T19:36:37 -!- jv [jv@pilsedu.cz] has joined ##stm32 2013-04-10T19:36:45 < Robint91> ossifrage, arduino peeps are around 5 2013-04-10T19:36:54 < karlp> well, that header can also be used for firmware upgrades if you want. 2013-04-10T19:36:58 < ossifrage> I'd hope 5, but that may be wishful thinking 2013-04-10T19:37:13 < karlp> you don't have to make it possible to do it without a "programming adapter" 2013-04-10T19:37:35 < ossifrage> I was thinking about putting a header inside that is compatible with: http://adafruit.com/products/284 2013-04-10T19:37:36 < Robint91> ossifrage, so non technical people 2013-04-10T19:38:18 < Robint91> ossifrage, what happen when they swap the pin header 2013-04-10T19:38:29 < ossifrage> yeah 2013-04-10T19:38:32 <+Steffanx> Yeah, was thinking about that same. That thing is not fool proof-ish 2013-04-10T19:38:48 < Robint91> ossifrage, users are dumb 2013-04-10T19:38:48 < ossifrage> what ever I do it has to be non-brickable 2013-04-10T19:38:59 < ossifrage> so using the rom bootloader is key 2013-04-10T19:39:20 < Robint91> ossifrage, having a USB connector on your board is solving a lot of problems 2013-04-10T19:39:24 < ossifrage> the project will be opensource (github) for the few that are foolish enough 2013-04-10T19:39:38 < Robint91> ossifrage, most users know how a usb connector looks like 2013-04-10T19:39:50 < Robint91> they can't plug it wrong 2013-04-10T19:40:03 < Robint91> and almost all PC's have USB 2013-04-10T19:40:30 < ossifrage> the ft232RL is more expensive then the F0 I'm using 2013-04-10T19:40:45 < ossifrage> hell, most of the parts on the board are more expensive then the F0 2013-04-10T19:40:56 < Robint91> the FT230X costs around 2.3$ at 1qty 2013-04-10T19:41:10 < Robint91> http://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT230X.pdf 2013-04-10T19:41:16 < Robint91> has a low bom count 2013-04-10T19:41:33 < karlp> yeah, but how many firmware upgrades are youplanning on doing? 2013-04-10T19:41:40 < gxti> using ft230x for a non-microcontroller project, is nice. but i don't think you're really helping answer his question :p 2013-04-10T19:41:51 < karlp> if it's hackers only, just go with the debug header 2013-04-10T19:41:58 < karlp> move on with your life 2013-04-10T19:42:11 < gxti> ossifrage: what peripherals do you have that might be used, other than uart? 2013-04-10T19:42:14 < gxti> ossifrage: e.g. SD is a nice one 2013-04-10T19:42:22 < Robint91> karlp, gxti non hackers 2013-04-10T19:42:35 < ossifrage> the F0 has pretty much everything I need 2013-04-10T19:42:36 < Robint91> hopefully peeps that have touch an arduino 2013-04-10T19:43:31 < karlp> Robint91: < ossifrage> I'd rather avoid adding that to the bom because 99% of the users 2013-04-10T19:43:34 < karlp> won't use it 2013-04-10T19:44:42 < ossifrage> I've been contemplating trying to blink the firmware in via a lcd display and a light sensor that is already on the device 2013-04-10T19:45:08 < gxti> that's the second time this month i have heard that inane idea ;p 2013-04-10T19:45:20 < ossifrage> I've done it for small amounts of data 2013-04-10T19:45:23 < gxti> except the other guy was doing it using LEDs as input 2013-04-10T19:45:27 < gxti> a matrix of LEDs. 2013-04-10T19:46:09 < ossifrage> you can even get multiple bits per frametime 2013-04-10T19:46:17 < ossifrage> (with a good enough sensor) 2013-04-10T19:46:58 < ossifrage> but it would be way to easy to get the board in a state that all it can do is run the bootloader 2013-04-10T19:47:59 < ossifrage> gxti, using leds as a photodiode? 2013-04-10T19:49:20 < ossifrage> Right now I have a TSL2561 ambient light sensor which has a 12ms integration time... 2013-04-10T19:49:33 -!- barthess [~barthess@77.67.185.130] has joined ##stm32 2013-04-10T19:49:43 < Robint91> how long do you think it would take to update the firmware? 2013-04-10T19:50:00 < Robint91> how long it takes the more errors there can happen 2013-04-10T19:50:04 < ossifrage> I bet I could get maybe 60 bits/s 2013-04-10T19:50:12 < ossifrage> after ecc 2013-04-10T19:50:20 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has joined ##stm32 2013-04-10T19:50:57 < Robint91> ossifrage, of a 16kib image it would take around 45min 2013-04-10T19:51:15 < ossifrage> yeah, painful 2013-04-10T19:51:30 < ossifrage> even if you compress the image first 2013-04-10T19:54:06 < ossifrage> the only other input I have is a accelerometer, maybe you could tap it out in morris :-) 2013-04-10T19:54:49 < Robint91> ossifrage, over wath product are we talking here? 2013-04-10T19:55:23 < ossifrage> (I'd rather not talk about specifics at this point) 2013-04-10T19:55:47 < Robint91> ossifrage, afraid someone will steal the idea? :p 2013-04-10T19:55:49 < Robint91> j/k 2013-04-10T19:56:14 < ossifrage> it is more that I'd rather fully think it out before talking about it.... 2013-04-10T19:56:24 < ossifrage> you are welcome to steal the idea 2013-04-10T19:56:29 < Robint91> ossifrage, you need to make for your self out if your use will need to update the firmware over the next jear/lifetime of the product 2013-04-10T19:56:36 < ossifrage> and you can also write the firmware while you are at it 2013-04-10T19:56:52 < Robint91> ossifrage, and how much it would cost to replace all of those 2013-04-10T19:57:59 < ossifrage> I was leaning towards, you can update the firmware, by opening the box and connecting a ftdi friend, but you I'm not going to help you if you let the smoke out 2013-04-10T19:59:25 < ossifrage> the other stm32f1 thing I'm working on (which I have hardware for) is pretty painless to upgrade because the user already has a uart connected to the device 2013-04-10T19:59:49 < ossifrage> all you do is press and hold the reset button and then you can use the stmflash thing to push new firmware 2013-04-10T20:00:21 < ossifrage> but the user clue is much higher 2013-04-10T20:00:41 < Robint91> ossifrage, I have also a bootloader running on a F1 via the USB connection 2013-04-10T20:01:39 < ossifrage> do you just call the rom bootloader or is it you own thing? 2013-04-10T20:01:47 < Robint91> own thing 2013-04-10T20:01:53 < Robint91> via USB HID reports 2013-04-10T20:02:04 < Robint91> no pc driver needed 2013-04-10T20:02:05 < ossifrage> how do you enter the firmware uploader? 2013-04-10T20:03:00 < Robint91> ossifrage, two way, on a physical short on a header pin, the other , erase the checksum value of the main program 2013-04-10T20:03:24 < Robint91> which the bootloader checks every time before booting 2013-04-10T20:03:51 < Robint91> ossifrage, the checksum is always at the last 32bit int of the flash 2013-04-10T20:03:53 < Robint91> in my system 2013-04-10T20:04:09 < ossifrage> I wish I had enough flash to have a factor version of the code and a upgrade version of the code 2013-04-10T20:04:18 < ossifrage> ^factor^factory 2013-04-10T20:04:38 < Robint91> ossifrage, why? 2013-04-10T20:04:51 < ossifrage> so then you wouldn't be able to brick the device 2013-04-10T20:05:10 < Robint91> my device doesn't brick 2013-04-10T20:05:11 < ossifrage> if you load a good new firmware then you run the new version, otherwise you run the factory version 2013-04-10T20:05:33 < Robint91> bad checksum requires the that you reload the firmware 2013-04-10T20:05:40 < ossifrage> well you should be able to get it stuck in the bootloader 2013-04-10T20:05:49 < ossifrage> but not brick 2013-04-10T20:07:01 < Robint91> yeah 2013-04-10T20:07:20 < Robint91> which is a easy fix, reprogram the main firmware via the bootloader 2013-04-10T20:07:32 < Robint91> but it is easy if your device is always connected to a PC 2013-04-10T20:07:52 < Robint91> else it can be tricky 2013-04-10T20:08:20 < ossifrage> this device has a battery and is never connected to a PC 2013-04-10T20:08:42 < Robint91> ossifrage, has it somekind of storage? sd? 2013-04-10T20:09:12 < ossifrage> just what fits on the stm32f0, it might have a small spi flash, but I'd rather avoid it 2013-04-10T20:09:29 < ossifrage> the f0 family doesn't do sd 2013-04-10T20:09:44 < Robint91> ossifrage, SD over SPI? 2013-04-10T20:09:51 < Robint91> instead of SDIO 2013-04-10T20:09:55 < ossifrage> oh, yeah I could do that 2013-04-10T20:10:18 < Robint91> ossifrage, what is the flashsize of the F0 you want to use? 2013-04-10T20:10:52 < ossifrage> for the protos the 64kb version, and the smallest part I can fit things for the production version 2013-04-10T20:11:25 < Robint91> ossifrage, I dunno how big fatfs is or petite fatfs 2013-04-10T20:11:52 < ossifrage> I wonder how cheap I can find a mmc or sd socket for... 2013-04-10T20:12:32 < ossifrage> (oh, the other thing device is lacking is a power switch) 2013-04-10T20:12:52 < ossifrage> you can't turn it off other then by letting the battery drain... 2013-04-10T20:13:07 < Robint91> ossifrage, removable batteries? 2013-04-10T20:13:41 < ossifrage> okay, well you would have to open the case, unplug the battery 2013-04-10T20:14:21 < ossifrage> and I really don't want to have a hole in the case for a mmc card, so I guess having to unplug the battery wouldn't be a problem 2013-04-10T20:14:41 < Robint91> ossifrage, NFC I2C eeprom? 2013-04-10T20:15:19 < ossifrage> what kind of data rate can you get from nfc? 2013-04-10T20:15:48 < Robint91> dunno, 10kbps or so? 2013-04-10T20:15:56 < Robint91> it is a two step operation 2013-04-10T20:16:02 < Robint91> first you program the i2c eeprom 2013-04-10T20:16:18 < Robint91> then the bootloader copies what is in the eeprom to the flahs 2013-04-10T20:16:20 < ossifrage> but then I'd need to write a firmware upgrader for the device that is sending the data 2013-04-10T20:17:13 < ossifrage> I didn't know such a thing existed: http://www.st.com/web/catalog/mmc/FM76/CL1766/SC1412 2013-04-10T20:18:40 < ossifrage> huh, it is only $1.87/Q10 for the 64kbit version 2013-04-10T20:19:06 < Robint91> ossifrage, USB is cheaper then the NFC option 2013-04-10T20:19:16 -!- joefishy [~joefishy@cpc23-newt30-2-0-cust149.19-3.cable.virginmedia.com] has joined ##stm32 2013-04-10T20:19:44 < ossifrage> for your thing you had to write a uploader for the host side? 2013-04-10T20:20:51 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Quit: trepidaciousMBR] 2013-04-10T20:20:53 < ossifrage> but I think I'm going to have to play around with that nfc eeprom, that is a neat toy 2013-04-10T20:20:56 < Robint91> ossifrage, yeah 2013-04-10T20:21:23 < Robint91> ossifrage, if a F103 2013-04-10T20:21:28 < Robint91> so much more expensiver 2013-04-10T20:21:40 < ossifrage> my big concern is mostly power consumption 2013-04-10T20:21:47 < Robint91> I know that I can get a beefy F407 for 5€ 2013-04-10T20:21:48 < Robint91> ah 2013-04-10T20:21:52 < Robint91> and the L1 series 2013-04-10T20:21:56 < Robint91> those have USB too 2013-04-10T20:22:05 < ossifrage> I'm using a F4xx in the 3d printer controller project I'm working on 2013-04-10T20:22:33 < Robint91> STM32L151C6 2013-04-10T20:22:52 < ossifrage> but my first attempt at that board was a complete fail, got down to 90 nets and just couldn't route the damn thing in eagle 2013-04-10T20:23:16 < ossifrage> why oh why can't eagle implement at least some basic push/pull routing 2013-04-10T20:24:32 < ossifrage> have you played with the nfc stuff? 2013-04-10T20:25:16 < Robint91> ossifrage, I have the discovery kit of it 2013-04-10T20:26:16 < ossifrage> ah, something to add to my next digikey order 2013-04-10T20:26:29 < ossifrage> the discovery boards are just too damn useful 2013-04-10T20:27:23 < ossifrage> I ended up giving up on using my BMP and just use the F4discovery for all the jtaggy stuff 2013-04-10T20:31:56 < Tectu> someone may please link the emeb BMP clone site, I cannot find it 2013-04-10T20:31:57 -!- daku is now known as DaKu 2013-04-10T20:35:24 < Posterdati_Fail> jpa-: hi 2013-04-10T20:35:27 <+Steffanx> Tectu, http://ebrombaugh.studionebula.com/embedded/bmp2/index.html 2013-04-10T20:35:36 < ossifrage> I'd feel guilty buying a BMP clone, but I didnt' feel guilty buying a saleae clone 2013-04-10T20:35:50 <+Steffanx> is open sores ossifrage 2013-04-10T20:35:55 <+Steffanx> so dont feel sorry 2013-04-10T20:36:09 < BJfreeman> ossifage doing a 3D print engine but I just used the f4 discovery board and made a board to interface to it. 2013-04-10T20:36:34 <+Steffanx> there probably is no 'real one' anymore ossifrage 2013-04-10T20:37:05 < ossifrage> BJfreeman, yeah I've been prototyping with a f4 discovery but I'm going to do a board for the final version 2013-04-10T20:37:15 < Tectu> thanks Steffanx ;) 2013-04-10T20:37:49 < ossifrage> 1/128 microstepping with s-curve acceleration and none of the jittery timing mess you get with marlin 2013-04-10T20:38:00 < Tectu> Steffanx, STM32F102CB 2013-04-10T20:38:25 -!- TeknoJuce01 is now known as TeknoJuce 2013-04-10T20:38:31 <+Steffanx> ok, my 'official' one has a 103rb 2013-04-10T20:39:09 < ossifrage> I never got the bmp to work with the F100 and I'm too lazy to track down the problem... 2013-04-10T20:39:18 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925075985.dsl.bell.ca] has quit [Changing host] 2013-04-10T20:39:18 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-04-10T20:39:23 <+Steffanx> it worked for me out of the box 2013-04-10T20:39:31 < ossifrage> it loads code, but doesn't run correctly 2013-04-10T20:39:51 < ossifrage> it worked just fine with the F4, but not so much with the F100 (24mhz value line) 2013-04-10T20:40:26 < BJfreeman> ossifrage I started at the input for 3D using 5 video cameras to the actual printing 2013-04-10T20:41:48 <+Steffanx> wut BJfreeman ?! 2013-04-10T20:41:51 < BJfreeman> and yes marlin uses a ramp instead of PID 2013-04-10T20:43:25 < ossifrage> note to self: when things stop working, check to make sure that the board is still getting power 2013-04-10T20:43:27 < BJfreeman> I am waiting for my Trintylabs hardware that I will install the F4 and A13 with android as a user interface. 2013-04-10T20:44:03 < Tectu> can someone tell me if I can use an STM32F103 instaed of an STM32F102CB for the BMP2? I guess so since it's like an update? 2013-04-10T20:44:10 <+Steffanx> $$$ 2013-04-10T20:44:12 <+Steffanx> i think 2013-04-10T20:44:22 < Tectu> http://ch.farnell.com/jsp/search/browse.jsp;jsessionid=PK4SPXIGKKPOACQLCIQZNFQ?N=0&Ntk=gensearch&Ntt=STM32F102&Ntx=mode+matchallpartial&exposeLevel2Refinement=true&suggestions=false&ref=globalsearch&_requestid=502015 2013-04-10T20:44:25 < Tectu> I don't have the CB there 2013-04-10T20:44:25 <+Steffanx> $$ is the difference 2013-04-10T20:44:29 < Tectu> C4 or C6 2013-04-10T20:44:36 < karlp> c4 is only 16k, 2013-04-10T20:45:02 < Robint91> what pins does the BMP use? 2013-04-10T20:45:11 <+Steffanx> compile and check what it requires Tectu ? 2013-04-10T20:46:58 < ossifrage> BJfreeman, I haven't played around with printing stuff from 3d capture, most of the stuff I print comes out of alibre or from my python gcode generator 2013-04-10T20:49:00 < BJfreeman> ossifrage I decided if I going to do this it has to be easy to generate the 3D and have it totally automated to the print phase. so the Engine, take the video, make gcode and prints. 2013-04-10T20:49:03 < ossifrage> http://www.youtube.com/watch?v=KE5TK9JY16s http://www.youtube.com/watch?v=oW53hm99INM http://www.youtube.com/watch?v=9pMjY7AmdBE 2013-04-10T20:49:55 < ossifrage> my goal is to get rid of all the fine structure that I get with marlin in prints like the above 2013-04-10T20:50:29 -!- Mobyfab [~Mobyfab@80.239.168.84] has quit [Quit: Leaving.] 2013-04-10T20:50:58 < ossifrage> much of the fine 'fake' detail comes from a lack of smoothness in the stepping 2013-04-10T20:51:01 < BJfreeman> ossifrage the corner build up is what got me started 2013-04-10T20:51:54 < BJfreeman> ossifrage that is a good general description of the problem 2013-04-10T20:53:43 < ossifrage> yeah, I still like the idea of skeinforges dwindle as a way to deal with that problem 2013-04-10T20:54:02 < ossifrage> but you need to calibrate the hell out of it to get it to work 2013-04-10T20:54:36 < ossifrage> the ultimaker has a bowden extruder, my next printer will avoid that 2013-04-10T20:55:21 < ossifrage> the whole spring constant of the filament produces some interesting side-effects especially at the thin layer hights 2013-04-10T20:55:24 < ossifrage> heights even 2013-04-10T21:02:36 < BJfreeman> as well as the variable thickness of the fillaments and the ambient temp they are stored in 2013-04-10T21:03:42 < BJfreeman> still have not worked out how to determine mass of products delivered to the object 2013-04-10T21:07:13 < zippe1> Still waiting for the Form1 2013-04-10T21:07:30 < ossifrage> one of the big problems with PLA filament is many of the manufacturers don't bake off enough moisture before extruding 2013-04-10T21:07:51 < zippe1> I've watched too many people screwing with FDM machines and never getting anything straight or square out of them to want to waste my time there. 2013-04-10T21:08:58 < ossifrage> zippe1, yeah getting square prints from a typical reprap can be a challenge 2013-04-10T21:09:25 < karlp> zippe1: what's the big plus of the form1? 2013-04-10T21:09:36 < ossifrage> but I've been amazed by some of the prints I get out of my ultimaker 2013-04-10T21:09:59 < ossifrage> karlp, it is a laser cured uv resin printer 2013-04-10T21:10:09 < karlp> ahh 2013-04-10T21:11:07 < ossifrage> it uses a galvo, so you get weird polar artifacts instead of weird cartesian artifacts... 2013-04-10T21:11:40 < ossifrage> and the dlp resin printers just get weird keystone artifacts 2013-04-10T21:14:44 < Posterdati_Fail> hi 2013-04-10T21:15:25 < Posterdati_Fail> Steffanx: still not understand the problem with TIM_SetCompare1 :( 2013-04-10T21:19:15 -!- DaKu is now known as daku 2013-04-10T21:22:59 -!- daku is now known as DaKu 2013-04-10T21:26:32 -!- CRF_Peter [~Peter@193.11.200.145] has joined ##stm32 2013-04-10T21:31:48 -!- CRF_Peter [~Peter@193.11.200.145] has quit [Ping timeout: 245 seconds] 2013-04-10T21:49:51 -!- HTT-Bird [~Birdz0r@unaffiliated/htt-bird] has quit [Read error: Connection reset by peer] 2013-04-10T21:49:54 < zyp> *yawn* 2013-04-10T21:49:57 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has joined ##stm32 2013-04-10T21:50:43 < zyp> travelling across half the word is always fun 2013-04-10T21:52:25 < zyp> been awake for more than 21 hours, currently transferring flights, hour until next plane's departure 2013-04-10T21:52:30 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 245 seconds] 2013-04-10T21:52:41 < zyp> then half an hour drive home from the last airport 2013-04-10T21:52:44 <+Steffanx> back to coldish norway? 2013-04-10T21:52:52 < zyp> yeah, currently sitting in oslo 2013-04-10T21:53:35 < zyp> I'll probably hit 24h awake before I'm home tonight 2013-04-10T21:53:46 < zyp> and I probably only slept 4-5h last night :) 2013-04-10T21:54:02 < zyp> and I'm planning to go to work tomorrow, that'll be interesting 2013-04-10T21:54:19 < Robint91> zyp, lot's and lot's of coffee 2013-04-10T21:54:33 < zyp> I don't like coffee 2013-04-10T21:54:38 < zyp> never got used to the taste 2013-04-10T21:54:41 < Robint91> cola/pepsi 2013-04-10T21:54:42 < Robint91> ? 2013-04-10T21:54:51 < Robint91> red bull? 2013-04-10T21:54:55 < zyp> heh 2013-04-10T21:54:59 < zyp> oh well 2013-04-10T21:55:43 < zyp> I don't think anybody will complain if I'm coming in a bit late 2013-04-10T21:55:56 < zyp> my coworker that went with me is taking the rest of the week off too :p 2013-04-10T21:57:08 <+Steffanx> lazy ass :P 2013-04-10T21:58:47 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-10T21:59:09 < Robint91> zyp, was the trip work related? 2013-04-10T21:59:18 < zyp> nah, just vacation 2013-04-10T22:01:00 -!- HTT-Bird [~Birdz0r@unaffiliated/htt-bird] has joined ##stm32 2013-04-10T22:05:47 -!- CRF_Peter [~Peter@dhcp-181208.eduroam.chalmers.se] has joined ##stm32 2013-04-10T22:06:27 -!- DaKu is now known as daku 2013-04-10T22:06:33 < Posterdati_Fail> zyp: so you travelled 8 bits 2013-04-10T22:07:28 < zyp> huh? 2013-04-10T22:07:47 < Posterdati_Fail> you said "I travelled half a word..." 2013-04-10T22:07:54 -!- daku is now known as DaKu 2013-04-10T22:09:29 < Thorn> in this channel a word is 32 bits. 2013-04-10T22:09:44 < Posterdati_Fail> so 16bits 2013-04-10T22:10:35 < zyp> Thorn is correct 2013-04-10T22:12:02 < inca> are MMU's really worth the hype? 2013-04-10T22:13:05 < zyp> hype? 2013-04-10T22:13:20 < BJfreeman> I remeber when a word was 16 bits 2013-04-10T22:13:27 < Thorn> if you want to run an os with virtual memory they're pretty much required 2013-04-10T22:13:35 < BJfreeman> and 32 was a double word 2013-04-10T22:13:49 < TitanMKD> does anyone tested the 4.7-2013-q1-update GCC ? 2013-04-10T22:13:54 < zyp> in arm terminology, word is 32-bit 2013-04-10T22:14:00 < Thorn> BJfreeman: winapi still thinks so 2013-04-10T22:14:05 < inca> Thorn: VM can be implemented with segmentation rather than paging 2013-04-10T22:14:07 < zyp> TitanMKD, no, do you have any issues? 2013-04-10T22:14:17 < TitanMKD> zyp no i just ask to know what is new 2013-04-10T22:14:27 < TitanMKD> zyp i'm still using the previous version 2013-04-10T22:14:36 < inca> IIRC, segmentation does not require an MMU 2013-04-10T22:15:27 < Posterdati_Fail> zyp: is this related to my problem? 2013-04-10T22:15:35 < TitanMKD> zyp it seems the latest support also ARM A9 2013-04-10T22:15:42 < TitanMKD> zyp but not really clear 2013-04-10T22:15:49 < zyp> Posterdati_Fail, I have no idea what you are talking about 2013-04-10T22:16:29 < zyp> and I'm not really interested in looking into problems now, my last flight for today is leaving in half an hour, so I'm probably boarding soon 2013-04-10T22:16:59 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-10T22:17:59 < Posterdati_Fail> zyp: are you still travelling home? 2013-04-10T22:18:40 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-10T22:18:50 < zyp> Posterdati_Fail, yes 2013-04-10T22:18:57 < Posterdati_Fail> from? 2013-04-10T22:19:00 < zyp> japan 2013-04-10T22:19:03 < zyp> to norway 2013-04-10T22:19:44 < Posterdati_Fail> oh my 2013-04-10T22:19:58 < Posterdati_Fail> this is far bigger than half a word 2013-04-10T22:22:43 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:2c:a38a:f40:808a] has joined ##stm32 2013-04-10T22:22:56 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has quit [Remote host closed the connection] 2013-04-10T22:23:16 < zyp> ok, boarding 2013-04-10T22:23:27 <+Steffanx> have fun 2013-04-10T22:38:55 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 256 seconds] 2013-04-10T22:45:13 -!- vpopov [~happylife@dyn-32-176.fttbee.kis.ru] has quit [Ping timeout: 240 seconds] 2013-04-10T22:47:14 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-10T22:54:25 -!- upgrdman_ [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-10T22:56:42 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Ping timeout: 256 seconds] 2013-04-10T22:59:59 < Tectu> rate my STM32 related dev environment: http://www.abload.de/img/foo33ui9.png 2013-04-10T23:02:02 < zippe1> "New web, new feeling"? 2013-04-10T23:09:32 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-10T23:14:08 < inca> Tectu: Where's the human centipede? 2013-04-10T23:14:26 < Tectu> shit, where do you see that? 2013-04-10T23:14:53 < Tectu> aaah 2013-04-10T23:14:55 < Tectu> lol... 2013-04-10T23:14:58 < Tectu> I have those 2013-04-10T23:15:06 < Tectu> misread your post 2013-04-10T23:15:34 < inca> the ambiguity is delicious, at times 2013-04-10T23:18:34 < Posterdati_Fail> Steffanx: why, in the name of ..., those bastard functions work with constants and fail with variables? 2013-04-10T23:20:00 -!- Laurenceb_ [~Laurence@host86-178-238-172.range86-178.btcentralplus.com] has joined ##stm32 2013-04-10T23:23:15 -!- barthess [~barthess@77.67.185.130] has quit [Quit: Leaving.] 2013-04-10T23:26:05 < Tectu> main.c:187:2: warning: function returns address of local variable [enabled by default] 2013-04-10T23:26:07 < Tectu> say what? 2013-04-10T23:26:12 < Tectu> oh 2013-04-10T23:26:14 < Tectu> out of scope crap 2013-04-10T23:26:21 < Tectu> how comes it works 2013-04-10T23:30:14 < Laurenceb_> cuz you are lucky 2013-04-10T23:31:30 < karlp> Laurenceb_: seen bitcoins crashing the last few hours? 2013-04-10T23:31:42 < karlp> down to 110 again already 2013-04-10T23:31:47 < karlp> from 250 4 hours ago 2013-04-10T23:32:01 -!- CRF_Peter [~Peter@dhcp-181208.eduroam.chalmers.se] has quit [Quit: Leaving] 2013-04-10T23:34:19 < Laurenceb_> lulwut 2013-04-10T23:34:26 < Laurenceb_> i thought it looked unstable earlier today 2013-04-10T23:35:00 < Laurenceb_> oh noes 2013-04-10T23:35:13 < Laurenceb_> it undid a whole 3 days of growth :P 2013-04-10T23:35:45 < karlp> yeah, if you call the last 3 days any sort of possible sustainable growth 2013-04-10T23:36:54 < gxti> i sold the 3 i found under the couch cushions yesterday, at 240 2013-04-10T23:37:14 < gxti> er, 230ish. close enough. 2013-04-10T23:38:05 < Laurenceb_> attn Tectu: http://www.bbc.co.uk/news/technology-22093141 2013-04-10T23:40:12 < Tectu> that's why dongs uses closes sorce, so they cannot infiltrate his closed system unlike my open one 2013-04-10T23:43:25 -!- CRF_Peter [~Peter@dhcp-187121.eduroam.chalmers.se] has joined ##stm32 2013-04-10T23:43:53 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:2c:a38a:f40:808a] has quit [Read error: Connection reset by peer] 2013-04-10T23:45:38 -!- DaKu is now known as daku 2013-04-10T23:49:52 -!- upgrdman_ [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Quit: This computer has gone to sleep] 2013-04-10T23:50:03 < Laurenceb_> more photos of Tectu 2013-04-10T23:50:05 < Laurenceb_> http://s1.ibtimes.com/sites/www.ibtimes.com/files/styles/v2_article_large/public/2013/04/08/642705071457926866251327010142n.jpg 2013-04-10T23:50:56 < Tectu> ... 2013-04-10T23:51:34 < gxti> ##stm32-crap 2013-04-10T23:51:51 -!- SilverHornet9 [~Steve@cpe-65-189-214-87.neo.res.rr.com] has quit [Quit: Ex-Chat] 2013-04-10T23:51:55 < Laurenceb_> http://gawker.com/5994026/this-is-the-face-vladimir-putin-made-when-he-was-confronted-by-a-topless-protestor?popular=true 2013-04-10T23:52:18 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 276 seconds] 2013-04-10T23:53:10 -!- CRF_Peter [~Peter@dhcp-187121.eduroam.chalmers.se] has quit [Remote host closed the connection] 2013-04-10T23:54:17 < Tectu> I'm wondering if Laurenceb_ is doing anything useful in his life. 2013-04-10T23:55:23 < Laurenceb_> trolling 2013-04-10T23:55:32 < Laurenceb_> a great service of trolling to mankind --- Day changed Thu Apr 11 2013 2013-04-11T00:04:50 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-11T00:04:50 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-11T00:04:50 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-11T00:07:05 -!- CRF_Peter [~Peter@dhcp-187121.eduroam.chalmers.se] has joined ##stm32 2013-04-11T00:08:05 -!- CRF_Peter [~Peter@dhcp-187121.eduroam.chalmers.se] has quit [Remote host closed the connection] 2013-04-11T00:10:14 -!- CRF_Peter [~Peter@dhcp-187121.eduroam.chalmers.se] has joined ##stm32 2013-04-11T00:13:49 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-11T00:16:04 -!- CRF_Peter [~Peter@dhcp-187121.eduroam.chalmers.se] has quit [Remote host closed the connection] 2013-04-11T00:22:23 -!- CRF_Peter [~Peter@dhcp-187121.eduroam.chalmers.se] has joined ##stm32 2013-04-11T00:26:55 -!- CRF_Peter [~Peter@dhcp-187121.eduroam.chalmers.se] has quit [Ping timeout: 264 seconds] 2013-04-11T00:28:54 -!- CRF_Peter [~Peter@dhcp-181208.eduroam.chalmers.se] has joined ##stm32 2013-04-11T00:29:05 < CRF_Peter> eter 2013-04-11T00:29:07 < CRF_Peter> joltyeti 2013-04-11T00:29:11 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Excess Flood] 2013-04-11T00:29:18 < CRF_Peter> dmesg 2013-04-11T00:29:28 <+Steffanx> Hi CRF_Peter 2013-04-11T00:29:37 < CRF_Peter> dmesg | more 2013-04-11T00:29:41 < Thorn> second one was a password? 2013-04-11T00:29:45 <+Steffanx> Could be lol 2013-04-11T00:29:59 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-11T00:30:02 <+Steffanx> First one his username 2013-04-11T00:32:25 < Robint91> LOL 2013-04-11T00:33:02 <+Steffanx> 2013-04-11T00:33:03 <+Steffanx> sdf 2013-04-11T00:33:05 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: ….] 2013-04-11T00:33:20 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-11T00:33:20 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-11T00:33:20 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-11T00:33:22 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-11T00:39:53 -!- CRF_Peter [~Peter@dhcp-181208.eduroam.chalmers.se] has quit [Ping timeout: 240 seconds] 2013-04-11T00:48:18 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-11T00:51:43 -!- CRF_Peter [~Peter@193.11.200.145] has joined ##stm32 2013-04-11T00:55:53 -!- CRF_Peter [~Peter@193.11.200.145] has quit [Ping timeout: 240 seconds] 2013-04-11T01:09:09 -!- a2cypher [~cypher@mail.krausglobal.com] has quit [Read error: Operation timed out] 2013-04-11T01:14:14 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has quit [Quit: trepidaciousMBR] 2013-04-11T01:17:04 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 256 seconds] 2013-04-11T01:21:42 -!- flop|2 is now known as flop 2013-04-11T01:22:37 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Quit: Ik ga weg] 2013-04-11T01:24:58 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-11T01:26:05 < Posterdati_Fail> gxti: I found the problem 2013-04-11T01:26:46 < gxti> yay 2013-04-11T01:27:57 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-11T01:30:16 < Posterdati_Fail> gxti: TIM_SetCompare() = strh r1, [ r0, #56 ] 2013-04-11T01:30:20 < Posterdati_Fail> bx lr 2013-04-11T01:30:24 < Posterdati_Fail> and stop 2013-04-11T01:33:56 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has joined ##stm32 2013-04-11T01:38:38 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-11T01:41:18 < karlp> but how did you fix it? 2013-04-11T01:46:52 < Laurenceb_> damn 2013-04-11T01:47:01 < Laurenceb_> no ssh at CRF_Peter 2013-04-11T01:47:40 < Posterdati_Fail> karlp: I didn't fix it, I'm trying to find one 2013-04-11T01:47:42 < CRF_Peter> opps 2013-04-11T01:52:43 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has quit [Ping timeout: 260 seconds] 2013-04-11T01:55:51 < karlp> damnit, how did I get gdb to print out SPI_CR2 and stuff again? I thought it ws just adding -ggdb3 to the makeflags 2013-04-11T02:02:31 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-11T02:02:31 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-11T02:02:31 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-11T02:03:46 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has joined ##stm32 2013-04-11T02:03:53 -!- Laurenceb_ [~Laurence@host86-178-238-172.range86-178.btcentralplus.com] has quit [Ping timeout: 245 seconds] 2013-04-11T02:09:36 < karlp> hrmm, PA2 is firing the exti2 interrrupt I only want fired on PB2 2013-04-11T02:09:39 < karlp> doh 2013-04-11T02:21:38 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has quit [Ping timeout: 252 seconds] 2013-04-11T02:33:34 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-11T02:37:48 -!- Tectu_ [tectu@irc.ipv6.kunsmann.eu] has joined ##stm32 2013-04-11T02:38:50 -!- Tectu [tectu@irc.ipv6.kunsmann.eu] has quit [Read error: Operation timed out] 2013-04-11T02:38:50 -!- metaxa [metaxa@us.members.bombshellz.net] has quit [Read error: Operation timed out] 2013-04-11T02:39:35 -!- metaxa [metaxa@us.members.bombshellz.net] has joined ##stm32 2013-04-11T02:39:56 < karlp> ok, syscfg wasn't enabled in rcc. stupid f1 vs l1 exti/gpio blah 2013-04-11T02:40:04 < karlp> still doesn't get the right spi data though. 2013-04-11T02:50:19 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 264 seconds] 2013-04-11T02:58:28 < karlp> think this might have to go to work to look at with the scope 2013-04-11T02:58:30 < karlp> bleh 2013-04-11T03:14:43 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has joined ##stm32 2013-04-11T03:24:17 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-04-11T03:25:58 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-11T03:38:53 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-11T03:52:59 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-11T04:16:23 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-04-11T04:43:46 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-11T04:43:52 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-11T04:44:23 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-11T05:09:23 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 252 seconds] 2013-04-11T05:12:12 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-11T05:20:13 -!- Jenev [~someone@208.84.207.215] has joined ##stm32 2013-04-11T05:20:36 < Jenev> what are JP2 and JP3 on the stm32f4-discovery for? 2013-04-11T05:21:04 < Jenev> I'm looking at the datasheet and from what I'm seeing it just connect ground to ground 2013-04-11T05:21:09 < Jenev> so then why are they even there 2013-04-11T05:27:35 < gxti> i have often wondered that myself. 2013-04-11T05:36:15 < Jenev> I'm going to modify the board to fit it in an enclosure, so I'm desoldering some of the pins and if those pins aren't needed then they could go 2013-04-11T05:42:04 -!- joefishy [~joefishy@cpc23-newt30-2-0-cust149.19-3.cable.virginmedia.com] has quit [Remote host closed the connection] 2013-04-11T05:43:52 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-11T05:53:16 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-11T06:02:31 -!- ShiftPlusOne [~Shift@unaffiliated/shiftplusone] has quit [Ping timeout: 245 seconds] 2013-04-11T06:05:03 < dongs> yeah theyre useless 2013-04-11T06:10:45 -!- ShiftPlusOne [~Shift@unaffiliated/shiftplusone] has joined ##stm32 2013-04-11T06:19:02 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-11T06:19:02 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-11T06:19:02 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-11T06:22:32 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 252 seconds] 2013-04-11T06:24:06 < upgrdman> dongs: you'll probably like this: http://farrellf.com/temp/stlink_chopped_pcb.jpg 2013-04-11T06:24:16 < upgrdman> (it works) 2013-04-11T06:42:34 < GargantuaSauce_> nice 2013-04-11T06:49:50 < inca> upgrdman: mmm... love the smell of burnt freshly cut PCB 2013-04-11T06:51:10 < inca> upgrdman: have you flashed it to BMP yet? 2013-04-11T06:55:29 -!- Jenev [~someone@208.84.207.215] has quit [Quit: Leaving] 2013-04-11T06:58:17 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-11T06:58:27 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-11T07:00:24 < dongs> why? 2013-04-11T07:00:28 < dongs> he wants a working debugger 2013-04-11T07:00:33 < dongs> not a piece of opensores fail 2013-04-11T07:07:44 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Ping timeout: 256 seconds] 2013-04-11T07:13:55 < upgrdman> lol 2013-04-11T07:14:17 < upgrdman> inca: no. not familiar with bmp, why would someone prefer that firmware? 2013-04-11T07:15:08 < inca> dongs: STLink is opensores straight from STM 2013-04-11T07:16:25 < inca> upgrdman: let's just say that it has some advantages over the openocd route by running a gdb server on the F103 chip... that way the debugging/flashing occurs over a plain old usb serial driver 2013-04-11T07:17:23 < upgrdman> hmmm 2013-04-11T07:17:47 < inca> PC <--serial over USB--> STM32F103 GDB server <-- jtag/swd link --> embedded target 2013-04-11T07:18:07 < upgrdman> neat 2013-04-11T07:18:29 < inca> http://embdev.net/articles/STM_Discovery_as_Black_Magic_Probe 2013-04-11T07:18:44 < inca> so it's a bit more like JLink, except open sores 2013-04-11T07:26:35 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-11T07:37:31 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Ping timeout: 245 seconds] 2013-04-11T07:54:57 -!- BJfreeman [~bjfree@59.sub-75-244-154.myvzw.com] has quit [Quit: had a good time] 2013-04-11T07:59:16 -!- talsit [~talsit@061196237171.cidr.odn.ne.jp] has joined ##stm32 2013-04-11T08:20:31 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-11T08:22:39 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-11T08:42:02 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-11T09:14:47 -!- dekar__ [~dekar@212.255.97.232] has joined ##stm32 2013-04-11T09:14:50 -!- mode/##stm32 [+v dekar__] by ChanServ 2013-04-11T09:15:28 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-11T09:17:45 -!- dekar_ [~dekar@212.255.250.158] has quit [Ping timeout: 256 seconds] 2013-04-11T09:25:31 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-04-11T09:28:21 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 245 seconds] 2013-04-11T09:30:56 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 255 seconds] 2013-04-11T09:31:34 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-04-11T09:41:40 -!- pelrun [~James@203-206-187-234.perm.iinet.net.au] has joined ##stm32 2013-04-11T09:47:38 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-04-11T10:15:13 -!- dekar__ [~dekar@212.255.97.232] has quit [Read error: Connection reset by peer] 2013-04-11T10:15:47 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2013-04-11T10:17:21 -!- dekar [~dekar@212.255.97.232] has joined ##stm32 2013-04-11T10:17:24 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-11T10:22:51 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Read error: Connection reset by peer] 2013-04-11T10:23:26 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-11T10:36:07 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-11T10:43:32 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-04-11T10:58:13 -!- baird [~cjb@ppp121-45-182-27.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-11T11:07:15 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-04-11T11:24:01 -!- Mobyfab [~Mobyfab@80.239.168.84] has joined ##stm32 2013-04-11T11:42:15 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-11T11:42:15 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-11T11:42:15 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-11T11:42:16 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-11T11:47:12 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-04-11T11:54:26 < Posterdati_Fail> hi 2013-04-11T12:00:58 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2013-04-11T12:03:42 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 264 seconds] 2013-04-11T12:07:13 <+Steffanx> lo 2013-04-11T12:07:21 < Posterdati_Fail> no way!!!!! 2013-04-11T12:18:59 < Robint91> lol 2013-04-11T12:20:21 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Remote host closed the connection] 2013-04-11T12:20:46 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2013-04-11T12:40:54 -!- Laurenceb_ [~Laurence@host86-178-238-172.range86-178.btcentralplus.com] has joined ##stm32 2013-04-11T13:02:05 -!- talsit [~talsit@061196237171.cidr.odn.ne.jp] has quit [Ping timeout: 245 seconds] 2013-04-11T13:04:44 -!- Laurenceb_ [~Laurence@host86-178-238-172.range86-178.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-11T13:11:36 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 264 seconds] 2013-04-11T13:36:07 < zyp> dongs, lcd survived trip to norway 2013-04-11T13:36:09 < zyp> looks nice 2013-04-11T13:36:22 < dongs> cool 2013-04-11T13:37:57 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-11T13:39:06 -!- pelrun [~James@203-206-187-234.perm.iinet.net.au] has quit [Ping timeout: 264 seconds] 2013-04-11T13:40:26 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-11T13:54:05 <+Steffanx> So zyp took the rest of the week of? :) 2013-04-11T13:54:51 < zyp> not really 2013-04-11T13:55:19 < zyp> I was supposed to attend a meeting today, but it got moved until tomorrow for some reason 2013-04-11T13:55:44 <+Steffanx> yay 2013-04-11T14:02:56 < Thorn> all datasheets for tft panels I've seen requite specific power sequencing on startup and shutdown but tft modules that I've found don't do it at all. wth. 2013-04-11T14:14:23 < dongs> welcome to china 2013-04-11T14:14:29 < dongs> "works? ship it" 2013-04-11T14:16:49 <+Steffanx> How you do it? 2013-04-11T14:16:57 <+Steffanx> "Doesn't work? Ship it" ? :P 2013-04-11T14:18:00 <+Steffanx> Thorn what kind of specific power seq. is required? 2013-04-11T14:18:23 < Thorn> see page 8 http://www.promelec.ru/pdf/MI0700ST-1.pdf 2013-04-11T14:19:03 < Thorn> (I found no mention of this product on multi-inno.com btw. welcome to China indeed) 2013-04-11T14:20:10 <+Steffanx> You measured the 'sequences' of several modules or .. ? 2013-04-11T14:20:24 < Thorn> I found some schematics 2013-04-11T14:21:45 < Thorn> I wonder how one is supposed to implement power off sequencing when supply power is switched off btw 2013-04-11T14:24:05 < Laurenceb> btw - invensense sensors need sequencing 2013-04-11T14:24:17 < Laurenceb> never seen it done... 2013-04-11T14:24:25 < Laurenceb> i do it on my boards 2013-04-11T14:28:28 < karlp> not just china, zhone proudly claims to all be made int he usa, butthey sell routers here in iceland that don't exist on their webpage product list 2013-04-11T14:31:07 <+Steffanx> rebranding ftw 2013-04-11T14:33:27 < karlp> not even rebranded 2013-04-11T14:33:47 < karlp> I understood it with the old ones, that had been rebranded vodafone, 2013-04-11T14:33:52 < karlp> but this one has zhone logos on it. 2013-04-11T14:34:15 < karlp> (old one wasn't zhone at all, was a zyxel) 2013-04-11T14:34:21 < karlp> anyway, marketing sucks. 2013-04-11T14:42:37 < Robint91> does someone know a vertical SD card holder? 2013-04-11T14:43:51 < Robint91> http://arm.mini-box.com/index.php?title=Installing_the_microSD 2013-04-11T14:43:53 < Robint91> this 2013-04-11T14:44:02 < zyp> I know people like ghettoing SD cards between header pins 2013-04-11T14:44:32 < zyp> that's not vertical 2013-04-11T14:44:36 < Laurenceb> we use those on some products 2013-04-11T14:44:39 < Laurenceb> yeah 2013-04-11T14:44:43 < Laurenceb> it folds down 2013-04-11T14:44:51 < Robint91> http://www.genesistechnologyusa.com/products/specifications/Card-Connectors/Micro-SD/MSDV-2008-AKX0T01 2013-04-11T14:44:58 < Laurenceb> useful for permanent sd card installation 2013-04-11T14:45:06 < Laurenceb> we use them for firmware 2013-04-11T14:45:33 < Robint91> Laurenceb, mhh and for semi removable? 2013-04-11T14:45:40 < Laurenceb> yes 2013-04-11T14:50:54 < trepidaciousMBR> I'm sure there must be some easy way of finding out what fPCLK is for SPI1 on the STM32F4, but I can't find it in the datasheet :) 2013-04-11T14:52:32 < zyp> it's the APB clock for whatever APB SPI1 is hooked to 2013-04-11T14:52:58 < zyp> (and that's listed in RM0090) 2013-04-11T14:54:13 -!- MrMobius [~Joey@91.192.66.230] has joined ##stm32 2013-04-11T14:54:14 < trepidaciousMBR> Thanks, APB2 2013-04-11T14:54:27 < trepidaciousMBR> and the datasheet seems to say that is high speed, so up to 84MHz I think 2013-04-11T14:57:14 < zyp> that's also listed in RM0090 2013-04-11T14:58:19 < zyp> and yes, you are correct 2013-04-11T14:58:28 < zyp> APB2 is max 84 MHz 2013-04-11T15:01:43 < Robint91> does someone know when the new docs are release of the STM32F429 ? 2013-04-11T15:06:09 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-11T15:31:41 -!- _BJFreeman [~bjfree@208.sub-75-196-115.myvzw.com] has joined ##stm32 2013-04-11T15:32:59 -!- [1]MrMobius [~Joey@194.176.111.132] has joined ##stm32 2013-04-11T15:33:09 -!- MrMobius [~Joey@91.192.66.230] has quit [Read error: Connection reset by peer] 2013-04-11T15:33:26 -!- Robin_ [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-11T15:36:52 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Ping timeout: 256 seconds] 2013-04-11T15:50:10 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-11T15:52:13 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 240 seconds] 2013-04-11T16:04:05 -!- _BJFreeman is now known as BJfreeman 2013-04-11T16:20:35 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-11T16:24:35 < Thorn> I just had some kind of freak accident. my stm32 device has been running for at least a week non-stop. suddenly 7-segment scanning slowed down and CAN comms stopped, but UART was still running at 115200 baud. power cycling didn't help. another power supply did help. after reconnecting original supply it's still working well 2013-04-11T16:24:49 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Read error: Connection reset by peer] 2013-04-11T16:27:15 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-11T16:33:13 -!- MrMobius [~Joey@91.192.66.230] has joined ##stm32 2013-04-11T16:33:31 -!- [1]MrMobius [~Joey@194.176.111.132] has quit [Read error: Connection reset by peer] 2013-04-11T16:47:51 -!- Tectu_ is now known as Tectu 2013-04-11T16:53:50 < trepidaciousMBR> How did you power cycle? 2013-04-11T16:56:45 < Thorn> I've a jumper after an onboard dc/dc converter. so the dc/dc wasn't powered down but everything else was 2013-04-11T17:09:21 < BJfreeman> sound like a possible spurious rest no properly done 2013-04-11T17:09:31 < BJfreeman> reset 2013-04-11T17:09:58 < Thorn> I should have measured voltages before pulling the plug of course. 2013-04-11T17:12:01 -!- baird [~cjb@ppp121-45-182-27.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-04-11T17:17:03 -!- Netsplit *.net <-> *.split quits: Nutter, jaeckel, R0b0t1, Vutral, ddrown, [7] 2013-04-11T17:19:13 -!- Netsplit over, joins: [7], Vutral, ddrown, R0b0t1, jaeckel, Nutter 2013-04-11T17:24:45 < Robin_> sigh 2013-04-11T17:24:53 -!- Robin_ is now known as Robint91 2013-04-11T17:28:21 -!- a2cypher [~cypher@mail.krausglobal.com] has joined ##stm32 2013-04-11T17:29:51 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 276 seconds] 2013-04-11T17:32:48 -!- MrMobius [~Joey@91.192.66.230] has quit [Read error: Connection reset by peer] 2013-04-11T17:33:23 -!- MrMobius [~Joey@91.192.66.230] has joined ##stm32 2013-04-11T17:35:43 < Laurenceb> http://item.taobao.com/item.htm?id=13127046098 2013-04-11T17:36:45 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-11T17:37:28 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2013-04-11T17:39:07 < Robint91> Steffanx, care to share you python script that downloads every pdf of st? 2013-04-11T17:40:51 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-04-11T17:43:47 <+Steffanx> Not every, just the ones from the different stm32 families 2013-04-11T17:44:04 < Robint91> Steffanx, yeah 2013-04-11T17:44:18 < Robint91> Steffanx, does it download appnotes? 2013-04-11T17:44:22 <+Steffanx> yes 2013-04-11T17:44:33 < Robint91> Steffanx, nice 2013-04-11T17:44:40 < Robint91> Steffanx, gist.github.com ? 2013-04-11T17:44:44 < gxti> omg unauthorized access 2013-04-11T17:44:59 <+Steffanx> I wont share it yet.. it's terribly buggy 2013-04-11T17:45:13 < Robint91> Steffanx, so, I like buggy software 2013-04-11T17:45:17 < gxti> Steffanx: make a torrent of the PDFs? 2013-04-11T17:45:20 <+Steffanx> and its nothing more than reading some json, download html files and pdfs using wget 2013-04-11T17:45:27 <+Steffanx> so python calls wget lol :P 2013-04-11T17:45:36 <+Steffanx> the python http libraries are buggy-ish 2013-04-11T17:45:42 <+Steffanx> or at least, dont work as good as wget 2013-04-11T17:46:18 <+Steffanx> ill try gxti 2013-04-11T17:46:25 <+Steffanx> never made torrent myself 2013-04-11T17:46:36 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-11T17:47:45 < karlp> did you just dick with robots.txt 2013-04-11T17:48:04 <+Steffanx> uh? 2013-04-11T17:49:58 < karlp> oh man, that page is even worse than I thought 2013-04-11T17:50:02 < karlp> yuck. 2013-04-11T17:50:59 <+Steffanx> the robots.txt? 2013-04-11T17:51:14 < karlp> no, the page with the list of pdfs, 2013-04-11T17:51:25 < karlp> the page it serves wget doesn't have the pdfs in it. 2013-04-11T17:51:52 <+Steffanx> there is a list with all pdfs? I did something unnecessary? 2013-04-11T17:52:04 < karlp> no, I thought there was. 2013-04-11T17:52:09 < karlp> you can humanly click on it, 2013-04-11T17:52:25 <+Steffanx> javascript crap? 2013-04-11T17:52:54 <+Steffanx> gxti does that work.. a torrent without trackers? 2013-04-11T17:53:12 < karlp> wayyyy too much js yeah. 2013-04-11T17:53:21 < gxti> Steffanx: yes 2013-04-11T17:55:26 <+Steffanx> gxti, when i add the torrent myself it doesnt seem it can find me, lol 2013-04-11T17:56:24 < karlp> the design resources page for the individual part numbers have cleanly parseable pdf links though 2013-04-11T17:56:49 <+Steffanx> yeah, yes thats what i did 2013-04-11T18:02:42 < BJfreeman> well as a twist Found a STM32F4 in Arduino form factor 2013-04-11T18:06:27 <+Steffanx> Robint91 also accept a http download of the zip? Ill fix the downloader this evening or so :P 2013-04-11T18:07:50 <+Steffanx> currently st likes to timeout and wget fails on retry 2013-04-11T18:09:37 <+Steffanx> Robint91 fell asleep 2013-04-11T18:11:36 <+Steffanx> http://share.naffets.nl/pdf.zip anyway, download that if you want em now. ( i think you get copies of the app notes for free ) 2013-04-11T18:13:47 <+Steffanx> you'll get my fancy .dstore files aswell 2013-04-11T18:14:26 < Robint91> Steffanx, downloading 2013-04-11T18:15:35 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-11T18:16:50 < Robint91> BJfreeman, care to share? 2013-04-11T18:17:26 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-11T18:21:39 <+Steffanx> CRF_Peter and was it your password you posted here yesterday? :) 2013-04-11T18:22:18 < CRF_Peter> yepp :S WAS being the operative word 2013-04-11T18:22:50 <+Steffanx> :D' 2013-04-11T18:23:16 < CRF_Peter> xserver wouldn't start and somehow everything I wrote in the terminal was directly written into xchat, that I've set as autostart 2013-04-11T18:24:45 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-11T18:25:40 <+Steffanx> i guess all i can answer to that is: oops 2013-04-11T18:26:34 < CRF_Peter> In hindsight though I don't think it matters that much, I mean it's not that matters much, to use it to mess with anything I do you'd have to have my computer anyways 2013-04-11T18:28:10 < CRF_Peter> I did catch on when Larurenceb mentioned he didn't find an ssh connection 2013-04-11T18:28:24 < CRF_Peter> didn't notice until then 2013-04-11T18:28:47 <+Steffanx> stop using password for ssh? 2013-04-11T18:28:52 <+Steffanx> *passwords 2013-04-11T18:30:06 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-11T18:30:13 < CRF_Peter> I wouldn't ever use the same password for an ssh as I use for login 2013-04-11T18:31:22 < CRF_Peter> hmm or I would make sure it was stronger than that 2013-04-11T18:33:02 -!- MrMobius [~Joey@91.192.66.230] has quit [Read error: Connection reset by peer] 2013-04-11T18:33:38 -!- MrMobius [~Joey@91.192.66.230] has joined ##stm32 2013-04-11T18:34:34 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Client Quit] 2013-04-11T18:53:27 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Quit: Leaving.] 2013-04-11T19:04:30 -!- ddrown [~abob@vps3.drown.org] has quit [Read error: Operation timed out] 2013-04-11T19:09:18 -!- vpopov [~happylife@dyn-32-176.fttbee.kis.ru] has joined ##stm32 2013-04-11T19:34:23 -!- [1]MrMobius [~Joey@194.176.111.132] has joined ##stm32 2013-04-11T19:37:11 -!- MrMobius [~Joey@91.192.66.230] has quit [Ping timeout: 246 seconds] 2013-04-11T19:40:58 -!- ddrown [abob@vps3.drown.org] has joined ##stm32 2013-04-11T19:47:16 -!- Mobyfab [~Mobyfab@80.239.168.84] has left ##stm32 [] 2013-04-11T19:54:09 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-04-11T19:57:31 -!- [1]MrMobius [~Joey@194.176.111.132] has quit [Read error: Connection reset by peer] 2013-04-11T20:00:01 -!- MrMobius [~Joey@194.176.111.132] has joined ##stm32 2013-04-11T20:05:27 < BJfreeman> Robint91 sorry off on other tracks https://www.olimex.com/Products/ARM/ST/STM32-H407/ 2013-04-11T20:09:38 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Read error: Connection reset by peer] 2013-04-11T20:11:06 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-11T20:11:06 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-11T20:11:06 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-11T20:11:09 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-11T20:19:22 -!- barthess [~barthess@77.67.235.200] has joined ##stm32 2013-04-11T20:34:05 -!- [1]MrMobius [~Joey@91.192.66.230] has joined ##stm32 2013-04-11T20:37:23 -!- MrMobius [~Joey@194.176.111.132] has quit [Ping timeout: 246 seconds] 2013-04-11T20:38:30 -!- Erlkoenig [~erlkoenig@pptp-212-201-70-28.pptp.stw-bonn.de] has joined ##stm32 2013-04-11T20:38:56 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-11T20:42:06 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Quit: trepidaciousMBR] 2013-04-11T20:58:42 < Thorn> why do you need a 0.1uF cap parallel to 50 Ohm resistors on rx/tx lines between magjack and phy? 2013-04-11T21:01:18 < emeb> where do you see that? 2013-04-11T21:02:12 < Thorn> in dp83848c application circuit among other places (and phys) 2013-04-11T21:02:44 < Thorn> (the cap is not parallel to resistors, it's from +3.3 or 2.5V to gnd) 2013-04-11T21:03:39 < zyp> you mean page 33 in the datasheet? 2013-04-11T21:03:44 < emeb> That's a termination voltage 2013-04-11T21:03:50 < zyp> yep 2013-04-11T21:03:58 < BJfreeman> 0.1uf are used as decoupling ot reduce noise 2013-04-11T21:04:12 < zyp> it's hooked to 3.3V, and then the caps are just standard decoupling 2013-04-11T21:04:28 < zyp> like any other decoupling you have on supplies 2013-04-11T21:06:51 < Thorn> hm, the circuit on page 33 actually has 4 resistors in total 2013-04-11T21:06:59 < Thorn> *capacitors 2013-04-11T21:25:32 < Tectu> Not sure if I get this wrong... FSMC... the NEx pins are the chip selects... are they given and there's just one for each of the four banks? 2013-04-11T21:29:48 < inca> Tectu: ping 2013-04-11T21:31:28 < Tectu> inca, pong 2013-04-11T21:32:03 < inca> I am getting back to this project, trying to get openocd and gdbtui to play nice 2013-04-11T21:32:14 < inca> the test case is semihosting with a printf 2013-04-11T21:32:24 < inca> hello world 2013-04-11T21:32:26 < Tectu> semihosting with a printf? 2013-04-11T21:32:41 < Tectu> inca, today, I am really not in the mood. I had a 13 hours workship and I feel like going for a shower and then straight to bed 2013-04-11T21:32:43 < Tectu> :< 2013-04-11T21:33:09 < inca> so when I run printf("hello world!\n"); and it outputs into gdb or a serial tty or whatever 2013-04-11T21:33:17 < inca> I understand 2013-04-11T21:33:29 < inca> and hints or tips would be cool 2013-04-11T21:33:34 < inca> you don't have to debug it for me 2013-04-11T21:33:45 < inca> documentation 2013-04-11T21:34:05 < karlp> let me know if you get semihosting working, I like the sound of it, but I never did. 2013-04-11T21:34:18 -!- MrMobius [~Joey@194.176.111.132] has joined ##stm32 2013-04-11T21:34:21 < Tectu> you can printf() to GDB? 2013-04-11T21:34:24 < inca> karlp: seriously... I thought that was what the pain of openocd was for 2013-04-11T21:34:37 < inca> Tectu: how do you printf? 2013-04-11T21:34:51 < karlp> I just use openocd as a gdb server 2013-04-11T21:34:52 < Tectu> inca, chprintf() 2013-04-11T21:35:03 < karlp> semihosting is a different game altogether 2013-04-11T21:35:07 < Tectu> yes, me too, I examine my serial output through minicom (a terminal) 2013-04-11T21:35:20 < Tectu> I didn't even know that you can actually do this - let me know when it works 2013-04-11T21:35:21 < inca> how does it communicate? 2013-04-11T21:35:31 < inca> usart or over the SWD/JTAG? 2013-04-11T21:35:38 < Tectu> I mostly use USB-CDC, this gives me a /dev/ttyACMx on unix 2013-04-11T21:36:14 < inca> ah, so you have an external USB-CDC in addition to the JTAG/SWD port, right? 2013-04-11T21:36:16 < Tectu> they did try to get this printf() over jtag working in our lab at the fachhochschule for weeks... they ended up building a custom jtag with a build in FTDI bridge for UART 2013-04-11T21:36:24 < Tectu> one USB port - two virtual ports 2013-04-11T21:36:28 < Tectu> yes 2013-04-11T21:36:43 < Tectu> also, I don't printf often, I try to write code that doesn't need to be debugged (har har har) 2013-04-11T21:36:48 < inca> hmm... interesting. my board has host USB but not client 2013-04-11T21:36:51 < inca> har har har 2013-04-11T21:37:02 < Tectu> no OTG? 2013-04-11T21:37:06 < inca> OTG? 2013-04-11T21:37:07 < karlp> inca: yeah, I only use swd for debug, not for any printf 2013-04-11T21:37:07 < Tectu> are you sure it's host only? 2013-04-11T21:37:14 -!- [1]MrMobius [~Joey@91.192.66.230] has quit [Ping timeout: 246 seconds] 2013-04-11T21:37:19 < Tectu> USB-OTG -> USB-OnTheGo, it can do both, client and host 2013-04-11T21:37:37 < Tectu> is OpenOCD even supposed to be able to handle this printf over jtag magic? 2013-04-11T21:37:39 < inca> not that I am aware of, which have to ping the hardware guy 2013-04-11T21:37:47 < inca> probably now 2013-04-11T21:37:48 < inca> not 2013-04-11T21:37:55 < karlp> Tectu: device and host, don't say client! 2013-04-11T21:38:12 < Tectu> karlp, this was bad, sorry! 2013-04-11T21:38:15 < inca> karlp: that was my bad 2013-04-11T21:38:33 < Tectu> I did it as well ;-) 2013-04-11T21:39:01 < inca> okay, that's all I need for now... more tests. go get that hot shower... it'll make you 10x more effective =) 2013-04-11T21:40:36 < Tectu> inca, thanks ;.) 2013-04-11T21:40:49 < Tectu> inca, and in case of you get this work, please let me know - very interesting feature 2013-04-11T21:41:14 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 256 seconds] 2013-04-11T21:41:32 < inca> it works on the commercial apps 2013-04-11T21:41:40 < inca> CrossWorks and KEIL 2013-04-11T21:41:51 < inca> so it is just a matter of configuration 2013-04-11T21:41:56 < Tectu> ah, so at least one feature that actually works ;) 2013-04-11T21:42:03 < inca> right 2013-04-11T21:42:11 < Tectu> sure, just let me know - I'm very interested into this 2013-04-11T21:42:15 < inca> will do 2013-04-11T21:55:15 -!- BrainDamage [~BrainDama@62.10.5.60] has joined ##stm32 2013-04-11T22:06:58 < ntfreak> inca: semihosting is supported in OpenOCD, only ever tested codesourcery implementation 2013-04-11T22:06:58 < ntfreak> we also have a smaller footprint version using libdcc - see contrib/libdcc 2013-04-11T22:06:58 < ntfreak> also about to be merged is the newer gdb io - File-I/O Remote Protocol Extension, not used this one yet 2013-04-11T22:11:50 < inca> ntfreak: checkout the share directory samples in gnu-arm-embedded's distro... they are pretty nice and well documented 2013-04-11T22:12:04 < inca> the README is pretty concise 2013-04-11T22:13:28 < zyp> inca, my trick is just logging into memory instead of printing, and then I can go retrieve the log afterwards if I need to 2013-04-11T22:13:48 < zyp> with the advantage of being lightweight enough to leave it in for normal use 2013-04-11T22:14:01 < zyp> (as long as there is free memory) 2013-04-11T22:16:02 < zyp> I'm using it for logging usb stuff, so it easily generates several thousand log entries per second, and printing would be way too slow 2013-04-11T22:18:45 -!- mtbg_ [~mtbg@89-77-192-170.dynamic.chello.pl] has joined ##stm32 2013-04-11T22:18:49 < mtbg_> hi 2013-04-11T22:19:34 < inca> zyp: that's pretty neat. Could you shoot me a sample file over gist or something? 2013-04-11T22:19:50 < Erlkoenig> zyp: got my message about the AF number lookup? 2013-04-11T22:20:17 < zyp> inca, http://cgit.jvnv.net/laks/tree/util/rblog.h for logging and http://cgit.jvnv.net/laks/tree/gdb_plugins/rblog.py for extraction 2013-04-11T22:20:46 < inca> great! thanks! 2013-04-11T22:22:09 < mtbg_> zyp: still wasn't able to set up that ulpi phy, I noticed that the BSVLD (b session valid) bit isn't set in GOTGCTL, but I don't know if this bit is being set when the usb controller circuitry requests the phy to enable pull ups or if it is phy that notices the controller about the session validity 2013-04-11T22:23:08 < zyp> BSVLD means that vbus is detected at a proper level, and would in turn enable the pullup 2013-04-11T22:23:57 < mtbg_> the phy I'm using doesn't have vbus 2013-04-11T22:24:01 < mtbg_> vbus sensing 2013-04-11T22:24:19 < Tectu> zyp, is this really how you guys do it in norway? http://d24w6bsrhbeh9d.cloudfront.net/photo/7059389_460s.jpg 2013-04-11T22:24:35 < mtbg_> http://www.google.com/url?q=http://www.cypress.com/%3FrID%3D42753&sa=U&ei=6Q1nUe38AciyOZeUgcgN&ved=0CBsQFjAA&usg=AFQjCNHb_K_k7lQpXzQP28rNfZHqhOxnxw 2013-04-11T22:24:37 < Tectu> it looks VERY impressive 2013-04-11T22:24:39 < mtbg_> whoops 2013-04-11T22:24:47 < Tectu> o.O 2013-04-11T22:24:47 < mtbg_> http://www.cypress.com/?id=4&rID=42753 2013-04-11T22:25:20 < mtbg_> that's what cypress says 2013-04-11T22:25:26 < mtbg_> I configured NOVBUSSENS 2013-04-11T22:25:27 < Tectu> mtbg_, is it just me or don't they do answer the question at all? 2013-04-11T22:25:29 < mtbg_> in GCCTL 2013-04-11T22:25:32 < zyp> Tectu, that looks norwegian, yes 2013-04-11T22:25:42 < zyp> I don't recognize where though 2013-04-11T22:25:48 < mtbg_> but it seems to have no effect when using external phyceiver 2013-04-11T22:25:56 < zyp> probably somewhere on the west coast 2013-04-11T22:25:59 < Tectu> zyp, it says "Atlanterhavsveien Atlantic Road, Norway." 2013-04-11T22:26:12 < Tectu> zyp, just wanted to check if faked or not 2013-04-11T22:26:22 < Tectu> because it looks a bit over-rendered 2013-04-11T22:26:29 < zyp> ah, yeah 2013-04-11T22:26:34 < zyp> http://en.wikipedia.org/wiki/Atlantic_Ocean_Road 2013-04-11T22:26:58 < Tectu> wtf 2013-04-11T22:27:04 < Tectu> really not for bicyclists, eh 2013-04-11T22:27:11 < Tectu> http://upload.wikimedia.org/wikipedia/commons/thumb/0/02/Atlanterhavsveien.jpg/800px-Atlanterhavsveien.jpg 2013-04-11T22:27:14 < Tectu> I mean, seriously? :D 2013-04-11T22:28:03 <+Steffanx> You have shitloads of tunnels Tectu .. 2013-04-11T22:28:15 <+Steffanx> And weird roads in the mountains 2013-04-11T22:28:25 < zyp> https://maps.google.com/?ll=63.010665,7.357407&spn=0.096757,0.231915&t=m&z=13 2013-04-11T22:28:41 < Tectu> Steffanx, yes but look at that "bridge"... the slope is really anti-tank 2013-04-11T22:28:55 < Tectu> I must visit that place one day 2013-04-11T22:29:16 < zyp> I think my parents went there last year 2013-04-11T22:29:25 < zyp> I've never been there myself 2013-04-11T22:29:39 < Tectu> zyp, is it just me or is your country some how fragmented? 2013-04-11T22:29:49 < Tectu> it looks really "swiss-cheesy" 2013-04-11T22:29:52 < Tectu> if you know what I mean 2013-04-11T22:30:00 < zyp> it's full of fjords 2013-04-11T22:30:11 < Tectu> you should really defragment this thing 2013-04-11T22:30:38 < Tectu> I mean, is the land there useful usable? 2013-04-11T22:30:54 < Tectu> or is it just some square meters every fifty meters? :D 2013-04-11T22:31:07 < zyp> well, it's pretty rural 2013-04-11T22:31:09 < zyp> :p 2013-04-11T22:31:48 < Tectu> this is how we do crap: http://puglia2010.files.wordpress.com/2010/03/p92b_saint_gothard_pass_switzerland.jpg 2013-04-11T22:31:49 < mtbg_> is the reference manual the only document where ST describes otg peripheral? 2013-04-11T22:31:59 < Tectu> http://2.bp.blogspot.com/-i1cvFOdE6Q0/TfENV3jlM_I/AAAAAAAAAHs/uCt9t16JCgc/s1600/Grimsel+Pass%252C+Switzerland.jpg 2013-04-11T22:32:02 < mtbg_> I couldn't find any application note on this 2013-04-11T22:32:21 < Tectu> and yes, they do A LOT of (illegal) test driving on those roads :P 2013-04-11T22:32:45 < zyp> :) 2013-04-11T22:33:04 -!- Erlkoenig [~erlkoenig@pptp-212-201-70-28.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-11T22:33:46 < zyp> https://maps.google.com/?ll=35.209818,139.059148&spn=0.010887,0.014495&t=m&z=17 <- I drove here last week 2013-04-11T22:34:29 -!- [1]MrMobius [~Joey@194.176.111.132] has joined ##stm32 2013-04-11T22:34:34 < Tectu> japan? visited dongs closed sores house? 2013-04-11T22:34:58 < zyp> https://maps.google.com/?ll=62.461567,7.681589&spn=0.049445,0.115957&t=m&z=14 <- and of course we also have roads like that in norway 2013-04-11T22:35:33 < Tectu> just a few days ago, I did check out where exactly hawaii is located on this planet 2013-04-11T22:35:39 < Tectu> shit man, did you ever see where hawaii is? 2013-04-11T22:35:47 < Tectu> it's literally _in the middle of the nowhere_ 2013-04-11T22:37:08 <+Steffanx> people also say i live in the middle of nowhere 2013-04-11T22:37:10 <+Steffanx> :P 2013-04-11T22:37:26 -!- MrMobius [~Joey@194.176.111.132] has quit [Ping timeout: 246 seconds] 2013-04-11T22:38:25 < zyp> Tectu, nah, I didn't go far from Tokyo this time 2013-04-11T22:38:42 < Tectu> oh right... weren't you in japan just a few months (maybe half year) ago? 2013-04-11T22:38:45 < zyp> and dongs lives about as far from Tokyo as you get 2013-04-11T22:38:49 < zyp> last summer 2013-04-11T22:39:12 < zyp> time flies :p 2013-04-11T22:39:33 < Tectu> heh 2013-04-11T22:39:40 <+Steffanx> Time to move permentantly to japan? 2013-04-11T22:39:51 <+Steffanx> *permanently 2013-04-11T22:40:06 < Tectu> not sure - I'd first have to check out if all japan people are closed sorsers 2013-04-11T22:42:18 < Thorn> http://www.youtube.com/watch?v=vapnNcFFMjU 2013-04-11T22:42:41 < zyp> nah, I like my current job 2013-04-11T22:42:55 < Tectu> from my understanding, your current job is "being awesome" 2013-04-11T22:43:22 < zyp> is it? maybe that's why I like it 2013-04-11T22:43:36 < Tectu> you should share 2013-04-11T22:44:09 < mtbg_> I assume hooking up a logic analyzer to the ulpi bus will not help debugging the issue as it is the microcontroller which doesn't detect vbus 2013-04-11T22:44:21 < mtbg_> not the phy 2013-04-11T22:44:31 < zyp> mtbg_, do you have the NOVBUSSENS bit set? 2013-04-11T22:44:35 < mtbg_> yes 2013-04-11T22:44:47 < zyp> then you should also have BSVLD 2013-04-11T22:45:01 < mtbg_> but the st usb library seems to ignore novbussens when using external phy 2013-04-11T22:45:15 -!- Laurenceb_ [~Laurence@host86-178-238-172.range86-178.btcentralplus.com] has joined ##stm32 2013-04-11T22:45:27 < zyp> st usb library has nothing to do with it, it's all in hardware 2013-04-11T22:45:28 < mtbg_> i.e. they don't set it regardless on preprocessor switches 2013-04-11T22:45:33 < mtbg_> I know 2013-04-11T22:45:35 < zyp> oh 2013-04-11T22:45:45 < zyp> did you try force setting it anyway? 2013-04-11T22:45:46 < karlp> jpa-: have you done any SPI on the L1? 2013-04-11T22:45:50 < mtbg_> yes 2013-04-11T22:46:05 < Laurenceb_> you can have Godwin without WIN 2013-04-11T22:46:10 < zyp> hmm 2013-04-11T22:46:13 < Laurenceb_> *can't 2013-04-11T22:46:14 < karlp> my L1 spi seems to glitch on miso, instead of getting full bits. 2013-04-11T22:46:38 < karlp> I suspect I've got something wrong with the gpio setup, but I've got the same code as a bunch of f4 spi code, with the same gpio/spi periph 2013-04-11T22:46:58 < zyp> mtbg_, I don't have a phy without vbus sensing, so I don't think I can reproduce your problem here 2013-04-11T22:50:48 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-11T22:54:45 < mtbg_> CIDSTS is 1 = 'Controller in B-device mode' 2013-04-11T22:57:09 < Tectu> What's B-device? 2013-04-11T22:57:44 < zyp> B and device means the same 2013-04-11T22:57:50 < zyp> A is host and B is device 2013-04-11T22:58:49 < zyp> or maybe you also could have an A-device mode with HNP 2013-04-11T22:58:51 < Tectu> yeah, never heard B-Device 2013-04-11T22:58:55 < Tectu> HNP? 2013-04-11T22:59:00 < zyp> I don't remember the specifics of HNP, never used it 2013-04-11T22:59:07 < zyp> «Host Negotiation Protocol» 2013-04-11T22:59:20 < zyp> a part of the OTG stuff 2013-04-11T22:59:21 < gxti> OTG calls them A-device and B-device 2013-04-11T22:59:21 * Tectu googles for a translation of 'Negotiation' 2013-04-11T22:59:37 < Tectu> okay, I?m leaving now 2013-04-11T22:59:38 < Tectu> have a nice night 2013-04-11T22:59:39 < zyp> essentially it allows the host and device to swap roles 2013-04-11T22:59:48 < gxti> 'device' is not the same thing as 'peripheral', the latter of which is the technical term for the non-host thing 2013-04-11T23:00:10 < gxti> but ain't nobody got time to type that out 2013-04-11T23:00:14 < zyp> :p 2013-04-11T23:00:18 < Tectu> It's amazing how much stuff I learn here just by reading people asking questions and then ask what a certain short form means :P 2013-04-11T23:14:04 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has joined ##stm32 2013-04-11T23:23:02 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 248 seconds] 2013-04-11T23:32:42 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-11T23:34:42 -!- MrMobius [~Joey@194.176.111.132] has joined ##stm32 2013-04-11T23:37:24 -!- barthess [~barthess@77.67.235.200] has quit [Quit: Leaving.] 2013-04-11T23:37:38 -!- [1]MrMobius [~Joey@194.176.111.132] has quit [Ping timeout: 246 seconds] 2013-04-11T23:42:36 -!- ShiftPlusOne [~Shift@unaffiliated/shiftplusone] has quit [Read error: Connection reset by peer] 2013-04-11T23:42:55 -!- ShiftPlusOne [~Shift@unaffiliated/shiftplusone] has joined ##stm32 2013-04-11T23:52:03 < inca> ntfreak: could you direct me to some documentation regarding the openocd semihosting requirements? 2013-04-11T23:53:31 < inca> also, why doesn't the command `cortex_m3 maskisr` seem to work anymore? http://openocd.sourceforge.net/doc/html/Architecture-and-Core-Commands.html 2013-04-11T23:54:09 < inca> actually, the entire cortex_m3 target is unrecognized... hmm 2013-04-11T23:57:12 < inca> huh... the stm32f1.cpu does not appear to be considered a cortex_m3 target... --- Day changed Fri Apr 12 2013 2013-04-12T00:16:48 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-12T00:18:27 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-12T00:19:35 -!- vpopov [~happylife@dyn-32-176.fttbee.kis.ru] has quit [Ping timeout: 245 seconds] 2013-04-12T00:21:02 -!- MrMobius [~Joey@194.176.111.132] has quit [Ping timeout: 246 seconds] 2013-04-12T00:29:22 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-12T00:35:16 < inca> the openocd config files are a nightmare 2013-04-12T00:36:30 < inca> well.. I guess the time has come to convert the F4 disco board to BMP 2013-04-12T00:43:59 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-12T00:48:18 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-12T00:53:11 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-12T00:54:51 < inca> I love it 2013-04-12T00:54:53 < inca> DEPRECATED! use 'stm32f1x mass_erase 0' not 'stm32x mass_erase 0' 2013-04-12T00:55:11 < inca> I follow the directions 2013-04-12T00:55:25 < inca> > stm32f1 mass erase 0 ---> invalid command name "stm32f1" 2013-04-12T01:07:58 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-12T01:10:03 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Read error: Connection reset by peer] 2013-04-12T01:12:19 < BJfreeman> inca stm32f1_mass_erase(0) possibly? 2013-04-12T01:12:42 < inca> invalid command name "stm32f1_mass_erase(0)" 2013-04-12T01:13:15 < inca> I fixed a path error and the deprecated stm32x now calls the new function, but fails miserably: Runtime Error: embedded:startup.tcl:348: stm32f1x mass erase 0: command requires more arguments 2013-04-12T01:15:49 < BJfreeman> static bool stm32f1_cmd_erase_mass(target *t); 2013-04-12T01:16:07 < zyp> heh, libusb guys fixed a different problem than the one I reported and then closed my ticket as fixed 2013-04-12T01:16:22 <+Steffanx> lol 2013-04-12T01:16:47 < zyp> because they found a related problem when reviewing my patch and therefore forgot about the original problem 2013-04-12T01:17:00 < inca> BJfreeman: I am trying to get my openocd configuration unb0rked 2013-04-12T01:17:17 < inca> I don't think it's going to happen 2013-04-12T01:17:35 * inca sighs 2013-04-12T01:18:51 < BJfreeman> inca sounds like one of those #ifdef type of projects 2013-04-12T01:19:49 < inca> BJfreeman: you got that right. 2013-04-12T01:20:25 < inca> what a fracking mess 2013-04-12T01:20:31 < inca> divide and conquer 2013-04-12T01:21:01 < inca> too much going on in one app 2013-04-12T01:21:26 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 248 seconds] 2013-04-12T01:21:34 < inca> as a newb I can see the need for at least 2 or 3 separate tools to do what one is trying to accomplish 2013-04-12T01:22:00 < zyp> how so? 2013-04-12T01:22:08 < BJfreeman> one of the reasons I modularize based on black box definitions. once that module is tested I can depend on it 2013-04-12T01:22:24 < inca> generic link driver, flash memory tool, debugger (gdb server) 2013-04-12T01:22:54 -!- a2cypher [~cypher@mail.krausglobal.com] has quit [Ping timeout: 264 seconds] 2013-04-12T01:22:58 < inca> possibly even deployed bootloaders so that the debugger/flash tools will actually work 2013-04-12T01:23:47 < inca> BJfreeman: we are getting there 2013-04-12T01:23:49 < inca> slowly 2013-04-12T01:23:50 < zyp> with which interface between them? 2013-04-12T01:24:06 < inca> tcsh, bash, tcl/tk 2013-04-12T01:24:10 < inca> I don't really care 2013-04-12T01:24:14 < inca> that part has been solved 2013-04-12T01:24:48 < inca> once you have access to the data it's a socket or pipe away from system integration 2013-04-12T01:25:00 < inca> who knows... even gui configurators!!! 2013-04-12T01:41:51 -!- Laurenceb_ [~Laurence@host86-178-238-172.range86-178.btcentralplus.com] has quit [Ping timeout: 258 seconds] 2013-04-12T01:48:38 -!- Gargantuasauce [~Gargantua@blk-222-159-71.eastlink.ca] has joined ##stm32 2013-04-12T02:00:36 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-12T02:04:54 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Client Quit] 2013-04-12T02:10:32 -!- incb [~incb@cpe-173-88-167-240.neo.res.rr.com] has joined ##stm32 2013-04-12T02:10:39 -!- incb [~incb@cpe-173-88-167-240.neo.res.rr.com] has quit [Client Quit] 2013-04-12T02:10:57 -!- incb [~incb@cpe-173-88-167-240.neo.res.rr.com] has joined ##stm32 2013-04-12T02:13:04 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-12T02:13:04 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-12T02:13:04 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-12T02:14:27 -!- incc [~incc_@cpe-173-88-167-240.neo.res.rr.com] has joined ##stm32 2013-04-12T02:18:49 -!- incc [~incc_@cpe-173-88-167-240.neo.res.rr.com] has quit [Remote host closed the connection] 2013-04-12T02:23:42 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-12T02:33:54 -!- incb [~incb@cpe-173-88-167-240.neo.res.rr.com] has quit [Ping timeout: 276 seconds] 2013-04-12T03:06:30 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-12T03:37:23 -!- BrainDamage [~BrainDama@62.10.5.60] has quit [Ping timeout: 246 seconds] 2013-04-12T03:55:31 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-04-12T04:00:41 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-12T04:00:59 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Client Quit] 2013-04-12T04:03:47 -!- baird [~cjb@ppp121-45-182-27.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-12T04:40:21 -!- BJfreeman [~bjfree@208.sub-75-196-115.myvzw.com] has quit [Quit: had a good time] 2013-04-12T05:20:18 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-12T05:45:15 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 260 seconds] 2013-04-12T05:48:52 -!- Gargantuasauce [~Gargantua@blk-222-159-71.eastlink.ca] has quit [Ping timeout: 256 seconds] 2013-04-12T05:54:00 < upgrdman> the f0 spi has dual 32bit fifos. if i want to sent four bytes at a time, then read the four received bytes at the end, i cant use RXNE since it would be "NE" after the first byte. would the BSY flag be used in this case? or will it clear after sending the last byte, potentially for the last received byte is placed in the fifo? 2013-04-12T05:54:29 < upgrdman> *potentially before 2013-04-12T05:56:38 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-12T06:06:11 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-12T06:29:00 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 264 seconds] 2013-04-12T06:42:28 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 2013-04-12T06:42:49 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-12T06:53:24 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 2013-04-12T06:53:47 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-12T06:58:07 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Read error: Operation timed out] 2013-04-12T07:00:39 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-12T07:08:30 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Ping timeout: 264 seconds] 2013-04-12T07:14:11 -!- izzy84075 [~quassel@50.35.196.221] has quit [Ping timeout: 245 seconds] 2013-04-12T07:27:25 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-12T07:35:58 < flop> anyone program their stm32 in assembly? 2013-04-12T07:38:25 -!- R2COM1 [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-12T07:38:42 -!- jef79m [~jef79m@124-169-145-70.dyn.iinet.net.au] has quit [Excess Flood] 2013-04-12T07:39:06 -!- jef79m [~jef79m@124-169-145-70.dyn.iinet.net.au] has joined ##stm32 2013-04-12T07:41:35 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 255 seconds] 2013-04-12T07:47:53 -!- R2COM1 is now known as R2COM 2013-04-12T07:52:22 < baird> One such project.. (not mine) https://github.com/BigEd/a6502 2013-04-12T07:56:50 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-12T08:07:44 < inca> I am seeing a theme here 2013-04-12T08:08:04 < inca> ST goes to implement a protocol 2013-04-12T08:08:25 < inca> never fails to "enhance" the standard 2013-04-12T08:09:07 < inca> and thus totally breaks all compatibility with said standard 2013-04-12T08:10:13 -!- izzy84075 [~quassel@50.35.192.18] has joined ##stm32 2013-04-12T08:10:34 < gnomad> enhanced is always a euphemism when it comes to standards 2013-04-12T08:23:28 < dongs> http://shopping.naver.com/detail/detail.nhn?nv_mid=6551596218&cat_id=40009949&frm=NVSCPRO&query=usb+%EC%82%AC%EC%9A%B4%EB%93%9C%EC%B9%B4%EB%93%9C lol 2013-04-12T08:24:22 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 248 seconds] 2013-04-12T08:29:53 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-12T08:37:00 < emeb_mac> attn dongs: http://www.youtube.com/watch?feature=player_embedded&v=jgLzrTPkdgI 2013-04-12T08:41:52 < dongs> is that dongs 2013-04-12T08:42:34 < emeb_mac> seems so 2013-04-12T08:43:17 < GargantuaSauce_> i like the super long one at the end 2013-04-12T08:43:20 < GargantuaSauce_> that makes it 2013-04-12T08:43:35 < dongs> retweeted everwehre 2013-04-12T08:43:39 < emeb_mac> pretty much. 2013-04-12T08:44:41 < emeb_mac> dongs: I've got a client who wants to buy ~200x of STM32F303RCT6. You think your china supplier would have a good price on those? 2013-04-12T08:44:53 < dongs> lets see 2013-04-12T08:44:56 < emeb_mac> (compared to DK / Mouser) 2013-04-12T08:45:24 < dongs> lemme dong them up 2013-04-12T08:45:31 < dongs> i would imagine they should be cheap 2013-04-12T08:46:05 < dongs> 160/tray 2013-04-12T08:46:12 < emeb_mac> DK wants $6.11 in 100qty 2013-04-12T08:47:42 < dongs> i cant see them being much more than 303CC 2013-04-12T08:48:07 < emeb_mac> I thought you might have a good alternative. 2013-04-12T08:48:16 < dongs> they're checking. 2013-04-12T08:48:30 < emeb_mac> ty 2013-04-12T09:12:16 < jpa-> karlp: (re: L1 SPI) hmm.. no, i think only I2C and even that using chibios 2013-04-12T09:13:12 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-04-12T09:13:22 -!- dekar_ [~dekar@212.255.39.75] has joined ##stm32 2013-04-12T09:13:25 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-04-12T09:14:45 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has left ##stm32 [] 2013-04-12T09:16:31 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-12T09:17:05 -!- dekar [~dekar@212.255.97.232] has quit [Ping timeout: 245 seconds] 2013-04-12T09:18:23 < inca> if I write my program to 0x08008000 for the F4 Discovery, shouldn't it still be there and run when I hit reset? 2013-04-12T09:23:36 < dongs> wat 2013-04-12T09:24:32 -!- DLPeterson [~hazelnuss@169.237.187.8] has joined ##stm32 2013-04-12T09:25:21 < emeb_mac> should still be there, but why would it run when you've put it so far from the start? 2013-04-12T09:30:03 < mtbg_> vector table must be in the right place 2013-04-12T09:30:17 < dongs> just fill it with nops 2013-04-12T09:30:20 < dongs> like a baus 2013-04-12T09:33:52 < dongs> emeb_mac: too new, tray price is just slightly below dkey 250 price 2013-04-12T09:34:41 < inca> emeb_mac: It vanishes like ether 2013-04-12T09:34:48 * inca shakes his head 2013-04-12T09:35:19 < inca> how many ways can I break the STM before it gives up the black smoke 2013-04-12T09:36:14 < inca> teachers always said I was creative... if only they knew what it was being applied to right now 2013-04-12T09:36:18 < emeb_mac> dongs: thanks for checking 2013-04-12T09:36:24 < inca> break/sleep time. ciao 2013-04-12T09:53:33 < R2COM> buying some Bourns resistor 2013-04-12T09:53:36 < R2COM> says Rotational Life .......................200 cycles 2013-04-12T09:53:40 < R2COM> its potentiometer 2013-04-12T09:53:49 < R2COM> strange only 200 cycles really not a lot! 2013-04-12T09:54:59 < R2COM> its a 25 turn pot though.. 2013-04-12T09:55:58 < zyp> so 200 cycles would be 10000 turns? 2013-04-12T09:56:32 < R2COM> if they count cycle as 1 out of 25 turns... will see. 2013-04-12T09:57:28 < zyp> I would assume that a cycle means turning it all the way and back again 2013-04-12T09:58:10 < mtbg_> hmm, odd 2013-04-12T09:58:34 < dongs> mtbd: mean time between dongs 2013-04-12T09:58:53 < mtbg_> the otg hs peripheral never clears CSRST bit 2013-04-12T09:59:31 < R2COM> not like I'm going to rotate it back and forth all day, but for couple weeks will be rotating it alot around some specific areas 2013-04-12T09:59:39 < R2COM> should be enough for this test anyhow... 2013-04-12T09:59:44 < mtbg_> I think it might have something to do with phy clock 2013-04-12T10:00:48 < R2COM> and 200 cycles is 5000 turns only :) 2013-04-12T10:03:52 < R2COM> hmmm 2013-04-12T10:03:58 < R2COM> its not late to change decision 2013-04-12T10:04:15 < R2COM> its bigger version with knob has Rotational Life (No Load) ................................... 100,000 cycles 2013-04-12T10:04:28 < R2COM> its just big, but I'm totally fine with it 2013-04-12T10:05:41 < R2COM> and costs 5$ instead of 2.6$ which is fine too actually 2013-04-12T10:06:23 -!- dekar_ [~dekar@212.255.39.75] has quit [Quit: This computer has gone to sleep] 2013-04-12T10:08:28 < R2COM> oh but those ones are single turn... 2013-04-12T10:08:39 < R2COM> screw it, will order plenty of these precise ones 2013-04-12T10:14:51 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-12T10:26:02 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-12T10:26:06 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 252 seconds] 2013-04-12T10:29:50 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-12T10:31:20 -!- alexn_ [~alexn@93.104.205.194] has joined ##stm32 2013-04-12T10:33:56 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-04-12T10:34:14 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Ping timeout: 246 seconds] 2013-04-12T10:35:41 < mtbg_> well 2013-04-12T10:37:18 < mtbg_> it seems that the cypress phyceiver does not comply with the ulpi standard 2013-04-12T10:40:14 < zyp> nah, I bet the fault lies at you and not cypress 2013-04-12T10:42:15 -!- claude is now known as Claude 2013-04-12T10:43:16 < mtbg_> I wish so 2013-04-12T10:46:09 -!- dekar [~dekar@dslb-088-068-019-116.pools.arcor-ip.net] has joined ##stm32 2013-04-12T10:46:12 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-12T11:11:37 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [] 2013-04-12T11:14:04 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has quit [Quit: trepidaciousMBR] 2013-04-12T11:22:18 -!- dekar_ [~dekar@dslb-088-068-019-116.pools.arcor-ip.net] has joined ##stm32 2013-04-12T11:22:21 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-04-12T11:24:13 -!- dekar [~dekar@dslb-088-068-019-116.pools.arcor-ip.net] has quit [Ping timeout: 240 seconds] 2013-04-12T11:29:58 < ntfreak> inca: http://openocd.sourceforge.net/doc/html/Architecture-and-Core-Commands.html use arm semihosting enable 2013-04-12T11:29:58 < ntfreak> if you use a stlink then OpenOCD does not use the cortex_m3 target - it is due to the high level on the stlink. stlink has its own target hla_target 2013-04-12T11:29:58 < ntfreak> try using 'stm32f1x mass_erase 0' not 'stm32f1 mass_erase 0' 2013-04-12T11:32:10 < mtbg_> zyp: I guess 96MHz ahb clock is not too high for usb otg hs? 2013-04-12T11:51:15 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-04-12T12:03:36 < zyp> 96? 2013-04-12T12:03:49 < zyp> are you running weird pll settings? 2013-04-12T12:05:15 < Tectu> does anyone in here have experiences with ARM microcontrollers by Atmel? (SAM7 and SAM9) 2013-04-12T12:05:24 < mtbg_> zyp: why weird? 2013-04-12T12:05:45 < zyp> mtbg_, how did you get it to be 96? 2013-04-12T12:05:50 < mtbg_> 384MHz on vco, /4 = 96MHz on pll output 2013-04-12T12:06:03 < zyp> why? 2013-04-12T12:06:07 < mtbg_> pll feed from 8MHz crystal with /4 divisor 2013-04-12T12:06:39 < zyp> I mean, why aren't you running sysclock at 168 MHz? 2013-04-12T12:06:54 < mtbg_> to save energy and thus the planet 2013-04-12T12:07:06 < mtbg_> :> 2013-04-12T12:07:09 < mtbg_> I mean 2013-04-12T12:07:14 < zyp> well, then, why aren't you running sysclock at 84 MHz? 2013-04-12T12:07:16 < mtbg_> I do not need 168MHz now 2013-04-12T12:07:45 < mtbg_> it was configured to generate 48MHz for otg fs 2013-04-12T12:07:58 < mtbg_> and I changed it to 2x more 2013-04-12T12:08:02 < zyp> uh 2013-04-12T12:08:17 < zyp> usb is served by it's own pll, independent of sysclock 2013-04-12T12:08:47 < zyp> and that pll should still be doing 48 MHz 2013-04-12T12:09:23 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-12T12:09:31 < Robint91> hi all 2013-04-12T12:09:46 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Excess Flood] 2013-04-12T12:11:10 < mtbg_> zyp: http://obrazki.elektroda.pl/3822111500_1365757817.png 2013-04-12T12:11:31 < mtbg_> http://obrazki.elektroda.pl/2526499800_1365757838.png 2013-04-12T12:11:41 < mtbg_> it is served by main pll but with a separate divisor 2013-04-12T12:14:43 < mtbg_> vco freq needed to be divisible by 48MHz, and I set it to 384MHz 2013-04-12T12:14:47 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-12T12:16:39 < Claude> Tectu, yes from the ancient at91m42800 to G20 and so 2013-04-12T12:17:17 < Tectu> Claude, well, I have only experiences with the AVRs from Atmel (8-bit only) and STM32, all the other MCUs I've played with were just for some short time period 2013-04-12T12:17:23 < Tectu> are the SAM7 / SAM9 good? 2013-04-12T12:17:33 < Tectu> I'm interested in something "new" 2013-04-12T12:17:38 < Tectu> how are they compared to an STM32? 2013-04-12T12:18:29 < Claude> hmmm if you want something which can run linux i would prefer freescale now 2013-04-12T12:18:55 < mtbg_> true 2013-04-12T12:19:21 < mtbg_> cheap, readily available and pretty well documented 2013-04-12T12:19:57 < Tectu> atmel not good documented? all the ATmegas were quite nice 2013-04-12T12:20:36 < Claude> the atmel arm7 (SAM7) are okay , but compared to stm32 they are hmmm suboptimal :) 2013-04-12T12:21:13 -!- mtbg_ is now known as mtbg 2013-04-12T12:21:38 < Claude> btw if you are used to cortex m , you will hate the arm7 ... the irq stuff is a nightmare 2013-04-12T12:21:43 -!- dekar__ [~dekar@95.143.165.210] has joined ##stm32 2013-04-12T12:21:46 -!- mode/##stm32 [+v dekar__] by ChanServ 2013-04-12T12:22:30 < Tectu> I see 2013-04-12T12:22:36 < Tectu> but they have DDR controllers, right? 2013-04-12T12:22:56 < Claude> 2 irq lines and some kind of mux in front of it . the bad thing is the mux isn't from arm itself so every manufacture does his own irq controller... some are good and some are really crap 2013-04-12T12:23:41 < Tectu> sometimes I'm asking myself how people doing this job can screw things up so hard 2013-04-12T12:24:05 < Claude> only did sdr on sam9 so far 2013-04-12T12:24:11 -!- dekar_ [~dekar@dslb-088-068-019-116.pools.arcor-ip.net] has quit [Ping timeout: 245 seconds] 2013-04-12T12:24:19 < Claude> sdram 2013-04-12T12:25:17 < Claude> even did a complete at91rm9200 + 64mb sdram board once by my own , but tbh today i would use freescale 2013-04-12T12:25:39 < Claude> imx28 for example , if you want to go the arm9 route 2013-04-12T12:26:28 < Claude> or imx23 , quite similar to the imx23 but in tqfp package if you want tqfp packages 2013-04-12T12:26:56 < Claude> similar to the imx28 .. not imx23 2013-04-12T12:28:26 < Claude> how about allwinner a13 ? :) 2013-04-12T12:29:09 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-12T12:29:12 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-12T12:29:12 < Claude> since a couple of days the complete datasheet and user manual is avaiable 2013-04-12T12:30:32 < Claude> http://dl.linux-sunxi.org/A13/ 2013-04-12T12:30:36 < mtbg> or imx6s/dl/d/q? 2013-04-12T12:30:54 < mtbg> if you want ddr3 2013-04-12T12:31:11 < Tectu> I don't really know any arm but the cortex-M series... and that I would like to change 2013-04-12T12:31:27 < Claude> hmm yeah , and imx6 is easier to obtain :) 2013-04-12T12:31:30 < Tectu> I'm just not sure if you can still use them like a microcontroller, or if they only work with very expensive designs and linux etc 2013-04-12T12:32:27 < Claude> oh then take a look at TI Omap /Sitara ... there are "bare metal" examples for them .. e.g. beagle bone 2013-04-12T12:33:03 < Tectu> hmm, I have a beagle board xM at home 2013-04-12T12:33:08 < Tectu> also Omap, afaik? 2013-04-12T12:35:45 < Posterdati_Fail> hi 2013-04-12T12:36:00 < Tectu> Claude, are they usable stand alone? I jus ran some linux on it 2013-04-12T12:36:18 < Tectu> Posterdati_Fail, remove that _Fail 2013-04-12T12:36:26 < Posterdati_Fail> why? 2013-04-12T12:37:14 -!- Posterdati_Fail is now known as Posterdati 2013-04-12T12:37:20 < Posterdati> hi 2013-04-12T12:39:33 < Tectu> hi 2013-04-12T12:39:34 < Tectu> how are you? 2013-04-12T12:39:54 < Claude> Tectu, http://wiki.osdev.org/ARM_Beagleboard 2013-04-12T12:42:37 < Claude> Tectu, https://code.google.com/p/puppybits/source/browse/ 2013-04-12T12:44:11 < Posterdati> Tectu: fine and you? 2013-04-12T12:44:46 < Posterdati> Tectu: I've got a problem with PWM... I use TIM_SetCompare1, shall I use TIM_ClearFlag too? 2013-04-12T12:49:26 < Tectu> Posterdati, sorry, I only give ChibiOS/RT support when it comes to PWM 2013-04-12T12:49:36 < Tectu> Claude, nice! 2013-04-12T12:51:25 -!- DLPeterson [~hazelnuss@169.237.187.8] has quit [Read error: Operation timed out] 2013-04-12T12:54:56 < Posterdati> Tectu: grrrr 2013-04-12T12:55:14 < Tectu> no reason to become offended 2013-04-12T12:55:29 < Posterdati> in fact 2013-04-12T12:57:34 < Tectu> inca, how's it printfing? 2013-04-12T13:00:30 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has joined ##stm32 2013-04-12T13:10:51 < Robint91> Claude, pity that the imx233 doesn't have a ethernetmac 2013-04-12T13:11:02 < Posterdati> hi again 2013-04-12T13:11:05 < Claude> Robint91, true 2013-04-12T13:11:26 < Robint91> Claude, I don't like the use of silly USB ethernet macs 2013-04-12T13:11:41 < Robint91> or you need to put a external mac to the address bus of it 2013-04-12T13:11:50 < Robint91> but I don't know if that is even possible 2013-04-12T13:11:52 < Claude> imx28 is imx23 - some multimedia stuff + eth mac 2013-04-12T13:12:19 < Robint91> Claude, still BGA, seen that new SAMA5 from atmel 2013-04-12T13:12:29 < Robint91> Claude, that own looks very nice 2013-04-12T13:12:36 < Robint91> and has a very good price point 2013-04-12T13:12:39 < Claude> yeah for example dm9000 , but the address/data bus on the imx233 is ddr only :( no static sram/nor mode 2013-04-12T13:13:45 < Tectu> Claude, the reasons why I asked: https://www.olimex.com/Products/ARM/Atmel/SAM9-L9261/ 2013-04-12T13:13:52 < Tectu> looks like a nasty board 2013-04-12T13:13:59 <+Steffanx> Robint91, that one is also bga.. lol 2013-04-12T13:14:17 < Robint91> Steffanx, cortex a5 > arm9 2013-04-12T13:14:27 <+Steffanx> perhaps, but still bga 2013-04-12T13:14:27 < Robint91> Steffanx, if you go bga you do it good 2013-04-12T13:14:32 < Robint91> Steffanx, yeah 2013-04-12T13:14:41 <+Steffanx> 0.8mm pitch :( 2013-04-12T13:15:06 < Robint91> Steffanx, 15€ for the SAMA5D34 (gig Ethernet) 2013-04-12T13:15:15 < zyp> probably not much harder than 1mm, provided that your board specs allow for it 2013-04-12T13:15:16 <+Steffanx> 15 what? 2013-04-12T13:15:20 < Robint91> EURO 2013-04-12T13:15:24 < Claude> Tectu, if you don't need eth and external address bus : https://www.olimex.com/Products/OLinuXino/iMX233/iMX233-OLinuXino-MICRO/ 2013-04-12T13:15:25 < zyp> 15 inverted @ 2013-04-12T13:15:31 <+Steffanx> Yes, but that's what matters for hobby bobbying zyp 2013-04-12T13:15:31 < Robint91> in 1 qty 2013-04-12T13:16:50 < Tectu> Claude, I did look at these OlinuxXionoijoiuiahr things a lot, not sure if I want those. They look like some bigger arduinos 2013-04-12T13:16:57 < Robint91> Steffanx, DDR2 sdram is 0.65mm pitch 2013-04-12T13:16:57 < Tectu> Claude, also, external address bus I need 2013-04-12T13:17:17 <+Steffanx> Robint91, no DDR2 in non-BGA? 2013-04-12T13:17:31 * Tectu agrees to ^ 2013-04-12T13:17:39 < Robint91> Steffanx, I don't think that DDR2 exists in TSSOP 2013-04-12T13:17:48 * Tectu agress to ^ 2013-04-12T13:17:53 < Claude> how about a DIMM socket ? 2013-04-12T13:18:07 < Claude> so-dimm for example 2013-04-12T13:18:17 < Posterdati> how can I dynamically change CCRx register? 2013-04-12T13:18:28 < Robint91> Claude, that isn't possible with the memory controllers on those embedded devices 2013-04-12T13:18:40 < Claude> huh? why? 2013-04-12T13:18:53 < Robint91> Claude, address space/ data width 2013-04-12T13:18:59 < Claude> at least that worked with sdr 2013-04-12T13:19:28 <+Steffanx> Oh, kingston says you can't do DDR2 in TSOP :( 2013-04-12T13:19:38 < Claude> you don't need to use the whole 64bits on the dimm 2013-04-12T13:19:56 < Tectu> Posterdati, just change the register content? 2013-04-12T13:19:57 < Claude> yeah DDR2 is only BGA , JEDEC ... 2013-04-12T13:20:14 < Tectu> JEDEC? Isn't that that strange and old file format you used to write PROMs? 2013-04-12T13:20:14 < Posterdati> Tectu: no, it got only the first value, then nothing 2013-04-12T13:20:57 < Tectu> http://www.altera.com/b/arrow-sockit.html 2013-04-12T13:21:00 < Tectu> this. 2013-04-12T13:21:04 < Tectu> nothing else 2013-04-12T13:21:07 < Tectu> no girlfriend needed anymore 2013-04-12T13:21:11 < Tectu> life is complete 2013-04-12T13:21:13 < Tectu> level over 9000 2013-04-12T13:21:25 < Posterdati> I placed a breakpoint just before TIM_SetCompare1, the compare variable got the right value, but pwm output is always at the same value 2013-04-12T13:22:00 < Robint91> Tectu, zynq is better 2013-04-12T13:22:09 < Claude> Tectu, wow nice board for 99€ 2013-04-12T13:22:17 < karlp> be nice if they had any of those things anywhere that didn't require an international flight :| 2013-04-12T13:22:35 < Claude> Robint91, Zynq is better *if* you like xilinx ;) 2013-04-12T13:22:37 < mtbg> Tectu: true 2013-04-12T13:22:39 < Robint91> Tectu, which one is cheaper? 2013-04-12T13:22:43 < Tectu> Claude, boar dis 250$ 2013-04-12T13:22:44 < Robint91> Claude, I like xilinx 2013-04-12T13:23:04 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-12T13:23:10 < Claude> me too , until i learned about altera ;) 2013-04-12T13:23:46 < Tectu> hehe 2013-04-12T13:23:52 < Tectu> yea, altera > xilinx for sure 2013-04-12T13:23:53 < Tectu> not at price 2013-04-12T13:23:56 < Tectu> but at everything lese 2013-04-12T13:23:57 < Tectu> else 2013-04-12T13:23:59 <+Steffanx> We should just all go to berlin :) 2013-04-12T13:24:17 < Tectu> no, switzerland: 2013-04-12T13:24:18 < Tectu> https://www.onlineregistrationcenter.com/register.asp?m=135&c=1114&hc= 2013-04-12T13:24:21 <+Steffanx> No Berlin 2013-04-12T13:25:13 < Claude> Bietigheim-Bissingen ! 2013-04-12T13:25:31 < Claude> 60km from here :) 2013-04-12T13:25:43 < Tectu> switzerland 0µm from here 2013-04-12T13:25:50 < Tectu> berlin, 500 to 800km 2013-04-12T13:25:55 <+Steffanx> For me too, so :) 2013-04-12T13:26:18 <+Steffanx> 555km 2013-04-12T13:26:28 < Claude> 0um ? yeah i know that switzerland is small but.... 2013-04-12T13:28:17 <+Steffanx> And found out yet when ST will release the F4x9 ref manual yet, Robint91 ? 2013-04-12T13:28:37 < Robint91> Steffanx, no? do you know more? 2013-04-12T13:28:45 < Tectu> Claude, we talked about the distance 2013-04-12T13:29:01 < Tectu> isn't it out yet? 2013-04-12T13:29:09 < Tectu> I tought I have it on my harddrive... 2013-04-12T13:29:38 < karlp> hrm, trondheim get's a course, but not reykjavik 2013-04-12T13:29:41 < Tectu> ah, it's STM32F4xxx 2013-04-12T13:30:11 < Tectu> karlp, you're from island? 2013-04-12T13:30:22 < karlp> yup 2013-04-12T13:30:45 < Tectu> nice 2013-04-12T13:31:03 < karlp> most of the time :) 2013-04-12T13:31:56 <+Steffanx> No, i wondered if you did Robint91 :) 2013-04-12T13:47:57 -!- Laurenceb_ [~Laurence@host86-140-224-176.range86-140.btcentralplus.com] has joined ##stm32 2013-04-12T13:50:52 < Posterdati> Steffanx: hi 2013-04-12T13:51:07 < Posterdati> Steffanx: do you know how to dynamically set the CCRx 2013-04-12T13:51:27 <+Steffanx> dynamically? 2013-04-12T13:51:37 < Posterdati> yes on the fly 2013-04-12T13:52:03 < Posterdati> I use TIM_SetCompare1, but seems to get only the first value 2013-04-12T13:53:36 < mtbg> the phy keeps ignoring me 2013-04-12T13:54:03 < mtbg> I replaced it with another one, thinking it is damaged 2013-04-12T13:54:16 < mtbg> but didn't help 2013-04-12T13:54:24 <+Steffanx> I do remember something, but not sure what Posterdati. Laurenceb / Laurenceb_ is hour pwm man. He knows 2013-04-12T13:54:28 <+Steffanx> *our 2013-04-12T13:54:49 < mtbg> I gonna hook a logic analyzer to the ulpi bus and see what happens on it 2013-04-12T13:55:15 < Posterdati> Steffanx: tx 2013-04-12T13:55:23 < Posterdati> Laurenceb: hi, are you there? 2013-04-12T13:55:44 < Laurenceb_> hi 2013-04-12T13:56:00 < Laurenceb_> whats the issue? 2013-04-12T13:56:12 < Laurenceb_> " know how to dynamically set the CCRx" 2013-04-12T13:56:21 < Laurenceb_> you use the hardware buffering 2013-04-12T13:56:47 < Posterdati> Laurenceb: I need help on PWM TIM4, I copied the st example on .chm example... I need to change duty cycle on the fly, but TIM_SetCompare1 seems to set only the first CCR1 value 2013-04-12T13:57:17 < Laurenceb_> first? 2013-04-12T13:57:31 < Posterdati> yes, other values are correct but ignored 2013-04-12T13:57:57 < Laurenceb_> odd 2013-04-12T13:58:08 < Laurenceb_> did you set the buffering? 2013-04-12T13:58:22 < Posterdati> http://pastebin.com/N6QZaCxU 2013-04-12T13:58:38 < Posterdati> Laurenceb: what do you mean? 2013-04-12T13:58:48 < Posterdati> I'm not using DMA nor IRQ 2013-04-12T13:59:12 < Laurenceb_> uncomment lines 56 to 60 2013-04-12T13:59:21 < Posterdati> ok 2013-04-12T13:59:25 < Laurenceb_> then try again 2013-04-12T13:59:51 < Posterdati> I commented them because it wasn't working 2013-04-12T14:00:47 < Posterdati> no way 2013-04-12T14:01:23 <+Steffanx> no way what? 2013-04-12T14:01:52 < Posterdati> PWM gets only the first value written with TIM_SetCompare1 2013-04-12T14:02:45 < Laurenceb_> what do you mean? 2013-04-12T14:02:56 < Laurenceb_> ok that makes perfect sense 2013-04-12T14:03:13 < Laurenceb_> after the first overflow, the buffered value is loaded 2013-04-12T14:03:22 < Posterdati> I called TIM_SetCompare1 inside a loop 2013-04-12T14:03:30 < Laurenceb_> ok.. wut 2013-04-12T14:03:42 < Laurenceb_> something is wrong there 2013-04-12T14:08:44 < karlp> hrmm, what to buy from digikey... 2013-04-12T14:12:23 < Robint91> silly TI 2013-04-12T14:12:33 < Robint91> Stellaris - > Tiva 2013-04-12T14:13:00 < Robint91> http://www.ti.com/lit/ml/spmt284/spmt284.pdf 2013-04-12T14:13:24 * Laurenceb_ away 2013-04-12T14:14:22 <+Steffanx> They renamed it? 2013-04-12T14:14:27 < Robint91> yep 2013-04-12T14:14:35 <+Steffanx> hmpf 2013-04-12T14:14:53 <+Steffanx> Isn't that the second time they rename it? 2013-04-12T14:15:23 <+Steffanx> No :) 2013-04-12T14:15:34 < karlp> yeugh, new part numbers too, 2013-04-12T14:16:15 < Robint91> I hate TI for that 2013-04-12T14:16:17 <+Steffanx> marketing.. 2013-04-12T14:16:30 < Robint91> STM32 part numbers are easier 2013-04-12T14:16:42 < Robint91> STM32F103CB <- I know exactly what this is 2013-04-12T14:17:04 < Robint91> TM4C1231C3PM <- WHAT? 2013-04-12T14:18:06 -!- Laurenceb_ [~Laurence@host86-140-224-176.range86-140.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2013-04-12T14:21:50 < Posterdati> Laurenceb: so TIM_SetCompare1 should be suffice to set CCR1 ? 2013-04-12T14:22:35 < Posterdati> I used it like TIM_SetCompare1(m_pTIM, uiCCRValue) 2013-04-12T14:22:51 < Posterdati> m_pTIM = (TIM_TypeDef *) TIM4 2013-04-12T14:27:46 -!- mtbg [~mtbg@89-77-192-170.dynamic.chello.pl] has quit [Quit: Konversation terminated!] 2013-04-12T14:30:12 < Posterdati> Laurenceb, Steffanx: maybe I found the problem, I should use reinterpret_cast on m_pTIM 2013-04-12T14:33:32 < karlp> Robint91: pretty sure you'd learn the ti part numbers too :) 2013-04-12T14:34:01 < Robint91> karlp, shhh 2013-04-12T14:34:24 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 264 seconds] 2013-04-12T14:34:50 < karlp> Robint91: ti's web's a lot better though. look at urls like this: http://www.ti.com/product/cc2531 2013-04-12T14:38:44 < Robint91> mhh 2013-04-12T14:38:51 < Robint91> ST is bigger as Intel 2013-04-12T14:40:09 < Robint91> oh only for flsh 2013-04-12T14:43:05 <+Steffanx> Yeah karlp. I still don't understand how ST managed to come up with urls they have now 2013-04-12T14:44:53 < karlp> wth, digikey will sell me _some_ stm32w stuff, but not others. 2013-04-12T14:44:58 < karlp> awesome paperwork there guys 2013-04-12T14:45:09 < karlp> clearly demonstrating that your export controls claims are LIES 2013-04-12T14:46:05 < Robint91> karlp, don't recall my problem with mems gyros from ST 2013-04-12T14:46:37 < Robint91> karlp, try to buy a L3GD20 from digikey 2013-04-12T14:46:39 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-12T14:46:42 < Robint91> (not possible) 2013-04-12T15:00:09 < karlp> this is AES export controls on 802.15.4 2013-04-12T15:00:50 < karlp> I can buy TI, atmel, and one of the ST 802.15.4 usb dongles, 2013-04-12T15:00:57 < karlp> but not freescale or the other st dongle 2013-04-12T15:01:05 < karlp> and only osme of the atmel parts too 2013-04-12T15:06:13 <+Steffanx> on 802.15.4 why? 2013-04-12T15:07:04 -!- Mobyfab [~Mobyfab@80.239.168.84] has joined ##stm32 2013-04-12T15:18:48 < karlp> hahah, they'll sell me microchip's "zena" usb dongle, which is an mrf24j40ma module + usb, but they won't sell me the module itself. 2013-04-12T15:21:39 < Tectu> wtf 2013-04-12T15:21:52 < qyx_> karlp: try farnell if you are in eu 2013-04-12T15:21:59 < qyx_> or somewhere near 2013-04-12T15:22:17 < qyx_> mrf24j40 arrived ok 2013-04-12T15:23:33 < Tectu> island is europe as well, right? 2013-04-12T15:29:00 < karlp> qyx mouser will will me the mrf24j40 modules, but not digikey 2013-04-12T15:29:12 < karlp> farnell asked me for paperwork, but hasn't replied since, that was 6 months ago 2013-04-12T15:30:55 <+Steffanx> Why there is a control on 802.15.4 karlp ? 2013-04-12T15:31:27 < qyx_> omg do they really think that you would attack americans or plan it if you had AES enabled 802.15.4? 2013-04-12T15:31:58 < qyx_> ir do i miss the point? 2013-04-12T15:31:58 <+Steffanx> oh, it's only about encryption? 2013-04-12T15:32:31 <+Steffanx> There is no point qyx_, so it's easy to miss 2013-04-12T15:36:16 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 245 seconds] 2013-04-12T15:37:11 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-12T15:44:34 < karlp> Steffanx: 802.15.4 has AES in the standard. 2013-04-12T15:45:00 < karlp> here, I summarized today's shopping adventure's: http://false.ekta.is/2013/04/802-15-4-export-controls/ 2013-04-12T15:47:04 < karlp> qyx_: farnell made me fill out UK gov export controls actually, not us ones. 2013-04-12T15:50:01 <+Steffanx> They don't sell you other parts with built-in hw either? 2013-04-12T15:50:09 <+Steffanx> *built-in AES, lol 2013-04-12T15:51:54 <+Steffanx> The 'standard' stm32s for example 2013-04-12T15:52:14 < karlp> not sure to be honest, haven't tried, what's apart number of one with aes? 2013-04-12T15:52:47 < karlp> f417? or 407 or something? 2013-04-12T15:53:21 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-12T15:53:24 < karlp> nope, can't buy f417 either. 2013-04-12T15:53:34 < Laurenceb> http://ni9y.tripod.com/ni9y.html 2013-04-12T15:53:58 < Laurenceb> trololololo 2013-04-12T15:54:26 <+Steffanx> nuff said 2013-04-12T15:56:08 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 255 seconds] 2013-04-12T15:56:51 < Laurenceb> http://www.theworldsworstwebsiteever.com/ 2013-04-12T15:58:05 -!- metaxa [metaxa@us.members.bombshellz.net] has quit [Remote host closed the connection] 2013-04-12T16:01:41 < dongs> Laurenceb: is that a redirect to st.com 2013-04-12T16:01:53 < Laurenceb> lolz 2013-04-12T16:08:14 -!- MrMobius [~Joey@194.176.111.132] has joined ##stm32 2013-04-12T16:15:36 -!- _BJFreeman [~bjfree@51.sub-75-233-221.myvzw.com] has joined ##stm32 2013-04-12T16:16:23 -!- MrMobius [~Joey@194.176.111.132] has quit [Read error: Connection reset by peer] 2013-04-12T16:16:25 -!- [1]MrMobius [~Joey@194.176.111.132] has joined ##stm32 2013-04-12T16:16:44 -!- _BJFreeman is now known as BJfreeman 2013-04-12T16:18:48 < qyx_> what 2013-04-12T16:19:02 < qyx_> karlp: i have some 417 there from farnell 2013-04-12T16:24:54 -!- BJfreeman [~bjfree@51.sub-75-233-221.myvzw.com] has left ##stm32 [] 2013-04-12T16:25:07 -!- BJfreeman [~bjfree@51.sub-75-233-221.myvzw.com] has joined ##stm32 2013-04-12T16:26:30 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 248 seconds] 2013-04-12T16:29:02 < Robint91> damm 2013-04-12T16:29:28 < Robint91> 75$ for a 2000 FPS 320x240 sensor 2013-04-12T16:29:43 <+Steffanx> lol 2013-04-12T16:30:29 < Robint91> 1500$ if you want full HD for 1k FPS 2013-04-12T16:30:31 < BJfreeman> that is some slow speed sesor, on respect to play bacl at 30fps 2013-04-12T16:30:49 < Robint91> BJfreeman, nah 2013-04-12T16:31:03 < Robint91> ONSEMI pythons 2013-04-12T16:31:10 < Robint91> and VITA's 2013-04-12T16:31:29 < Robint91> 100 fps on 5120 x 5120 2013-04-12T16:31:30 < Robint91> damm 2013-04-12T16:31:50 < BJfreeman> I prefer the 5GB at 30fps 2013-04-12T16:32:00 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2013-04-12T16:33:31 < BJfreeman> $25 mounted and ready togo 2013-04-12T16:34:35 < Robint91> How do you capture 3GiB/s ? 2013-04-12T16:35:00 < Robint91> BJfreeman, also these have global shutter 2013-04-12T16:35:25 < BJfreeman> if your application need that, cool 2013-04-12T16:36:06 < BJfreeman> tbh I just got the 5 and have not implemented them yes 2013-04-12T16:36:34 < BJfreeman> to I am not sure I will reach the specs till I run them 2013-04-12T16:36:39 < Robint91> BJfreeman, which one doe you have 2013-04-12T16:37:21 < Tectu> dude, is it just me or is the FSMC of the STM32 devices a complete failure? 2013-04-12T16:37:35 < zyp> how so? 2013-04-12T16:38:17 < BJfreeman> OV5642 2013-04-12T16:38:49 < BJfreeman> http://www.ebay.com/itm/271130719953 2013-04-12T16:39:39 < Tectu> zyp, can you please explain to me why the interface depends on how the memory works? Usually you have your address bus, your data bus, your chipselect and other flags and then you can connect up whatever you want - just get the timings right. But here you have banks which restrict you to a certain memory type (SRAM/NOR, NAND and PCI stuff) 2013-04-12T16:40:06 < Tectu> BJfreeman, that camera is VERY interesting 2013-04-12T16:40:17 < Claude> Tectu, pci on stm32 fsmc ??? 2013-04-12T16:40:19 < qyx_> because each type of memory works differently 2013-04-12T16:40:23 < Tectu> Claude, yes 2013-04-12T16:40:27 < zyp> Tectu, it's just you 2013-04-12T16:40:35 * Claude digs out his old radeon cards 2013-04-12T16:40:40 < zyp> Tectu, the kind of interface you are thinking about is the SRAM/NOR stuff 2013-04-12T16:40:53 < zyp> and no, there is no PCI. 2013-04-12T16:40:54 < Claude> Tectu, which stm32 supports pci ? 2013-04-12T16:41:02 < Claude> pcmcia ? 2013-04-12T16:41:05 < Claude> ahhhh okay 2013-04-12T16:41:07 < zyp> Tectu is just full of shit 2013-04-12T16:41:13 < Tectu> zyp, it says PC interface and on the internet I read a guy talking about PCI? 2013-04-12T16:41:20 < zyp> pcmcia is not PCI 2013-04-12T16:41:24 < qyx_> pc card interface 2013-04-12T16:41:27 < qyx_> its pcmcia 2013-04-12T16:41:28 < Tectu> sorry - my bad 2013-04-12T16:41:34 < Tectu> and sorry for being full of shit 2013-04-12T16:42:08 < zyp> anyway, the answer to your question is that you can connect up whatever you want to the SRAM/NOR banks 2013-04-12T16:42:39 < zyp> NAND flash is interfaced differently, and that's why it's handled separately 2013-04-12T16:43:10 < BJfreeman> banks let you segment the memory for different uses like ramdrives 2013-04-12T16:45:24 -!- metaxa [metaxa@us.members.bombshellz.net] has joined ##stm32 2013-04-12T16:45:55 < Thorn> does performance of a dc/dc converter depend on how well regulated its input voltage is? 2013-04-12T16:48:08 < Tectu> BJfreeman, have you done DCMI yet? 2013-04-12T16:48:25 -!- [1]MrMobius is now known as MrMobius 2013-04-12T16:48:26 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-12T16:51:22 < BJfreeman> Tectu that is what the cameras will use, I have coded it but not really tested it yet 2013-04-12T16:51:52 < Tectu> I see 2013-04-12T16:51:58 < BJfreeman> cameras are due here the end of april 2013-04-12T16:52:57 < BJfreeman> have to synchronize the 5 to make a 3D image 2013-04-12T16:53:47 < BJfreeman> left, right, back, front, and Top 2013-04-12T16:57:23 < BJfreeman> Thorn if you talking about switching Buck or Boost then no the input, with in a range will not effect it 2013-04-12T16:57:24 < Tectu> BJfreeman, with an STM? o.O 2013-04-12T16:58:00 < BJfreeman> STM32F4 2013-04-12T16:59:18 < Thorn> yes that's what I mean thanks. 2013-04-12T17:00:06 < Robint91> Laurenceb, following game of thrones? 2013-04-12T17:00:15 < BJfreeman> Thorn forinstance I use a buck that has an input range from 6-30V 2013-04-12T17:00:16 < Laurenceb> no 2013-04-12T17:00:20 < Laurenceb> i dont want tv 2013-04-12T17:00:26 < Laurenceb> *watch 2013-04-12T17:01:15 < qyx_> Thorn: you just need to have properly sized capacitors on the input with low esr 2013-04-12T17:01:54 < BJfreeman> and an Inductor on the output that will supply the current 2013-04-12T17:02:02 < qyx_> and also efficiency falls down with high conversion ratios or low output voltage 2013-04-12T17:02:17 < Thorn> low esr -> ceramic -> capacitance depends greatly on voltage 2013-04-12T17:02:36 < qyx_> ceramics are used in high freq switchers 2013-04-12T17:03:26 < Robint91> or you play tantalum roulette 2013-04-12T17:03:32 < BJfreeman> the freewheeling diode in the ouput effects the efficiency 2013-04-12T17:04:02 -!- CRF_Peter [~Peter@193.11.200.145] has joined ##stm32 2013-04-12T17:04:12 < Thorn> I use l5973d which runs at 250 kHz 2013-04-12T17:05:01 < BJfreeman> for what current 2013-04-12T17:05:22 < Thorn> funny fact: when input voltage is low (~8V with output=5V) inductors buzz pretty loudly 2013-04-12T17:05:56 < Claude> Thorn, if your unregulated Vin has high ripple make sure your converter has enough phase margin / compensation on the regulation loop 2013-04-12T17:06:41 < Thorn> I tend to think my yesterday's accident was caused by the l5973d going into some weird mode 2013-04-12T17:06:51 < Thorn> maybe it went unstable 2013-04-12T17:07:13 < Thorn> the chip is up to 2.5A but my devices use 150mA max 2013-04-12T17:08:10 < Thorn> there's a 1V 50Hz sawtooth at the input (which is ~18V) 2013-04-12T17:08:35 < Claude> ouch 2013-04-12T17:08:44 < BJfreeman> thorn you can dip the inductor in Shellac to quiet it 2013-04-12T17:09:00 < karlp> qyx_: f417 and all those products are _listed_, but if I try and add them to my cart, it says they can't. what country are you in? this is not a "europe" problem, it's mostly an "iceland" problem. 2013-04-12T17:09:27 -!- CRF_Peter [~Peter@193.11.200.145] has quit [Ping timeout: 276 seconds] 2013-04-12T17:09:58 < Thorn> Claude: ouch about the 150mA or input voltage ripple? 2013-04-12T17:10:12 < Claude> input ripple , for my taste a bit high 2013-04-12T17:10:59 < Thorn> well the finished device will have a Mean Well smps 2013-04-12T17:11:15 < Thorn> didn't try it yet though 2013-04-12T17:12:05 < Thorn> I'm not worried about the buzz, I'm just curious why it happens with low input voltages 2013-04-12T17:13:02 < Thorn> (more precisely, when input voltage is low) 2013-04-12T17:14:26 < Claude> oh and 150mA from a 2.5A regulator ... are you sure your dc/dc convert doesn't switch into e.g. discontinious mode when only lightly loaded ? had that on other dc/dc converters too 2013-04-12T17:14:43 < Claude> that could make the noise in the inductor 2013-04-12T17:15:28 -!- MrMobius [~Joey@194.176.111.132] has quit [Read error: Connection reset by peer] 2013-04-12T17:16:00 < Thorn> it's most likely in DCM all the time 2013-04-12T17:16:05 -!- MrMobius [~Joey@194.176.111.132] has joined ##stm32 2013-04-12T17:17:06 < Thorn> I scoped it on other devices (same inductor and all) with similar current consumption 2013-04-12T17:17:48 < Thorn> but it doesn't buzz with 18V on the input 2013-04-12T17:21:19 < gxti> i've had similar problems but i chalk it up to sucking at switchers 2013-04-12T17:21:22 < Robint91> does someone know where you get low cost custom lenses? 2013-04-12T17:21:36 < gxti> mostly with a 34063 design that i ditched in favor of a premade murata module 2013-04-12T17:22:18 < gxti> i also made a clone of the module using a more advanced switcher and it seems better, although it buzzes when the output is shorted 2013-04-12T17:22:18 -!- dekar__ [~dekar@95.143.165.210] has quit [Read error: Connection reset by peer] 2013-04-12T17:22:43 -!- dekar__ [~dekar@dslb-088-068-023-145.pools.arcor-ip.net] has joined ##stm32 2013-04-12T17:22:45 -!- mode/##stm32 [+v dekar__] by ChanServ 2013-04-12T17:22:45 < Claude> Thorn, burst mode 2013-04-12T17:23:02 < Claude> http://www.st.com/web/en/resource/technical/document/application_note/CD00043744.pdf 2013-04-12T17:23:33 -!- zlog [~zlog@ip24-255-190-22.ks.ks.cox.net] has quit [Ping timeout: 252 seconds] 2013-04-12T17:24:23 -!- a2cypher [~cypher@mail.krausglobal.com] has joined ##stm32 2013-04-12T17:25:38 < qyx_> hm, i did 34063 once on home-made pcb and worked fine 2013-04-12T17:26:08 < qyx_> also l5973d works ok with light loads, i use them often 2013-04-12T17:26:09 < Robint91> 34063 is old 2013-04-12T17:26:18 -!- zlog [~zlog@ip24-255-190-22.ks.ks.cox.net] has joined ##stm32 2013-04-12T17:26:22 < Robint91> I use most of the time TI/national 2013-04-12T17:26:51 < qyx_> now i am about to try tps54160a for 48V input 2013-04-12T17:27:04 < Thorn> 34063 can't even control its duty cycle iirc 2013-04-12T17:27:05 < qyx_> and ncp3170 2013-04-12T17:27:17 < Thorn> you can do better with a 555 2013-04-12T17:27:53 < Thorn> that documents says it's in burst more with zero load 2013-04-12T17:28:35 < qyx_> do you have sch/layout of that part with 5973? 2013-04-12T17:28:47 < Robint91> qyx_, I used a http://www.ti.com/product/lm5575 to make from 48V 5Volt 2013-04-12T17:29:19 < Thorn> qyx_: yes I do, can post it 2013-04-12T17:31:13 < qyx_> Robint91: i needed that for two different cases, low Iq current, thats why i choosed tps54160a 2013-04-12T17:31:22 < Robint91> nice 2013-04-12T17:31:35 < qyx_> and another with 12V/20A output 2013-04-12T17:31:53 < qyx_> but haven't made it yet 2013-04-12T17:32:21 < Robint91> qyx_, it is kinda strange that you don't find synchronous switchers for that high voltages? 2013-04-12T17:33:29 < qyx_> i couldn't find any 2013-04-12T17:33:48 < qyx_> finally decided to use lm5085 2013-04-12T17:33:55 < qyx_> i hope it will work 2013-04-12T17:34:21 < Robint91> qyx_, ah the LM50xx series 2013-04-12T17:34:23 < Robint91> don't like them 2013-04-12T17:34:26 < qyx_> why 2013-04-12T17:34:55 < Robint91> constant on time 2013-04-12T17:35:05 < Thorn> here's a simple board with l5973d http://i.imgur.com/3QmVxXO.png 2013-04-12T17:35:06 < Robint91> those have a higher output noise 2013-04-12T17:41:23 < qyx_> Thorn: i would place much bigger capacitor on the input, combination of EL and ceramic (eg. 100uF & 4.7uF 0805) 2013-04-12T17:41:28 < qyx_> also on output 2013-04-12T17:41:51 < qyx_> and flood the areas around switching output from 5973 and inductor & output capacitor 2013-04-12T17:43:14 < qyx_> i can't see where is C7 and C8 connected do gnd 2013-04-12T17:43:21 < gxti> input capacitance doesn't necessarily have to be huge, often the datasheet has recommendations 2013-04-12T17:43:36 < gxti> and in fact the output capacitance may be too high, better to have low ESR than high value 2013-04-12T17:43:39 < Thorn> yiu mean make a separate ground plane? 2013-04-12T17:43:56 < qyx_> but if he says that input is very unstable with 1V ripple 2013-04-12T17:44:30 < gxti> adding capacitance would only help if it corrected the ripple, just upping the value by a factor of 10 won't fix that if it's low impedance 2013-04-12T17:45:05 < qyx_> i assumed it isnt, but if it is, capacitance wouldnt help, thats true 2013-04-12T17:47:11 < gxti> probably checking the datasheet for ESR recommendations would bebest 2013-04-12T17:47:25 < gxti> make sure input ESR is adequately low, and output is not too low nor too high 2013-04-12T17:47:42 < Thorn> 10uF ceramic is recommendsd iirc. the demo board has that too 2013-04-12T17:47:57 < gxti> some switchers will be unstable with too low output ESR although i suspect your 330uf can does not have that problem :P 2013-04-12T17:49:03 < Claude> Thorn, does the noise go away when you put an higher load on the dc/dc ? 2013-04-12T17:50:35 < Thorn> need to test that 2013-04-12T17:50:55 -!- CRF_Peter [~Peter@dhcp-177030.eduroam.chalmers.se] has joined ##stm32 2013-04-12T17:54:17 -!- BusError_ is now known as BusError 2013-04-12T17:57:51 -!- Claude is now known as claude 2013-04-12T18:03:18 -!- daku is now known as DaKu 2013-04-12T18:06:58 -!- rmob [~rmob@178-26-71-67-dynip.superkabel.de] has left ##stm32 [] 2013-04-12T18:09:55 -!- rmob [~rmob@178-26-71-67-dynip.superkabel.de] has joined ##stm32 2013-04-12T18:13:25 -!- vpopov [~happylife@dyn-32-176.fttbee.kis.ru] has joined ##stm32 2013-04-12T18:15:08 -!- alexn_ [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-04-12T18:15:34 -!- MrMobius [~Joey@194.176.111.132] has quit [Read error: Connection reset by peer] 2013-04-12T18:16:17 -!- MrMobius [~Joey@91.192.66.230] has joined ##stm32 2013-04-12T18:23:41 -!- Ranewen [a135b3e8@gateway/web/freenode/ip.161.53.179.232] has joined ##stm32 2013-04-12T18:29:50 < Ranewen> how can i keep track of the position of a stepper motor (can the motor skip steps ? ) 2013-04-12T18:30:03 -!- vpopov [~happylife@dyn-32-176.fttbee.kis.ru] has quit [Ping timeout: 276 seconds] 2013-04-12T18:31:39 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-04-12T18:32:13 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-12T18:34:19 < Robint91> Ranewen, use an encoder/resolver 2013-04-12T18:34:57 < Ranewen> Robint91: do stepper motors often skip steps due to momentum and high speeds ? 2013-04-12T18:35:07 -!- baird [~cjb@ppp121-45-182-27.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-04-12T18:35:28 < Robint91> Ranewen, euh 2013-04-12T18:35:33 < zyp> a stepper motor should not skip steps unless you are instructing it to do something it can't keep up with 2013-04-12T18:36:11 < Ranewen> zyp: basically i have high priority to keep track of the motor 2013-04-12T18:36:39 < Ranewen> then i will include encoders in my design 2013-04-12T18:39:42 < Laurenceb> Ranewen: i track motor inertia in my linear act 2013-04-12T18:40:25 < Ranewen> linear act ? 2013-04-12T18:40:31 < Laurenceb> https://github.com/Laurenceb/Chibi-Spectro/blob/master/threads/EKF_Pressure.c 2013-04-12T18:40:34 < Laurenceb> actuator 2013-04-12T18:42:49 < Ranewen> so basically 2013-04-12T18:43:06 < Ranewen> i should keep low speeds, and then i dont need hardware sensors ? 2013-04-12T18:43:16 < Laurenceb> no 2013-04-12T18:43:18 -!- dekar__ [~dekar@dslb-088-068-023-145.pools.arcor-ip.net] has quit [Ping timeout: 264 seconds] 2013-04-12T18:43:22 < Laurenceb> track inertia 2013-04-12T18:43:30 < Laurenceb> and maintain sane acceleration 2013-04-12T18:43:38 < Laurenceb> then you will be ok 2013-04-12T18:45:50 < zyp> yeah 2013-04-12T18:46:09 < zyp> you don't need to keep the speed low, you just need to keep the acceleration low 2013-04-12T18:46:50 < Ranewen> ok i got it ^^ 2013-04-12T18:47:11 < Ranewen> thanks 2013-04-12T19:00:01 < jpa-> Ranewen: also if you have varying load, then you probably need sensors to compensate 2013-04-12T19:02:07 < BJfreeman> there is not convient place to put rotorary sensors on a stepper 2013-04-12T19:02:22 < Ranewen> i turn "solenoids" 2013-04-12T19:02:34 < Ranewen> of house water pipes 2013-04-12T19:02:34 < jpa-> BJfreeman: depends on the motor 2013-04-12T19:03:53 < Ranewen> motor is yet to be selected, since i have many things to calculate 2013-04-12T19:05:08 -!- zlog [~zlog@ip24-255-190-22.ks.ks.cox.net] has quit [Ping timeout: 255 seconds] 2013-04-12T19:07:48 < BJfreeman> Ranewen to clarify a soleniod is a electromagnet with a plunger inside that moves when yoiu energize the electromagnetic, is that what you referred to 2013-04-12T19:08:25 < Ranewen> BJfreeman: i didnt knew the term 2013-04-12T19:08:34 < Ranewen> valve 2013-04-12T19:08:42 < Ranewen> mechanical valve 2013-04-12T19:08:48 < Ranewen> with a motor mounted on it 2013-04-12T19:09:24 < BJfreeman> Ok then using a standard motor with a rotation sensor on the valve is what you need 2013-04-12T19:09:48 < jpa-> yeah, i would use a servo - either premade or DC motor + sensor 2013-04-12T19:09:57 < Ranewen> BJfreeman: i thought to go without the sensors 2013-04-12T19:09:58 < jpa-> (geared DC motor, of course) 2013-04-12T19:10:19 < BJfreeman> you beat me Jpa LOL 2013-04-12T19:10:20 < jpa-> Ranewen: then when you turn on your power, how does it know the initial position? 2013-04-12T19:10:37 < Ranewen> jpa-: i calibrate it 2013-04-12T19:10:50 < jpa-> Ranewen: how? and every time you lose power? 2013-04-12T19:10:51 < Ranewen> and save positions 2013-04-12T19:10:56 < Ranewen> eeprom? 2013-04-12T19:11:42 < jpa-> sounds like a lot of hassle on the software side to avoid a small bit of mechanics 2013-04-12T19:12:04 < BJfreeman> Ranewen to calibrte without a position sensor requires endstop switch 2013-04-12T19:12:45 < jpa-> or manual work 2013-04-12T19:12:52 < emeb> nah 2013-04-12T19:12:57 < Ranewen> well il do manual work 2013-04-12T19:13:01 -!- Mobyfab [~Mobyfab@80.239.168.84] has quit [Quit: Leaving.] 2013-04-12T19:13:14 < jpa-> soon emeb will suggest driving the motor against one end until it skips steps 2013-04-12T19:13:19 < emeb> just run the motor in the "closed" direction for a preset time. Then you know it's closed. 2013-04-12T19:13:28 < emeb> unless the valve sticks 2013-04-12T19:13:32 < emeb> or the motor breaks 2013-04-12T19:13:38 < emeb> or the universe comes to an end 2013-04-12T19:13:52 < emeb> open loop all the things... 2013-04-12T19:14:06 < jpa-> but if you have "enough" gearing, it'll be quite strong forces before it stops 2013-04-12T19:14:18 < emeb> then the valve really breaks 2013-04-12T19:14:37 < jpa-> and if you have too little gearing, the motor will occassionally skip steps and you'll lose again 2013-04-12T19:14:38 * emeb likes closed loops 2013-04-12T19:14:45 < BJfreeman> Ranewen are you familar with SCADA 2013-04-12T19:14:47 < jpa-> indeed, servo is nice 2013-04-12T19:15:10 < Ranewen> BJfreeman: i am 2013-04-12T19:15:27 < Ranewen> supervisory control and data aquisitions 2013-04-12T19:15:41 < emeb> was reading about some new robots where all the motors had force sensing feedback on them. 2013-04-12T19:15:42 < BJfreeman> there are some pretty will defined ways to control values 2013-04-12T19:15:48 -!- MrMobius [~Joey@91.192.66.230] has quit [Read error: Connection reset by peer] 2013-04-12T19:16:02 < Ranewen> BJfreeman: im listening 2013-04-12T19:16:09 < emeb> so you always know if the motor is running in an expected load environment. 2013-04-12T19:17:00 < BJfreeman> used gear motors, wth a position sensor and end stops 2013-04-12T19:17:02 -!- [1]MrMobius [~Joey@194.176.111.132] has joined ##stm32 2013-04-12T19:17:05 < emeb> jpa-: how about load current feedback on the H-bridge - no external switches needed. You can tell when you hit the stops because the load shoots thru the roof. 2013-04-12T19:18:08 < Ranewen> emeb: but you couldn't switch off H-bridge off in time 2013-04-12T19:18:26 < jpa-> true, though still a bit fidgety if the valve is e.g. corroded and sticks a bit 2013-04-12T19:18:28 < emeb> ??!! 2013-04-12T19:18:30 < BJfreeman> on first install the application will either askk for limits or run the valve for endstops to determin limits 2013-04-12T19:18:41 < jpa-> Ranewen: sure you could 2013-04-12T19:19:07 -!- [1]MrMobius [~Joey@194.176.111.132] has quit [Client Quit] 2013-04-12T19:19:42 < BJfreeman> Ranewen using PWM to control a motor you have micro seconds to turn off the motor 2013-04-12T19:20:16 < Ranewen> what about the inductance of the motor coils ? 2013-04-12T19:21:23 < jpa-> Ranewen: only thing you want to avoid is the heating of the motor due to the high current.. and for that, you have many milliseconds of time 2013-04-12T19:21:29 < BJfreeman> the Reverse EMG is handle by a freewheeling diode than has nano seconds response tome 2013-04-12T19:21:42 < BJfreeman> EMF 2013-04-12T19:22:11 < emeb> :) was thinking "ElectroMyoGraph?" 2013-04-12T19:24:53 < emeb> FWIW - segue from FLA's "Hardwired" to John Duvall's "Hell's Canyon" is remarkably smooth. 2013-04-12T19:29:53 -!- ohama [ohama@cicolina.org] has quit [Ping timeout: 255 seconds] 2013-04-12T19:35:08 -!- rigid [~rigid@178-26-71-67-dynip.superkabel.de] has quit [Quit: NO WINE, NO WIFE, NO CARRIER] 2013-04-12T19:35:08 -!- rmob [~rmob@178-26-71-67-dynip.superkabel.de] has quit [Quit: NO WINE, NO WIFE, NO CARRIER] 2013-04-12T19:35:46 -!- rmob [~rmob@178-26-71-67-dynip.superkabel.de] has joined ##stm32 2013-04-12T19:36:17 -!- rigid [~rigid@178-26-71-67-dynip.superkabel.de] has joined ##stm32 2013-04-12T19:37:05 -!- ohama [ohama@cicolina.org] has joined ##stm32 2013-04-12T19:38:17 -!- MrM0bius [~Joey@194.176.111.132] has joined ##stm32 2013-04-12T19:44:12 -!- dekar [~dekar@212.255.39.75] has joined ##stm32 2013-04-12T19:44:12 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-12T19:49:18 -!- BJfreeman [~bjfree@51.sub-75-233-221.myvzw.com] has quit [Ping timeout: 258 seconds] 2013-04-12T19:50:52 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has left ##stm32 [] 2013-04-12T19:55:03 -!- barthess [~barthess@77.67.196.93] has joined ##stm32 2013-04-12T20:00:53 -!- Ranewen [a135b3e8@gateway/web/freenode/ip.161.53.179.232] has quit [Quit: Page closed] 2013-04-12T20:12:23 -!- Erlkoenig [~erlkoenig@pptp-212-201-77-3.pptp.stw-bonn.de] has joined ##stm32 2013-04-12T20:16:48 -!- [1]MrMobius [~Joey@194.176.111.132] has joined ##stm32 2013-04-12T20:17:20 -!- MrM0bius [~Joey@194.176.111.132] has quit [Read error: Connection reset by peer] 2013-04-12T20:24:04 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2013-04-12T20:24:04 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2013-04-12T20:24:04 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-04-12T20:28:09 -!- claude_ [~quassel@HSI-KBW-109-192-173-054.hsi6.kabel-badenwuerttemberg.de] has joined ##stm32 2013-04-12T20:38:55 < Tectu> zyp, so I can use SRAM instead of SDRAM on my FSMC? 2013-04-12T20:39:35 < jpa-> sure, should be faster also 2013-04-12T20:39:39 < jpa-> and more expensive per size 2013-04-12T20:39:46 < jpa-> and more address lines 2013-04-12T20:51:24 < Robint91> Tectu, instead? 2013-04-12T20:54:22 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:6df7:8d:acea:cb6d] has joined ##stm32 2013-04-12T20:56:34 < zyp> the F429 will be able to use SDRAM as well as SRAM 2013-04-12T20:56:52 < zyp> hmm 2013-04-12T20:57:12 < zyp> they apparently renamed the FSMC to FMC, since it's not only static memories anymore 2013-04-12T20:57:56 < zyp> and in practice it can probably interface with both SRAM and SDRAM at the same time if you want to 2013-04-12T21:01:38 -!- _BJFreeman [~bjfree@193.sub-75-233-40.myvzw.com] has joined ##stm32 2013-04-12T21:02:05 -!- _BJFreeman is now known as BJfreeman 2013-04-12T21:04:36 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Ping timeout: 245 seconds] 2013-04-12T21:11:16 -!- a2cypher [~cypher@mail.krausglobal.com] has quit [Quit: Leaving.] 2013-04-12T21:14:42 -!- DaKu is now known as daku 2013-04-12T21:16:59 -!- MrMobius [~Joey@194.176.111.132] has joined ##stm32 2013-04-12T21:19:59 -!- [1]MrMobius [~Joey@194.176.111.132] has quit [Ping timeout: 246 seconds] 2013-04-12T21:23:49 < Thorn> jpa-: a couple of curciuts from your website have been published in the April issue of Radio 2013-04-12T21:27:17 -!- MrM0bius [~Joey@91.192.66.230] has joined ##stm32 2013-04-12T21:30:08 -!- MrMobius [~Joey@194.176.111.132] has quit [Ping timeout: 246 seconds] 2013-04-12T21:30:55 -!- MrMobius [~Joey@194.176.111.132] has joined ##stm32 2013-04-12T21:31:32 -!- MrM0bius [~Joey@91.192.66.230] has quit [Ping timeout: 246 seconds] 2013-04-12T21:32:01 -!- barthess [~barthess@77.67.196.93] has quit [Quit: Leaving.] 2013-04-12T21:49:09 -!- barthess [~barthess@77.67.196.93] has joined ##stm32 2013-04-12T21:50:25 < Thorn> an ARM CPU that can run real linux in QFP? https://www.olimex.com/Products/ARM/CirrusLogic/CS-E9302/ 2013-04-12T21:51:03 < Thorn> not sure why they call that chip a microcontroller 2013-04-12T21:52:10 < Robint91> Thorn, that is a nasty ARM920 2013-04-12T21:52:16 < Robint91> it is old and slow 2013-04-12T21:52:43 < Thorn> but easily implementable I'd guess 2013-04-12T21:59:02 < BJfreeman> using the IMX233 which is only 455mhz and the A13 which is 1Ghz for linux 2013-04-12T21:59:13 < BJfreeman> use the A13 for android as well 2013-04-12T21:59:24 < Posterdati> hi 2013-04-12T21:59:35 < Posterdati> Steffanx: I solved the problem! 2013-04-12T22:00:56 < Posterdati> Steffanx: now I need something to sync two tasks reading same buffer, I used a circular buffer, but the writing task is faster than the reading one, resulting in a most-of-the-time waiting write task... 2013-04-12T22:03:27 < Posterdati> which has to discard sensors reading 2013-04-12T22:09:34 < DLPeterson> zyp, what is the jtag debug cable you use? 2013-04-12T22:09:51 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: to sleep, perchance to dream] 2013-04-12T22:10:07 < DLPeterson> openocd suddenly refuses to reset halt any of my boards, i think my jtag cable is the culprit 2013-04-12T22:10:45 < zyp> I don't use openocd 2013-04-12T22:11:31 < DLPeterson> i know 2013-04-12T22:11:40 < DLPeterson> you use another jtag cable that elinates the need 2013-04-12T22:11:46 < DLPeterson> what was the name of it? 2013-04-12T22:13:07 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Quit: trepidaciousMBR] 2013-04-12T22:15:12 < zyp> blackmagic probe 2013-04-12T22:19:06 < DLPeterson> thanks 2013-04-12T22:24:48 -!- trepidaciousMBR [~trepidaci@trepidacious.plus.com] has joined ##stm32 2013-04-12T22:29:46 -!- MrM0bius [~Joey@194.176.111.132] has joined ##stm32 2013-04-12T22:30:08 < gxti> DLPeterson: reset_config none? 2013-04-12T22:30:30 < gxti> or reset_config srst_only if you have a hard reset output 2013-04-12T22:30:41 < gxti> i have no proof that that does anything, but try it :p 2013-04-12T22:33:08 -!- MrMobius [~Joey@194.176.111.132] has quit [Ping timeout: 246 seconds] 2013-04-12T22:36:13 < zyp> karlp, so what happens when you run a normal «git status» over sshfs? 2013-04-12T22:44:08 -!- Laurenceb_ [~Laurence@host86-140-224-176.range86-140.btcentralplus.com] has joined ##stm32 2013-04-12T22:46:34 -!- Laurenceb__ [~Laurence@host86-177-59-234.range86-177.btcentralplus.com] has joined ##stm32 2013-04-12T22:48:28 -!- Laurenceb_ [~Laurence@host86-140-224-176.range86-140.btcentralplus.com] has quit [Ping timeout: 245 seconds] 2013-04-12T22:49:58 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-12T22:50:17 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-12T22:51:27 -!- trepidaciousMBR [~trepidaci@trepidacious.plus.com] has quit [Ping timeout: 260 seconds] 2013-04-12T22:59:11 < Posterdati> zyp: I'm using arm-usb-ocd-h from olimex, not bad... 2013-04-12T22:59:53 < Thorn> it's jtag only 2013-04-12T23:00:54 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-12T23:02:58 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-12T23:09:29 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-12T23:16:13 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-12T23:19:08 < jpa-> Thorn: huh? 2013-04-12T23:19:22 < jpa-> what circuits, what "Radio"? 2013-04-12T23:19:54 < Thorn> http://radio.ru/ 2013-04-12T23:20:26 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Client Quit] 2013-04-12T23:20:27 < jpa-> interesting 2013-04-12T23:20:28 -!- trepidaciousMBR [~trepidaci@trepidacious.plus.com] has joined ##stm32 2013-04-12T23:20:59 < Thorn> remember a few months ago they said a few words about your dso quad LA 2013-04-12T23:21:26 < Thorn> now you've been featured more prominently (in a column called "Found in the internet" lol) 2013-04-12T23:21:55 < jpa-> heh 2013-04-12T23:23:29 < Thorn> a headphone attenuator and a probe for fine pitch chips (this one is not a circult I guess...) 2013-04-12T23:23:51 < Thorn> complete with a photo and links 2013-04-12T23:24:10 < jpa-> no peak in website stats yet :P 2013-04-12T23:24:12 < Thorn> I can scan the pages if I manage to dig my scanner out 2013-04-12T23:25:16 < jpa-> i can't read much russian anyway :P 2013-04-12T23:25:57 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Read error: Connection reset by peer] 2013-04-12T23:26:46 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 248 seconds] 2013-04-12T23:27:13 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2013-04-12T23:29:47 -!- MrM0bius [~Joey@194.176.111.132] has quit [Read error: Connection reset by peer] 2013-04-12T23:30:04 -!- MrMobius [~Joey@194.176.111.132] has joined ##stm32 2013-04-12T23:57:01 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 256 seconds] 2013-04-12T23:59:40 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:6df7:8d:acea:cb6d] has quit [Read error: Connection reset by peer] --- Day changed Sat Apr 13 2013 2013-04-13T00:05:09 -!- barthess [~barthess@77.67.196.93] has quit [Quit: Leaving.] 2013-04-13T00:08:59 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-13T00:30:15 -!- MrM0bius [~Joey@194.176.111.132] has joined ##stm32 2013-04-13T00:33:11 -!- MrMobius [~Joey@194.176.111.132] has quit [Ping timeout: 246 seconds] 2013-04-13T00:33:59 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-13T00:36:16 -!- claude_ [~quassel@HSI-KBW-109-192-173-054.hsi6.kabel-badenwuerttemberg.de] has quit [Ping timeout: 245 seconds] 2013-04-13T00:48:29 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Quit: Ik ga weg] 2013-04-13T01:15:18 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Quit: leaving] 2013-04-13T01:17:21 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-13T01:17:39 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-13T01:22:22 -!- trepidaciousMBR [~trepidaci@trepidacious.plus.com] has quit [Quit: trepidaciousMBR] 2013-04-13T01:25:06 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-13T01:30:30 -!- MrMobius [~Joey@194.176.111.132] has joined ##stm32 2013-04-13T01:33:23 -!- MrM0bius [~Joey@194.176.111.132] has quit [Ping timeout: 246 seconds] 2013-04-13T02:04:30 -!- Devilholk [~banned@h-219-117.a357.priv.bahnhof.se] has joined ##stm32 2013-04-13T02:05:23 < Devilholk> I can't trig properly with rigol on MCO on stm32f100c6, is this because of some clock jitter thingie? I searched rm0041 for jitter but did not find any relevant data 2013-04-13T02:05:40 < Devilholk> With one shot mode I see a sine-ish 24 MHz signal though 2013-04-13T02:06:17 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-13T02:06:17 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-13T02:06:17 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-13T02:06:42 < zyp> did you set your trigger level properly? 2013-04-13T02:07:32 < Devilholk> Yes, if I put it outside it stops updating 2013-04-13T02:07:42 < Devilholk> Could the hold thing in trigger settings cause this? 2013-04-13T02:08:03 -!- Laurenceb__ [~Laurence@host86-177-59-234.range86-177.btcentralplus.com] has quit [Ping timeout: 245 seconds] 2013-04-13T02:08:44 < Devilholk> Doesnt appear to affect it at all 2013-04-13T02:11:55 < Devilholk> Sorry my bad 2013-04-13T02:12:13 < Devilholk> The trigger apparently were at the other side of earth or something 2013-04-13T02:12:16 < Devilholk> Timewise 2013-04-13T02:14:18 -!- CRF_Peter [~Peter@dhcp-177030.eduroam.chalmers.se] has quit [Ping timeout: 252 seconds] 2013-04-13T02:18:26 -!- CRF_Peter [~Peter@dhcp-177030.eduroam.chalmers.se] has joined ##stm32 2013-04-13T02:20:29 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-13T02:30:39 -!- MrM0bius [~Joey@91.192.66.230] has joined ##stm32 2013-04-13T02:33:35 -!- MrMobius [~Joey@194.176.111.132] has quit [Ping timeout: 246 seconds] 2013-04-13T02:41:27 -!- CRF_Peter [~Peter@dhcp-177030.eduroam.chalmers.se] has quit [Ping timeout: 276 seconds] 2013-04-13T02:55:03 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2013-04-13T02:55:58 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 245 seconds] 2013-04-13T03:15:31 -!- CRF_Peter [~Peter@193.11.200.145] has joined ##stm32 2013-04-13T03:22:06 -!- CRF_Peter [~Peter@193.11.200.145] has quit [Ping timeout: 245 seconds] 2013-04-13T03:30:57 -!- MrMobius [~Joey@91.192.66.230] has joined ##stm32 2013-04-13T03:31:05 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-13T03:32:54 -!- Erlkoenig [~erlkoenig@pptp-212-201-77-3.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-13T03:33:47 -!- MrM0bius [~Joey@91.192.66.230] has quit [Ping timeout: 246 seconds] 2013-04-13T03:52:44 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-13T04:18:32 < inca> where did zlog go? 2013-04-13T04:20:56 -!- _BJFreeman [~bjfree@193.sub-75-233-40.myvzw.com] has joined ##stm32 2013-04-13T04:24:39 -!- BJfreeman [~bjfree@193.sub-75-233-40.myvzw.com] has quit [Ping timeout: 252 seconds] 2013-04-13T04:26:17 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has quit [Ping timeout: 255 seconds] 2013-04-13T04:30:30 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-13T04:31:25 -!- MrM0bius [~Joey@194.176.111.132] has joined ##stm32 2013-04-13T04:33:59 -!- MrMobius [~Joey@91.192.66.230] has quit [Ping timeout: 246 seconds] 2013-04-13T04:43:19 * Devilholk must be doing something odd with DMA flags 2013-04-13T04:57:28 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-04-13T04:58:51 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-13T05:06:56 -!- _BJFreeman [~bjfree@193.sub-75-233-40.myvzw.com] has quit [Quit: had a good time] 2013-04-13T05:09:21 -!- baird [~cjb@ppp121-45-182-27.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-13T05:24:30 < Devilholk> Now I have been stuck almost an hour. If anyone happen to be awake, please have a quick look at this http://pastebin.com/hrUD3fX0 2013-04-13T05:24:51 < Devilholk> I thought I had done this before 2013-04-13T05:27:02 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-13T05:31:02 -!- MrM0bius [~Joey@194.176.111.132] has quit [Read error: Connection reset by peer] 2013-04-13T05:31:23 -!- MrMobius [~Joey@91.192.66.230] has joined ##stm32 2013-04-13T05:32:48 < Devilholk> Hmm. Maybe I use wrong function to check flags 2013-04-13T05:32:54 < Rickta59> using BMP on an stm32f4discovery, what is the minimum connections required to the target SRST_PIN/SWCLK_PIN/SWDIO_PIN? 2013-04-13T05:33:03 < Rickta59> and GND 2013-04-13T05:33:06 < Rickta59> ? 2013-04-13T05:34:17 < Devilholk> I haven't used SWD 2013-04-13T05:34:34 < Devilholk> I just figured out my problem though I think. 2013-04-13T05:34:42 < Devilholk> Redefined reset by mistake 2013-04-13T05:35:21 < gxti> Rickta59: yes, and RST isn't always required although i recommend it anyway 2013-04-13T05:36:05 < Rickta59> k thanks 2013-04-13T05:36:50 < Rickta59> what is the difference between TRST_PIN and SRST_PIN ? 2013-04-13T05:37:05 < Devilholk> Yay now it works =) 2013-04-13T05:37:18 < gxti> Rickta59: TRST is for JTAG only 2013-04-13T05:37:25 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: and like that, he's gone] 2013-04-13T05:37:29 < gxti> it resets the test interface but not the mcu 2013-04-13T05:37:47 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-13T05:38:00 < Rickta59> ok .. i'm planning on using with the nxp chips I don't think they have 4 wire jtag 2013-04-13T05:38:22 < gxti> you don't need to bring out TRST usually, you can wire it high 2013-04-13T05:38:30 < gxti> and for swd it's totally unused so you can use it for io 2013-04-13T05:39:23 < Rickta59> thanks 2013-04-13T05:40:07 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-13T05:54:39 -!- zlog [~zlog@ip68-102-203-6.ks.ok.cox.net] has joined ##stm32 2013-04-13T06:10:18 < Rickta59> thanks that works 2013-04-13T06:10:39 < Rickta59> doing a load with autoerase? 2013-04-13T06:31:18 -!- MrMobius [~Joey@91.192.66.230] has quit [Read error: Connection reset by peer] 2013-04-13T06:31:33 -!- MrMobius [~Joey@194.176.111.132] has joined ##stm32 2013-04-13T06:39:36 -!- ShiftPlusOne [~Shift@unaffiliated/shiftplusone] has quit [Quit: Leaving] 2013-04-13T06:53:26 < dongs> TI changed the name for the M4F products from Stellaris something to Tiva something 2013-04-13T06:53:35 < dongs> I guess they didnt like the M4F name 2013-04-13T06:55:34 < R2COM> for most defense projects inside US its TI (for embedded shit...) and some other stuff, like HyperX for high grade stuff 2013-04-13T06:55:54 < R2COM> never heard of stm32 used , or maybe its just me who never heard of it 2013-04-13T06:58:47 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-13T06:58:56 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-13T07:11:47 -!- ShiftPlusOne [~Shift@unaffiliated/shiftplusone] has joined ##stm32 2013-04-13T07:19:53 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 246 seconds] 2013-04-13T07:23:33 < R0b0t1> dongs, penis. 2013-04-13T07:23:55 < dongs> hello dongs 2013-04-13T07:23:57 -!- dfletcher__ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-04-13T07:24:28 < upgrdman> sup 2013-04-13T07:25:22 < upgrdman> im tempted to clean up and expand on my f0/cc2500 code, but its friday night and there's a krispy kreme down the street. mmmmm donuts 2013-04-13T07:26:55 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 264 seconds] 2013-04-13T07:31:05 -!- MrMobius [~Joey@194.176.111.132] has quit [Read error: Connection reset by peer] 2013-04-13T07:31:48 -!- MrMobius [~Joey@91.192.66.230] has joined ##stm32 2013-04-13T07:32:13 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Ping timeout: 240 seconds] 2013-04-13T07:32:14 < R0b0t1> heh 2013-04-13T07:38:57 -!- R2COM1 [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-13T07:42:04 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 245 seconds] 2013-04-13T07:42:14 -!- MrMobius [~Joey@91.192.66.230] has quit [Quit: HydraIRC -> http://www.hydrairc.com <- The alternative IRC client] 2013-04-13T07:52:23 -!- R2COM1 [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 255 seconds] 2013-04-13T07:57:12 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-13T08:20:35 -!- DLPeterson [~hazelnuss@c-71-198-192-33.hsd1.ca.comcast.net] has joined ##stm32 2013-04-13T08:31:46 -!- elektrinis [~circuit@78.60.169.125] has joined ##stm32 2013-04-13T08:33:28 -!- DLPeterson [~hazelnuss@c-71-198-192-33.hsd1.ca.comcast.net] has quit [Ping timeout: 245 seconds] 2013-04-13T08:35:16 -!- DLPeterson [~hazelnuss@107-197-105-155.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-04-13T08:35:17 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-13T08:56:16 -!- DLPeterson_ [~hazelnuss@c-71-198-192-33.hsd1.ca.comcast.net] has joined ##stm32 2013-04-13T08:57:26 -!- DLPeterson [~hazelnuss@107-197-105-155.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 252 seconds] 2013-04-13T09:11:19 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-13T09:11:59 -!- dekar_ [~dekar@212.255.33.164] has joined ##stm32 2013-04-13T09:12:02 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-04-13T09:15:38 -!- dekar [~dekar@212.255.39.75] has quit [Ping timeout: 255 seconds] 2013-04-13T09:30:47 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2013-04-13T09:32:18 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 256 seconds] 2013-04-13T09:34:18 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 256 seconds] 2013-04-13T09:40:35 -!- DLPeterson_ [~hazelnuss@c-71-198-192-33.hsd1.ca.comcast.net] has quit [Ping timeout: 260 seconds] 2013-04-13T09:42:25 -!- DLPeterson [~hazelnuss@107-197-105-155.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-04-13T09:45:47 -!- ShiftPlusOne [~Shift@unaffiliated/shiftplusone] has quit [Quit: Leaving] 2013-04-13T10:00:31 -!- barthess [~barthess@77.67.152.118] has joined ##stm32 2013-04-13T10:03:22 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-13T10:32:35 -!- shiftplusone [~shiftplus@unaffiliated/shiftplusone] has joined ##stm32 2013-04-13T10:37:08 -!- barthess [~barthess@77.67.152.118] has quit [Quit: Leaving.] 2013-04-13T11:10:33 -!- claude_ [~quassel@HSI-KBW-109-192-173-054.hsi6.kabel-badenwuerttemberg.de] has joined ##stm32 2013-04-13T12:03:03 -!- claude_ [~quassel@HSI-KBW-109-192-173-054.hsi6.kabel-badenwuerttemberg.de] has quit [Ping timeout: 245 seconds] 2013-04-13T12:05:13 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-13T12:05:13 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-13T12:05:13 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-13T12:05:15 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-13T12:12:18 -!- ShiftPlusOne_ [~quassel@unaffiliated/shiftplusone] has joined ##stm32 2013-04-13T12:15:51 -!- shiftplusone [~shiftplus@unaffiliated/shiftplusone] has quit [Quit: ZNC - http://znc.in] 2013-04-13T12:16:00 -!- ShiftPlusOne_ is now known as ShiftPlusOne 2013-04-13T12:18:34 -!- ShiftPlusOne [~quassel@unaffiliated/shiftplusone] has quit [] 2013-04-13T12:22:57 < Devilholk> Anyone know if you can use the I2C hardware of stm32f100 in "dumb mode". I need to implement sscb which is kind of like i2c but without acknowledge. Is bitbang my only option or can I just tell it to clock out and clock in data? 2013-04-13T12:23:46 < jpa-> you mean sccb? 2013-04-13T12:24:12 -!- ShiftPlusOne [~Shift@unaffiliated/shiftplusone] has joined ##stm32 2013-04-13T12:24:16 < jpa-> isn't sccb like SPI? 2013-04-13T12:24:17 < Devilholk> sccb yes 2013-04-13T12:24:31 < Devilholk> It has start and stop conditions just like i2c 2013-04-13T12:25:26 < Devilholk> And it runs at 400 kHz 2013-04-13T12:25:58 < jpa-> hmm yeah, bitbang is probably easiest 2013-04-13T12:26:11 < jpa-> could do it with DMA if you want to 2013-04-13T12:26:48 < Devilholk> Can I do that and mask out just a few bits? 2013-04-13T12:27:15 < jpa-> you can write with DMA to the GPIO->BSRR register to freely toggle bits on and off 2013-04-13T12:27:22 -!- ShiftPlusOne [~Shift@unaffiliated/shiftplusone] has quit [Remote host closed the connection] 2013-04-13T12:27:31 < Devilholk> Ah, didn't think of that 2013-04-13T12:27:36 -!- shiftplusone_ [~shiftplus@unaffiliated/shiftplusone] has joined ##stm32 2013-04-13T12:27:53 < Devilholk> But I think I will just bitbang it the conventional way 2013-04-13T12:28:10 < Devilholk> Too bad the i2c module couldn't be used for this 2013-04-13T12:28:14 < jpa-> here i do that for SPI (because there was not SPI peripheral on those pins https://github.com/PetteriAimonen/QuadPawn/blob/master/Runtime/fpga.c#L35 2013-04-13T12:30:02 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-13T12:30:40 < Devilholk> I guess I'll just shift it out 2013-04-13T12:31:01 < Devilholk> 400 kHz vs 24 MHz is only 60 cycles in between 2013-04-13T12:31:15 < Devilholk> I will not need much waiting 2013-04-13T12:31:23 < Devilholk> No point using a timer even 2013-04-13T12:31:43 < jpa-> you can't do anything else in the meantime, though 2013-04-13T12:31:56 < Devilholk> No but I won't have to 2013-04-13T12:32:06 < Devilholk> I just need to setup the camera and then it will send me data 2013-04-13T12:32:15 < jpa-> and because the instruction timing of cortex-m3 is not that strict, i would use a timer anyway 2013-04-13T12:32:37 < Devilholk> I don't think that the sccb timing is strict either 2013-04-13T12:32:42 < jpa-> though the bus probably doesn't care for the exact frequency anyway.. 2013-04-13T12:32:43 < jpa-> yeah 2013-04-13T12:33:07 < Devilholk> I must add a "conflict protection resistor" too ^^ 2013-04-13T12:33:12 < Devilholk> I hooked it up as regular i2c first 2013-04-13T12:34:20 -!- shiftplusone_ [~shiftplus@unaffiliated/shiftplusone] has quit [Quit: ZNC - http://znc.in] 2013-04-13T12:41:04 -!- _BJFreeman [~bjfree@105.sub-75-233-109.myvzw.com] has joined ##stm32 2013-04-13T12:41:25 -!- _BJFreeman is now known as BJfreeman 2013-04-13T12:42:47 * inca yawn 2013-04-13T12:43:34 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-13T12:45:33 < Robint91> hi all 2013-04-13T12:45:40 < Robint91> who know small 2.4Ghz modules 2013-04-13T12:45:54 < Robint91> something like nrf24l01/cc2500 2013-04-13T13:00:50 < Robint91> zlog 2013-04-13T13:00:50 < zlog> Robint91: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2013-04-13.html 2013-04-13T13:03:18 -!- shiftplusone [~Shift@unaffiliated/shiftplusone] has joined ##stm32 2013-04-13T13:07:50 -!- barthess [~barthess@77.67.152.118] has joined ##stm32 2013-04-13T13:07:53 -!- barthess [~barthess@77.67.152.118] has quit [Client Quit] 2013-04-13T13:15:13 -!- Erlkoenig [~erlkoenig@pptp-212-201-75-117.pptp.stw-bonn.de] has joined ##stm32 2013-04-13T13:18:22 -!- BrainDamage [~BrainDama@62.10.5.60] has joined ##stm32 2013-04-13T13:22:52 -!- daku is now known as DaKu 2013-04-13T13:23:07 < Devilholk> Weird.. 2013-04-13T13:23:17 < Devilholk> The data looks right but it doesnt work 2013-04-13T13:28:18 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-13T13:30:54 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has joined ##stm32 2013-04-13T13:31:27 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 276 seconds] 2013-04-13T13:32:27 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-13T13:34:43 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 245 seconds] 2013-04-13T13:44:07 < BJfreeman> Robint91 the nrf24l01 is avalible on ebay 2013-04-13T14:01:34 < BrainDamage> it's stupidly cheap too 2013-04-13T14:01:39 < BrainDamage> you can get modules for 1$ 2013-04-13T14:20:25 < Robint91> BJfreeman, yeah but that is thourgh hole 2013-04-13T14:20:34 < Robint91> http://www.digikey.com/product-detail/en/MRF24J40MA-I%2FRM/MRF24J40MA-I%2FRM-ND/1867972 2013-04-13T14:20:41 < Robint91> I need something like this 2013-04-13T14:23:35 -!- BrainDamage [~BrainDama@62.10.5.60] has quit [Quit: Leaving.] 2013-04-13T14:23:43 -!- BrainDamage [~BrainDama@62.10.5.60] has joined ##stm32 2013-04-13T14:27:01 < inca> anyone know a cheap way to develop DisplayPort applications? 2013-04-13T14:27:22 -!- DaKu is now known as daku 2013-04-13T14:27:41 < BJfreeman> Robint91 this is not through hole http://www.ebay.com/itm/2012-New-NRF24L01-Wireless-Transceiver-Module-2-4GHz-Arduino-X2-usa-by-USPS-/321071931519 2013-04-13T14:28:41 < Robint91> BJfreeman, you need pins to connect them to an other PCB 2013-04-13T14:29:28 < BJfreeman> ah I just use a ribbon cable 2013-04-13T14:29:47 < BJfreeman> OK 2013-04-13T14:30:12 < Robint91> inca, euh some beefy arm cpu with eDP? or a fpga with a serial transcievers I guess 2013-04-13T14:30:20 < Robint91> inca, of a PC + GPU with DP 2013-04-13T14:31:08 < Robint91> inca, xilinx has fpgas with GTP transcievers that can do DP 2013-04-13T14:31:25 < Robint91> inca, OR you can use a DP chip 2013-04-13T14:32:48 < inca> I <3 Xilinx fee IP cores 2013-04-13T14:34:01 < BJfreeman> eDP? 2013-04-13T14:34:13 < Robint91> BJ embedded display port 2013-04-13T14:35:16 < inca> anyone else here love Digilent? I just unearthed some old kits I got from them and the interface hardware is still relevant 2013-04-13T14:35:22 -!- Laurenceb__ [~Laurence@host86-174-21-108.range86-174.btcentralplus.com] has joined ##stm32 2013-04-13T14:35:36 < Robint91> inca, yes, I have a few digilent boards 2013-04-13T14:37:06 < Thorn> why doesn't sumida specify self-resonant frequency for their inductors 2013-04-13T14:37:19 < inca> Robint91: Know of any affordable dev board for displayport? 2013-04-13T14:37:36 < Robint91> inca, no 2013-04-13T14:37:53 < Robint91> inca, that requires an expensive FPGA with transcievers 2013-04-13T14:37:55 < BJfreeman> What display port type do you want 2013-04-13T14:38:33 < inca> BJfreeman the mini, so I can use an '09 MBP for development 2013-04-13T14:39:15 < BJfreeman> there is A13 and A10 boards 2013-04-13T14:39:51 < BJfreeman> VGA, LCD, HDMI 2013-04-13T14:40:35 < Laurenceb__> you guys talking about olimex? 2013-04-13T14:40:50 < BJfreeman> I am 2013-04-13T14:40:57 < BJfreeman> not sure about anyone else 2013-04-13T14:41:07 < inca> word! thanks 2013-04-13T14:41:21 < inca> zlog: are you alive? 2013-04-13T14:41:22 < zlog> inca: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2013-04-13.html 2013-04-13T14:41:31 < Laurenceb__> watch out for layout fail 2013-04-13T14:41:39 < Laurenceb__> some of their board look really n00b 2013-04-13T14:41:53 < Robint91> BJfreeman, do you know who those NRF24L01+ modules make? 2013-04-13T14:42:13 < BJfreeman> Laurenceb they are dev boards I have them they work 2013-04-13T14:42:48 < Laurenceb__> ok 2013-04-13T14:43:05 < BJfreeman> However the A10 is now the A20 which is in testing now 2013-04-13T14:43:53 < BJfreeman> Robint91 are you asking about the Chip or the boards 2013-04-13T14:43:59 < Robint91> BJfreeman, boards 2013-04-13T14:44:10 < Robint91> BJfreeman, nordic makes those chips 2013-04-13T14:44:11 < BJfreeman> no I don't 2013-04-13T14:45:51 < BJfreeman> have to stop those double negatives :P 2013-04-13T14:46:20 < dongs> sup trolls 2013-04-13T14:46:24 < dongs> norDICK more like 2013-04-13T14:46:45 < Robint91> dongs, problems with nordic? 2013-04-13T14:47:09 < Robint91> dongs, I'm looking for very small 2.4Ghz modules with intergrate antenna 2013-04-13T14:48:09 < Thorn> I even deesigned a usb interface for those modules 2013-04-13T14:49:02 < Thorn> never got around to doing the firmware lol 2013-04-13T14:49:07 < Laurenceb__> morondongs 2013-04-13T14:50:47 < BJfreeman> tom-itx.dyndns.org times out 2013-04-13T14:51:57 -!- BJfreeman [~bjfree@105.sub-75-233-109.myvzw.com] has quit [Quit: had a good time] 2013-04-13T14:53:20 < dongs> Robint91: no not at all 2013-04-13T14:53:21 < dongs> just trollin 2013-04-13T14:54:30 < Laurenceb__> free Rpi model A and camera board 2013-04-13T14:54:37 < Laurenceb__> http://spacenear.us/tracker/ 2013-04-13T14:55:11 < Laurenceb__> http://ssdv.habhub.org/ 2013-04-13T14:55:16 < Laurenceb__> camera is pretty decent 2013-04-13T14:55:51 -!- easd [~easd@host159-74-dynamic.10-79-r.retail.telecomitalia.it] has joined ##stm32 2013-04-13T14:56:11 < Robint91> Laurenceb, 50baud 2013-04-13T14:56:13 < Robint91> lol 2013-04-13T14:56:17 < Robint91> or 300baud 2013-04-13T14:56:29 < Laurenceb__> 300 2013-04-13T14:56:53 < Laurenceb__> custom JPEG based protocol with FEC 2013-04-13T14:57:09 < dongs> looks like its failing 2013-04-13T14:57:14 < Laurenceb__> yeah 2013-04-13T14:57:31 -!- Laurenceb__ is now known as Laurenceb_ 2013-04-13T14:58:32 < Laurenceb_> maybe the rpi crashed :P 2013-04-13T14:58:37 < dongs> http://www.youtube.com/user/officialpsy?feature=inp-lt-psy-KR%C3%A2 2013-04-13T14:58:43 < Robint91> Laurenceb_, it the communication so bad that they need to be that slow 2013-04-13T14:59:20 < Laurenceb_> its limited to 10mw total power 2013-04-13T14:59:48 < Laurenceb_> wtf dongs 2013-04-13T14:59:52 * Laurenceb_ just got trolled 2013-04-13T14:59:58 < Robint91> Laurenceb_, mhh, we got a 500mW 128kbps tranciever in a friends balloon 2013-04-13T15:00:06 < Laurenceb_> lolz 2013-04-13T15:00:13 < Laurenceb_> not allowed in uk 2013-04-13T15:00:27 < Laurenceb_> and since all details get put up on the site... 2013-04-13T15:00:43 <+Steffanx> is that allowed in belgium Robint91 ? 2013-04-13T15:00:48 < Robint91> Steffanx, yep 2013-04-13T15:00:52 <+Steffanx> Here 433mhz is .. 10mw max? 2013-04-13T15:01:01 < Robint91> Steffanx, if you are a ham 2013-04-13T15:01:13 < Robint91> Steffanx, you can push out a few Watts 2013-04-13T15:01:25 < Robint91> dongs, da classical music 2013-04-13T15:01:30 <+Steffanx> Are you as HAM allowed to do ~whatever you want? 2013-04-13T15:01:37 < dongs> Robint91: well it jsut ended nigga.a 2013-04-13T15:01:50 < Robint91> Steffanx, in the 430 to 440 MHz 2013-04-13T15:01:53 < Robint91> Steffanx, yes 2013-04-13T15:02:00 < Robint91> Steffanx, just keep it under 1kW 2013-04-13T15:02:06 < Robint91> TX power 2013-04-13T15:02:11 < Robint91> EIRP doesn't matter 2013-04-13T15:02:15 <+Steffanx> And 27 too i guess? 2013-04-13T15:02:17 <+Steffanx> mhz 2013-04-13T15:02:27 < Robint91> 27MHz is for nasty CB folks 2013-04-13T15:02:46 < Laurenceb_> http://ssdv.habhub.org/ 2013-04-13T15:02:51 < Laurenceb_> seems to be back up and running 2013-04-13T15:03:11 <+Steffanx> Robint91 and nice for Erlkoenig. but he wasnt allowed to make a transmitter iirc 2013-04-13T15:03:47 < Erlkoenig> yup, so i bought R/C transmitters 2013-04-13T15:06:10 < Laurenceb_> lolz 2013-04-13T15:06:19 < Laurenceb_> looks like the camera actually broke now 2013-04-13T15:06:22 < Robint91> We got, 500khz, 1.8MHz, 3.6MHz, 7MHz, 10MHz, 14MHz, 18MHz, 21MHz, 28MHz, 50MHz, 144MHz, 430MHz, 1.2GHz, 2.4GHz, 5.6GHz, 10GHz, 22GHz, 47GHz, 76GHz, 144GHz and 240GHz 2013-04-13T15:06:28 < Robint91> Steffanx, ^ 2013-04-13T15:06:44 < Robint91> Steffanx, everything above 300GHz are we primary user 2013-04-13T15:07:24 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-13T15:07:37 < Robint91> Steffanx, we can put a minimum of 200W transmit power (so not EIRP) on every listed frequecny 2013-04-13T15:09:09 < Laurenceb_> lolz they have dual 300baud transmitters on it 2013-04-13T15:09:19 < Laurenceb_> its sending two jpegs at once 2013-04-13T15:10:02 < Laurenceb_> " I remember when downloading porn was like the SSDV image download :)" 2013-04-13T15:14:58 <+Steffanx> Robint91 has some fancy antennas to receive the ones in the uk? 2013-04-13T15:15:45 < baird> A mate is a ham-- a few years ago he was keen on pinging the ISS, as he invited me around to show, but there was also Russians sstv'ing pinups that we watched for the rest of the night while I waited for the Glen Moray to wear off. :) 2013-04-13T15:16:09 < Robint91> Steffanx, I could maybe recieve PIE 2013-04-13T15:16:44 < Robint91> do you want that I try that? 2013-04-13T15:17:04 < Robint91> Steffanx, a linky to that page where more info about PIE is giving 2013-04-13T15:18:06 -!- Robin_ [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-13T15:18:40 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Disconnected by services] 2013-04-13T15:18:45 -!- Robin_ is now known as Robint91 2013-04-13T15:18:49 < Robint91> silly connection 2013-04-13T15:28:51 < Robint91> Laurenceb_, I hear something on 434.070 2013-04-13T15:28:58 < Robint91> looks like 300baud 2013-04-13T15:29:10 < Robint91> but it is weak 2013-04-13T15:29:15 -!- BrainDamage [~BrainDama@62.10.5.60] has quit [Quit: Leaving.] 2013-04-13T15:29:36 < Robint91> there APRS interfrece with the 70cm transmitter 2013-04-13T15:29:44 -!- BrainDamage [~BrainDama@62.10.5.60] has joined ##stm32 2013-04-13T15:31:36 <+Steffanx> too bad i have no fancy yagi antenna for the 430- something range 2013-04-13T15:32:05 < Robint91> Steffanx, I have also a large vertical antenna for 70cm 2013-04-13T15:38:57 < Laurenceb_> one of them died 2013-04-13T15:39:07 < Laurenceb_> Robin91: i think the telemetry is at 50baud 2013-04-13T15:42:01 < Laurenceb_> looks like pi camera suffers from quite poor colour depth 2013-04-13T15:42:55 -!- Steffann [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-13T15:42:55 -!- Steffann [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-13T15:42:55 -!- Steffann [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-13T15:42:58 -!- mode/##stm32 [+v Steffann] by ChanServ 2013-04-13T15:46:39 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Ping timeout: 252 seconds] 2013-04-13T15:47:41 < Robint91> Laurenceb_, we are recieving 2013-04-13T15:48:59 <+Steffann> we :) 2013-04-13T15:49:07 < dongs> him and his dong 2013-04-13T15:49:24 <+Steffann> you're gay 2013-04-13T15:50:41 < Robint91> Decoded image packet. Callsign: PIE5, Image ID: 11, Resolution: 816x528, Packet ID: 17 2013-04-13T15:53:31 <+Steffann> :) 2013-04-13T15:58:32 < Laurenceb_> :-D 2013-04-13T16:00:31 <+Steffann> I probably wouldnt even receive it when it's next to the antenna :P 2013-04-13T16:03:18 < Robint91> $$PIE,593,13:01:51,52.01500,2.43312,17128,65,70,9*F25F 2013-04-13T16:04:09 < Robint91> it comes closer 2013-04-13T16:04:10 < Robint91> http://i.imgur.com/8r6BL9D.png 2013-04-13T16:06:53 -!- barthess [~barthess@178.154.14.159] has joined ##stm32 2013-04-13T16:16:31 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has quit [Quit: trepidaciousMBR] 2013-04-13T16:21:10 -!- barthess [~barthess@178.154.14.159] has quit [Quit: Leaving.] 2013-04-13T16:30:33 < Laurenceb_> slowing down now 2013-04-13T16:31:59 < Laurenceb_> this is interesting 2013-04-13T16:32:14 < Laurenceb_> apparently the ublox max-7 broke epically 2013-04-13T16:32:38 < Laurenceb_> 1.8v version uses regular xtal and doesnt like low temperature 2013-04-13T16:35:02 <+Steffann> lol 2013-04-13T16:35:04 <+Steffann> oops 2013-04-13T16:36:11 <+Steffann> Isn't that something they knew before they launched it Laurenceb_ ? 2013-04-13T16:36:56 <+Steffann> Also 'funny' how many problems are caused by the rfmxxxx module they like to use :) 2013-04-13T16:37:15 <+Steffann> "reset every 20 string" wonderful workaround 2013-04-13T16:43:00 < dongs> iis the shit dead yet? 2013-04-13T16:43:07 < Laurenceb_> 66% dead 2013-04-13T16:43:23 < Laurenceb_> two out of three balloons failed epically 2013-04-13T16:44:27 <+Steffann> one radio and one gps ... 2013-04-13T16:44:57 <+Steffann> They have no show around balloons in jappyland dongs? 2013-04-13T16:45:25 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-13T16:45:46 <+Steffann> Analyzing every detail, with fancy texts, jury and of course high pitched girl voices 2013-04-13T16:46:17 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:fcc8:97b0:7d89:173d] has joined ##stm32 2013-04-13T16:49:16 < Robint91> mhh the APRS on PIE is making interference on the 70cm signals 2013-04-13T16:49:25 < Laurenceb_> doh 2013-04-13T16:50:45 < Laurenceb_> looks like rpi camera has quite good resolution and low noise.. but the exposure and colour balance is poor 2013-04-13T16:50:58 < Laurenceb_> http://ssdv.habhub.org/images/2013-04-13--13-26-22-PIE5-69.jpeg?u=89 2013-04-13T16:51:35 < Laurenceb_> now if they had another camera alongside to compare with... 2013-04-13T16:52:00 <+Steffann> Robint91 it is transmittin constantly not? 2013-04-13T16:52:21 < Robint91> Steffann, yes 2013-04-13T16:52:24 < Laurenceb_> http://ssdv.habhub.org/images/2013-04-13--10-43-32-PIE5-53.jpeg?u=261 2013-04-13T16:52:33 < Robint91> but the aprs is more bursty 2013-04-13T16:52:35 < Laurenceb_> works well under less challenging conditions 2013-04-13T16:54:10 <+Steffann> They won one of those cameras Laurenceb_? 2013-04-13T16:55:00 < Laurenceb_> no, rpi gave them it 2013-04-13T16:55:33 <+Steffann> They didnt even win them in that "best idea" contest :S 2013-04-13T16:55:41 <+Steffann> /them/it 2013-04-13T16:57:58 < Laurenceb_> looks like the chase will be on soon 2013-04-13T16:58:23 < Laurenceb_> i predict convoy of nerds heading across europe to try and grab the camera 2013-04-13T16:58:57 < baird> zomg nerd rush 2013-04-13T16:59:20 < Laurenceb_> with a well focussed laser.... 2013-04-13T17:01:13 <+Steffann> Laurenceb_ it's still on its way to me :) 2013-04-13T17:03:18 <+Steffann> too bad i have no car 2013-04-13T17:03:35 <+Steffann> nor a license to drive one 2013-04-13T17:05:58 < Erlkoenig> wow i am not the only one 2013-04-13T17:11:21 <+Steffann> only one without a drivers license Erlkoenig ? 2013-04-13T17:11:26 < Erlkoenig> yup 2013-04-13T17:11:44 <+Steffann> Too expensive, lol 2013-04-13T17:11:50 <+Steffann> > 1.5k euro :S 2013-04-13T17:12:17 < Erlkoenig> just too lazy :3 2013-04-13T17:12:35 <+Steffann> scared you mean 2013-04-13T17:12:45 < Erlkoenig> scared of what :D 2013-04-13T17:13:08 <+Steffann> To drive in a car. 2013-04-13T17:13:27 < zyp> Steffann, it's probably not going to get less expensive, so better just get it over with 2013-04-13T17:13:28 < Erlkoenig> hu... no 2013-04-13T17:14:02 <+Steffann> Yeah, i know zyp, but currently i 'need' the money. 2013-04-13T17:14:41 < zyp> that's why you get it before you move out from your parents and have to start paying your own rent and shit :p 2013-04-13T17:15:32 < zyp> 1.5k euro doesn't sound too expensive 2013-04-13T17:15:48 < zyp> I think it's easily twice that in norway nowadays 2013-04-13T17:15:52 <+Steffann> That's what i starts with. 2013-04-13T17:15:59 <+Steffann> but norway ==== expensive 2013-04-13T17:16:02 < zyp> yeah 2013-04-13T17:16:11 <+Steffann> */i/it 2013-04-13T17:16:50 < zyp> I don't remember what I paid, too long ago 2013-04-13T17:18:19 <+Steffann> Your bank account has a history no? :) 2013-04-13T17:18:26 <+Steffann> *online banking account 2013-04-13T17:18:52 <+Steffann> Too lazy to dig into that, ok 2013-04-13T17:19:28 < inca> Anyone have an F4 Discovery board? 2013-04-13T17:19:42 < zyp> Steffann, well, I switched banks five years ago 2013-04-13T17:19:49 < zyp> inca, sure 2013-04-13T17:19:58 <+Steffann> i think almost everyone here has one 2013-04-13T17:20:31 < zyp> inca, want me to test something? 2013-04-13T17:20:44 -!- Steffann is now known as Steffanx 2013-04-13T17:21:37 < inca> there are new instructions up for bootstrapping Blackmagic onto the STlink/V2 F103 from the F407. http://embdev.net/articles/STM_Discovery_as_Black_Magic_Probe 2013-04-13T17:22:05 < inca> better link: http://embdev.net/articles/STM_Discovery_as_Black_Magic_Probe#Bootstraping_via_the_F4Discovery_board_itself 2013-04-13T17:22:29 < inca> the third to last bullet says: Connect "P2" PA3 to "ST-LINK" pin 4 and "P2" PA2 to "ST-LINK" pin 2 2013-04-13T17:23:08 < zyp> oh, you flash bmp to the F4 first, then use that to flash it to the F1? nice idea 2013-04-13T17:23:11 < inca> I believe this is where we are connecting the F4 to the F103 for flashing the F103 2013-04-13T17:24:33 < inca> First issue is an easy one. "P2" does not have PA2 or PA3 pins, so I think he meant on "P1" header. 2013-04-13T17:26:33 < inca> in figure 12 of the UM1472 User Manual for the STM32F4DISCOVERY board, it shows the purpose of solder bridges SB2-9. http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00039084.pdf 2013-04-13T17:27:59 < inca> Second issue is what exactly am I doing with PA2 and PA3. The relevant code from BMP/src/platforms/f4discovery/platform.h https://github.com/gsmcmullin/blackmagic/blob/master/src/platforms/f4discovery/platform.h 2013-04-13T17:31:09 < inca> PA3 appears to be TMS in the code, which gets connected to CN3 - ST-LINK pin 4 <= depending on SB9 and SB8, can be the default TMS/SWDIO (PA13) or STM_JTMS (JTCK/SWCLK on F103) 2013-04-13T17:34:21 < inca> the PA3 code comment appears to conflict with the code and documentation 2013-04-13T17:35:46 < inca> anyway... here's my question: Is it possible to flash the F103 from the F407 with the default solder bridges intact (SB3,5,7,9)? 2013-04-13T17:36:28 < inca> See figure 12 in DM00039084.pdf above, which is actually UM1472 2013-04-13T17:38:38 < inca> or is it necessary to expose STM_JTCK and STM_JTMS, pin 37 JTCK/SWCKL and pin 34 JTMS/SWDIO, respectively, of the F103 to remove the ST protections? 2013-04-13T17:44:49 < inca> I think I answered my own question 2013-04-13T17:45:09 < inca> when I try to swdp_scan, it fails, 2013-04-13T17:45:17 < inca> solder time 2013-04-13T17:46:53 < inca> oh wait... I didn't connect PA2 or PA3. Try again. 2013-04-13T17:50:59 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: to sleep, perchance to dream] 2013-04-13T17:54:31 -!- barthess [~barthess@178.154.14.159] has joined ##stm32 2013-04-13T18:01:38 -!- izzy84075 [~quassel@50.35.192.18] has quit [Quit: No Ping reply in 180 seconds.] 2013-04-13T18:02:01 < inca> Yes, it needs solder bridges swapped at this point from odds to evens 2013-04-13T18:02:02 -!- izzy84075 [~quassel@50.35.192.18] has joined ##stm32 2013-04-13T18:03:36 < inca> If it were a separate board, one could conceivably take off the ldd jumper to power off the F4 and then temporarily flash with the even SBs connected 2013-04-13T18:04:03 < zyp> no. 2013-04-13T18:05:08 < inca> why is that? 2013-04-13T18:05:37 < zyp> because an unpowered chip pulls everything it's connected to low through the esd protection diodes 2013-04-13T18:07:38 -!- johntramp [~john@122-62-203-214.jetstream.xtra.co.nz] has quit [Ping timeout: 245 seconds] 2013-04-13T18:08:30 < baird> Free electronic psilocybin: https://www.youtube.com/watch?v=OVDm1zCF2JA (Yet another LCD demo..) 2013-04-13T18:12:23 < dongs> haha 2013-04-13T18:13:00 < dongs> baird: why not fil entire screen? 2013-04-13T18:13:02 < dongs> whats the rez 2013-04-13T18:14:34 < baird> It needs two X*Y arrays, and ~109kB was the max available.. 2013-04-13T18:14:38 < baird> 320x160 2013-04-13T18:15:15 < baird> That video doesn't do justice to it at all-- 80fps mindbending, woo. 2013-04-13T18:15:22 < inca> zyp there are 22 ohm resistors in between, at least... it might be enough. 2013-04-13T18:20:16 < baird> I was poking at the xscreensaver code earlier-- I might steal code from that. 2013-04-13T18:23:30 < baird> Stealing my own code.. The fluidballs demo was mostly my work.. but a jerk removed my credit from the file. All my old comments are still there, though. 2013-04-13T18:31:26 < Laurenceb_> lolz 2013-04-13T18:31:28 < Laurenceb_> http://ssdv.habhub.org/ 2013-04-13T18:31:32 < Laurenceb_> pi camera died 2013-04-13T18:32:02 < Laurenceb_> probably extreme UV 2013-04-13T18:37:20 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-13T18:38:04 -!- BrainDamage [~BrainDama@62.10.5.60] has quit [Read error: Connection reset by peer] 2013-04-13T18:39:53 < baird> Looks allllll the saammmeeee 2013-04-13T18:41:13 -!- BrainDamage [~BrainDama@62.10.5.60] has joined ##stm32 2013-04-13T18:41:42 < inca> hokay 2013-04-13T18:42:07 < inca> soldered, connected, debugging but not loading the bmp dfu onto the f103 2013-04-13T18:42:09 < inca> hm 2013-04-13T18:44:08 -!- BrainDamage [~BrainDama@62.10.5.60] has quit [Remote host closed the connection] 2013-04-13T18:44:21 < inca> switching to #openocd 2013-04-13T18:44:28 < inca> err... #libopencm3 2013-04-13T19:08:02 -!- _BJFreeman [~bjfree@13.sub-75-233-251.myvzw.com] has joined ##stm32 2013-04-13T19:08:20 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-13T19:09:35 -!- _BJFreeman is now known as BJfreeman 2013-04-13T19:10:43 < Laurenceb_> http://ssdv.habhub.org/images/2013-04-13--15-54-27-PIE5-9D.jpeg?u=66 2013-04-13T19:10:49 < Laurenceb_> atmosphere :P 2013-04-13T19:14:13 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-13T19:15:03 < Laurenceb_> http://www.raspberrypi.org/archives/3697#comments 2013-04-13T19:15:11 < Laurenceb_> "I’ve seen images like this before, where there’s just too much contrast between sky and land. For next time I’ll probably set the exposure manually in the code." 2013-04-13T19:15:16 < Laurenceb_> hahaha good luck with that 2013-04-13T19:17:50 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 252 seconds] 2013-04-13T19:22:24 < Laurenceb_> balloon enters germany at 40088 meters 2013-04-13T19:22:27 < Laurenceb_> coincidence? 2013-04-13T19:22:51 <+Steffanx> What's 40088? 2013-04-13T19:23:01 < Laurenceb_> the altitude was 2013-04-13T19:23:10 <+Steffanx> Yes, but why a coïncidence? 2013-04-13T19:23:16 <+Steffanx> /ï/i 2013-04-13T19:23:20 < Laurenceb_> 88..... 2013-04-13T19:23:28 < gxti> so? 2013-04-13T19:23:33 <+Steffanx> Sorry, im not into memes 2013-04-13T19:23:55 < gxti> it's just a number Laurenceb_ but i don't even know what you think is interesting about it 2013-04-13T19:30:09 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-13T20:05:09 -!- johntramp [~john@122-62-203-214.jetstream.xtra.co.nz] has joined ##stm32 2013-04-13T20:14:11 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-13T20:14:11 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-13T20:14:11 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-13T20:15:23 -!- baird [~cjb@ppp121-45-182-27.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-04-13T20:19:27 -!- Luggi09 [~luke@cnh8092116116.pppoe.surfer.cnh.at] has quit [Ping timeout: 260 seconds] 2013-04-13T20:20:04 -!- Erlkoenig [~erlkoenig@pptp-212-201-75-117.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-13T20:30:03 < gxti> anyone got recommendations for ESD protection of a GPS antenna input? 2013-04-13T20:32:27 < gxti> hard to find low-capacitance stuff on digikey because capacitance isn't listed, nor on octopart 2013-04-13T20:33:03 < BJfreeman> you can always use a mosfet drain to source 2013-04-13T20:33:53 < BJfreeman> spec sheets give capacitance 2013-04-13T20:34:15 < gxti> same for TVS diodes but i can't sort or filter so finding them is challenging 2013-04-13T20:34:28 < BJfreeman> true 2013-04-13T20:34:59 < BJfreeman> have not done any with RF so can't help off the top of my head 2013-04-13T20:39:05 < Robint91> gxti, large inductor to GND? 2013-04-13T20:42:07 < qyx_> gxti: try that http://www.digikey.com/product-search/en?x=0&y=0&lang=en&site=us&KeyWords=ESD1P0RF 2013-04-13T20:42:52 < qyx_> the parts from infineon have 0.5pF 2013-04-13T20:43:00 < gxti> not bad, standoff voltage is quite high though 2013-04-13T20:43:17 < gxti> this is the best i've found so far: http://www.digikey.com/product-detail/en/LXES15AAA1-100/490-5680-1-ND/2651839 2013-04-13T20:43:28 < gxti> seems too good to be true though? 2013-04-13T20:43:54 < Robint91> gxti, seems nice 2013-04-13T20:44:13 < qyx_> 0-05pF O_o 2013-04-13T20:44:32 < gxti> specified at 1mhz, not sure how much that might change at 1.5ghz 2013-04-13T20:47:16 < qyx_> it's also quite small 2013-04-13T20:47:45 < gxti> the lc section that i use to insert power for the antenna is already 0402 so it would fit in nicely. 2013-04-13T20:48:11 < qyx_> thats for the ntp clock? 2013-04-13T20:48:19 < gxti> yes 2013-04-13T20:50:33 < qyx_> do you plan selling them? 2013-04-13T20:54:19 < gxti> yes, i have a handful of the current generation ones upstairs waiting for me to test them 2013-04-13T20:54:54 < gxti> trying to mould it into a better product. better protection, proper enclosure, etc 2013-04-13T20:56:19 <+Steffanx> Just curious, who buys something like that. And what for gxti ? 2013-04-13T20:56:21 < qyx_> maybe i would buy some 2013-04-13T20:56:41 < qyx_> some = like 2pcs 2013-04-13T20:56:54 <+Steffanx> I mean, i just use a random ntp server on the web 2013-04-13T20:57:04 < gxti> that time has to come from somewhere 2013-04-13T20:57:27 < gxti> usually it's some shitty rs-232 thing plugged into a pentium II 2013-04-13T20:57:54 < gxti> but i can exceed the limits of NTP (over internet anyway) with less than 1W 2013-04-13T20:58:24 <+Steffanx> ok, but what is the benifit from using this over a random one on the web? 2013-04-13T20:58:32 <+Steffanx> *this = yours 2013-04-13T20:58:43 < gxti> to you? not much or you wouldn't be asking 2013-04-13T20:59:03 < Laurenceb_> http://i.imgur.com/9YMpp0m.jpg 2013-04-13T20:59:07 < gxti> hobbyists, investment banks, corporations in general 2013-04-13T20:59:15 <+Steffanx> I don't say i'm interested. I'm curious who uses it for what ( and why ) 2013-04-13T20:59:17 < gxti> Laurenceb_: nice pair 2013-04-13T20:59:39 < Laurenceb_> hehe 2013-04-13T20:59:58 < Laurenceb_> "what a couple of tits" 2013-04-13T21:00:09 < gxti> traders love to have precise timing for their zany schemes 2013-04-13T21:00:16 <+Steffanx> Your target is the first one i guess gxti ? The hobbist.. 2013-04-13T21:00:40 < gxti> well without a fancy corporate website and 4-digit price tag i'm guessing most corporations will overlook it 2013-04-13T21:00:43 < gxti> so yes 2013-04-13T21:01:00 < gxti> i don't really want to deal with supporting them anyway 2013-04-13T21:01:04 <+Steffanx> heh 2013-04-13T21:03:56 -!- Erlkoenig [~erlkoenig@pptp-212-201-78-83.pptp.stw-bonn.de] has joined ##stm32 2013-04-13T21:05:10 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-13T21:08:40 < gxti> this looks like a winner: http://www.digikey.com/product-detail/en/PESD5V0S1BB,335/568-7349-1-ND/2698191 2013-04-13T21:08:48 < gxti> 5v, bidir, 0.5pF 2013-04-13T21:09:20 < gxti> will use either that or the 15v 0.05pF one, not entirely sure that one will do what it claims to at 1.5ghz though 2013-04-13T21:10:47 < karlp> zyp: re git and sshfs, not sure, might look a bit more on monday. 2013-04-13T21:12:36 -!- PaulFertser [paul@2001:470:26:54b:250:70ff:fee7:41ec] has joined ##stm32 2013-04-13T21:15:23 < PaulFertser> Hi! Does anyone want to test semihosting (console i/o) on a blackmagicprobe? http://paste.debian.net/249342/ (sent to Uwe for review). 2013-04-13T21:15:53 < PaulFertser> BTW, big thank you zyp for adding STM32F0 (and others) targets support. 2013-04-13T21:15:57 < Laurenceb_> is Tectu here? 2013-04-13T21:17:24 < karlp> Robint91: I use the mrf24j40 modules a bit, what else are you looking for? 2013-04-13T21:17:57 < Robint91> karlp, are those handy? 2013-04-13T21:18:27 < Robint91> karlp, One my application I can't really have a large 2.4Ghz antenna 2013-04-13T21:18:51 < Robint91> karlp, I can't mount the antenna freely, I needs to be above a PCB 2013-04-13T21:18:56 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:fcc8:97b0:7d89:173d] has quit [Read error: Connection reset by peer] 2013-04-13T21:22:13 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 240 seconds] 2013-04-13T21:25:36 < karlp> Robint91: I like them, 2013-04-13T21:25:41 < karlp> I have a few on my desk now. 2013-04-13T21:26:03 < karlp> I like the idea of it being 802.15.4 standard, not proprietary rf like the nordic or some of the TI ones. 2013-04-13T21:34:16 < karlp> https://github.com/karlp/simrf has some basic code for them too, doesn't work on the l1 yet, but works on the f1 2013-04-13T21:35:53 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 252 seconds] 2013-04-13T22:05:58 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-13T22:07:08 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-13T22:07:30 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [Client Quit] 2013-04-13T22:20:48 -!- barthess [~barthess@178.154.14.159] has quit [Quit: Leaving.] 2013-04-13T22:27:19 < Laurenceb_> Robint91: you know ST have libraries for STM32W now? 2013-04-13T22:30:05 < Robint91> Laurenceb_, STM32W doesn't have a DAC 2013-04-13T22:30:18 < Laurenceb_> oh 2013-04-13T22:30:22 < Laurenceb_> so use pwm :D 2013-04-13T22:30:58 < Robint91> Laurenceb_, I need a DAC, also I have very little room to place the ful 2.4GHz circuitry unless I will got to double sided smt 2013-04-13T22:31:18 < Laurenceb_> i see 2013-04-13T22:31:22 -!- Luggi09 [~luke@cnh8092116116.pppoe.surfer.cnh.at] has joined ##stm32 2013-04-13T22:31:35 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-13T22:31:43 < Robint91> Laurenceb_, I need a variable current that I can modulate with 38khz, using PWM is difficult for that 2013-04-13T22:31:53 < Laurenceb_> ok 2013-04-13T22:32:54 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Ping timeout: 245 seconds] 2013-04-13T22:37:20 < karlp> you doing IR modulation? 2013-04-13T22:41:46 < upgrdman> does the dac give a true voltage, or it is just a high-freq pwm run through an RC filter ... high impedence? 2013-04-13T22:42:18 < ossifrage> has anyone tried using a adafruit ftdi friend to bootload a stm32, connecting cts/rts to boot0 and nrst? 2013-04-13T22:45:06 < ossifrage> I'm trying to come up with a low pain way for people to push new firmware (without needing jumpers or buttons onboard) 2013-04-13T22:46:05 < Laurenceb_> ossifrage: ive used that technique with bluetooth modules 2013-04-13T22:46:19 < Laurenceb_> worked well for me - wireless firmware upgrade :P 2013-04-13T22:46:27 < ossifrage> Laurenceb, how did you wire it up? 2013-04-13T22:46:58 < ossifrage> and did you need custom software on the host side or just use the generic stm32flash (or whatever) 2013-04-13T22:47:14 < Laurenceb_> i used the python stm32flash code 2013-04-13T22:47:31 < Laurenceb_> and added a few lines to set the cts/rts 2013-04-13T22:47:37 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-13T22:48:56 < Laurenceb_> well - for my rn-42 i made it more complex 2013-04-13T22:49:35 < Laurenceb_> https://github.com/Laurenceb/STM32-Logger/blob/master/jtag/stm32loader.py 2013-04-13T22:49:37 < Laurenceb_> code there 2013-04-13T22:49:55 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Client Quit] 2013-04-13T22:51:51 -!- trepidaciousMBR [~trepidaci@trepidacious.plus.com] has joined ##stm32 2013-04-13T22:54:05 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has quit [Quit: quit] 2013-04-13T22:55:32 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Remote host closed the connection] 2013-04-13T22:56:39 -!- trepidaciousMBR [~trepidaci@trepidacious.plus.com] has quit [Client Quit] 2013-04-13T23:13:18 < ossifrage> Hmm, not quite as painless as I'd hoped, the ftdi friend only has rts and cts, with cts being an input 2013-04-13T23:13:35 < ossifrage> it has solder jumpers on the back to swap rts with dtr 2013-04-13T23:14:29 < gxti> the ghetto arduino way is to connect SRST via a capacitor so pulling DTR low only briefly plips the reset line. but i guess that doesn't help since you need to pull BOOT0 high, not low. 2013-04-13T23:15:29 < ossifrage> on the one board I have here we used a oneshot to fire boot0 from a reset button, but that oneshot is a waste of bom in my book 2013-04-13T23:15:32 < gxti> you could still do it by adding a mosfet but kinda lame 2013-04-13T23:15:47 < ossifrage> but it is nice you hold the reset button down and it enters boot mode on release 2013-04-13T23:16:01 < gxti> pull dtr (or rts) low, plips reset, mosfet inverts to pull boot0 high 2013-04-13T23:17:27 < ossifrage> I guess I need to bodge something up with the f0disco and see what works 2013-04-13T23:18:15 < ossifrage> I decided to switch over from the 10 pin jtag header to just using a stlink swd style header for jtag 2013-04-13T23:18:42 <+Steffanx> Tectu wake up Sir 2013-04-13T23:18:43 < ossifrage> so for $9 you can hookup a jtag interface to the board 2013-04-13T23:23:30 -!- DLPeterson [~hazelnuss@107-197-105-155.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 264 seconds] 2013-04-13T23:23:52 -!- DLPeterson [~hazelnuss@107-197-105-155.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-04-13T23:30:28 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-13T23:31:33 -!- elektrinis [~circuit@78.60.169.125] has quit [Quit: pokðt] 2013-04-13T23:43:17 -!- CRF_Peter [~Peter@dhcp-189033.eduroam.chalmers.se] has joined ##stm32 2013-04-13T23:53:16 < Robint91> karlp, yep doing some sort of uart on 38khz IR 2013-04-13T23:55:27 -!- DLPeterson [~hazelnuss@107-197-105-155.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 276 seconds] 2013-04-13T23:56:12 -!- DLPeterson [~hazelnuss@107-197-105-155.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 --- Day changed Sun Apr 14 2013 2013-04-14T00:02:45 -!- DLPeterson [~hazelnuss@107-197-105-155.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 252 seconds] 2013-04-14T00:11:54 -!- DLPeterson [~hazelnuss@107-197-105-155.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-04-14T00:18:51 -!- DLPeterson [~hazelnuss@107-197-105-155.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 260 seconds] 2013-04-14T00:19:08 -!- DLPeterson [~hazelnuss@107-197-105-155.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-04-14T00:25:27 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-14T00:31:17 -!- barthess [~barthess@77.67.129.60] has joined ##stm32 2013-04-14T00:35:32 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Ping timeout: 246 seconds] 2013-04-14T00:38:54 -!- DLPeterson_ [~hazelnuss@c-71-198-192-33.hsd1.ca.comcast.net] has joined ##stm32 2013-04-14T00:41:48 -!- DLPeterson [~hazelnuss@107-197-105-155.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 245 seconds] 2013-04-14T00:47:50 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-14T00:49:07 < Laurenceb_> http://ssdv.habhub.org/ 2013-04-14T00:49:11 < Laurenceb_> *facepalm* 2013-04-14T00:52:06 < Robint91> thunderbirds 2013-04-14T00:54:13 < gxti> why 2013-04-14T00:54:46 -!- n00b750 [~me@66.49.221.158] has joined ##stm32 2013-04-14T00:55:03 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-14T00:55:57 < Laurenceb_> trololololool 2013-04-14T00:56:01 < Laurenceb_> thats why 2013-04-14T00:56:20 < Laurenceb_> airborne trolling 2013-04-14T01:02:13 -!- barthess [~barthess@77.67.129.60] has quit [Read error: Connection reset by peer] 2013-04-14T01:07:23 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Quit: Ik ga weg] 2013-04-14T01:11:48 < qyx_> Laurenceb_: is it still up? or landed somewhere already? 2013-04-14T01:12:28 < Laurenceb_> still flying 2013-04-14T01:12:33 < Laurenceb_> might last a few days 2013-04-14T01:13:46 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-14T01:13:46 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-14T01:51:54 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-14T02:12:05 -!- upgrdman_ [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-14T02:15:17 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Ping timeout: 252 seconds] 2013-04-14T02:16:39 -!- upgrdman__ [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-14T02:18:42 -!- upgrdman_ [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Ping timeout: 264 seconds] 2013-04-14T02:21:57 -!- easd [~easd@host159-74-dynamic.10-79-r.retail.telecomitalia.it] has quit [Read error: Connection reset by peer] 2013-04-14T02:29:52 -!- _BJFreeman [~bjfree@13.sub-75-233-251.myvzw.com] has joined ##stm32 2013-04-14T02:30:09 -!- BJfreeman [~bjfree@13.sub-75-233-251.myvzw.com] has quit [Ping timeout: 276 seconds] 2013-04-14T02:32:18 -!- Laurenceb_ [~Laurence@host86-174-21-108.range86-174.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-14T02:35:59 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-227-171.clienti.tiscali.it] has joined ##stm32 2013-04-14T03:10:39 -!- Erlkoenig [~erlkoenig@pptp-212-201-78-83.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-14T03:11:12 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-14T03:18:59 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Ping timeout: 246 seconds] 2013-04-14T03:45:23 -!- _BJFreeman is now known as BJfreeman 2013-04-14T03:47:35 < dongs> Laurenceb: rofl, ssdv images link turned into a trollfest 2013-04-14T03:48:27 < dongs> oh, old news 2013-04-14T03:50:01 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-227-171.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-04-14T03:55:45 -!- zlog [~zlog@ip68-102-203-6.ks.ok.cox.net] has quit [Remote host closed the connection] 2013-04-14T03:58:02 -!- zlog [~zlog@ip68-102-203-6.ks.ok.cox.net] has joined ##stm32 2013-04-14T04:06:48 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-04-14T04:09:13 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-14T04:17:33 -!- gsmcmullin [~gareth@c-76-21-106-184.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] 2013-04-14T04:25:16 -!- gsmcmullin [~gareth@c-76-21-106-184.hsd1.ca.comcast.net] has joined ##stm32 2013-04-14T04:50:01 -!- upgrdman__ [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Quit: Leaving] 2013-04-14T04:50:21 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-14T04:50:21 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-14T04:50:21 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-14T05:14:53 -!- CRF_Peter [~Peter@dhcp-189033.eduroam.chalmers.se] has quit [Ping timeout: 255 seconds] 2013-04-14T05:26:54 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-14T05:28:38 -!- BJfreeman [~bjfree@13.sub-75-233-251.myvzw.com] has quit [Quit: had a good time] 2013-04-14T05:46:13 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-14T05:48:37 -!- baird [~cjb@ppp121-45-182-27.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-14T05:54:36 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 245 seconds] 2013-04-14T06:09:32 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-14T06:10:29 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Ping timeout: 246 seconds] 2013-04-14T06:12:06 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-14T06:19:59 < talsit> anyone around this fine morning? 2013-04-14T06:22:34 < dongs> just me 2013-04-14T06:22:38 < upgrdman> yes 2013-04-14T06:22:54 < upgrdman> i was even working with my stm32 2013-04-14T06:23:22 < upgrdman> http://www.youtube.com/watch?v=uEg1qYvp4ac 2013-04-14T06:23:51 < dongs> oo, pretty 2013-04-14T06:23:55 < dongs> is that from cc2500? 2013-04-14T06:24:13 < upgrdman> yup 2013-04-14T06:24:20 < dongs> impressive 2013-04-14T06:24:46 < upgrdman> now that i got wf mode working, i need to dick with the lcd controller and find out how to make it autoscroll, like a real wf mode should 2013-04-14T06:31:38 < dongs> should be doable 2013-04-14T06:31:57 < dongs> pretty sure all those chinaclone shits will do scrolling 2013-04-14T06:36:57 < baird> The SSD2119 controller certainly does 2013-04-14T06:37:03 < emeb_mac> don't think the adafruit one does. 2013-04-14T06:37:41 < emeb_mac> (ST7735) 2013-04-14T06:38:09 < dongs> aidsfruit 2013-04-14T06:38:51 < emeb_mac> sounds... unhealthful. 2013-04-14T06:39:44 < dongs> just like liprings 2013-04-14T06:40:52 < baird> Today's prospective Engineering students are lagging behind due to their autoimmune systems making it too easy for them-- but there is a one-stop-shop solution! 2013-04-14T06:42:20 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-14T06:48:13 -!- baird is now known as cjbaird_away 2013-04-14T06:48:41 < emeb_mac> they should dye their hair pink 2013-04-14T06:54:19 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-14T06:54:26 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has joined ##stm32 2013-04-14T06:54:27 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-14T06:59:50 < cjbaird_away> ..but Pinkie Pie is Worst Pony 2013-04-14T07:01:13 < cjbaird_away> A fight broke out at that Australian Bronycon when someone said that. :) 2013-04-14T07:06:48 -!- flop|2 [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-14T07:09:38 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Ping timeout: 246 seconds] 2013-04-14T07:12:23 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has quit [Quit: quit] 2013-04-14T07:32:09 < gxti> didn't need to know that 2013-04-14T07:38:59 -!- R2COM1 [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-14T07:42:12 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 264 seconds] 2013-04-14T07:43:32 < gxti> professional testing apparatus http://partiallystapled.com/~gxti/circuits/2013/04/13-8clocks.jpg 2013-04-14T07:44:30 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 264 seconds] 2013-04-14T07:50:55 < dongs> haha 2013-04-14T07:53:05 < dongs> gxti: how come GPS isnt mounted? 2013-04-14T07:53:09 < dongs> what are you testing? 2013-04-14T07:54:59 < gxti> GPS is optional, some people want to use their own 2013-04-14T07:55:12 < gxti> so i'll mount it when they pay. at least for this batch. 2013-04-14T07:55:44 < gxti> i could just mount it and make them pay for it and make them cut the jumper trace to use their own, but then i'd have to buy more GPS modules. 2013-04-14T07:58:15 < dongs> ah ok 2013-04-14T07:58:22 < dongs> where does it get timing from when its without gps? 2013-04-14T07:58:26 < dongs> they just connect external serial shit? 2013-04-14T07:58:44 < gxti> serial and pulse-per-second, that's the thing at the bottom 2013-04-14T08:00:32 < dongs> right 2013-04-14T08:02:30 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 264 seconds] 2013-04-14T08:08:46 < dongs> so the test shit just shares gps_rx and pps thing? 2013-04-14T08:09:37 < gxti> yes, i don't have an antenna splitter anyway. i'll check the gps part if/when i assemble it, this is mostly just stability testing 2013-04-14T08:10:25 < gxti> i do have one with the gps but it's not in the picture 2013-04-14T08:10:27 < gxti> works great 2013-04-14T08:16:49 -!- R2COM1 is now known as R2COM 2013-04-14T08:17:17 -!- cjbaird_away is now known as baird 2013-04-14T08:26:03 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-14T08:28:44 -!- flop|2 [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Ping timeout: 246 seconds] 2013-04-14T08:36:26 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Ping timeout: 246 seconds] 2013-04-14T08:38:55 -!- dekar [~dekar@212.255.34.160] has joined ##stm32 2013-04-14T08:38:58 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-14T08:41:36 -!- dekar_ [~dekar@212.255.33.164] has quit [Ping timeout: 264 seconds] 2013-04-14T08:45:26 -!- dekar [~dekar@212.255.34.160] has quit [Ping timeout: 245 seconds] 2013-04-14T08:53:05 -!- dekar [~dekar@212.255.38.112] has joined ##stm32 2013-04-14T08:53:08 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-14T08:58:54 -!- dekar_ [~dekar@212.255.42.6] has joined ##stm32 2013-04-14T08:58:56 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-04-14T09:00:47 -!- dekar [~dekar@212.255.38.112] has quit [Ping timeout: 255 seconds] 2013-04-14T09:02:40 -!- pelrun [~James@197.46.96.58.static.exetel.com.au] has joined ##stm32 2013-04-14T09:07:38 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-14T09:08:59 -!- dekar__ [~dekar@212.255.34.51] has joined ##stm32 2013-04-14T09:09:02 -!- mode/##stm32 [+v dekar__] by ChanServ 2013-04-14T09:09:12 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Ping timeout: 264 seconds] 2013-04-14T09:12:10 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-14T09:12:13 -!- dekar_ [~dekar@212.255.42.6] has quit [Ping timeout: 240 seconds] 2013-04-14T09:14:26 < PaulFertser> Hi! Would be interesting to know how different tools handle exceptions. I know blackmagicprobe decodes the exception frame, writes back the registers and pulls it off the stack, so gdb produces a nice full backtrace, just as if one would get debugging a usual app with signals. 2013-04-14T09:14:59 < PaulFertser> OpenOCD doesn't fixup the registers, so you can't get the backtrace without fixing up manually or with a gdb script. 2013-04-14T09:16:37 < jpa-> i would say that gdb should be smart enough to do that itself - i don't know if it is already in the newest versions 2013-04-14T09:18:45 < PaulFertser> jpa-: do you mean gdb should fake the register contents? Or should it rather be able to show a backtrace by specifically handling exceptional state to do unwinding differently? I'm yet to understand how it does that currently but it doesn't look like it's implemented. I wonder what the the other tools do here. 2013-04-14T09:27:05 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-14T09:30:29 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Read error: Connection reset by peer] 2013-04-14T09:32:31 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-14T09:46:59 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-14T09:51:13 < PaulFertser> jpa-: it looks like gcc should place special unwinding instructions in special elf sections and gdb should use them automatically. Hm, sounds complicated. I know it used not to work before. 2013-04-14T10:01:39 -!- barthess [~barthess@77.67.232.27] has joined ##stm32 2013-04-14T10:05:27 < jpa-> PaulFertser: it seems to work sometimes and sometimes not 2013-04-14T10:05:33 < jpa-> PSP/MSP may be part of the issue 2013-04-14T10:05:46 < jpa-> as may nested exceptions 2013-04-14T10:09:15 -!- _BJFreeman [~bjfree@221.sub-75-196-43.myvzw.com] has joined ##stm32 2013-04-14T10:09:40 -!- _BJFreeman is now known as BJfreeman 2013-04-14T10:17:13 < PaulFertser> jpa-: yes, it looks like it's a rather complicated topic... BMP just hacks around that in 20 lines of code. 2013-04-14T10:17:52 < zyp> shouldn't be that complicated 2013-04-14T10:19:46 < zyp> ipsr should tell gdb when it's inside a handler, and the exc_return value should tell gdb what to return to when unwinding 2013-04-14T10:20:23 < zyp> exc_return contains a bit telling if it came from psp or msp 2013-04-14T10:21:49 < PaulFertser> zyp: i mean the whole unwinding business is terribly complicated, judging by libunwind, exidx/extab sections etc 2013-04-14T10:21:59 < PaulFertser> zyp: have you seen my yesterday's message here? 2013-04-14T10:22:10 < zyp> which? 2013-04-14T10:23:37 < PaulFertser> PM'd 2013-04-14T10:33:37 -!- mtbg [~mtbg@89-77-192-170.dynamic.chello.pl] has joined ##stm32 2013-04-14T10:33:46 < mtbg> hi 2013-04-14T10:33:57 < jpa-> hello 2013-04-14T10:35:46 < mtbg> I have hooked up a logic analyzed to that phy and now I probably know why it doesn't enable that pull up - the otg hs peripheral controller doesn't write to ULPI register at 0x35 which contains USB enable bit, which is 0 by default 2013-04-14T10:37:25 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-14T10:37:55 < mtbg> the otg hs writes to the 0x04, though, (value of 0xe5 and then 0xc5, which means: xcvrselect is set to FS transceiver, pull up enabled, normal operation, and the difference between e5 and c5 is transceiver reset bit) 2013-04-14T10:38:09 < mtbg> so it perfectly makes sense 2013-04-14T10:38:31 < mtbg> but why doesn't it write USB enable bit to 0x35? and how to force it to do so? 2013-04-14T10:40:09 < zyp> got a link to the documentation for these registers? 2013-04-14T10:41:01 < mtbg> http://www.cypress.com/?docID=42929 2013-04-14T10:43:51 < dongs> usb device mode only 2013-04-14T10:44:01 < mtbg> yep 2013-04-14T10:44:13 < zyp> ah, yeah, I just realized that's why it doesn't have vbus sensing 2013-04-14T10:44:26 < zyp> the one I have supports full otg 2013-04-14T10:44:59 < zyp> including SRP which does some vbus pulsing 2013-04-14T10:48:22 < mtbg> but I guess device-only transceiver should work, too 2013-04-14T10:48:34 < zyp> probably 2013-04-14T10:48:40 < mtbg> as it claims to be UTMI+ Level 0 compliant 2013-04-14T10:49:12 < zyp> do you see other register writes or reads? 2013-04-14T10:49:28 < mtbg> yes 2013-04-14T10:49:34 < zyp> which ones? 2013-04-14T10:49:47 < mtbg> but to the registers which are not present in that doc 2013-04-14T10:49:52 < mtbg> but are in ulpi spec 2013-04-14T10:49:55 < zyp> like 0x0a? 2013-04-14T10:50:09 < mtbg> yes 2013-04-14T10:50:17 < zyp> what is that written to? 2013-04-14T10:50:17 < mtbg> and 0x1f is being written to it 2013-04-14T10:50:39 < zyp> ah 2013-04-14T10:51:19 < zyp> and I guess you have reads on 0x13? 2013-04-14T10:51:30 < mtbg> no reads at all 2013-04-14T10:51:36 < zyp> oh 2013-04-14T10:53:27 < mtbg> at least for the period the logic analyzer could capture 2013-04-14T10:53:30 < mtbg> which is 1ms 2013-04-14T10:53:53 < mtbg> (starting from trigger, which was the first transaction) 2013-04-14T10:54:21 < mtbg> but there were only 5 subsequent writes and then nothing, just slience on the bus 2013-04-14T10:54:25 < zyp> ok 2013-04-14T10:55:33 < zyp> which other registers are written? 2013-04-14T10:57:48 < mtbg> some other interrupt mask register, and 0x1f, too, and then 0x11 afair 2013-04-14T10:58:22 < zyp> hmm 2013-04-14T10:58:42 < zyp> looks like 0x35 is vendor specific, so it's not strange it's not being written 2013-04-14T11:00:07 < zyp> http://www.cypress.com/?docID=30957 <- have you read this? 2013-04-14T11:01:40 < mtbg> oh well 2013-04-14T11:02:04 < mtbg> I saw this but before I have probed the bus 2013-04-14T11:02:09 < mtbg> and then forgot about it 2013-04-14T11:02:36 < mtbg> so we are sure why it doesn't work now 2013-04-14T11:02:47 < mtbg> that is good 2013-04-14T11:02:58 < mtbg> but the bad thing is 2013-04-14T11:03:23 < mtbg> stm32 otg hs periph does not allow to perform random register writes... 2013-04-14T11:03:38 < mtbg> so how would I set that 0x35 register to 0x04? 2013-04-14T11:03:46 < zyp> I wouldn't be too sure about that 2013-04-14T11:04:20 < mtbg> about what, not writing 0x35 being the cause? 2013-04-14T11:04:30 < mtbg> or the periph being unable to do random writes? 2013-04-14T11:04:32 < zyp> about not allowing register writes 2013-04-14T11:05:21 < mtbg> I have double checked the docs 2013-04-14T11:05:32 < mtbg> I see no register which would allow me to do so 2013-04-14T11:05:53 < mtbg> there are i2c transceiver access registers 2013-04-14T11:05:59 < zyp> the docs lack a bunch of registers 2013-04-14T11:06:58 < mtbg> so where to look for them? 2013-04-14T11:09:30 < zyp> GPVNDCTL, it's at offset 0x34, i.e. directly after the I2C register 2013-04-14T11:10:36 < zyp> https://casper.berkeley.edu/svn/trunk/roach/sw/linux/drivers/usb/gadget/dwc_otg/dwc_otg_cil.c <- take a look at phy_write() here 2013-04-14T11:11:51 < mtbg> ah 2013-04-14T11:12:02 < mtbg> this is because it is a standard peripheral 2013-04-14T11:12:08 < mtbg> with normalized register set 2013-04-14T11:12:10 < mtbg> right? 2013-04-14T11:12:27 < zyp> it's the dwc_otg usb core from synopsys, used in a lot of devices 2013-04-14T11:12:54 < zyp> apparently this feature is possible to turn off during synthesis, so it might be that it's not available in stm32, but worth a shot 2013-04-14T11:20:19 < zyp> fun fact: it's the same usb core being used in the raspberry pi 2013-04-14T11:24:58 < mtbg> yay!! 2013-04-14T11:25:03 < mtbg> mtbg@laptop ~/usb-dcmi2/usb-dcmi $ cat mdmp2.bin 2013-04-14T11:25:05 < mtbg> GPVNDCTL: b4 2013-04-14T11:25:17 < mtbg> OTG_HS.GPVNDCTL = 0x02000000 | 0x00<<16; 2013-04-14T11:25:25 < mtbg> I did a read from 0x00 2013-04-14T11:25:28 < mtbg> which is vendor id 2013-04-14T11:25:56 < zyp> so it's indeed present? that's nice to know 2013-04-14T11:26:03 < mtbg> it is 2013-04-14T11:29:31 < mtbg> [38720.224255] ehci_hcd 0000:00:12.2: GetStatus port:1 status 001005 0 ACK POWER sig=se0 PE CONNECT 2013-04-14T11:29:33 < mtbg> [38720.275304] usb 1-1: new high-speed USB device number 7 using ehci_hcd 2013-04-14T11:29:52 < zyp> great :) 2013-04-14T11:30:14 < mtbg> zyp: thanks! you solved my problem that I wasted nearly a week for 2013-04-14T11:30:17 < mtbg> you are awesome 2013-04-14T11:30:35 < zyp> no problem, this learned me a few things as well 2013-04-14T11:33:14 -!- elektrinis [~circuit@78.60.169.125] has joined ##stm32 2013-04-14T11:50:28 -!- Laurenceb_ [~Laurence@host86-174-21-108.range86-174.btcentralplus.com] has joined ##stm32 2013-04-14T12:01:06 < mtbg> I get -EPROTO now on all ep0 transfers 2013-04-14T12:02:42 < mtbg> ah 2013-04-14T12:02:44 < mtbg> ok 2013-04-14T12:05:04 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-04-14T12:05:17 -!- daku is now known as DaKu 2013-04-14T12:26:25 -!- pelrun_ [~James@197.46.96.58.static.exetel.com.au] has joined ##stm32 2013-04-14T12:30:07 -!- pelrun [~James@197.46.96.58.static.exetel.com.au] has quit [Ping timeout: 260 seconds] 2013-04-14T12:33:03 < mtbg> works 2013-04-14T12:33:20 < mtbg> sometimes, but I will work this out 2013-04-14T12:33:33 < mtbg> I'm so happy 2013-04-14T12:50:18 -!- Laurenceb__ [~Laurence@host81-159-190-245.range81-159.btcentralplus.com] has joined ##stm32 2013-04-14T12:51:32 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-14T12:52:05 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [Client Quit] 2013-04-14T12:52:06 -!- Laurenceb_ [~Laurence@host86-174-21-108.range86-174.btcentralplus.com] has quit [Ping timeout: 258 seconds] 2013-04-14T12:55:38 -!- Laurenceb__ [~Laurence@host81-159-190-245.range81-159.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-14T13:00:57 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-14T13:17:07 -!- sterna1 [~Adium@193.11.200.252] has joined ##stm32 2013-04-14T13:27:47 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-14T13:29:33 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 240 seconds] 2013-04-14T13:32:27 -!- Viper168_ is now known as Viper168 2013-04-14T13:35:19 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has joined ##stm32 2013-04-14T13:48:21 -!- baird [~cjb@ppp121-45-182-27.lns20.syd7.internode.on.net] has quit [Ping timeout: 245 seconds] 2013-04-14T13:58:39 -!- DaKu is now known as daku 2013-04-14T13:58:45 -!- daku is now known as DaKu 2013-04-14T14:02:28 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-14T14:09:28 < inca> yawn 2013-04-14T14:12:00 -!- BJfreeman [~bjfree@221.sub-75-196-43.myvzw.com] has quit [Quit: had a good time] 2013-04-14T14:15:08 -!- Erlkoenig [~erlkoenig@pptp-194-94-199-100.pptp.stw-bonn.de] has joined ##stm32 2013-04-14T14:26:12 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-14T14:26:12 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-14T14:26:12 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-14T14:26:15 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-14T14:35:27 -!- Laurenceb_ [~Laurence@host86-177-60-95.range86-177.btcentralplus.com] has joined ##stm32 2013-04-14T14:41:53 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-14T14:49:50 < pelrun_> don't ever get roped into trying to retrieve data from a 25 year old hard drive 2013-04-14T14:49:55 < pelrun_> aaaarrgghhhh 2013-04-14T14:51:38 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Quit: Bye] 2013-04-14T14:56:11 -!- pelrun_ [~James@197.46.96.58.static.exetel.com.au] has quit [Ping timeout: 260 seconds] 2013-04-14T14:59:29 -!- sterna1 [~Adium@193.11.200.252] has quit [Quit: Leaving.] 2013-04-14T15:08:31 -!- mtbg [~mtbg@89-77-192-170.dynamic.chello.pl] has quit [Quit: Konversation terminated!] 2013-04-14T15:24:23 < Robint91> whould a STM32F3 have enough power to do IQ modulation? 2013-04-14T15:25:44 < jpa-> sure, at some data rate 2013-04-14T15:30:50 < dongs> Robint91: emeb would know, he did some SDR shit 2013-04-14T15:30:53 < dongs> i think his conclusion was: no 2013-04-14T15:40:20 -!- pelrun [~James@60-241-99-33.static.tpgi.com.au] has joined ##stm32 2013-04-14T15:44:13 -!- Maya-sama [~Maya@s529c4932.adsl.online.nl] has joined ##stm32 2013-04-14T15:44:23 -!- hackkitten [~Maya@s529c4932.adsl.online.nl] has quit [Disconnected by services] 2013-04-14T15:44:33 -!- Maya-sama is now known as hackkitten 2013-04-14T15:49:50 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: to sleep, perchance to dream] 2013-04-14T15:51:08 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Ping timeout: 246 seconds] 2013-04-14T16:01:29 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-14T16:14:30 -!- hackkitten [~Maya@s529c4932.adsl.online.nl] has quit [Ping timeout: 264 seconds] 2013-04-14T16:28:10 < qyx_> Laurenceb_: lol, AVA is near us 2013-04-14T16:28:24 < qyx_> or was 2013-04-14T16:33:53 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-04-14T16:38:43 < dongs> sup blogs 2013-04-14T16:39:12 < Laurenceb_> its broadcasting from a mountainside 2013-04-14T16:39:22 < Laurenceb_> dunno if any Austrians will go and grab it 2013-04-14T16:39:42 < dongs> is it still running? 2013-04-14T16:39:49 < dongs> trashypi 2013-04-14T16:40:07 < Laurenceb_> was this morning 2013-04-14T16:40:39 < Laurenceb_> http://www.panoramio.com/photo_explorer#view=photo&position=55&with_photo_id=31160091&order=date_desc&user=1005168 2013-04-14T16:40:42 < Laurenceb_> in that treeline 2013-04-14T16:42:39 < qyx_> Laurenceb_: already landed? 2013-04-14T16:42:45 < qyx_> its not far from here 2013-04-14T16:42:51 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-14T16:44:04 < Laurenceb_> yeah 2013-04-14T16:44:08 < Laurenceb_> its still transmitting 2013-04-14T16:44:15 < Laurenceb_> the Austrian one 2013-04-14T16:44:27 < Laurenceb_> Switzerland one died 2013-04-14T16:48:09 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 252 seconds] 2013-04-14T16:49:32 < qyx_> Laurenceb_: can i find out somehow if someone is going to grab it? 2013-04-14T16:56:52 -!- DaKu is now known as daku 2013-04-14T17:17:56 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Ping timeout: 246 seconds] 2013-04-14T17:31:32 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-14T17:35:38 -!- CRF_Peter [~Peter@193.11.200.145] has joined ##stm32 2013-04-14T17:39:59 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-14T17:40:32 -!- CRF_Peter [~Peter@193.11.200.145] has quit [Ping timeout: 255 seconds] 2013-04-14T18:08:39 < Laurenceb_> qyx_: don't think anyone is going to get it 2013-04-14T18:10:02 < Laurenceb_> wait 2013-04-14T18:10:06 < Laurenceb_> superman has arrived 2013-04-14T18:11:00 < dongs> attn Laurenceb_ http://phys.org/news/2013-04-cheap-quick-hiv-dvd-scanners.html 2013-04-14T18:11:22 < Laurenceb_> superman == one of the Austrians 2013-04-14T18:11:27 < Blok> Anyone familiar with mrf24j40? 2013-04-14T18:11:34 < Laurenceb_> http://spacenear.us/tracker/ 2013-04-14T18:12:08 -!- CRF_Peter [~Peter@dhcp-177030.eduroam.chalmers.se] has joined ##stm32 2013-04-14T18:13:04 < Laurenceb_> qyx_: looks like its getting recovered 2013-04-14T18:13:09 < karlp> Blok: I use them a bit, what's up? 2013-04-14T18:16:33 < qyx_> Laurenceb_: i read them on irc 2013-04-14T18:17:21 < Blok> karlp: Great! I am struggling with making a board consume very little power. My culprit is the mrf24j40 mounted on a daughter board called mrf24j40ma. I am getting nowhere close to the specified 2 uA sleep consumption. More like 300uA. 2013-04-14T18:18:00 < karlp> hmm, sorry, I haven't gotten down to that level yet. 2013-04-14T18:18:00 < Laurenceb_> http://i.imgur.com/uMG0nov.png 2013-04-14T18:18:02 < Blok> karlp: I use immidiate sleep just like outlined in the data sheet. 2013-04-14T18:18:09 < Blok> karlp: Ahh 2013-04-14T18:18:51 < karlp> 2uA is for the chip, not for the module though right? 2013-04-14T18:18:54 < zyp> Blok, it's not some thoughtlessly placed pull resistors drawing that? 2013-04-14T18:20:28 < Blok> karlp: I have one pull-up on reset, that is all 2013-04-14T18:20:32 -!- phantoneD [~destroy@a95-92-88-3.cpe.netcabo.pt] has joined ##stm32 2013-04-14T18:20:53 < zyp> I mean on the daughter board? 2013-04-14T18:21:22 < Blok> oh sorry, zyp, the db is an official from microchip 2013-04-14T18:21:43 < zyp> doesn't matter, check the schematic. 2013-04-14T18:23:59 < Blok> zyp: One PU on reset, that is it 2013-04-14T18:24:13 -!- phantoxeD [~destroy@a95-92-88-3.cpe.netcabo.pt] has quit [Ping timeout: 256 seconds] 2013-04-14T18:25:35 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Quit: Leaving.] 2013-04-14T18:26:51 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 256 seconds] 2013-04-14T18:42:52 -!- baird [~cjb@ppp121-44-181-50.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-14T18:43:34 < baird> Tectu: the source for the hodge demo is now in the Youtube description. 2013-04-14T18:43:45 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-14T18:47:56 -!- barthess [~barthess@77.67.232.27] has quit [Quit: Leaving.] 2013-04-14T18:55:25 < inca> does anyone know the execution start address for the stlink/v2 firmware version STLinkV2.J16.S4? 2013-04-14T18:56:53 < jpa-> if you have the binary, should be easy enough to check in the vector table 2013-04-14T18:58:41 < Erlkoenig> correct, address 4 containts a 32bit-word which is the Reset Handler address 2013-04-14T18:59:04 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-14T19:00:14 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-14T19:02:38 < inca> thanks 2013-04-14T19:08:03 < inca> hmm 2013-04-14T19:08:16 < inca> it points to an odd address, is that a thumb thing? 2013-04-14T19:08:21 < zyp> yes 2013-04-14T19:08:30 < zyp> lowest bit indicates thumb 2013-04-14T19:08:53 -!- _BJFreeman [~bjfree@221.sub-75-196-43.myvzw.com] has joined ##stm32 2013-04-14T19:09:09 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-14T19:09:09 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-14T19:09:09 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-14T19:09:21 -!- _BJFreeman is now known as BJfreeman 2013-04-14T19:10:13 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-14T19:15:58 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2013-04-14T19:16:40 -!- baird [~cjb@ppp121-44-181-50.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-04-14T19:20:01 < inca> does it do something weird in thumb mode, like address the byte after its actual index? 2013-04-14T19:20:24 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-14T19:20:29 < zyp> huh? 2013-04-14T19:20:58 < zyp> the lowest bit is not part of the address, so you can say it addresses the byte before the number you are looking at 2013-04-14T19:21:26 < zyp> all thumb addrs are 16-bit aligned 2013-04-14T19:21:31 < inca> ah, right… 2013-04-14T19:22:19 < zyp> if you have a function at 0x8001000, the pointer to it will contain 0x8001001 2013-04-14T19:22:47 < inca> yep, that seems to work 2013-04-14T19:23:37 < zyp> if you try jumping to/calling a function without the lower bit set, you are trying to invoke a switch from thumb to arm mode, and since cortex-m doesn't have arm mode, you'll get an INVSTATE fault 2013-04-14T19:24:01 < zyp> therefore it will always be set 2013-04-14T19:24:39 < zyp> unless you have arm code in your binary, and then you are in for a bunch of trouble 2013-04-14T19:27:11 < inca> if there is ARM code in the STM32F103 firmware, then it is dead code from other firmwares 2013-04-14T19:27:34 < zyp> heh 2013-04-14T19:28:33 < PaulFertser> inca: are you reversing stlink firmware? Why? ;) 2013-04-14T19:29:41 < inca> I hosed my F103 trying to bootstrap bmp onto it… would like to get it back to oem, so I am doing some due diligence before blindly flashing code 2013-04-14T19:33:14 < inca> PaulFertser: do you have an interest in REing it? 2013-04-14T19:35:14 < pelrun> inca: no luck with BMP? 2013-04-14T19:35:45 < pelrun> anyway, iirc the stlink firmware starts at 8004000 2013-04-14T19:35:48 < PaulFertser> inca: i just flashed BMP to my stlink. 2013-04-14T19:36:22 < PaulFertser> inca: do you already have a full stlink binary (including their bootloader)? 2013-04-14T19:36:46 < inca> pelrun: no luck with bmp yet, just hosing of the disco f4 board. =) 2013-04-14T19:36:57 < pelrun> PaulFertser, I think the russians got the full binary out, but google translate doesn't do the best job with their forum :P 2013-04-14T19:37:07 < PaulFertser> pelrun: i can translate what you need 2013-04-14T19:37:15 < inca> PaulFertser: I believe I have the bootloader 2013-04-14T19:37:24 < inca> and full code 2013-04-14T19:37:27 < inca> 66k 2013-04-14T19:38:05 < PaulFertser> inca: i think with f4 you should have fully functional bmp on the target SoC already (since you managed to reflash stlink over it). 2013-04-14T19:38:14 < PaulFertser> inca: so what is the problem with debugging stlink's bmp? 2013-04-14T19:39:07 < inca> well… I spoke with Uwe Bonnes and it appears the BMP_dfu for the F4 was not so good, so I tried to delete it so the ROM bootloader would be used 2013-04-14T19:39:19 < inca> I apparently cannot remove the BMP bootloader from the F4 2013-04-14T19:39:39 < inca> the F103 no longer appears on the usb bus, even on a boot under reset 2013-04-14T19:40:24 < pelrun> figures, I seem to have lost the link 2013-04-14T19:40:30 < inca> so my choices for flashing have diminished to gdb over an unstable link 2013-04-14T19:40:32 < PaulFertser> inca: but do you have the BMP on your target functional? 2013-04-14T19:40:45 < inca> http://embdev.net/articles/STM_Discovery_as_Black_Magic_Probe#Bootstraping_via_the_F4Discovery_board_itself 2013-04-14T19:40:46 < pelrun> hang on 2013-04-14T19:40:56 < PaulFertser> pelrun: http://forum.easyelectronics.ru/viewtopic.php?f=17&t=6620&start=25 ? 2013-04-14T19:41:13 < pelrun> you shouldn't have overwritten the bootloader on the F4, BMP was supposed to just run as an app on that side 2013-04-14T19:41:27 < PaulFertser> inca: yes, does the target stm32f4 work for you as bmp? If it does, you should be able to use it to reflash/debug stlink. 2013-04-14T19:41:47 < inca> PaulFertser: That's where I was getting failures 2013-04-14T19:41:48 < pelrun> did you install the bmp usb driver on your pc? 2013-04-14T19:41:53 < inca> mac os x 2013-04-14T19:41:59 < inca> straight serial 2013-04-14T19:42:01 < inca> easy 2013-04-14T19:42:10 < pelrun> hm 2013-04-14T19:42:55 < pelrun> so you hosed both boards somehow? 2013-04-14T19:42:56 < inca> it was failing when running bmp on the F4 and trying to bootstrap the F103 over gdb 2013-04-14T19:43:11 < inca> F4 is fine, except that I can't get rid of bmp_dfu 2013-04-14T19:43:15 < PaulFertser> inca: are you using a pre-amed binary? 2013-04-14T19:43:27 < inca> do I need the uart wires for this? 2013-04-14T19:43:38 < pelrun> no 2013-04-14T19:43:39 < PaulFertser> inca: what errors does bmp on stm32f4 give you? 2013-04-14T19:43:44 < inca> PaulFertser: pre-armed binary? 2013-04-14T19:43:51 < PaulFertser> inca: pre-made :) 2013-04-14T19:43:55 < PaulFertser> typo 2013-04-14T19:44:05 < inca> heh 2013-04-14T19:44:08 < Erlkoenig> double-typo 2013-04-14T19:44:13 < inca> lemme try to repeat it 2013-04-14T19:44:13 < Erlkoenig> doubled performance 2013-04-14T19:44:53 < pelrun> should still be able to get stlink to respond on the f4 unless you resoldered something on that board 2013-04-14T19:44:57 < inca> PaulFertser: IIRC, at the gdb step 9, run and load would fail 2013-04-14T19:45:19 < inca> pelrun: the SB's for access to the F103 have been swapped 2013-04-14T19:45:23 < PaulFertser> inca: how exactly? Have you compiled the binary yourself? 2013-04-14T19:45:28 < inca> yes 2013-04-14T19:45:33 < PaulFertser> inca: for stlink i mean. 2013-04-14T19:45:48 < PaulFertser> inca: with PROBE_HOST=stlink ? Was it successful for sure? 2013-04-14T19:45:55 < pelrun> inca: you'll want to swap them back before it will work :) 2013-04-14T19:45:56 < inca> for f4discovery and stlink 2013-04-14T19:46:23 < pelrun> I didn't even bother with bmp on the f4, I just used stlink on it to flash my f1 board 2013-04-14T19:46:29 < inca> I made it for both, copied to their separate directories and archived so I can compare the binaries used as I apply patches 2013-04-14T19:46:46 < PaulFertser> inca: the wiki seems to have a typo, the second binary should be compiled with PROBE_HOST=stlink, not f4discovery. 2013-04-14T19:46:53 < inca> right 2013-04-14T19:47:00 < pelrun> both bootloader and bmp app, instead of trying to get the dfu updater working to get the app on the f1 2013-04-14T19:47:08 < inca> I do have a standalone commercial st-link/v2 here 2013-04-14T19:47:23 < inca> pelrun: how did you bootstrap? what software do you use to load bins? 2013-04-14T19:47:40 < pelrun> ok, all I did was 2013-04-14T19:47:43 * inca doh! 2013-04-14T19:47:46 < pelrun> 1) compile bmp for the f1 only 2013-04-14T19:47:57 < pelrun> 2) swap the sb's on the f1 2013-04-14T19:48:11 < pelrun> 2) connect the f4 and use stlink on it to flash both bootloader and app binaries 2013-04-14T19:48:17 < pelrun> uh, that was 3) XD 2013-04-14T19:48:24 < pelrun> 3) swap the sb's back 2013-04-14T19:48:53 < pelrun> look mum, I can almost count to 4! 2013-04-14T19:48:58 * PaulFertser has soldered to stlink's uart and used the bootloader to reflash it with bmp's dfu, then the usual bmp upgrade procedure. 2013-04-14T19:49:25 < PaulFertser> But of course it wouldn't have been necessary if i had another decent device around. 2013-04-14T19:49:46 < inca> donno why I was wasting time with original firmware… yeah, I kinda figured the gdb step was failing for lack of connectivity… though I had hoped it would use semihosting to just push it over SWD 2013-04-14T19:50:02 < inca> connectivity<=uart 2013-04-14T19:50:17 < PaulFertser> inca: no, it's supposed to use SWD for that. 2013-04-14T19:50:33 < inca> pelrun: so you had stlink firmware on the F4 or a separate discovery board? 2013-04-14T19:51:02 < inca> pelrun: also, what software do you use to deploy firmware? 2013-04-14T19:51:07 < pelrun> yeah, just had a (unmodified) f4 discovery and a (modified) f1 2013-04-14T19:51:09 < inca> gdb, openocd, stlink? 2013-04-14T19:51:20 < inca> st-util* 2013-04-14T19:51:26 < inca> st-flash 2013-04-14T19:51:44 < pelrun> ...actually, I think I used st's gui flash util 2013-04-14T19:52:58 * PaulFertser is an OpenOCD user usually 2013-04-14T19:53:13 < pelrun> hah, yeah, it still has the binaries in it's LRU list 2013-04-14T19:53:26 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-04-14T19:53:44 < PaulFertser> pelrun: btw, are you interested in trying semihosting for BMP? 2013-04-14T19:54:05 < pelrun> that's definitely something I'm interested in having 2013-04-14T19:54:26 < PaulFertser> pelrun: http://paste.debian.net/249342/ 2013-04-14T19:54:34 < pelrun> I'd rather not give the boss more reasons to push for making me use rowley like he's trying 2013-04-14T19:54:46 < inca> pelrun: =( 2013-04-14T19:55:48 < pelrun> I'm exaggerating for effect - I figured out how to get the same source tree to compile under my eclipse/GAE environment and rowley 2013-04-14T19:56:01 < pelrun> so I don't need to change 2013-04-14T19:57:33 < PaulFertser> pelrun: what semihosting capabilities are usually needed? Is console i/o enough, what do you think? 2013-04-14T19:58:22 < inca> woohoo! 2013-04-14T19:58:26 < pelrun> console io is good. 2013-04-14T19:58:29 < inca> bmp dfu is up on f103 2013-04-14T19:58:47 < pelrun> but when I was eval-ing rowley for the boss, file access turned out to be really useful 2013-04-14T19:59:16 < pelrun> don't have to faff about capturing serial output, could just log direct to a file 2013-04-14T19:59:23 < PaulFertser> inca: what was the trick? 2013-04-14T19:59:27 < inca> what address does bmp.bin get loaded to on f103 2013-04-14T19:59:43 < pelrun> one sec 2013-04-14T19:59:45 < inca> PaulFertser: just use an external SWD programmer 2013-04-14T19:59:48 < pelrun> 8002000 iirc 2013-04-14T19:59:53 < inca> testing 2013-04-14T20:00:24 < PaulFertser> inca: 0x8002000 2013-04-14T20:01:23 < inca> texane's st-flash complanes that the address is too high 2013-04-14T20:01:45 < inca> recompile optimize for size 2013-04-14T20:01:52 < inca> actually 2013-04-14T20:01:57 < inca> I'm just going to flash it 2013-04-14T20:02:01 < inca> change ld script 2013-04-14T20:04:00 < pelrun> what toolchain are you using? 2013-04-14T20:04:07 < PaulFertser> pelrun: hm, looks like file i/o might indeed be useful, i'll consider implementing it. 2013-04-14T20:04:26 < inca> latest arm embedded gcc 2013-04-14T20:04:32 < pelrun> ah, okay 2013-04-14T20:04:54 < pelrun> I had to switch to that when I found codesourcery made a much larger bmp binary that didn't fit 2013-04-14T20:05:07 < PaulFertser> Same here, default bmp build overflows 64k, but i've made a patch for it to work with newlib-nano. 2013-04-14T20:07:46 < inca> damn… texane has hard coded memory limits for it 2013-04-14T20:09:36 < pelrun> yikes, just over 1k free with my current bmp binary 2013-04-14T20:09:45 < PaulFertser> inca: try http://paste.debian.net/249528/ to make it smaller 2013-04-14T20:09:49 < pelrun> hope those semihosting patches don't push it over the edge :) 2013-04-14T20:10:07 < PaulFertser> pelrun: running it on stlink right atm with newlib-nano, works fine :) 2013-04-14T20:10:23 < pelrun> hee 2013-04-14T20:10:37 < jpa-> i wonder if it would work with baselibc :P 2013-04-14T20:11:34 < pelrun> so newlib-nano is part of gnu-arm-embedded? 2013-04-14T20:11:38 < zyp> yes 2013-04-14T20:11:44 < pelrun> good to know 2013-04-14T20:13:28 < Thorn> if you use 1n4007 as a zener, what will the breakdown voltage be? 2013-04-14T20:14:18 < jpa-> a lot, and one time :) 2013-04-14T20:15:55 < inca> doh! 2013-04-14T20:16:04 < inca> maybe this is why it failed over gdb? 2013-04-14T20:16:35 < PaulFertser> I think linker prevents flash overflow and just refuses to produce a binary. 2013-04-14T20:17:00 < zyp> provided that the correct flash size is set in the linker script 2013-04-14T20:17:16 < PaulFertser> It is for bmp, afaict. 2013-04-14T20:17:17 < inca> PaulFertser: I upped the linker script to 128k for the F103 2013-04-14T20:17:35 < PaulFertser> inca: ok, that's why it refused the load then. 2013-04-14T20:18:10 < PaulFertser> Would be a handy option in bmp to overwrite the flash size since many chips have more memory then they claim. 2013-04-14T20:19:24 < zyp> bmp is not particularly restrictive anyway 2013-04-14T20:20:08 < inca> it's the flash loaders 2013-04-14T20:20:09 < zyp> (bmp does no checks itself, it just supplies a target description to gdb, that usually contain the sizes for the largest chip in the family) 2013-04-14T20:20:25 < inca> texane denied me, windows flasher denied 2013-04-14T20:20:33 < inca> how about the python ones in bmp? 2013-04-14T20:20:50 < zyp> and I guess if you needed to override that, you could just load your own target description into gdb 2013-04-14T20:21:48 < inca> dfu-util maybe 2013-04-14T20:23:26 < inca> looks like a successful deploy 2013-04-14T20:23:35 < inca> any way to verify with dfu-util 2013-04-14T20:24:04 < inca> download it from the device. brilliant 2013-04-14T20:26:15 < inca> on reset it actually showed up as bmp 6018 2013-04-14T20:28:09 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Quit: Ik ga weg] 2013-04-14T20:28:47 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-14T20:28:48 < inca> well, it's not reading out 2013-04-14T20:28:50 < pelrun> ooo, recompiled bmp shows 46k, sweet 2013-04-14T20:29:09 < inca> pelrun: with PF's last posted patch? 2013-04-14T20:29:26 < pelrun> yup 2013-04-14T20:29:37 < pelrun> applied and compiled no problem 2013-04-14T20:29:58 < Laurenceb_> http://embdev.net/articles/STM_Discovery_as_Black_Magic_Probe#Bootstraping_via_the_F4Discovery_board_itself 2013-04-14T20:30:08 < Laurenceb_> the bootstrap thing uses the F4 on the f4discovery? 2013-04-14T20:30:09 < pelrun> weeeell, with the faffing about getting opencm3 to compile properly but it did that for me before 2013-04-14T20:30:24 < pelrun> only worked if I went in the dir and did a make clean;make from there 2013-04-14T20:30:38 < pelrun> Laurenceb, I'd ignore the bootstrapping thing 2013-04-14T20:30:54 < pelrun> just use stlink on the f4 as a programmer 2013-04-14T20:31:46 < pelrun> since you already need the stlink tools just to get bmp on the f4 in the first place 2013-04-14T20:32:17 < PaulFertser> openocd supports stlink too 2013-04-14T20:32:56 < pelrun> I never had much luck with openocd 2013-04-14T20:33:57 < pelrun> I'm running under Windows, so some things only compile kicking and screaming 2013-04-14T20:34:51 < PaulFertser> Freddy Chopin provides windows users with precompiled versions. 2013-04-14T20:34:59 < pelrun> especially if they need access to one of the libusb's 2013-04-14T20:35:53 < pelrun> there's no real reason for going openocd now that I have bmp running, though, is there? 2013-04-14T20:36:23 < inca> ee gad… I have been referencing the wrong toolchain =( 2013-04-14T20:36:31 < PaulFertser> I use it for i.MX25 e.g 2013-04-14T20:36:39 < inca> 2012 12 07 release 2013-04-14T20:36:45 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-14T20:37:03 * pelrun does need to get the bmp-dfu update tool working, since the binary he has is old and doesn't recognise the new usb ids :P 2013-04-14T20:37:06 < PaulFertser> Also, openocd has some threads awareness. And it can connect holding srst. 2013-04-14T20:37:33 < pelrun> haven't needed an rtos under stm32 yet 2013-04-14T20:37:46 < inca> PaulFertser: OpenOCD would rock if the documentation actually told you the things you need to know to use it 2013-04-14T20:37:57 < pelrun> and my other platforms are currently silabs 8052 chips :P 2013-04-14T20:38:17 < pelrun> yeah, I found openocd pretty complicated 2013-04-14T20:38:26 < inca> the config files are opaque 2013-04-14T20:38:41 < PaulFertser> OpenOCD docs are fine. What exactly needs improving? 2013-04-14T20:38:53 < PaulFertser> It has a rather extensive manual 2013-04-14T20:38:55 < inca> I expanded all the linked files into one script so I could actually get an intuition for it 2013-04-14T20:39:02 < inca> the script no longer worked 2013-04-14T20:39:07 * pelrun can't even remember where he came unstuck, it's too long ago 2013-04-14T20:40:02 < PaulFertser> inca: actually, a usual openocd user needs only two lines in his config: sourcing the script for debugging adapter; sourcing the script for his board or soc. 2013-04-14T20:40:05 < inca> PaulFertser: Documentation needs to start with "These are the most commonly used GDB settings, this is what mon(itor) means in GDB, etc." 2013-04-14T20:40:27 < inca> PaulFertser: abstracting complexity is not the answer for complex systems 2013-04-14T20:40:36 < inca> when it means obfuscation 2013-04-14T20:40:41 < pelrun> I think the stm32 configs were still being thrashed out when I last looked 2013-04-14T20:40:46 < PaulFertser> inca: default gdb settings are ok for openocd. Explaning gdb commands in openocd manual would be a bit strange. 2013-04-14T20:41:09 < PaulFertser> pelrun: i can assure you i'm using recent openocd with different stm32 chips the way i describe. 2013-04-14T20:41:40 < inca> PaulFertser: the IBM spent millions to develop the fastest sort algorithm and to beat the O() for sort time… they came up with listing items in the order of most used 2013-04-14T20:41:49 < pelrun> that was my point - I expect it's probably easier if I tried again now 2013-04-14T20:42:28 < inca> the documentation needs to be written so that I can index what I want, then dig as deep as necessary within that module to make it work 2013-04-14T20:42:45 < inca> High level to low level abstractions 2013-04-14T20:43:10 < inca> as it is now, all I do is break config files and get no idea what is actually going on 2013-04-14T20:43:14 < inca> so I give up 2013-04-14T20:43:32 < inca> I followed the example for semihosting to the T, it didn't work 2013-04-14T20:43:44 < inca> no relevant error messages that I could discern from any of the logs 2013-04-14T20:43:57 < PaulFertser> I'm going to try semihosting with OpenOCD on Tuesday. 2013-04-14T20:44:06 < inca> not that I would see it even if it printed it out 2013-04-14T20:44:19 < inca> me frustration 2013-04-14T20:45:36 < pelrun> anyway, thanks for the patches 2013-04-14T20:45:42 < pelrun> it's nearly 4am, I should sleep :) 2013-04-14T20:46:12 < inca> anyway, I understand the desire for commonality between config files, but it just doesn't make sense for devices as discrete as these 2013-04-14T20:47:20 < inca> also, proper distinction between the drivers, flasher manipulators, and debugger would greatly help OpenOCD 2013-04-14T20:47:50 < inca> it'd be awesome if OOCD split out all it's drivers to a virtual serial port in /dev/ 2013-04-14T20:48:23 < inca> anyway 2013-04-14T20:48:32 < inca> 2013-04-14T20:53:27 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-14T21:02:59 < upgrdman> damn. my lcd conroller doesnt have an autoscroll mode. now i gotta do that the hard way. 2013-04-14T21:05:54 < Tectu> [Sat April 13 2013 20:15:57]: Laurenceb_ (~Laurence@host86-174-21-108.range86-174.btcentralplus.com) (##stm32): is Tectu here? 2013-04-14T21:05:58 < Tectu> Laurenceb_, now I am 2013-04-14T21:06:28 <+Steffanx> I guess you are 24 hours too late 2013-04-14T21:08:53 < Tectu> oh noez 2013-04-14T21:11:53 -!- phantoneD [~destroy@a95-92-88-3.cpe.netcabo.pt] has quit [Ping timeout: 240 seconds] 2013-04-14T21:15:24 -!- sterna1 [~Adium@d83-183-118-166.cust.tele2.se] has joined ##stm32 2013-04-14T21:27:01 < inca> it appears that BMP's src/Makefile is not respecting the included src/platforms/*/Makefile.inc for LDFLAGS for me 2013-04-14T21:27:57 < PaulFertser> inca: main Makefile doesn't have LDFLAGS at all :) 2013-04-14T21:28:22 < PaulFertser> inca: only the .inc files do. 2013-04-14T21:28:39 < inca> I know… my brain is having trouble accepting the fact that I change src/stlink/Makefile.inc and nothing takes… time to prune 2013-04-14T21:28:49 < inca> PROBE_HOST = stlink 2013-04-14T21:29:07 < PaulFertser> inca: try without spaces 2013-04-14T21:30:21 < inca> it's a makefile thing… I removed the ability for it to create the dfu target and put in a debugging echo with colorful text, and it still builds the dfu with no echoed text output with colorful language. 2013-04-14T21:30:53 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 240 seconds] 2013-04-14T21:32:02 < PaulFertser> inca: remove the spaces in "PROBE_HOST = stlink" 2013-04-14T21:32:15 < inca> ok, removed other directories, it respects the flags 2013-04-14T21:32:33 < inca> I set it in src/Makefile as the default 2013-04-14T21:32:43 < inca> PROBE_HOST = stlink 2013-04-14T21:33:09 < PaulFertser> "make PROBE_HOST=stlink" does exactly the right thing here 2013-04-14T21:33:34 < inca> what's your OS? linux? 2013-04-14T21:33:43 < PaulFertser> inca: GNU/Linux 2013-04-14T21:34:01 < inca> I'm Darwin/OSX 2013-04-14T21:34:11 < PaulFertser> inca: what was the exact make command you're using? 2013-04-14T21:35:28 < inca> from bmp root, cd src, make 2013-04-14T21:35:34 < inca> with edited Makefile 2013-04-14T21:35:37 < inca> it's working now 2013-04-14T21:35:58 < inca> moving directories back in platforms… I'm getting tired, so mistakes are definitely mine 2013-04-14T21:36:27 < PaulFertser> If i would be able to reproduce an issue, i'll send a patch fixing. 2013-04-14T21:37:15 < PaulFertser> meh, weird wording but i hope you got it :) 2013-04-14T21:37:30 < inca> I get you =) 2013-04-14T21:38:09 < inca> yep… my typo looking into my history was HOST_PROBE, not PROBE_HOST 2013-04-14T21:38:28 < inca> bin is down to 46k 2013-04-14T21:42:25 < Tectu> meh, I have five F4 disco boards here 2013-04-14T21:42:46 < Tectu> but only three belong to me :o 2013-04-14T21:42:46 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-227-171.clienti.tiscali.it] has joined ##stm32 2013-04-14T21:44:59 < inca> aha… OpenMoko! 2013-04-14T21:45:05 < inca> looks pretty good 2013-04-14T21:45:09 < inca> time for testing! 2013-04-14T21:45:28 < PaulFertser> OpenMoko? Where? dfu-util? 2013-04-14T21:46:04 < inca> lsusb 2013-04-14T21:46:22 < Tectu> STM32F4 FPU madness by baird: 2013-04-14T21:46:22 < Tectu> Erlkoenig: das geht einfach nicht. wenns so extrem zeitkritsch ist, mach den teil direkt in assembler 2013-04-14T21:46:22 < Tectu> das ist doch kacke 2013-04-14T21:46:22 < inca> prolly needs updated dev ids 2013-04-14T21:46:32 < Tectu> wrong link, fixed: http://chibios-gfx.com/blog/103-some-frames-about-performance-2 2013-04-14T21:48:04 < gsmcmullin> inca: Well done! It only took all weekend... 2013-04-14T21:48:17 < gsmcmullin> inca: The USB VID belongs to OpenMoko. http://wiki.openmoko.org/wiki/USB_Product_IDs 2013-04-14T21:49:10 < PaulFertser> gsmcmullin: hey :) 2013-04-14T21:49:26 < gsmcmullin> PaulFertser: Hi. Thanks for the patches! I'm trying them out now. 2013-04-14T21:49:56 < inca> gsmcmullin: if semihosting works as per the documentation and ARM samples from gcc-arm-embedded, you will forever have my eternal fandom 2013-04-14T21:50:01 < PaulFertser> gsmcmullin: yes, please do try them, i'm not proposing to blindly pull anything :) 2013-04-14T21:50:40 < gsmcmullin> PaulFertser: I've made that mistake once before... 2013-04-14T21:51:05 < gsmcmullin> Three small commits I can deal with. 2013-04-14T21:52:43 < PaulFertser> gsmcmullin: (regarding semihosting implementation) btw, is reading all registers considerably expensive? I thought of somehow reusing the registers contents when gdb replies to the F command (to notify the target properly) but didn't see any worthy way of doing that apart from rereading all of them again (since the target might have disappeared by the time gdb replies and another with different registers' quantity appeared). 2013-04-14T21:57:41 < inca> PaulFertser: That sounds a lot like what ETM is for 2013-04-14T21:57:46 < inca> http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ihi0014q/index.html 2013-04-14T21:59:13 < PaulFertser> inca: ETM is so complicated... I never tried it anywhere. 2013-04-14T21:59:47 < inca> it's basically a piece of an FPGA inside the MCU 2013-04-14T21:59:50 < inca> it's really slick 2013-04-14T22:00:06 < inca> (looking) 2013-04-14T22:02:26 < inca> the usb modem is there 2013-04-14T22:04:04 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Read error: Connection reset by peer] 2013-04-14T22:05:25 -!- dfletcher__ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2013-04-14T22:05:25 -!- dfletcher__ [~fletch@drupal.org/user/72475/view] has joined ##stm32 2013-04-14T22:05:26 -!- dfletcher__ is now known as dfletcher 2013-04-14T22:14:30 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-14T22:14:30 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-14T22:14:30 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-14T22:14:33 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-14T22:16:45 < gsmcmullin> PaulFertser: I've pushed your crc and newlib nano patches. I'm looking through semihosting now. 2013-04-14T22:18:38 < PaulFertser> gsmcmullin: is hardware crc improving speed anyhow? Or just to save some flash space? Another possible candidate for elemination -- extra spaces in xml descriptions :) 2013-04-14T22:20:08 < gsmcmullin> It was Uwe Bonnes trying to shoe horn it into stlinks without enough flash. He didn't like the table. 2013-04-14T22:28:49 < PaulFertser> I know. But you've written you'd like to see hardware CRC too. With nano.specs it seems to fit the space all right anyway. 2013-04-14T22:31:50 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-14T22:41:37 < rigid> does anyone know if there's a good LCD display library for the stm32? 2013-04-14T22:42:14 < rigid> i have a strange LCD module, and wonder if someone already wrote code for it... a web search doesn't reveal too much 2013-04-14T22:42:28 < rigid> it's called "EA DIP122-5NLED" and I guess it's not too common 2013-04-14T22:44:04 < Tectu> rigid, http://chibios-gfx.com 2013-04-14T22:44:34 < Tectu> writing the driver should be no pain, if you have a datasheet, everything else is done. Check out the "news" for some demos 2013-04-14T22:45:46 < upgrdman> rigid: whats the lcd controller on it? 2013-04-14T22:45:55 < Tectu> upgrdman, why you no read what he posted? 2013-04-14T22:45:56 < Thorn> gsmcmullin: would you accept a patch to add lpc17xx support? 2013-04-14T22:46:19 < rigid> Tectu: thank you, that is the kind of lib I was looking for 2013-04-14T22:46:20 < upgrdman> i did... but that doesnt sound like a controller name, rather an lcd module name 2013-04-14T22:46:26 < Tectu> rigid, you're welcome 2013-04-14T22:48:14 < upgrdman> rigid: is that the name of the lcd module or the controller itself? 2013-04-14T22:48:45 < Tectu> upgrdman, did you google? EA DIP122-5NLED 2013-04-14T22:48:49 < Tectu> upgrdman, I find plenty of results 2013-04-14T22:49:27 < upgrdman> no i didnt google it 2013-04-14T22:51:46 -!- CRF_Peter [~Peter@dhcp-177030.eduroam.chalmers.se] has quit [Ping timeout: 256 seconds] 2013-04-14T22:52:32 < gsmcmullin> Thorn: Yes, sure. Post to the mailing list or submit a pull request and I'll look at it. 2013-04-14T22:52:59 < Thorn> okay thanks. will do once I actually finish it 2013-04-14T22:54:15 < gsmcmullin> Does it have a lot in common with the lpc11xx? If so please leverage this and extract common parts. I'd prefer to avoid duplicate code. 2013-04-14T22:54:36 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 245 seconds] 2013-04-14T22:54:44 < Thorn> it's mostly the same. (I'd also like to improve the lpc11 code somewhat) 2013-04-14T22:54:51 < rigid> upgrdman: the LCD module, the controller is a PT6520 compatible as i've just found out 2013-04-14T22:55:57 < Thorn> (I wonder if I'm not going to get the same lost connection problems with lpc176x as I had with lpc11.) 2013-04-14T22:58:54 -!- phantoxeD [~destroy@a95-92-85-217.cpe.netcabo.pt] has joined ##stm32 2013-04-14T23:01:58 -!- Count_Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-04-14T23:03:44 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Read error: Operation timed out] 2013-04-14T23:19:47 < Tectu> can I get 500mA out of an USB port or was it like 100mA for free and 500mA when you register your device at the host controller? 2013-04-14T23:31:19 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-14T23:32:29 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: and like that, he's gone] 2013-04-14T23:32:43 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-14T23:36:41 -!- CRF_Peter [~Peter@193.11.200.145] has joined ##stm32 2013-04-14T23:39:42 < upgrdman> Tectu: most ports dont enforce it, but 100mA is the official max without registering 2013-04-14T23:40:23 < Laurenceb_> most implementations dont do it properly 2013-04-14T23:40:41 < Laurenceb_> iirc ST have some power switching ICs to do it properly 2013-04-14T23:41:10 < Tectu> I need some 500mA 5V on a board that's supposed to be powered from USB only 2013-04-14T23:41:17 < Tectu> well, it's slightly less thann 500 2013-04-14T23:41:29 < upgrdman> just draw the current. 2013-04-14T23:44:46 -!- CRF_Peter [~Peter@193.11.200.145] has quit [Ping timeout: 256 seconds] 2013-04-14T23:45:45 < Thorn> usb desk lamps that don't contain any electronics at all do work somehow 2013-04-14T23:58:19 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] --- Day changed Mon Apr 15 2013 2013-04-15T00:01:46 < Tectu> Thorn, maybe they use some over unity shit 2013-04-15T00:04:09 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-15T00:11:22 < Laurenceb_> jlnlabs 2013-04-15T00:11:24 < Laurenceb_> clearly 2013-04-15T00:13:37 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-15T00:18:15 < Laurenceb_> new project for baird: meatspin lcd clock 2013-04-15T00:18:24 < Laurenceb_> using f4discovery lcd 2013-04-15T00:33:19 -!- sterna1 [~Adium@d83-183-118-166.cust.tele2.se] has quit [Quit: Leaving.] 2013-04-15T00:35:04 -!- BJfreeman [~bjfree@221.sub-75-196-43.myvzw.com] has quit [Read error: Connection reset by peer] 2013-04-15T00:35:19 -!- _BJFreeman [~bjfree@221.sub-75-196-43.myvzw.com] has joined ##stm32 2013-04-15T00:35:52 -!- _BJFreeman is now known as BJfreeman 2013-04-15T01:01:54 -!- Laurenceb_ [~Laurence@host86-177-60-95.range86-177.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2013-04-15T01:08:36 -!- Count_Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Read error: Connection reset by peer] 2013-04-15T01:08:55 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-04-15T01:11:15 < gxti> usb shovelware works because PC designers are just as lazy. protection consists of a PTC fuse at well over the required limit and some diodes, no current measurement or negotiation. voilà. 2013-04-15T01:26:47 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Quit: Ik ga weg] 2013-04-15T01:39:58 -!- jef79m [~jef79m@124-169-145-70.dyn.iinet.net.au] has quit [Ping timeout: 272 seconds] 2013-04-15T01:43:42 -!- BJfreeman [~bjfree@221.sub-75-196-43.myvzw.com] has quit [Remote host closed the connection] 2013-04-15T01:43:57 -!- _BJFreeman [~bjfree@221.sub-75-196-43.myvzw.com] has joined ##stm32 2013-04-15T01:44:27 -!- _BJFreeman is now known as BJfreeman 2013-04-15T01:49:40 -!- jef79m [~jef79m@124-168-60-8.dyn.iinet.net.au] has joined ##stm32 2013-04-15T01:49:43 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 264 seconds] 2013-04-15T02:10:38 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-15T02:14:59 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-15T02:23:43 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Quit: Leaving.] 2013-04-15T02:34:10 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-15T02:34:38 -!- Erlkoenig [~erlkoenig@pptp-194-94-199-100.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-15T02:39:36 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-15T02:57:27 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-15T03:02:35 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 255 seconds] 2013-04-15T04:10:55 -!- phantoxeD [~destroy@a95-92-85-217.cpe.netcabo.pt] has quit [Ping timeout: 260 seconds] 2013-04-15T04:15:59 -!- phantoxeD [~destroy@a95-92-85-217.cpe.netcabo.pt] has joined ##stm32 2013-04-15T04:17:30 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-227-171.clienti.tiscali.it] has quit [Ping timeout: 264 seconds] 2013-04-15T04:45:41 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-15T04:45:58 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-15T05:19:24 -!- BJfreeman [~bjfree@221.sub-75-196-43.myvzw.com] has quit [Quit: had a good time] 2013-04-15T05:26:36 < inca> gsmcmullin: have you seen CMSIS-DAP? 2013-04-15T05:30:04 < dongs> is it out of beta yet? 2013-04-15T05:30:53 < gsmcmullin> inca: No 2013-04-15T05:31:14 < inca> dongs: no 2013-04-15T05:31:37 < inca> gsmcmullin: it looks like am ARM implementation of the STLink 2013-04-15T05:31:51 < inca> USB to JTAG/SWD 2013-04-15T05:31:55 < dongs> yeah 2013-04-15T05:32:28 < inca> https://silver.arm.com/browse/CMSISDAP 2013-04-15T05:32:53 < inca> gsmcmullin: ^ some bed time reading for BMP 2013-04-15T05:33:14 < dongs> i dont havea myarm account. 2013-04-15T05:33:20 < dongs> are they on bugmenot? 2013-04-15T05:33:31 < inca> yeah, they don't pester 2013-04-15T05:33:43 < inca> but I want them to ping me when they update CMSIS 2013-04-15T05:37:33 < inca> gsmcmullin: this is the login-free version of the documentation, but it has no example software. http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dai0179b/ar01s01s03.html 2013-04-15T05:37:44 < dongs> bugmenot login works fine 2013-04-15T05:38:12 < inca> dongs: I thought you were being euphemistic. I don't know anything about dugmenot 2013-04-15T05:38:47 < dongs> inca: it has default passes for shit you dont wanna register at http://www.bugmenot.com/view/arm.com 2013-04-15T05:39:00 < inca> cool 2013-04-15T05:39:03 < dongs> so for trash like adobe/whatever other shit that makes you sign up to view datasheets etc. 2013-04-15T05:39:13 < inca> seriously… good idea 2013-04-15T05:39:36 < gxti> been around for a long time 2013-04-15T05:41:36 < inca> never knew about it… always used the proxy disposable gmail accounts for it 2013-04-15T05:42:13 < inca> when the spam got to too much, I'd dump the account, start another one. Personal emails go to another gmail which autoforwards to the main one as well 2013-04-15T05:44:04 < dongs> i bet you didnt know about + in gmail 2013-04-15T05:44:15 < inca> +? 2013-04-15T05:44:17 < dongs> yourid+whateveryouwant@gmail = yourid@gmail 2013-04-15T05:44:30 < dongs> then hwen you get tired of spam just filter on +whateveryouwant into trash 2013-04-15T05:44:59 < inca> oh, just like the search terms syntax? yeah… it's good stuff =) 2013-04-15T05:45:10 < upgrdman> just heatd of bugmenot too... thats awesome! 2013-04-15T05:45:14 < upgrdman> heard* 2013-04-15T05:48:44 < gxti> the problem with + is that clever spammers could just strip it off 2013-04-15T05:50:14 < gxti> for total crap i made a subdomain that points at mailinator.com so i can do totalcrap@bucket.whatever and pick it up there 2013-04-15T05:50:32 < gxti> and for permanent crap like anything in china i make a random alias, which is more tedious than it ought to be 2013-04-15T05:55:07 < inca> well, I just downloaded CMSIS V3.20 2013-04-15T05:55:28 < inca> let's see what it breaks 2013-04-15T05:59:44 < inca> looks like a lot more math 2013-04-15T06:00:46 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-15T06:05:16 -!- baird [~cjb@ppp121-44-181-50.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-15T06:22:26 < pelrun> the other problem with + is the websites that think it's a invalid character in an email 2013-04-15T06:33:52 < inca> is bmp on stlink supposed to blink any kind of heartbeat if it's alive? 2013-04-15T06:41:04 < baird> Always tried to use the "+" email folder trick here.. Useful for pinpointing easily the sites that're leaking subscriber details to spammers. :/ 2013-04-15T06:53:16 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-15T06:53:26 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-15T06:55:52 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-15T06:57:38 < inca> is it possible to write a bootloader to 0x0800 0000 while forcing the F4 into ROM bootloader mode? I can't seem to remove bmp from the F407 2013-04-15T06:58:26 < dongs> yeah bmp is fucking spyware-class shit 2013-04-15T06:58:31 < dongs> it self-protects the blocks its in on each boot 2013-04-15T06:58:43 < dongs> fucking annoying as fuck 2013-04-15T06:58:49 < dongs> i thikn you can only get it out with some other opensores tools 2013-04-15T06:58:57 < dongs> couldnt do it wiht stlink 2013-04-15T06:59:22 < inca> I've tried dfu-util with the unprotect:mass-erase:force 2013-04-15T06:59:25 < inca> no love 2013-04-15T06:59:35 < dongs> not gonna happen 2013-04-15T06:59:38 < dongs> you need to unlock the pages 2013-04-15T06:59:41 < inca> maybe I can chain load 2013-04-15T06:59:41 < gxti> you've spent like 6x as much time bitching about that as it would have taken to get one of your beloved closed-sores adapters dongs 2013-04-15T06:59:46 < dongs> but if you reboot it'll protect back 2013-04-15T06:59:56 < dongs> gxti: clearly, i have no intention of using bmp 2013-04-15T07:00:04 < dongs> gxti: i have ulink2 and ulink2me that zyp sent me 2013-04-15T07:00:07 < dongs> they both work wonderfully 2013-04-15T07:00:15 < dongs> debugging/swo/flashing/whatever 2013-04-15T07:00:38 < inca> billions of dollars 2013-04-15T07:01:19 < dongs> wat 2013-04-15T07:01:21 < inca> gsmcmullin: how do I deal with a stubborn and possibly broken bmp bootloader? 2013-04-15T07:01:58 < inca> KEIL 2013-04-15T07:03:26 < inca> dongs: when I tie Boot0 to VDD and Boot1(PB2) to GND, I get the STM ROM bootloader… shouldn't I be able to wipe it from there? 2013-04-15T07:04:20 < dongs> unsure 2013-04-15T07:04:26 < dongs> you have to edit option bytes 2013-04-15T07:04:32 < dongs> to wipe page protection/erase chip 2013-04-15T07:04:36 < dongs> dunno if stm bl does it 2013-04-15T07:04:43 < inca> unprotect: is supposed to do that 2013-04-15T07:04:44 < dongs> you can try w/flashloader demonstrator thingy off ST 2013-04-15T07:04:49 < dongs> and it doesnt? 2013-04-15T07:04:56 < inca> from dfu-util 2013-04-15T07:05:05 < dongs> oh i duno about DFU 2013-04-15T07:05:07 < dongs> i only used serial 2013-04-15T07:07:58 < inca> USER + RESET still gets the BMP 2013-04-15T07:08:01 < inca> hmm 2013-04-15T07:13:29 < gsmcmullin> inca: What have you broken? 2013-04-15T07:14:01 < inca> I cannot seem to erase/modify/upgrade the bmp_dfu on the f4 2013-04-15T07:14:57 < gsmcmullin> You need to ask Uwe Bonnes about the f4 port. That is totally unsupported by me. 2013-04-15T07:15:40 < inca> I have used dfu-util and your bootprog.py without success. OK. At least tell me how to debug or look at things regarding the bmp_dfu. How do you debug a bootloader? 2013-04-15T07:16:00 < gsmcmullin> My bootloader, as I wrote it for the f103, does protect it's own sectors. You need to connect a programmer to unprotect it. 2013-04-15T07:16:47 < gsmcmullin> The same way you debug anything else. It's just a program. 2013-04-15T07:17:43 -!- DLPeterson_ [~hazelnuss@c-71-198-192-33.hsd1.ca.comcast.net] has quit [Quit: leaving] 2013-04-15T07:18:28 < Rickta59> gsmcmullin, i'm trying it out on an stmf4 seems to mostly there 2013-04-15T07:18:49 < Rickta59> is there some way to do a reset on a cortex-m0 chip? from gdb? 2013-04-15T07:18:56 < inca> my understanding of dfu-util is that dfu-util -s 0x08000000:mass-erase:unprotect:force is supposed to address that option bits. perhaps it is failing. is there another way to probe or query those bits… so back to SWD/JTAG or looking at DFU to change the option protect bits. fair enough. Thank you. 2013-04-15T07:19:01 < Rickta59> i didn't see any monitor command for ti 2013-04-15T07:19:07 < gsmcmullin> To anyone who wants to hack the bootloader for whatever reason, remove the code that enables the protection. 2013-04-15T07:19:21 < Rickta59> it not ti 2013-04-15T07:19:42 -!- elektrinis [~circuit@78.60.169.125] has quit [Quit: pokðt] 2013-04-15T07:19:53 < gsmcmullin> inca: I've told you I don't use dfu-util, why do you keep asking me about it? 2013-04-15T07:20:05 < Rickta59> i was able to replace it with openocd without any problem 2013-04-15T07:20:51 < gsmcmullin> Rickta59: Does 'run' not work for you? 2013-04-15T07:21:12 < Rickta59> it didn't seem to, i had to reset power 2013-04-15T07:21:24 < Rickta59> i'm using an nxp lpc1114 if that makes any difference 2013-04-15T07:21:39 < Rickta59> so i was using swd 2013-04-15T07:21:53 < gsmcmullin> I don't have one, so I can't test. run should do it though. 2013-04-15T07:22:02 < inca> gsmcmullin: considering your use of dfu, I assume you are knowledgeable about that domain. In any case, I appreciate the time you've spared. Thanks. 2013-04-15T07:22:17 < Rickta59> so same for erase? it just erases sectors coming from a load ? 2013-04-15T07:22:40 < gsmcmullin> Rickta59: yes 2013-04-15T07:23:03 < Rickta59> great work btw 2013-04-15T07:23:08 < Rickta59> tanks 2013-04-15T07:23:11 < Rickta59> thanks 2013-04-15T07:23:15 < gsmcmullin> Rickta59: Do 'set debug remote 1' in gdb and you can see the dialog. The vFlashErase packet tells the server what to erase. 2013-04-15T07:23:49 < Rickta59> k i did have that on but didn't see it, but it was late so i could have easily missed it 2013-04-15T07:24:10 < gsmcmullin> The stm32 targets have a 'mon erase_mass' because people have asked for it. I've never used them though. 2013-04-15T07:24:28 < Rickta59> your code did inspire my own take on this .. without the debug 2013-04-15T07:24:46 < Rickta59> https://github.com/RickKimball/msp430_code/tree/master/fabooh/apps/gdb_bootloader 2013-04-15T07:25:07 < Rickta59> i don't use it for debug but for doing a boot loader .. so you just install the code on the chip you want to use 2013-04-15T07:25:44 < Rickta59> they really don't document the debugger on the msp430 so that was the next step 2013-04-15T07:28:08 < gsmcmullin> inca: No option to dfu-util will get the bootloader to unprotect itself. It doesn't include code to remove the protection. 2013-04-15T07:29:30 < gsmcmullin> The whole point is that the bootloader can't destroy itself by being fed garbage. If you connect an external programmer/debugger you should be able to remove the protection. 2013-04-15T07:29:43 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-15T07:29:55 < inca> gotcha. is there a working upgrade path for the debugger? 2013-04-15T07:29:58 < pelrun> inca: just connect your programmer direct to the f4 and force erase it that way? 2013-04-15T07:30:18 < pelrun> i.e. connect to the swd header with the jumpers still in place 2013-04-15T07:30:32 < dongs> "should" being a keyword. 2013-04-15T07:30:39 < dongs> ive got 2 dead bmp clones with trashed bootloader 2013-04-15T07:30:43 < dongs> that nothing can make work. 2013-04-15T07:30:49 < inca> pelrun: I have the mods on the board for exposing the JTAG on the F103 at the moment 2013-04-15T07:30:59 < gsmcmullin> inca: I'm not sure what you're asking me. The supported way to do this is to buy my hardware and not screw with the bootloader. Supported binaries are here http://blacksphere.co.nz/builds/ 2013-04-15T07:31:18 < pelrun> inca: but the f103 is on a different board...? 2013-04-15T07:31:24 < gsmcmullin> dongs: Congratulations. you must feel special. 2013-04-15T07:31:30 < dongs> i know. 2013-04-15T07:31:30 < dongs> i do. 2013-04-15T07:31:48 < pelrun> gsmcmullin, we just ignore dongs, it's usually the best policy 2013-04-15T07:31:50 < inca> gsmcmullin: I'm asking if you have a way to reflash the dfu for upgrades/bugfixes on the production F103 line 2013-04-15T07:32:10 < pelrun> dongs: you should send me those trashed boards :) 2013-04-15T07:32:22 < dongs> pelrun: i was already s upposed to send htem to tectu. 2013-04-15T07:32:27 < pelrun> haha 2013-04-15T07:33:07 < inca> pelrun: the f103 was what is normally considered the STLink/V2 which resides on the F4 Discovery board 2013-04-15T07:33:32 < pelrun> ah, sorry, up to speed now 2013-04-15T07:34:33 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Client Quit] 2013-04-15T07:35:24 < gsmcmullin> inca: The point of the bootloader is that it doesn't need to be upgraded. Its a small, simple program you get working and leave alone. 2013-04-15T07:35:30 < pelrun> you've got the f103 working now though, right? should be able to demod it then 2013-04-15T07:35:57 < gsmcmullin> I'd be screwed if I need to upgrade the bootloader in all the bmps that have shipped. 2013-04-15T07:36:14 < inca> Okay. That's what I wanted to hear. =) 2013-04-15T07:36:22 < gxti> that's how bootloaders generally work :p 2013-04-15T07:36:42 < pelrun> another point - how exactly have you been trying to erase the f4 when it's modded explicitly to disconnect the f4? 2013-04-15T07:36:49 < gxti> although it's pretty straightforward to keep it from overwriting itself *without* code protection 2013-04-15T07:37:02 < pelrun> that weird trick with turning the jumpers 90 degrees didn't work for me 2013-04-15T07:37:58 < inca> pelrun: dfu-util and blackmagic on the f103 with bridges on sb's 2013-04-15T07:38:55 < inca> specifically, dfu-util while boot0/1 are forcing the st ROM bootloader to boot 2013-04-15T07:38:56 < pelrun> yeah, I ended up needing to put the board back in original condition before I could get bmp to see the target 2013-04-15T07:38:58 -!- R2COM1 [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-15T07:39:10 < inca> pelrun: that's good to know 2013-04-15T07:39:18 < pelrun> didn't think the st bootloader used dfu 2013-04-15T07:39:59 < pelrun> then again, I'm only using the serial version, which I *know* isn't dfu 2013-04-15T07:40:28 < inca> it's weird, it shows a lot of stuff 2013-04-15T07:41:35 < inca> http://pastebin.com/6aXqUrhQ 2013-04-15T07:41:38 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Quit: leaving] 2013-04-15T07:41:58 < Tectu> dongs, got 'em ready? 2013-04-15T07:42:17 < Tectu> pelrun, don't try to get my boards :o 2013-04-15T07:42:18 < inca> maybe if I select alt=1 I can alter the option bytes 2013-04-15T07:42:26 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 252 seconds] 2013-04-15T07:42:49 < pelrun> Tectu, if you can actually get dongs to send em, you're welcome to them XD 2013-04-15T07:43:00 < Tectu> pelrun, I know what you mean 2013-04-15T07:43:30 < Tectu> pelrun, I start thinking that these asian guys just send you stuff when you buy them from ebay with 'free shipping' option 2013-04-15T07:43:34 < pelrun> inca, now that I think about it, I think st uses some weird version of dfu and you have to use their dfuse tool to talk to it 2013-04-15T07:44:24 < inca> http://dfu-util.gnumonks.org/dfuse.html 2013-04-15T07:44:49 < pelrun> easiest just to de-mod the board (since the bootloader is in the f103, you can update the bmp their with it's upgrade util) and use bmp to erase the f4 2013-04-15T07:45:37 < pelrun> fair enough, that website was annoyingly down the entire time I was trying to get my hands on dfu-util. Eventually I gave up. 2013-04-15T07:46:21 < inca> it's in homebrew for os x, I also have a dev version from someone who's doing a re-write 2013-04-15T07:46:56 < pelrun> I think I'll stick with the serial bootloader XD 2013-04-15T07:47:19 < pelrun> since that's already working for me out in the field 2013-04-15T07:47:55 < inca> pelrun: serial is so slow 2013-04-15T07:48:27 < inca> and besides, ARM is getting in on the USB action, too… DAP 2013-04-15T07:48:27 < dongs> haha osx. 2013-04-15T07:48:30 < pelrun> yeah, but I'm not using it when I'm debugging, just for a (fairly rare) upgrade 2013-04-15T07:49:21 < inca> I bet your debugger could use some more bandwidth for slightly more realtime operation 2013-04-15T07:49:26 < inca> just sayin… ;) 2013-04-15T07:51:25 < pelrun> my debugger is the bmp :) 2013-04-15T07:51:49 < pelrun> who needs a jlink 2013-04-15T07:53:48 < dongs> until your opensauce debugger can flash a full F103CB in under a second, i'm not interested 2013-04-15T07:54:48 < inca> some day… I am pretty sure ARM is pushing the opensource because they don't want to be in the business of writing software anymore =P 2013-04-15T07:55:28 < pelrun> eh, the flashing part is the fastest part of the build process anyway, it's trivial even on my hardware 2013-04-15T07:56:11 < pelrun> inca, actually, I think it's more they don't want their hardware criticised because the third-party software needed is shit 2013-04-15T07:56:41 < pelrun> good software means they can push their hardware more easily 2013-04-15T07:57:19 < inca> pelrun: it's both… ARM usually has to deliver software examples otherwise the vendors whine about not having time to develop anything, and the cycle of code debt carries on 2013-04-15T07:58:33 < pelrun> considering the alternative is to be like broadcom... 2013-04-15T07:58:47 < inca> super cathedral of development 2013-04-15T07:59:19 < pelrun> apparently even they don't have proper documentation for most of their stuff 2013-04-15T08:00:06 < inca> pelrun: the hardware IS the documentation 2013-04-15T08:00:17 < gsmcmullin> pelrun: There documentation is a sack of shit, and they bury you in paperwork before they'll give it to you. 2013-04-15T08:00:25 < gsmcmullin> *Their 2013-04-15T08:01:44 < pelrun> yup 2013-04-15T08:05:33 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Ping timeout: 252 seconds] 2013-04-15T08:12:48 -!- claude_ [~quassel@HSI-KBW-109-192-173-054.hsi6.kabel-badenwuerttemberg.de] has joined ##stm32 2013-04-15T08:21:03 -!- R2COM1 is now known as R2COM 2013-04-15T08:23:14 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: Leaving] 2013-04-15T08:24:28 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-15T08:27:43 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-15T08:36:10 -!- claude_ [~quassel@HSI-KBW-109-192-173-054.hsi6.kabel-badenwuerttemberg.de] has quit [Remote host closed the connection] 2013-04-15T08:43:18 -!- pelrun [~James@60-241-99-33.static.tpgi.com.au] has quit [Ping timeout: 264 seconds] 2013-04-15T08:43:45 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-15T08:43:58 < Robint91> what is the fastest IFFT lib for the STM32? 2013-04-15T08:45:59 < jpa-> float or integer? 2013-04-15T08:46:11 < Robint91> I'm working of a F4/F3 2013-04-15T08:46:17 < jpa-> doesn't matter 2013-04-15T08:46:18 < Robint91> so floats afcourse 2013-04-15T08:46:21 < jpa-> ok 2013-04-15T08:46:40 < jpa-> there is an integer based hand-optimized assembler floating around the internet, but i guess for float the DSP lib is quite much the fastest 2013-04-15T08:48:03 < jpa-> i guess you might have luck with fftw also if you have very large inputs (so that algorithmic speed is more important than being optimized for specific processor) 2013-04-15T08:48:18 < Robint91> need only 64/256 points 2013-04-15T08:49:21 < Robint91> mhh the DSP lib is only interger 2013-04-15T08:52:52 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-04-15T08:53:43 < inca> hokay, I think it is up and running now. I see the F4 from the F103 with bmp and a serial gdb session 2013-04-15T08:54:01 < inca> I can't seem to load any elf or run anything on the F4 2013-04-15T08:56:22 < inca> once attached, I try to load the elf, it fails with Error erasing flash with vFlashErase packet 2013-04-15T09:07:56 -!- dekar_ [~dekar@212.255.236.207] has joined ##stm32 2013-04-15T09:07:59 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-04-15T09:11:36 -!- dekar__ [~dekar@212.255.34.51] has quit [Ping timeout: 264 seconds] 2013-04-15T09:19:58 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-15T09:21:21 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 276 seconds] 2013-04-15T09:24:45 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Client Quit] 2013-04-15T09:28:57 -!- olasd [~olasd@pdpc/supporter/active/olasd] has quit [Read error: Connection reset by peer] 2013-04-15T09:35:17 -!- olasd [~olasd@pdpc/supporter/active/olasd] has joined ##stm32 2013-04-15T09:36:43 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-15T09:52:32 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-04-15T09:58:21 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-15T10:21:24 < inca> hmm… weird packet timeouts 2013-04-15T10:21:32 -!- sterna1 [~Adium@dhcp-190080.eduroam.chalmers.se] has joined ##stm32 2013-04-15T10:24:44 < inca> all right 2013-04-15T10:25:02 < inca> I guess that's it for the open sores 2013-04-15T10:25:21 < inca> so much for that dream 2013-04-15T10:25:32 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has quit [Quit: quit] 2013-04-15T10:33:46 -!- Laurenceb_ [~Laurence@host86-177-60-95.range86-177.btcentralplus.com] has joined ##stm32 2013-04-15T10:36:28 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-04-15T10:36:58 -!- sterna1 [~Adium@dhcp-190080.eduroam.chalmers.se] has quit [Quit: Leaving.] 2013-04-15T10:40:14 < dongs> 16:25 < inca> so much for that dream 2013-04-15T10:40:15 < dongs> 16:25 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has quit [Quit: quit] 2013-04-15T10:40:17 < dongs> hard lol 2013-04-15T10:58:04 -!- sterna1 [~Adium@dhcp-193044.eduroam.chalmers.se] has joined ##stm32 2013-04-15T11:03:20 -!- Laurenceb_ [~Laurence@host86-177-60-95.range86-177.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-15T11:45:02 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 255 seconds] 2013-04-15T11:45:23 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-04-15T12:04:32 < Robint91> GNU Tools ARM Embedded\4.6 2012q2 supports the F4 FPU? 2013-04-15T12:05:40 < jpa-> sure 2013-04-15T12:06:42 < Robint91> is there something special about it to enable it? 2013-04-15T12:07:12 < Robint91> nevermind found it 2013-04-15T12:10:26 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-15T12:14:50 < Tectu> Robint91, seems to work out of the box --> http://chibios-gfx.com/blog/103-some-frames-about-performance-2 2013-04-15T12:24:23 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-15T12:28:17 < baird> Spinnin' bubbles >>> spinning cubes 2013-04-15T12:35:35 < Robint91> https://gist.github.com/anonymous/5386996 2013-04-15T12:35:36 < Robint91> mhh 2013-04-15T12:36:19 < Robint91> nevermind 2013-04-15T12:42:28 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-15T12:42:28 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-15T12:42:28 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-15T12:42:31 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-15T12:44:42 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:498f:bfc8:1f57:6a6a] has joined ##stm32 2013-04-15T12:46:52 < Robint91> has somebody working newlib stubs 2013-04-15T12:46:57 < Robint91> I need an _exit function 2013-04-15T12:47:05 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-15T12:49:32 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 258 seconds] 2013-04-15T12:50:34 < karlp> Robint91: while(1) ? 2013-04-15T12:50:40 < karlp> what else do you want to happen? 2013-04-15T12:50:56 < Robint91> karlp, but also for _sbrk and stuff 2013-04-15T12:51:13 < Robint91> karlp, I want it to sing when it exits? :p 2013-04-15T12:51:21 < dongs> reboot to dos on exit 2013-04-15T12:51:34 -!- Viper168_ is now known as Viper168 2013-04-15T13:06:39 -!- dfletcher [~fletch@drupal.org/user/72475/view] has quit [Read error: Connection reset by peer] 2013-04-15T13:07:19 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-04-15T13:16:05 -!- CRF_Peter [~Peter@dhcp-201133.eduroam.chalmers.se] has joined ##stm32 2013-04-15T13:22:52 < Laurenceb> epic lol 2013-04-15T13:22:52 -!- nkontekst [~ennokktts@x1-6-4c-60-de-00-74-e2.k2.webspeed.dk] has joined ##stm32 2013-04-15T13:22:53 < Laurenceb> http://news.slashdot.org/comments.pl?sid=3647535&cid=43447555 2013-04-15T13:23:14 -!- sterna1 [~Adium@dhcp-193044.eduroam.chalmers.se] has quit [Quit: Leaving.] 2013-04-15T13:26:30 < Laurenceb> maybe ill try and get banned from #raspberrypi by posting that 2013-04-15T13:27:08 < Laurenceb> http://news.slashdot.org/comments.pl?sid=3647535&cid=43447805 2013-04-15T13:27:14 < Laurenceb> hahahaha last comment 2013-04-15T13:27:31 -!- CRF_Peter [~Peter@dhcp-201133.eduroam.chalmers.se] has quit [Ping timeout: 245 seconds] 2013-04-15T13:27:52 < Robint91> Laurenceb, POST IT IN #rpi 2013-04-15T13:27:55 < Robint91> do it 2013-04-15T13:28:11 < Robint91> Laurenceb, fanboys are wierd 2013-04-15T13:28:33 < Laurenceb> done 2013-04-15T13:28:49 < Robint91> Laurenceb, lol 2013-04-15T13:29:11 -!- baird [~cjb@ppp121-44-181-50.lns20.syd7.internode.on.net] has quit [Ping timeout: 245 seconds] 2013-04-15T13:29:20 -!- baird [~cjb@ppp121-44-160-35.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-15T13:29:31 < Laurenceb> theres also the whole broadcom angle 2013-04-15T13:31:25 < Robint91> w00t 2013-04-15T13:31:37 < Robint91> finally I have my makefile running 2013-04-15T13:31:57 < Laurenceb> for stm32? 2013-04-15T13:32:08 < Robint91> yeah 2013-04-15T13:32:27 < Robint91> but a int main(){ while(1); } build take 18kb flash 2013-04-15T13:32:43 < Robint91> https://gist.github.com/anonymous/5387208 2013-04-15T13:32:49 < Robint91> things are eating my flash 2013-04-15T13:33:27 < Robint91> oh the hex is 18kb big 2013-04-15T13:33:35 < PaulFertser> Robint91: lacking --ffunction-sections and --gc-secti 2013-04-15T13:33:39 < PaulFertser> ons? 2013-04-15T13:34:00 < Robint91> PaulFertser, I have those 2013-04-15T13:34:40 < PaulFertser> Robint91: hm, what about -nostartfiles then? 2013-04-15T13:35:22 < Robint91> the resulting bin file is 4kib big 2013-04-15T13:36:09 < Robint91> with -nostartfiles it is 400MiB big 2013-04-15T13:36:22 <+Steffanx> lol 2013-04-15T13:36:50 < PaulFertser> 1 apr is way over, man 2013-04-15T13:37:41 < Robint91> http://i.imgur.com/Z2945oU.png 2013-04-15T13:37:44 < Robint91> PaulFertser, ^ 2013-04-15T13:40:00 < PaulFertser> Robint91: probably that's something too "fancy" with your ld script and it marks the RAM section as something that should go into the binary? 2013-04-15T13:40:22 < Robint91> PaulFertser, need to check that 2013-04-15T13:40:28 < PaulFertser> And since it's a binary, it has to leave a huge gap between 0x08000000 and 0x20000000 2013-04-15T13:40:33 < Robint91> yeah 2013-04-15T13:40:36 < Robint91> brb 2013-04-15T13:44:28 -!- _BJFreeman [~bjfree@217.sub-75-196-89.myvzw.com] has joined ##stm32 2013-04-15T13:45:52 -!- _BJFreeman is now known as BJfreeman 2013-04-15T14:02:42 -!- nkontekst [~ennokktts@x1-6-4c-60-de-00-74-e2.k2.webspeed.dk] has left ##stm32 [] 2013-04-15T14:43:14 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 255 seconds] 2013-04-15T14:46:52 -!- zlog [~zlog@ip68-102-203-6.ks.ok.cox.net] has quit [Remote host closed the connection] 2013-04-15T14:48:52 -!- Lionhearted [c1c6a872@gateway/web/freenode/ip.193.198.168.114] has joined ##stm32 2013-04-15T14:49:28 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-15T14:50:20 -!- zlog [~zlog@ip68-102-203-6.ks.ok.cox.net] has joined ##stm32 2013-04-15T14:57:52 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2013-04-15T15:13:07 <+dekar_> Robint91, you might wanna check out https://github.com/EliasOenal/TNT_Example 2013-04-15T15:13:36 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-04-15T15:15:46 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-04-15T15:18:54 < Robint91> blinky led is a fact 2013-04-15T15:18:55 < Robint91> w00t 2013-04-15T15:46:48 -!- dekar_ [~dekar@212.255.236.207] has quit [Quit: This computer has gone to sleep] 2013-04-15T15:47:23 <+Steffanx> disco Robint91 ? 2013-04-15T15:47:42 < Robint91> Steffanx, almost, looking to get the DAC working 2013-04-15T15:47:48 < Robint91> so I can have audio 2013-04-15T15:47:54 <+Steffanx> Whats the plan? 2013-04-15T15:48:13 < Robint91> Steffanx, making a OFDM modulator 2013-04-15T15:48:36 < Robint91> Steffanx, I'm hoping to pump 8kbps into 1khz BW 2013-04-15T15:48:58 < Laurenceb> i did ofdm using timers 2013-04-15T15:49:13 < Laurenceb> but youd need some analogue 2013-04-15T15:49:27 < Robint91> Laurenceb, IFFT way? 2013-04-15T15:49:54 < Robint91> Laurenceb, the idea is to have 1 large buffer, where two times the IFFT windows fits 2013-04-15T15:50:13 < Robint91> when the DMA is transferring the first half I can write the second 2013-04-15T15:52:53 < Laurenceb> hmm lots of dsp that way 2013-04-15T15:53:07 < Robint91> Laurenceb, how would you make OFDM else? 2013-04-15T15:53:08 < Laurenceb> i used timers and bandpass 2013-04-15T15:53:12 < Robint91> -_- 2013-04-15T15:53:16 < Robint91> IFFT is way easier 2013-04-15T15:53:26 < Laurenceb> how many sub carriers do you have? 2013-04-15T15:53:31 < Laurenceb> 8? 2013-04-15T15:53:37 < Robint91> Laurenceb, dunno 32 or so 2013-04-15T15:53:42 < Robint91> the more the better 2013-04-15T15:53:42 < Laurenceb> hmm 2013-04-15T15:53:53 < Robint91> doing 256 ifft 2013-04-15T15:54:01 < Laurenceb> ok, my way you need one carrier per timer 2013-04-15T15:54:21 < Robint91> I have a bw of 62.5Hz per carrier 2013-04-15T15:54:28 < Laurenceb> i see 2013-04-15T15:54:39 < Laurenceb> yeah i did something very similar 2013-04-15T15:54:43 < Laurenceb> but only 5 carriers 2013-04-15T15:54:49 < Laurenceb> so i used a timer for each 2013-04-15T15:55:22 < Robint91> Laurenceb, that isn't really OFDM 2013-04-15T15:55:30 < Laurenceb> heh yeah 2013-04-15T15:56:59 < jpa-> Robint91: so a lot of your IFFT input terms will be zero? 2013-04-15T15:57:18 < Robint91> jpa-, yeah I know 2013-04-15T15:57:39 < jpa-> in that case, it might be that just summing together sine waves will be faster than doing real IFFT 2013-04-15T15:57:43 < Robint91> jpa-, I just want to see how it work, I know that I can optimize the IFFT 2013-04-15T15:58:15 < Robint91> jpa-, depends on how you modulate the sines 2013-04-15T15:58:30 < jpa-> float multiplication is fast on F4 2013-04-15T15:58:52 < Robint91> jpa-, if you do like QAM16 on every carrier it is difficult to do for each carrier 2013-04-15T15:59:04 < jpa-> why? 2013-04-15T15:59:52 < Robint91> jpa-, with the IFFT option you put the symbol you want in the I/Q terms 2013-04-15T16:00:18 < jpa-> and with summing stuff, you can for example sum sin & cosine waves 2013-04-15T16:00:19 < Robint91> jpa-, if you do it in time domain, you need to take everytime the correct symbol 2013-04-15T16:01:14 < jpa-> but i'm not sure why you would use size-256 IFFT if you only want 32 channels? 2013-04-15T16:01:27 -!- sterna1 [~Adium@dhcp-199227.eduroam.chalmers.se] has joined ##stm32 2013-04-15T16:01:42 < Robint91> jpa-, I need an offset in frequency 2013-04-15T16:02:05 < jpa-> will your frequencies be orthogonal anymore if you offset it? 2013-04-15T16:03:20 < Robint91> why not? 2013-04-15T16:06:05 < jpa-> hm, i guess it depends on how you offset it 2013-04-15T16:06:17 < jpa-> or actually no 2013-04-15T16:06:23 < jpa-> yeah, they will remain orthogonal 2013-04-15T16:06:43 < Laurenceb> id use precomputed lookups 2013-04-15T16:06:52 < Laurenceb> together with bitshift and MAC 2013-04-15T16:09:54 < Laurenceb> actually no 2013-04-15T16:10:10 < Laurenceb> you couldnt do non trivial constellations with just bitshift 2013-04-15T16:11:04 < Laurenceb> full IFFT starts to look attractive... 2013-04-15T16:11:35 < jpa-> integer multiply is as fast as bitshift anyway, right? 2013-04-15T16:11:50 < Robint91> Laurenceb, constellation mapping is easy with IFFT 2013-04-15T16:12:30 < jpa-> IDFT is just about summing sine waves anyway, and i wonder if IFFT offers any speed advantage in this case (because so many terms would be 0) 2013-04-15T16:12:39 < Laurenceb> yeah 2013-04-15T16:13:06 < Laurenceb> on F3 or F4 IFFT would be pretty fast 2013-04-15T16:13:12 < Laurenceb> id just try the CMSIS code 2013-04-15T16:14:07 < jpa-> Robint91 is fixated on floats :) 2013-04-15T16:14:20 < Robint91> jpa-, floats are nice 2013-04-15T16:14:25 < Robint91> jpa-, when you have a FPU 2013-04-15T16:15:00 < talsit> unless they're all denormals 2013-04-15T16:15:28 -!- Lionhearted [c1c6a872@gateway/web/freenode/ip.193.198.168.114] has quit [Ping timeout: 245 seconds] 2013-04-15T16:15:51 < Laurenceb> everyone here is denormal 2013-04-15T16:15:53 < jpa-> Robint91: hmm.. did you say that you didn't find the float versions in dsp lib? i see some 2013-04-15T16:16:15 < Robint91> jpa-, the FFT lib is in fixed point 2013-04-15T16:16:40 < jpa-> ah, but the cmsis dsp lib 2013-04-15T16:16:55 < Robint91> is there a cmsis dsp lib 2013-04-15T16:16:57 < Robint91> ? 2013-04-15T16:17:00 < Robint91> okay 2013-04-15T16:17:25 < Robint91> I need first to solve this, "undefined reference to 'sinf' 2013-04-15T16:17:56 < jpa-> -l 2013-04-15T16:17:57 < jpa-> -lm 2013-04-15T16:19:04 < Robint91> did that 2013-04-15T16:19:08 < Robint91> still that error 2013-04-15T16:19:16 < Robint91> MCFLAGS = -mcpu=$(MCU) -mthumb -mlittle-endian -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb-interwork -fno-non-call-exceptions -Wall -ffunction-sections -nostartfiles -lm -Wl,--gc-sections -Wl,-cref "-Wl,-Map=memory.map" 2013-04-15T16:19:54 < jpa-> maybe your funnycompiler does not have funnylibrary for your funnyarchitecture 2013-04-15T16:20:59 < Robint91> http://i.imgur.com/QMID7y7.png 2013-04-15T16:21:08 < jpa-> try arm-none-eabi-gcc --print-multi-lib 2013-04-15T16:21:21 < jpa-> lol windows 2013-04-15T16:21:38 < Laurenceb> stdballoon?! 2013-04-15T16:21:47 < Laurenceb> balloon optical data link? 2013-04-15T16:21:57 < jpa-> balloon full of sexually transmitted diseases 2013-04-15T16:22:12 < Laurenceb> jenkins daily build? 2013-04-15T16:22:21 < Laurenceb> LEEERRRROYYYYY JENKINS 2013-04-15T16:22:24 < Robint91> http://i.imgur.com/54Ng0aX.png 2013-04-15T16:23:01 < jpa-> what is your $(MCU)? 2013-04-15T16:23:10 < Robint91> https://gist.github.com/anonymous/5388017 2013-04-15T16:23:16 < Robint91> cortex-m4 2013-04-15T16:23:41 < jpa-> hmm.. so does the linker give any error about not finding -lm? 2013-04-15T16:24:15 < Robint91> jpa-, only a undefined reference to sinf 2013-04-15T16:24:27 < Robint91> jpa-, I don't think it links to -lm 2013-04-15T16:26:18 -!- CRF_Peter [~Peter@dhcp-198131.eduroam.chalmers.se] has joined ##stm32 2013-04-15T16:26:52 < Robint91> Laurenceb, it is SDTballoon 2013-04-15T16:27:04 < Robint91> Laurenceb, it is a software defined transmitter for a balloon 2013-04-15T16:27:35 < jpa-> http://paste.dy.fi/683/plain works for me 2013-04-15T16:27:35 < Robint91> Laurenceb, I'm going to use this beauty http://www.rfmd.com/CS/Documents/RFMD2081DS.pdf 2013-04-15T16:28:00 < jpa-> i wonder why you would want -mthumb-interwork? 2013-04-15T16:28:16 < jpa-> though that is not the problem 2013-04-15T16:28:51 < Robint91> mhh that needs to be removed 2013-04-15T16:28:58 < Laurenceb> niceeee 2013-04-15T16:29:07 < Robint91> this *was an old makefile for an ARM7 2013-04-15T16:29:22 < jpa-> -mlittle-endian is useless also 2013-04-15T16:29:59 < Robint91> Laurenceb, RF Output Frequency Range 2013-04-15T16:30:00 < Robint91> 45MHz to 2700MHz <- THIS 2013-04-15T16:32:06 < Robint91> jpa-, I can compile that also 2013-04-15T16:32:21 < Laurenceb> epicness 2013-04-15T16:32:23 < jpa-> Robint91: good; bisect :) 2013-04-15T16:32:33 < Laurenceb> driven directly from the DAC? 2013-04-15T16:32:36 -!- CRF_Peter [~Peter@dhcp-198131.eduroam.chalmers.se] has quit [Ping timeout: 264 seconds] 2013-04-15T16:32:51 < Robint91> Laurenceb, small opamp buffer 2013-04-15T16:33:04 < Robint91> Laurenceb, to make from single end -> diff ended 2013-04-15T16:33:15 < Robint91> but in unity gain 2013-04-15T16:33:26 < Laurenceb> yeah 2013-04-15T16:33:31 < Robint91> Laurenceb, it needs max 1Vpp signals 2013-04-15T16:33:40 < Robint91> for 0dbm output 2013-04-15T16:33:41 < Laurenceb> its a little current hungry 2013-04-15T16:33:52 < Laurenceb> i thought i ways -4dBm 2013-04-15T16:33:55 < Laurenceb> *says 2013-04-15T16:34:29 < Robint91> oh yeah 2013-04-15T16:35:16 < Laurenceb> you'll need a power amp 2013-04-15T16:35:42 < Robint91> yeah 2013-04-15T16:37:17 < Robint91> Laurenceb, http://www.rfmd.com/CS/Documents/RFPA2089DS.pdf or http://www.rfmd.com/CS/Documents/RF6886DS.pdf 2013-04-15T16:38:16 < Laurenceb> 1W O_o 2013-04-15T16:38:36 < gxti> MOAR POWER 2013-04-15T16:39:00 < Robint91> but I think the 250mW 2013-04-15T16:39:05 < Laurenceb> me too 2013-04-15T16:39:10 < Laurenceb> for sanity 2013-04-15T16:39:11 < Robint91> would be better 2013-04-15T16:39:29 < Robint91> Laurenceb, you can get 2.5W out of the latter 2013-04-15T16:39:48 < Laurenceb> only with 23dB gain 2013-04-15T16:39:56 < Laurenceb> you will see ~19dBm 2013-04-15T16:40:05 < Robint91> Laurenceb, small gain block 2013-04-15T16:40:15 < Laurenceb> 19 is ok for a balloon 2013-04-15T16:40:20 < Laurenceb> should work fine 2013-04-15T16:41:57 < Laurenceb> ~300mA for the entire thing 2013-04-15T16:42:02 < Laurenceb> a bit current hungry 2013-04-15T16:42:11 < Laurenceb> still, better than a raspberry pi 2013-04-15T16:43:47 < Robint91> yeah 2013-04-15T16:43:51 < gxti> it's good to have standards 2013-04-15T16:44:31 -!- CRF_Peter [~Peter@dhcp-198131.eduroam.chalmers.se] has joined ##stm32 2013-04-15T16:44:42 < Laurenceb> you could run it off 5v and have an smps for the 3.3v stuff 2013-04-15T16:44:51 < Laurenceb> that ould take the current down a bit 2013-04-15T16:45:50 < Robint91> it compiled 2013-04-15T16:46:04 < Laurenceb> so that means it works right? 2013-04-15T16:46:07 < Laurenceb> :P 2013-04-15T16:46:11 < Robint91> Laurenceb, testing now 2013-04-15T16:48:28 < jpa-> where would you get the 5V? 2013-04-15T16:49:09 < jpa-> might as well have two smps's from the battery voltage down 2013-04-15T16:49:40 < Robint91> I was thinging of 8 AA lithuim batteries in series 2013-04-15T16:49:56 < jpa-> why so high voltage? 2013-04-15T16:52:32 < Robint91> jpa-, depends on how the cells will fail 2013-04-15T16:52:38 < Robint91> if they go in short 2013-04-15T16:52:45 < Robint91> then they will all be in series 2013-04-15T16:52:59 < Robint91> if they make open circuits two paralell string of 4 2013-04-15T16:53:49 < jpa-> make two parallel strings and join with diodes 2013-04-15T16:57:32 < Robint91> it seems that ST has update the F4 usermanual 2013-04-15T17:05:11 < Tectu> http://www.abload.de/img/fooc1lby.png 2013-04-15T17:05:47 < jpa-> Tectu: very imaginative name for the schematic :) 2013-04-15T17:05:56 < Robint91> http://www.st.com/web/en/resource/technical/document/datasheet/DM00077036.pdf 2013-04-15T17:06:19 < Tectu> jpa-, gave my best ;) 2013-04-15T17:06:24 < jpa-> also, for a part that large, i would use one of the symbols where the each port is separate and you can place them on separate sheets 2013-04-15T17:10:29 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-15T17:14:21 < Robint91> I see sinewaves 2013-04-15T17:14:22 < Robint91> w00t 2013-04-15T17:20:08 < Robint91> how do I link with a .a file? 2013-04-15T17:20:41 < zyp> like any other library 2013-04-15T17:21:02 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 256 seconds] 2013-04-15T17:21:39 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-15T17:23:31 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-04-15T17:28:54 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-15T17:31:24 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 264 seconds] 2013-04-15T17:34:28 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-15T17:36:40 -!- sterna1 [~Adium@dhcp-199227.eduroam.chalmers.se] has quit [Read error: Connection reset by peer] 2013-04-15T17:37:25 -!- sterna1 [~Adium@dhcp-199227.eduroam.chalmers.se] has joined ##stm32 2013-04-15T17:37:55 < Robint91> does someone know how the data is inserted in http://mazsola.iit.uni-miskolc.hu/DATA/segedletek/arm/cmsis/CMSIS/Documentation/DSP/html/group___radix4___c_f_f_t___c_i_f_f_t.html#ga521f670cd9c571bc61aff9bec89f4c26 2013-04-15T17:38:03 < Robint91> arm_cfft_radix4_f32 2013-04-15T17:38:14 < Robint91> [R][I][R][I] 2013-04-15T17:38:22 < Robint91> or [R][R][I][I] ? 2013-04-15T17:38:41 < Robint91> nevermind 2013-04-15T17:42:06 -!- sterna2 [~Adium@dhcp-201229.eduroam.chalmers.se] has joined ##stm32 2013-04-15T17:45:48 -!- sterna1 [~Adium@dhcp-199227.eduroam.chalmers.se] has quit [Ping timeout: 264 seconds] 2013-04-15T17:46:23 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-15T17:46:39 < jpa-> bah.. trying to find a suitable pushbutton in online catalogs *sucks* 2013-04-15T17:46:43 < Robint91> https://gist.github.com/anonymous/5388634 2013-04-15T17:46:54 < Robint91> ^ how i generate sines 2013-04-15T17:46:56 < Robint91> w00t 2013-04-15T17:47:35 < jpa-> slowest sine wave generator ever :) 2013-04-15T17:47:50 < Robint91> jpa-, it is buffered 2013-04-15T17:47:54 < Robint91> calcute once 2013-04-15T17:47:59 < Robint91> DMA does the rest 2013-04-15T17:48:04 < talsit> jpa-: yeah, if you could search by pin spacing it would be awesome 2013-04-15T17:48:19 < jpa-> talsit: and height.. and width of button part.. 2013-04-15T17:48:34 < jpa-> Robint91: true in that case 2013-04-15T17:49:30 < talsit> yeah, height is a good one 2013-04-15T17:50:51 < jpa-> i want a switch with 5-10mm wide button part, so that the shaft is atleast 3mm and the whole button is not more than 6mm high 2013-04-15T17:51:01 < jpa-> and that is available on farnell :P 2013-04-15T17:51:25 < karlp> Robint91: how does that generate a sine wave fft of what, a step and then ifft? 2013-04-15T17:51:50 < jpa-> karlp: just feeds values into ifft 2013-04-15T17:51:54 < Robint91> karlp, just IFFT and taking the real part 2013-04-15T17:54:43 < karlp> nvm, I don't understand fft/ifft well enough for that to make any sense. homework reading for later :) 2013-04-15T17:57:34 -!- baird [~cjb@ppp121-44-160-35.lns20.syd7.internode.on.net] has quit [Ping timeout: 256 seconds] 2013-04-15T17:57:38 -!- cjbaird [~cjb@ppp121-44-159-81.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-15T17:57:56 < jpa-> karlp: the FFT of a sine wave would just contain a peak at a single frequency.. so he puts a peak there and runs IFFT 2013-04-15T17:58:37 < qyx_> why is it done such way? 2013-04-15T17:59:06 < karlp> ok, and a sine wave with harmonics would have more values in the fft 2013-04-15T17:59:29 < jpa-> hmm maybe http://fi.farnell.com/multimec/5gsh935-1ss09-09-5/switch-extender-ip67-3-5n-9-5mm/dp/2280467?in_merch=New%20Products will fit 2013-04-15T17:59:40 < karlp> Robint91: the 16ksps, is that the dac speed? 2013-04-15T18:00:00 < jpa-> qyx_: he is just preparing to do some OFDM stuff 2013-04-15T18:02:45 < qyx_> ah 2013-04-15T18:05:37 -!- Chocobo [~swinchen@pdpc/supporter/student/chocobo] has joined ##stm32 2013-04-15T18:06:05 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Quit: Leaving.] 2013-04-15T18:07:14 < Chocobo> Hi all. What is the benefit of disabling the internal reset? I am looking at the F415 and notice that if I apply an inverted reset signal to PDR_ON the internal reset is disabled. 2013-04-15T18:09:53 -!- cjbaird is now known as baird 2013-04-15T18:12:48 < jpa-> Chocobo: IIRC it makes possible to operate at very low supply voltages 2013-04-15T18:13:03 < jpa-> IIRC the datasheet has separate specs when PDR is disabled 2013-04-15T18:14:03 < Chocobo> jpa-: ahh, ok thanks. :) 2013-04-15T18:16:18 -!- baird [~cjb@ppp121-44-159-81.lns20.syd7.internode.on.net] has quit [Ping timeout: 276 seconds] 2013-04-15T18:19:44 < Robint91> karlp, yes 2013-04-15T18:34:47 < Robint91> something strange, I program it via st-link, runs, press reset, doesn't run anymore? 2013-04-15T18:34:56 < Robint91> I'm working on a F4 discovery 2013-04-15T18:35:00 < Laurenceb> arg 2013-04-15T18:35:16 < Laurenceb> how do i FFT data with sampling gaps without artifacts? 2013-04-15T18:35:37 < Laurenceb> ive got 116Hz data for 5 seconds every 15 seconds 2013-04-15T18:35:51 < Laurenceb> and i want to take fft around ~0.5 to 12hz 2013-04-15T18:36:12 * Laurenceb looks at emeb 2013-04-15T18:36:14 < Robint91> Laurenceb, extend the 5 second data to 15 seconds 2013-04-15T18:36:21 < Laurenceb> ... lolz 2013-04-15T18:36:25 -!- sterna2 [~Adium@dhcp-201229.eduroam.chalmers.se] has quit [Quit: Leaving.] 2013-04-15T18:36:29 < Robint91> Laurenceb, resample? 2013-04-15T18:36:35 < Laurenceb> not feasible 2013-04-15T18:36:44 < Laurenceb> 15 versus 5 seconds 2013-04-15T18:37:26 < Robint91> Laurenceb, why not keep sampling? 2013-04-15T18:37:42 < Laurenceb> theres other sampling going on there 2013-04-15T18:39:23 < Laurenceb> maybe a series of fourier transforms might work 2013-04-15T18:39:55 < Laurenceb> or a fourier transform of the fourier transforms of each section... 2013-04-15T18:40:03 < Laurenceb> ....dawg 2013-04-15T18:40:10 < Robint91> STFT? 2013-04-15T18:40:50 -!- CRF_Peter [~Peter@dhcp-198131.eduroam.chalmers.se] has quit [Ping timeout: 255 seconds] 2013-04-15T18:41:03 < Laurenceb> possibly 2013-04-15T18:44:54 < Laurenceb> rage 2013-04-15T18:45:01 < Laurenceb> thought this would be easy 2013-04-15T18:45:01 < Robint91> https://www.dropbox.com/s/tpdouu7n2iynh0y/2013-04-15%2017.43.50.jpg 2013-04-15T18:45:02 < Robint91> w00t 2013-04-15T18:45:07 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-04-15T18:45:11 < Laurenceb> groovy 2013-04-15T18:46:00 < Robint91> DSP is fun 2013-04-15T18:55:37 < Tectu> Robint91, looks like my current project 2013-04-15T18:55:43 -!- sterna1 [~Adium@dhcp-181160.eduroam.chalmers.se] has joined ##stm32 2013-04-15T18:55:56 < Tectu> one of 'em* 2013-04-15T18:57:24 < jpa-> Laurenceb: windowing? 2013-04-15T18:58:34 < Tectu> jpa-, how's it 'inking? 2013-04-15T18:58:46 < Robint91> Tectu, mhh nice 2013-04-15T18:58:47 < jpa-> Laurenceb: i.e. multiply each of your 5 second blocks with hamming window 2013-04-15T18:59:01 < jpa-> Tectu: still working on the PCB design.. though i received the displays already :) 2013-04-15T18:59:11 -!- GargantuaSauce_ [~sauce@blk-222-208-237.eastlink.ca] has quit [Ping timeout: 245 seconds] 2013-04-15T18:59:33 < Tectu> jpa-, huh? wasn't the PCB already done? wasn't that that one you showed us with the gay touching capacitor and LQFP solder mask? 2013-04-15T18:59:34 < jpa-> VCOM voltage is written on the label.. one thing less to worry about 2013-04-15T18:59:50 < jpa-> Tectu: sure, but i'm still refining it 2013-04-15T18:59:56 < jpa-> in fact, it looks totally different now :D 2013-04-15T18:59:59 < Robint91> my does my code work when I program it 2013-04-15T19:00:08 < Robint91> but not when I reset the microcontroller? 2013-04-15T19:00:11 < jpa-> Tectu: the first version wouldn't have worked out mechanically that well 2013-04-15T19:00:23 < jpa-> Robint91: you rely on something initialized by the flasher or by gdb 2013-04-15T19:00:33 < jpa-> Robint91: check vector table, especially stack & start address 2013-04-15T19:00:47 < Tectu> jpa-, let's see if you did better ;-) 2013-04-15T19:01:11 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has joined ##stm32 2013-04-15T19:03:54 < Robint91> jpa-, I have _estack = 0x20020000; for a STM32F407VG 2013-04-15T19:03:56 < jpa-> Tectu: http://koti.kapsi.fi/jpa/stuff/pix/eink_pcb.png 2013-04-15T19:04:12 < jpa-> Robint91: you could also check with gdb to see where it crashes after reset 2013-04-15T19:04:17 < Tectu> jpa-, looks way better, good job 2013-04-15T19:04:26 < Robint91> jpa-, it doesn't crash 2013-04-15T19:04:34 < Robint91> jpa-, floating point doesn't seem to work 2013-04-15T19:04:37 < jpa-> Tectu: you are saying that my previous one was bad job ?!?!?! 2013-04-15T19:04:46 < jpa-> Robint91: hmm.. do you initialize the FPU? 2013-04-15T19:04:52 < Tectu> jpa-, yes 2013-04-15T19:05:09 < Robint91> jpa-, yeah 2013-04-15T19:05:16 < Tectu> jpa-, kidding 2013-04-15T19:05:30 * jpa- jabs Tectu for being a kid 2013-04-15T19:06:05 < jpa-> Tectu: still have to fix up the ground planes a bit 2013-04-15T19:06:39 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has quit [Ping timeout: 256 seconds] 2013-04-15T19:06:50 < Tectu> jpa-, what's wrong if them? 2013-04-15T19:09:12 < jpa-> Tectu: not much.. but can be improved 2013-04-15T19:09:45 < jpa-> Tectu: for example, on bottom side near R16, there is a dangling end that can be made to join by just moving some traces 2013-04-15T19:10:13 < jpa-> also should add vias where the gaps are unavoidable 2013-04-15T19:10:15 < Robint91> jpa-, everything seems okay 2013-04-15T19:11:01 < jpa-> Robint91: how does it not work? 2013-04-15T19:11:27 < Robint91> jpa-, it seems that the FPU doesn't run when I reset my board 2013-04-15T19:11:31 < jpa-> Tectu: hmm, X1 and SW4 soldermasks are touching! 2013-04-15T19:11:40 < jpa-> Robint91: how do you determine that? 2013-04-15T19:11:59 < Tectu> jpa-, gaaaaaaaaaay 2013-04-15T19:12:51 -!- phantoxeD [~destroy@a95-92-85-217.cpe.netcabo.pt] has quit [Ping timeout: 258 seconds] 2013-04-15T19:13:27 < Robint91> jpa-, fpu working, https://www.dropbox.com/s/v1kgw7zrmhs3uvh/2013-04-15%2018.12.08.jpg ,fpu not working https://www.dropbox.com/s/u3ohkb5ah1a3w0m/2013-04-15%2018.12.19.jpg 2013-04-15T19:13:34 < Robint91> jpa-, see the bais 2013-04-15T19:13:37 < Robint91> *bias 2013-04-15T19:13:47 < Robint91> that is a non FPU operation 2013-04-15T19:14:24 < Tectu> Robint91, please go on, the internet needs some more «FPU on vs. FPU off» examples :P 2013-04-15T19:14:38 < jpa-> Robint91: that could just be something totally else not working 2013-04-15T19:14:49 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has joined ##stm32 2013-04-15T19:15:07 < Robint91> jpa-, could be the DMA controller? 2013-04-15T19:15:17 < jpa-> possibly 2013-04-15T19:15:27 < jpa-> do you enable the DMA controller clock somewhere? 2013-04-15T19:15:36 < gxti> how to tell if your fpu is working: a 3-step guide 2013-04-15T19:15:39 < Robint91> RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_DMA1, ENABLE); 2013-04-15T19:15:45 < Robint91> yeah 2013-04-15T19:15:46 < jpa-> your paste doesn't have that.. in fact, it doesn't enable much any clocks there 2013-04-15T19:16:03 < Tectu> gxti, is there comming more? 2013-04-15T19:16:22 < Robint91> https://gist.github.com/anonymous/5389261 2013-04-15T19:16:25 -!- phantoxeD [~destroy@a95-92-85-217.cpe.netcabo.pt] has joined ##stm32 2013-04-15T19:16:28 < Robint91> the DAC/DMA code 2013-04-15T19:16:33 < jpa-> ok 2013-04-15T19:16:51 < jpa-> just set a breakpoint with gdb and see if the sinebuffer is OK or not 2013-04-15T19:19:28 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has quit [Ping timeout: 256 seconds] 2013-04-15T19:19:29 < Robint91> sinebuffer seems okay 2013-04-15T19:22:25 < Robint91> sinebuffer is okay 2013-04-15T19:22:28 -!- CRF_Peter [~Peter@dhcp-179024.eduroam.chalmers.se] has joined ##stm32 2013-04-15T19:22:44 < Robint91> so why isn't that DMA controller working? 2013-04-15T19:22:48 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has joined ##stm32 2013-04-15T19:22:58 < Tectu> Robint91, did you enable it? 2013-04-15T19:24:58 < Tectu> okay, this was not helpful, I'm sorry 2013-04-15T19:25:37 < jpa-> Robint91: then check if the DAC works, i.e. try to write there manually from gdb 2013-04-15T19:25:45 < jpa-> bisect until you find the problem :) 2013-04-15T19:29:35 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has quit [Read error: Connection reset by peer] 2013-04-15T19:31:14 < Robint91> jpa-, DAC seems to wokr 2013-04-15T19:31:49 < jpa-> Robint91: then check DMA NDTR and see if it is changing 2013-04-15T19:38:40 < Tectu> has anyone here ever used the audio stuff on the f4 disco board? 2013-04-15T19:41:52 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has joined ##stm32 2013-04-15T19:41:57 < jpa-> IIRC zyp was playing audio through USB using it 2013-04-15T19:43:04 < Tectu> how's the audio quality? 2013-04-15T19:47:33 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has quit [Ping timeout: 252 seconds] 2013-04-15T19:59:35 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-04-15T20:02:21 < zyp> pretty decent 2013-04-15T20:02:32 < zyp> it's using a chip meant for just that, after all 2013-04-15T20:03:18 < zyp> http://cgit.jvnv.net/laks_demo/tree/?h=usb_audio <- grab this if you want to test for yourself 2013-04-15T20:03:44 < gxti> i should investigate making a nice high-res DAC. the 'async' one i have now underruns if the host cpu is even slightly busy, probably a driver issue though 2013-04-15T20:03:48 < gxti> thanks lunix 2013-04-15T20:04:21 < zyp> (it's not syncing the input and output of the fifo, so it generates some distortion when the read and write pointers collide, but other than that it's working fine) 2013-04-15T20:11:12 -!- barthess [~barthess@178.154.11.111] has joined ##stm32 2013-04-15T20:12:09 < Tectu> zyp, got some .elf? 2013-04-15T20:12:58 < zyp> give me a minute, I'll build one 2013-04-15T20:13:12 < Tectu> zyp, cool! 2013-04-15T20:13:25 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Ping timeout: 258 seconds] 2013-04-15T20:14:16 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has joined ##stm32 2013-04-15T20:14:55 < zyp> http://bin.jvnv.net/f/k1Nxz.elf 2013-04-15T20:15:03 < Robint91> jpa-, something strange it doesn't happen every reset 2013-04-15T20:15:42 < zyp> which kind of reset? 2013-04-15T20:15:52 < zyp> are you sure everything is being reset to a known state? 2013-04-15T20:16:36 < Tectu> zyp, what do I need to do? is it some kind of USB sound card? 2013-04-15T20:16:52 < zyp> yep 2013-04-15T20:17:00 < Tectu> meh 2013-04-15T20:17:28 < zyp> just load it to the F4 discovery, plug in the micro cable, and you should have a usb sound card with volume control 2013-04-15T20:17:51 < Tectu> heh 2013-04-15T20:17:52 < Tectu> let's see 2013-04-15T20:17:54 < zyp> I'm not sure if it's been tested on windows yet, but works on any other platform I've tested 2013-04-15T20:18:29 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has quit [Ping timeout: 248 seconds] 2013-04-15T20:18:54 * Tectu is lunix fag 2013-04-15T20:19:40 -!- daku is now known as DaKu 2013-04-15T20:19:45 < zyp> then you shouldn't have any problems other than the ones you make yourself 2013-04-15T20:21:18 < Tectu> heh 2013-04-15T20:21:19 < Tectu> let me see 2013-04-15T20:21:45 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-15T20:22:49 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has joined ##stm32 2013-04-15T20:28:36 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has quit [Ping timeout: 256 seconds] 2013-04-15T20:39:50 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has joined ##stm32 2013-04-15T20:39:58 < Robint91> zyp, looks like the DMA controller stops working when I do an external reset 2013-04-15T20:41:35 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-227-171.clienti.tiscali.it] has joined ##stm32 2013-04-15T20:50:53 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 255 seconds] 2013-04-15T21:00:02 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has quit [Ping timeout: 256 seconds] 2013-04-15T21:01:17 < gsmcmullin> Hi everyone using BMP. We have host I/O support now thanks to PaulFertser. Please try it out and comment: https://github.com/gsmcmullin/blackmagic/tree/hostio 2013-04-15T21:01:55 < zyp> the semihosting stuff he was talking about the other day? 2013-04-15T21:01:59 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has joined ##stm32 2013-04-15T21:02:20 < gsmcmullin> zyp: Yes. It's been reworked, but the same stuff. 2013-04-15T21:03:02 < PaulFertser> gsmcmullin: and thanks to you too of course :) 2013-04-15T21:03:14 < zyp> nice 2013-04-15T21:03:21 < zyp> I'll have a look when I get time for it 2013-04-15T21:03:23 <+Steffanx> Not sure what it is, but sounds useful :) 2013-04-15T21:03:24 < PaulFertser> zyp: but now you can open a log file and write there, without messing with your gdb debugging console. 2013-04-15T21:03:28 < gsmcmullin> PaulFertser: If you hadn't started, I wouldn't have continued. 2013-04-15T21:04:07 < gsmcmullin> Steffanx: printf to gdb console. Open a log file and write on the host using stdio. 2013-04-15T21:05:36 < PaulFertser> puts() is much faster than printf though. And it's getting used automatically if printf has only one argument :) 2013-04-15T21:07:15 < karlp> just link with rdimon-specs or something? 2013-04-15T21:07:25 < PaulFertser> karlp: and -lrdimon 2013-04-15T21:07:55 < PaulFertser> karlp: the README is supposed to have enough documentation, if something is unclear, please tell. 2013-04-15T21:08:44 < zyp> the semihosting syscall interface looks simple enough to make a standalone implementation of, especially if just printing is desired 2013-04-15T21:09:27 < PaulFertser> zyp: what do you mean? Implement it in gdb scripts? 2013-04-15T21:09:27 < jpa-> yeah, i'm using it here https://github.com/PetteriAimonen/nanopb-benchmark/blob/master/platform/platform-arm.h 2013-04-15T21:09:40 < zyp> PaulFertser, no, I mean the firmware side of it 2013-04-15T21:09:56 < PaulFertser> zyp: newlib has it in libgloss, why reinvent the wheel? 2013-04-15T21:09:59 < zyp> just like jpa- linked to 2013-04-15T21:10:08 < jpa-> PaulFertser: because not everyone uses newlib 2013-04-15T21:10:45 < PaulFertser> jpa-: oh i see :) 2013-04-15T21:11:40 < zyp> in my case I mainly would like to keep the function to print through semihosting seperate from normal printf and stuff 2013-04-15T21:13:41 < jpa-> easy enough to make it a separate FILE* for fprintf 2013-04-15T21:14:53 < PaulFertser> gsmcmullin: btw, you mention summon-arm-toolchain several times on your site, but now, unfortunately, it's deprecated by the official arm toolchain. 2013-04-15T21:15:25 < gsmcmullin> PaulFertser: Yeah, I'm just too lazy to update the site. I'll go fix it now... 2013-04-15T21:17:42 < PaulFertser> The official toolchain builds gdb without python support, so i haven't tried implementing semihosting in python in gdb :) the basic gdb scripting was emitting unnecessary messages about stopping but otherwise worked ok: http://paste.debian.net/249737/ 2013-04-15T21:20:26 < Robint91> jpa-, I think it is the DMA controller 2013-04-15T21:20:33 < Robint91> GDB does weird 2013-04-15T21:21:54 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Read error: Connection reset by peer] 2013-04-15T21:22:07 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-15T21:22:08 < Robint91> great 2013-04-15T21:30:12 < Robint91> jpa-, zyp FOUND IT 2013-04-15T21:30:13 < Robint91> w00t 2013-04-15T21:30:18 < Robint91> DAC_InitTypeDef DAC_InitStructure; 2013-04-15T21:30:23 < Robint91> needs to be a global 2013-04-15T21:30:27 < Robint91> oddly enough 2013-04-15T21:30:36 < gxti> ha, i've done that 2013-04-15T21:31:55 < gxti> instead of just saving the callback function somewhere it saves the entire structure, so when the structure was on the stack funny things happen 2013-04-15T21:32:25 < gxti> funny things that always smash the stack so you have no idea what's causing the failure ;p 2013-04-15T21:32:45 < zyp> you mean a pointer to it? 2013-04-15T21:32:48 < zyp> nasty 2013-04-15T21:32:52 < gxti> yes 2013-04-15T21:32:56 < Robint91> zyp, yeah 2013-04-15T21:33:18 < jpa-> Robint91: is your .data initialization working ok? 2013-04-15T21:33:27 < jpa-> ah 2013-04-15T21:33:27 < gxti> the other fun chibios init problem i had was ... data initialization 2013-04-15T21:33:30 < jpa-> omg 2013-04-15T21:33:32 < gxti> because their linker script sucks eggs 2013-04-15T21:33:37 < jpa-> i didn't know stdperiph was so weird :) 2013-04-15T21:33:45 < zyp> heh 2013-04-15T21:33:53 < zyp> hmm 2013-04-15T21:33:55 < Robint91> jpa-, I have found the solution somewhere on the ST forums 2013-04-15T21:33:58 < zyp> I'm still a bit sceptical 2013-04-15T21:33:59 < gxti> err, right. stdperiph. for some reason i was thinking chibios. 2013-04-15T21:34:24 < zyp> IMO it's more likely that you left some fields of the structure uninitialized 2013-04-15T21:34:38 < zyp> on stack they are undefined, in global memory they are default-initialized to 0 2013-04-15T21:35:04 < jpa-> hmm.. can't see it taking any pointers in DAC_Init 2013-04-15T21:35:06 < zyp> because why would it keep a pointer? 2013-04-15T21:35:08 < Robint91> https://www.dropbox.com/s/4xel58vlii5eyqx/2013-04-15%2020.34.18.jpg 2013-04-15T21:35:32 < jpa-> gxti: ah yeah, chibios does that; it's fine because it is chibios :)) 2013-04-15T21:35:34 < Robint91> jpa-, it doesn't work if the init struct isn't global 2013-04-15T21:35:50 < jpa-> Robint91: zyp has a good point 2013-04-15T21:36:05 < Robint91> jpa-, mhh 2013-04-15T21:36:14 < Robint91> I will test it 2013-04-15T21:36:47 < gxti> jpa-: how is misaligned data sections 'fine' 2013-04-15T21:37:05 < gxti> my inits were blowing up because i was declaring them const and everything was off by 2 bytes 2013-04-15T21:37:23 < jpa-> Robint91: specifically DAC_LFSRUnmask_TriangleAmplitude.. try DAC_StructInit() 2013-04-15T21:37:30 < qyx_> ok, going to flash stm4discovery with bmp 2013-04-15T21:37:44 < jpa-> gxti: cortex-m3 cares about alignedness now? 2013-04-15T21:37:46 < gxti> i agree that taking pointers to the structure was fine, i was just assuming that wasn't happening and it took longer than i would have liked to figure out why it was assploding :p 2013-04-15T21:38:00 < gxti> no, but the crt0.c it ships does 2013-04-15T21:38:12 < jpa-> silly 2013-04-15T21:38:21 < gxti> sec 2013-04-15T21:38:46 < zyp> jpa-, stuff should still be word-aligned 2013-04-15T21:39:04 < jpa-> yeah, it would be better to have it aligned 2013-04-15T21:39:23 < gxti> it wasn't an alignment issue per se, it was a linker script inconsistency 2013-04-15T21:39:44 < gxti> where the linker script placed data vs where the linker script told crt0 to copy it was off by 2 bytes 2013-04-15T21:40:19 < gxti> and all the chibios example linker scripts have that problem 2013-04-15T21:43:18 < gsmcmullin> qyx_: Good luck. You probably want to remove the part of the bootloader that protects itself to void problems other are complaining about when they screw it up. 2013-04-15T21:48:33 < qyx_> but i am little confused 2013-04-15T21:48:42 < qyx_> http://embdev.net/articles/STM_Discovery_as_Black_Magic_Probe 2013-04-15T21:48:46 < qyx_> i am following this 2013-04-15T21:48:50 < qyx_> [edit] Bootstraping via the F4Discovery board itself 2013-04-15T22:02:23 < gsmcmullin> qyx_: I'm not too familiar with the f4 discovery, but the process is to put the bmp firmware on the f4 and use it to flash the f103(stlink). 2013-04-15T22:02:29 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-15T22:06:49 < Robint91> jpa-, seems to work 2013-04-15T22:07:14 -!- Thorn__ [~Thorn@78-106-7-233.broadband.corbina.ru] has joined ##stm32 2013-04-15T22:07:14 -!- Thorn__ [~Thorn@78-106-7-233.broadband.corbina.ru] has quit [Changing host] 2013-04-15T22:07:14 -!- Thorn__ [~Thorn@unaffiliated/thorn] has joined ##stm32 2013-04-15T22:07:18 < jpa-> Robint91: you owe zyp a drink now :) 2013-04-15T22:08:24 < Robint91> zyp, http://www.hopsmagazine.com/wp-content/uploads/2011/06/moortgat_duvel1.jpg this is for you 2013-04-15T22:08:36 < zyp> :) 2013-04-15T22:09:38 -!- Laurenceb_ [~Laurence@host86-177-60-95.range86-177.btcentralplus.com] has joined ##stm32 2013-04-15T22:09:57 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 258 seconds] 2013-04-15T22:17:43 < karlp> hrmm, good idea, I think there's one of them in the fridge right here. 2013-04-15T22:18:45 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-15T22:21:38 < emeb> Too bad there isn't a "BeerPal" that lets you send drinks to folks who have earned them. 2013-04-15T22:23:54 < Tectu> is there any problem in using an external 25MHz oszillator for an STM32F4? I guess the PLL can handle it in order to get 168MHz, right? 2013-04-15T22:24:12 < qyx_> where are the nvic.h files from libopencm3 gone? 2013-04-15T22:24:14 < qyx_> :S 2013-04-15T22:24:47 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:498f:bfc8:1f57:6a6a] has quit [Quit: Leaving] 2013-04-15T22:25:45 < jpa-> Tectu: 25 -> 168 is a difficult one 2013-04-15T22:25:57 < jpa-> 25 -> 162.5 would work 2013-04-15T22:26:09 < jpa-> though you won't get USB out of that 2013-04-15T22:26:14 < Robint91> Tectu, divide by 25 2013-04-15T22:26:25 < Robint91> Tectu, mutliple by 168 2013-04-15T22:26:47 < jpa-> lol 2013-04-15T22:26:51 -!- Thorn__ is now known as Thorn 2013-04-15T22:27:09 < Robint91> jpa-, I think ST does it like that 2013-04-15T22:27:15 < qyx_> chibi also 2013-04-15T22:27:22 < qyx_> i use 25MHz crystals 2013-04-15T22:27:36 < jpa-> hmm yeah, should work actually 2013-04-15T22:27:49 < Tectu> qyx_, no problems with ChibiOS and 25MHz= 2013-04-15T22:28:01 < qyx_> no problems 2013-04-15T22:28:08 < Tectu> qyx_, also getting 168MHz? 2013-04-15T22:28:29 < qyx_> only 120MHz 2013-04-15T22:28:50 < qyx_> for F2 2013-04-15T22:29:48 < Thorn> how can you not love this website http://electronics.stackexchange.com/questions/65715/hardware-usb-hard-drive-encryption 2013-04-15T22:30:29 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-15T22:30:29 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-15T22:30:29 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-15T22:30:48 < Robint91> Thorn, it isn't a stupid question 2013-04-15T22:31:34 < jpa-> it isn't a question 2013-04-15T22:31:46 < qyx_> i think that arduino should be capable of doing that 2013-04-15T22:31:57 < qyx_> you just need to add one host controller 2013-04-15T22:32:15 < jpa-> they wanted to use truecrypt anyway :) 2013-04-15T22:35:19 < Laurenceb_> yeah use arduino 2013-04-15T22:35:39 < emeb> Laurenceb_: did you figure out your FFT issue? 2013-04-15T22:35:50 < Laurenceb_> nope :-/ 2013-04-15T22:36:01 < Laurenceb_> im reading this: http://www.math.ucdavis.edu/~strohmer/research/sampling/irsampl.html 2013-04-15T22:36:10 < Laurenceb_> emeb: know of any nicer solutions? 2013-04-15T22:36:16 < Laurenceb_> i just want to power spectrum 2013-04-15T22:36:19 < Laurenceb_> *the 2013-04-15T22:36:36 < emeb> Laurenceb_: haven't done diddly with irregular sampling. 2013-04-15T22:36:59 < jpa-> Laurenceb_: hmm i thought you just had 5 second runs every now and then.. not irregular sampling exactly? 2013-04-15T22:37:12 -!- Erlkoenig [~erlkoenig@pptp-212-201-70-183.pptp.stw-bonn.de] has joined ##stm32 2013-04-15T22:37:16 < emeb> right 2013-04-15T22:37:24 < jpa-> Laurenceb_: what's wrong with simple windowing? 2013-04-15T22:37:25 < emeb> you can't do an FFT of data that's not there. 2013-04-15T22:38:27 < Laurenceb_> yeah 2013-04-15T22:38:39 < Laurenceb_> padding with zeros screws up the power spectrum 2013-04-15T22:38:47 < Laurenceb_> actually... 2013-04-15T22:39:01 < Laurenceb_> maybe i could deconvolve the power spectrum 2013-04-15T22:39:18 < jpa-> Laurenceb_: windowing gets rid of the padding artifacts 2013-04-15T22:39:34 * Laurenceb_ n00b 2013-04-15T22:39:36 < emeb> as long as the padding is outside the window 2013-04-15T22:39:42 < jpa-> of course 2013-04-15T22:39:44 < Laurenceb_> what do you mean by windowing and padding? 2013-04-15T22:39:52 < emeb> if you have a sharp cutoff to zero data within the window then it's splatter city. 2013-04-15T22:39:58 < Laurenceb_> i put zeros in for the blank data 2013-04-15T22:40:05 < jpa-> Laurenceb_: well i don't know why you would want to pad with zeros anyway 2013-04-15T22:40:06 < emeb> that's padding 2013-04-15T22:40:06 < Laurenceb_> yeah thats what i saw 2013-04-15T22:40:12 < Laurenceb_> splatter _everywhere_ 2013-04-15T22:40:17 < jpa-> Laurenceb_: just take your 5 second piece, apply window function, do FFT 2013-04-15T22:40:30 < Robint91> ^ this 2013-04-15T22:40:35 < Laurenceb_> but there are lots of 5 second intervals 2013-04-15T22:40:41 < Laurenceb_> like ~10 minutes of data 2013-04-15T22:40:56 < emeb> Laurenceb_: so do video averaging 2013-04-15T22:41:04 < jpa-> hmm so do you want one FFT representative of the whole data? 2013-04-15T22:41:04 < Laurenceb_> hmm 2013-04-15T22:41:10 < Laurenceb_> yes 2013-04-15T22:41:18 < Laurenceb_> brb 2013-04-15T22:41:41 < jpa-> Laurenceb_: just power spectrum or phases also? 2013-04-15T22:41:41 < emeb> window and fft each 5s chunk, then average the magnitude of each fft output. 2013-04-15T22:44:18 < Laurenceb_> just power 2013-04-15T22:44:30 < Laurenceb_> ememb: then i lose the resolution 2013-04-15T22:44:40 < jpa-> why would you lose resolution? 2013-04-15T22:45:00 < Laurenceb_> fft of 5 second chunks 2013-04-15T22:45:13 < Laurenceb_> tho i could combine the fft results using phase offsets 2013-04-15T22:45:17 < jpa-> averaging will restore any missing resolution 2013-04-15T22:45:17 < Laurenceb_> as part of a large dft 2013-04-15T22:45:30 < Laurenceb_> not frequency resolution 2013-04-15T22:45:37 < Laurenceb_> ill have 0.2hz res 2013-04-15T22:45:37 < jpa-> if you wanted only 0.5 Hz, then 5 seconds is plenty of time to capture that 2013-04-15T22:45:42 < Laurenceb_> i dont 2013-04-15T22:45:48 < Laurenceb_> i need ~0.01 or less 2013-04-15T22:46:01 < emeb> so window, pad to longer FFT 2013-04-15T22:46:10 < jpa-> this ^ 2013-04-15T22:46:34 < Laurenceb_> window each 5s interval? 2013-04-15T22:46:38 < emeb> yes 2013-04-15T22:46:39 < jpa-> yes 2013-04-15T22:46:44 < Laurenceb_> thats still going to splatter? 2013-04-15T22:46:46 < emeb> then add zeros outside the window 2013-04-15T22:46:46 * Laurenceb_ tries 2013-04-15T22:46:54 < Laurenceb_> hmm 2013-04-15T22:47:05 < emeb> that won't splatter because you don't have a sharp cutoff 2013-04-15T22:47:06 < Laurenceb_> ill try this in octave 2013-04-15T22:47:23 * Laurenceb_ unconvinced 2013-04-15T22:47:36 < emeb> take a ride on the convincer! 2013-04-15T22:47:41 < jpa-> trust the mac guy! 2013-04-15T22:47:51 < emeb> who's the mac guy? 2013-04-15T22:47:56 * emeb is on linux right now 2013-04-15T22:47:59 < Laurenceb_> are there window functions built into octave.. i forget? 2013-04-15T22:48:03 < emeb> yes 2013-04-15T22:48:10 < emeb> blackmanharris() 2013-04-15T22:48:28 < Laurenceb_> nice 2013-04-15T22:48:37 < jpa-> hamming() is my favourite 2013-04-15T22:48:44 < jpa-> (because it is the only one i remember) 2013-04-15T22:50:44 < Laurenceb_> hmm 2013-04-15T22:50:45 < Laurenceb_> sig=[ones(1,10),zeros(1,10),ones(1,10),zeros(1,10)] 2013-04-15T22:50:54 < Laurenceb_> window=[hamming(10),zeros(1,10),hamming(10),zeros(1,10)] 2013-04-15T22:51:02 < Laurenceb_> plot(abs(fft(sig.*window))) 2013-04-15T22:51:06 < Laurenceb_> spikey as ever 2013-04-15T22:51:44 < emeb> not a very realistic approach 2013-04-15T22:51:55 < Laurenceb_> oh actually it does help 2013-04-15T22:52:02 < Laurenceb_> higher harmonics have gone 2013-04-15T22:52:06 < emeb> you're going to see primarily the contribution of the window 2013-04-15T22:52:08 < Laurenceb_> ill try a more sane version 2013-04-15T22:54:04 < Laurenceb_> yeah this might work 2013-04-15T22:56:03 < jpa-> 10 samples is very short, also 2013-04-15T22:56:47 < emeb> if you window every 5s chunk, zero-stuff the missing data and then do one giant FFT on the whole series you're going to get strange results. 2013-04-15T22:57:03 < Laurenceb_> ok this looks feasible 2013-04-15T22:57:21 < jpa-> emeb: why? 2013-04-15T22:57:22 < Luggi09> 10 samples with fft? don't you allways need 2^n ? 2013-04-15T22:57:38 < Laurenceb_> octave uses "magic" 2013-04-15T22:57:39 < jpa-> Luggi09: no, and this is different anyway 2013-04-15T22:57:49 < emeb> there will be a big tone @ the 20s period, with harmonics due to the window shape. 2013-04-15T22:58:15 < jpa-> shouldn't the window shape have minimal harmonics? 2013-04-15T22:58:19 < emeb> I'd suggest doing separate FFTs for each 5s chunk, windowed and zero padded to the length needed for the frequency resolution you want. 2013-04-15T22:58:37 < emeb> then average the outputs of the FFTs. 2013-04-15T22:58:39 < jpa-> and the 20s period is easy enough to filter out, if he wants a lowest frequency of 0.5 Hz 2013-04-15T22:58:50 < emeb> That way you don't see modulation products at the chunk rate. 2013-04-15T22:59:16 < jpa-> but the huge FFT is stupid anyway 2013-04-15T22:59:20 < jpa-> takes long to compute 2013-04-15T22:59:26 < jpa-> i'd rather do the averaging 2013-04-15T22:59:48 < emeb> ya 2013-04-15T22:59:57 < Laurenceb_> http://i.imgur.com/FC4nndF.png 2013-04-15T23:00:12 < emeb> octave is pretty smart about doing odd-sized or large FFTs, but it can still be slow. 2013-04-15T23:00:16 < Laurenceb_> thats realistic simulated data in the frequency range im interested in 2013-04-15T23:00:40 < Laurenceb_> red=no windowing 2013-04-15T23:00:53 < Laurenceb_> blue =hamming, green = blackmanharris 2013-04-15T23:01:31 < emeb> strange that the only peak on the BH window is @ 21 2013-04-15T23:01:43 < emeb> and hamming is roughly equally spread out. 2013-04-15T23:01:43 < Laurenceb_> there are more to the left 2013-04-15T23:01:49 < Laurenceb_> i start at 0.8Hz 2013-04-15T23:02:30 < jpa-> Laurenceb_: so what was your signal there? 2013-04-15T23:02:38 < Laurenceb_> no 2013-04-15T23:02:47 < Laurenceb_> ill try some simulated signal... 2013-04-15T23:02:55 < Laurenceb_> its about 0.1% modulation depth 2013-04-15T23:03:00 < Laurenceb_> simusoid 2013-04-15T23:03:04 < Laurenceb_> lol 2013-04-15T23:06:41 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 245 seconds] 2013-04-15T23:08:48 < Laurenceb_> :( 2013-04-15T23:08:52 < Laurenceb_> too many harmonics 2013-04-15T23:10:11 < Laurenceb_> http://i.imgur.com/8OEIf5f.png 2013-04-15T23:10:27 < Laurenceb_> black and magneta 2013-04-15T23:10:37 < Laurenceb_> with 0.1% and 1% 2013-04-15T23:15:41 < Laurenceb_> im going to try convolution theorem to clean it up 2013-04-15T23:16:41 < BrainDamage> as in, you're going to convolve it with dirac's delta, and have exactly the same shit 2013-04-15T23:21:55 -!- CRF_Peter [~Peter@dhcp-179024.eduroam.chalmers.se] has quit [Quit: Leaving] 2013-04-15T23:22:02 < Laurenceb_> no this works 2013-04-15T23:22:05 < Laurenceb_> .. kind of 2013-04-15T23:22:42 < Laurenceb_> some nasty rounding errors or.. something 2013-04-15T23:22:57 < Laurenceb_> but >order of magnitude snr 2013-04-15T23:23:37 < Laurenceb_> f=fft(sig.*window.*simusoid.*10); 2013-04-15T23:23:45 < Laurenceb_> f./=fft(window); 2013-04-15T23:23:53 < Laurenceb_> plot(abs(f)) 2013-04-15T23:24:37 < Tectu> so my crystals datasheet says 18pF load capacitance, 5pF maximal shunt... what does that mean? 18pF load means that 18pF is the capacity of each of the two capacitors, right? 2013-04-15T23:24:44 < Tectu> never looked through this crystal crap 2013-04-15T23:26:33 -!- CRF_Peter [~Peter@dhcp-179024.eduroam.chalmers.se] has joined ##stm32 2013-04-15T23:28:34 < emeb> zyp is the expert. IIRC the rule of thumb is to use ~2x the load cap to ground on each leg of the xtal. 2013-04-15T23:29:16 < emeb> since the caps to ground act like they're in series, so the actual capacitance seen by the xtal is 1/2 of the value. 2013-04-15T23:29:40 < Tectu> yep 2013-04-15T23:29:45 < Tectu> that's why I think I need 36pF there 2013-04-15T23:30:08 < emeb> and you can drop it by a little due to the parasitic capacitance of the IC input. 2013-04-15T23:30:14 < emeb> I use 33pf 2013-04-15T23:30:39 <+Steffanx> zyp there? Does the 'old' bmp have the dfu bootloader? 2013-04-15T23:36:50 <+Steffanx> nevermind 2013-04-15T23:36:51 <+Steffanx> it has 2013-04-15T23:45:22 < Laurenceb_> interesting 2013-04-15T23:45:31 < Laurenceb_> im dividing by zero 2013-04-15T23:45:38 < Laurenceb_> or very close to zero 2013-04-15T23:45:43 < Laurenceb_> thats giving the noise 2013-04-15T23:46:16 -!- CRF_Peter [~Peter@dhcp-179024.eduroam.chalmers.se] has quit [Ping timeout: 245 seconds] 2013-04-15T23:50:30 -!- dekar [~dekar@212.255.236.207] has joined ##stm32 2013-04-15T23:50:30 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-15T23:52:36 -!- barthess [~barthess@178.154.11.111] has quit [Quit: Leaving.] 2013-04-15T23:53:35 -!- sterna1 [~Adium@dhcp-181160.eduroam.chalmers.se] has quit [Quit: Leaving.] --- Day changed Tue Apr 16 2013 2013-04-16T00:03:31 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-227-171.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2013-04-16T00:11:12 -!- gsmcmullin [~gareth@c-76-21-106-184.hsd1.ca.comcast.net] has quit [Ping timeout: 276 seconds] 2013-04-16T00:11:35 < Laurenceb_> this almost works 2013-04-16T00:11:42 < Laurenceb_> but i dont think its usable 2013-04-16T00:11:54 < Laurenceb_> im going to try the multiple FFT route 2013-04-16T00:12:15 < Laurenceb_> fft each 5second interval, then assemble all the fft data using a large dft 2013-04-16T00:13:34 < Laurenceb_> actually no, thats mathematically identical to one large fft with zero padded data 2013-04-16T00:13:36 < Laurenceb_> :( 2013-04-16T00:13:56 -!- gsmcmullin [~gareth@c-76-21-106-184.hsd1.ca.comcast.net] has joined ##stm32 2013-04-16T00:15:11 < Laurenceb_> http://i.imgur.com/jgexFd3.png 2013-04-16T00:15:13 < Laurenceb_> ^RAGEEE 2013-04-16T00:15:39 < Laurenceb_> real signal is at 30 2013-04-16T00:16:10 < Laurenceb_> thats with a 0.01% modulation depth 2013-04-16T00:19:16 -!- Tonelock [~BlueBeep@95.83.249.6] has joined ##stm32 2013-04-16T00:19:36 < Robint91> http://i.imgur.com/3GsQ3Pn.png 2013-04-16T00:19:39 < Robint91> 32 carriers 2013-04-16T00:21:14 < Laurenceb_> hawt 2013-04-16T00:21:19 < Laurenceb_> using audio in? 2013-04-16T00:21:23 < Robint91> jes 2013-04-16T00:21:39 < Robint91> need to filter it first 2013-04-16T00:22:01 < Robint91> does anyone know how you can easy create a demodulator on the PC? 2013-04-16T00:23:13 < Laurenceb_> GNU radio 2013-04-16T00:27:58 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-16T00:33:56 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Read error: Operation timed out] 2013-04-16T00:36:51 < Laurenceb_> http://gnuradio.org/redmine/projects/gnuradio/repository/revisions/ce16514534e5d7ebbc4fe46e2b09a25ccc5fdafd/show/gnuradio-examples/python/ofdm 2013-04-16T00:37:22 < Laurenceb_> actually, looks liek there is a block 2013-04-16T00:37:33 < Laurenceb_> http://gnuradio.org/doc/doxygen/group__ofdm__blk.html 2013-04-16T00:39:29 -!- DaKu is now known as daku 2013-04-16T00:53:27 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 276 seconds] 2013-04-16T00:59:28 <+Steffanx> going to use it for some fancy rf system Robint91 ? 2013-04-16T00:59:36 <+Steffanx> or is it uni whatever work? 2013-04-16T01:13:46 < Laurenceb_> balloon data link 2013-04-16T01:19:20 < qyx_> i was considering PN spread spectrum, but i am not into balooning 2013-04-16T01:24:56 < ds2> has anyone played with the PSoC3/5's? 2013-04-16T01:25:01 -!- gsmcmullin [~gareth@c-76-21-106-184.hsd1.ca.comcast.net] has quit [Ping timeout: 245 seconds] 2013-04-16T01:25:40 < emeb> Nope - just the original PSoC. 2013-04-16T01:25:48 < emeb> (with the weird 8-bit MCU) 2013-04-16T01:25:55 < ds2> oh 2013-04-16T01:26:05 < emeb> They're... interesting. 2013-04-16T01:26:17 < ds2> how well did those work as a grown man's breadboard? 2013-04-16T01:26:30 < emeb> You can do a fair amount with them. 2013-04-16T01:26:49 < emeb> I was able to generate passable audio with it. 2013-04-16T01:27:11 < ds2> think it will work well enough to decode AM from a 455KHz carrier? 2013-04-16T01:27:22 < emeb> I'd seriously doubt it. 2013-04-16T01:27:31 < emeb> I don't think the ADC blocks can run that fast. 2013-04-16T01:28:04 < ds2> hmmm 2013-04-16T01:28:24 < emeb> Most everything on the old family was based on switched capacitor building blocks that had fairly low clock rates. 2013-04-16T01:28:39 < emeb> Again - new parts might be different. 2013-04-16T01:28:42 < ds2> Oh 2013-04-16T01:29:49 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Read error: Connection reset by peer] 2013-04-16T01:37:52 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-16T01:38:02 < dongs> sup blogs 2013-04-16T01:38:17 -!- gsmcmullin [~gareth@c-76-21-106-184.hsd1.ca.comcast.net] has joined ##stm32 2013-04-16T01:40:10 < Tonelock> emeb- I have worked with them lately and also made passable audio - but yes they are still based on switched capacitor technology 2013-04-16T01:41:21 < emeb> Tonelock: Interesting. I'd have thought they'd include a dedicated SAR ADC by now. 2013-04-16T01:41:33 < ds2> thought they did 2013-04-16T01:41:43 < ds2> still trying to figure out what rates can the new ADC be run at 2013-04-16T01:45:14 -!- jef79m [~jef79m@124-168-60-8.dyn.iinet.net.au] has quit [Ping timeout: 272 seconds] 2013-04-16T01:48:59 < ds2> Hmmm the app notes suggests it might be able to decode 455KHz carrier AM using the analog paths 2013-04-16T01:52:33 < Tonelock> emeb- oh, I don't know what technology they use for the dac, I'm new to the PSoC world. I think of it as a engineering acceptable arduino - a rapid prototype 2013-04-16T01:53:00 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-16T01:53:03 < Tonelock> it has its place, it just happens to be a very small place 2013-04-16T01:54:12 < emeb> heh 2013-04-16T01:54:52 < Tonelock> emeb- what did you do with yours ? 2013-04-16T01:55:02 < Tonelock> just out of curiousity 2013-04-16T01:57:21 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-16T01:57:25 < emeb> Tonelock: http://ebrombaugh.studionebula.com/synth/dvco/index.html 2013-04-16T02:00:01 < ds2> emeb: isn't there a Maxim chip that does that? 2013-04-16T02:00:12 -!- gsmcmullin [~gareth@c-76-21-106-184.hsd1.ca.comcast.net] has quit [Ping timeout: 264 seconds] 2013-04-16T02:00:42 -!- Laurenceb_ [~Laurence@host86-177-60-95.range86-177.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2013-04-16T02:01:13 < emeb> ds2: huh? 2013-04-16T02:01:53 < ds2> emeb: the MAX038... isn't that equiv. to that project? 2013-04-16T02:02:16 < emeb> checking... 2013-04-16T02:03:15 < emeb> Similar, but this one has 1V/Octave response - critical feature for music applications. 2013-04-16T02:03:55 < emeb> Also, max038 is obsolete... 2013-04-16T02:04:06 < ds2> ah 2013-04-16T02:04:25 < ds2> i have a max038 rig'ed up as a crude signal generator on my bench 2013-04-16T02:04:37 < emeb> Seems like just the ticket. 2013-04-16T02:05:04 < emeb> My all-in-one breadboard has something like that built-in. I suspect they used either an ISL8038 or something similar. 2013-04-16T02:05:24 < ds2> wonder if the max038 is a clone of the ISL8038...p/n's look similar 2013-04-16T02:06:37 < emeb> doubt it - 8038 is a 14-pin device, max038 is 20pin 2013-04-16T02:06:54 -!- PaulFertser [paul@2001:470:26:54b:250:70ff:fee7:41ec] has quit [Ping timeout: 256 seconds] 2013-04-16T02:07:02 < Tonelock> emeb- any experience of any mixed signal cpld/fpga's ? 2013-04-16T02:07:18 < Tonelock> I have heard of such beasts but never met them yet 2013-04-16T02:07:27 < emeb> Tonelock: Not personally. I've looked at a lot of them over the years and never been very impressed. 2013-04-16T02:07:42 < Tonelock> an fpga/cpld with analog functionality would be great 2013-04-16T02:08:04 < Tonelock> if the cost came down- could toss away mcu's for alot of things 2013-04-16T02:08:35 < Tonelock> but i can't see that happening any time soon 2013-04-16T02:08:37 < ds2> isn't the FPGA side of those devices pretty limited? 2013-04-16T02:08:38 < emeb> Unlike digital FPGAs, analog stuff is a lot more susceptible to manufacturing variations, line length, interference, etc. It's hard to do well with custom designs, so user-defined circuits become very problematic 2013-04-16T02:09:16 < ds2> emeb: yes but for quickie one off's to test an idea w/o a rats nest, they seem pretty handy 2013-04-16T02:09:56 < emeb> ds2: maybe. Or the result might be "impossible" when it is actually doable with the right implementation. 2013-04-16T02:10:38 < ds2> yeah but can this really be worse then using a plugable breadboard? 2013-04-16T02:11:09 < Tonelock> something I have always wanted to build was an analog filter box, put it all under computer control- just type in the parameters you need and the filter will configure itself as required 2013-04-16T02:11:26 < Tonelock> most likely using switched capacitor technology 2013-04-16T02:11:49 < Tonelock> it would save time on the bench when just trying out something 2013-04-16T02:12:09 < Tonelock> and building seperate filters for everything 2013-04-16T02:12:30 < Tonelock> you could also investigate the benefits of usinga better /worse filter 2013-04-16T02:12:43 < Tonelock> and find the minimum you could get away with 2013-04-16T02:13:00 * emeb prefers DSP for that kind of stuff. :) 2013-04-16T02:13:27 -!- gsmcmullin [~gareth@c-76-21-106-184.hsd1.ca.comcast.net] has joined ##stm32 2013-04-16T02:13:27 < Tonelock> emeb- yeah, I know its the conventional approach to such a thing 2013-04-16T02:15:06 < Tonelock> labview already have such a thing 2013-04-16T02:15:23 < Tonelock> haven't priced it yet- would be overkill for me really though 2013-04-16T02:28:48 < Tonelock> anyways, its late now and i was supposed to be studying for tomorrows maths test 2013-04-16T02:28:52 < Tonelock> so 'night all! 2013-04-16T02:29:07 < dongs> handy dongs 2013-04-16T02:30:14 < Tonelock> :) 2013-04-16T02:30:36 < R2COM> http://i.imgur.com/d94q52P.jpg 2013-04-16T02:30:37 < R2COM> xD 2013-04-16T02:31:31 < Tonelock> R2COM-enough power to send a man to the moon 2013-04-16T02:32:24 -!- Tonelock [~BlueBeep@95.83.249.6] has quit [] 2013-04-16T02:35:13 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Quit: Leaving.] 2013-04-16T02:53:15 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-16T03:02:06 -!- metaxa [metaxa@us.members.bombshellz.net] has quit [Quit: leaving] 2013-04-16T03:02:58 -!- metaxa [metaxa@us.members.bombshellz.net] has joined ##stm32 2013-04-16T03:12:19 -!- Erlkoenig [~erlkoenig@pptp-212-201-70-183.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-16T03:33:10 -!- jef79m [~jef79m@124-168-60-8.dyn.iinet.net.au] has joined ##stm32 2013-04-16T04:16:23 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-04-16T04:26:24 < gxti> that describes pretty much every board within arms reach these days 2013-04-16T04:27:58 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-04-16T05:21:49 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-16T05:31:08 < ds2> hmmm they claim the SAR ADC can do up to 1Msps 2013-04-16T05:57:34 < dongs> sure 2013-04-16T06:03:32 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-16T06:06:05 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-16T06:14:10 -!- PaulFertser [paul@2001:470:26:54b:250:70ff:fee7:41ec] has joined ##stm32 2013-04-16T06:26:14 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-16T06:29:06 < ds2> the PSoC 5LP's looks pretty nice 2013-04-16T06:31:08 < emeb_mac> oh? what MCU in those? 2013-04-16T06:31:16 < ds2> Cypress 2013-04-16T06:31:19 < ds2> PSOC with a M3 2013-04-16T06:31:34 < emeb_mac> M3 is a good start 2013-04-16T06:31:37 < ds2> 1Msps ADC 2013-04-16T06:31:44 < ds2> and a working EMIF 2013-04-16T06:32:01 < ds2> so i can do most of what I do on the F1 and not have routing nightmares 2013-04-16T06:32:32 < dongs> pfft 2013-04-16T06:32:43 < ds2> now to find out if there is enough logic blocks in there to have smarter I2C controller 2013-04-16T06:32:46 < dongs> if you dont want routing nightmares hwy not just use silabs shit 2013-04-16T06:32:58 < ds2> Silabs has a M3 now? 2013-04-16T06:33:12 < dongs> uh since forever 2013-04-16T06:33:23 < dongs> precision m3 shit or whatever the call ti nwo 2013-04-16T06:33:24 < ds2> I know them from their hyperpowered 8051's 2013-04-16T06:33:24 < dongs> it 2013-04-16T06:33:32 < ds2> I see 2013-04-16T06:33:32 < dongs> http://www.silabs.com/products/mcu/Pages/ARM-32bit-microcontroller.aspx 2013-04-16T06:33:39 < dongs> and they have that routing crossbar shit 2013-04-16T06:33:42 < dongs> where you can route * to * 2013-04-16T06:33:45 < dongs> for pins 2013-04-16T06:33:48 < dongs> also 5V / high current drive IO 2013-04-16T06:33:49 < dongs> if you need it 2013-04-16T06:34:06 < ds2> ooh nice... 2013-04-16T06:34:13 < dongs> are psoc tools still utter aids? 2013-04-16T06:34:23 < dongs> i remember their 8bit psoc IDE was nasty 2013-04-16T06:34:28 < ds2> no idea... I am reading their docs 2013-04-16T06:34:51 < ds2> 5V don't matter as much as being able to run at 1.8V 2013-04-16T06:35:50 < ds2> know if the SiLabs can do external parallel SRAM ? 2013-04-16T06:35:51 < dongs> 2.7–5.5 V supply voltage (internal regulator enabled) 2013-04-16T06:35:52 < dongs> 1.8–3.6 V supply voltage (internal regulator disabled) 2013-04-16T06:36:06 < dongs> External bus interface supports up to 16 MB external memory and parallel LCD interface 2013-04-16T06:36:09 < dongs> yes. 2013-04-16T06:36:13 < ds2> still waiting for Silabs's parameteric thing to load 2013-04-16T06:36:39 < dongs> what do you mean by "smarter i2c" 2013-04-16T06:37:08 < ds2> I2C read a sensor. threshold it. and wake up the M3 if and only if it meets a criteria. otherwise, stash it into a queue 2013-04-16T06:37:17 < dongs> haha, good luck w/that 2013-04-16T06:37:34 < dongs> thought i2c on silabs did seem a bit less aids than on stm 2013-04-16T06:38:19 < ds2> the PSoC has logic blocks 2013-04-16T06:38:36 < ds2> the silabs stuff looks interest 2013-04-16T06:38:45 < ds2> now to find out if their old toolstick can program them :D 2013-04-16T06:39:10 < dongs> um its just swd 2013-04-16T06:39:50 < ds2> no JTAG? 2013-04-16T06:39:55 < dongs> same shit? 2013-04-16T06:40:10 < ds2> the 8051's use jtag, IIRC 2013-04-16T06:40:43 < ds2> no one seems to be able to match the F1 XL series though 2013-04-16T06:43:02 < ds2> whoa... 80ball 5mmx5mm :)~~~~~ 2013-04-16T06:46:31 < ds2> Hmmm tempting to make a board 2013-04-16T06:48:14 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Ping timeout: 256 seconds] 2013-04-16T06:52:07 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-16T06:52:15 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-16T06:52:42 < dongs> like dem balls 2013-04-16T06:54:07 < ds2> in 5mmx5mm 2013-04-16T06:54:10 < ds2> that's smaller then the F1 2013-04-16T06:54:38 < ds2> right now, there are some things I want to tweak on the board I made and alternatives are looking attractive 2013-04-16T07:10:23 < dongs> the lunix one? 2013-04-16T07:10:45 < ds2> yeah 2013-04-16T07:11:00 < ds2> 4L with those design rules get $$ to prototype 2013-04-16T07:12:04 -!- baird [~cjb@ppp121-44-232-150.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-16T07:20:11 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-16T07:27:07 < dongs> http://www.rcgroups.com/forums/showthread.php?t=1843588 this guy is my new favorite blogger 2013-04-16T07:34:20 < R2COM> yeahright 2013-04-16T07:34:38 < R2COM> and with all those complications people still manage to build shit which lands itself in Iran 2013-04-16T07:35:13 < R2COM> ...or being landed, it actually doesnt matter at that point 2013-04-16T07:36:38 -!- BJfreeman [~bjfree@217.sub-75-196-89.myvzw.com] has quit [Quit: had a good time] 2013-04-16T07:39:10 -!- R2COM1 [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-16T07:42:57 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 276 seconds] 2013-04-16T07:43:04 < dongs> hehe. 2013-04-16T07:45:12 -!- R2COM1 is now known as R2COM 2013-04-16T07:55:38 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-16T08:00:00 < dongs> argh 2013-04-16T08:22:33 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-16T08:30:18 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: and like that, he's gone] 2013-04-16T08:31:23 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-16T08:56:27 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-04-16T08:59:13 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 240 seconds] 2013-04-16T09:07:00 -!- dekar_ [~dekar@212.255.234.91] has joined ##stm32 2013-04-16T09:07:04 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-04-16T09:10:11 -!- dekar [~dekar@212.255.236.207] has quit [Ping timeout: 246 seconds] 2013-04-16T09:26:14 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-04-16T09:29:53 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-16T09:29:58 < PaulFertser> Just checked semihosting in OpenOCD. Console output works just fine, as expected. 2013-04-16T09:30:09 -!- gsmcmullin [~gareth@c-76-21-106-184.hsd1.ca.comcast.net] has quit [Read error: Operation timed out] 2013-04-16T09:30:42 < PaulFertser> Not that it's of much use when the target is going to the deepest sleep and then wakes up... 2013-04-16T09:30:58 < PaulFertser> But for many purposes it just works, out of the box. 2013-04-16T09:32:40 -!- gsmcmullin [~gareth@c-76-21-106-184.hsd1.ca.comcast.net] has joined ##stm32 2013-04-16T09:51:43 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 260 seconds] 2013-04-16T09:59:26 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-04-16T10:07:05 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Ping timeout: 256 seconds] 2013-04-16T10:07:25 -!- sterna1 [~Adium@194.17.253.121] has joined ##stm32 2013-04-16T10:15:14 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-16T10:29:40 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-16T10:43:31 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-16T10:56:41 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-04-16T11:02:15 -!- sterna2 [~Adium@62.127.211.186] has joined ##stm32 2013-04-16T11:02:35 -!- CRF_Peter [~Peter@194.17.253.121] has joined ##stm32 2013-04-16T11:03:18 -!- sterna1 [~Adium@194.17.253.121] has quit [Read error: Operation timed out] 2013-04-16T11:08:58 -!- pelrun [~James@123-243-159-164.static.tpgi.com.au] has joined ##stm32 2013-04-16T11:38:36 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 260 seconds] 2013-04-16T11:48:38 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: to sleep, perchance to dream] 2013-04-16T12:06:46 < talsit> seen inca 2013-04-16T12:06:56 < talsit> oh, that's right, we don't have a bot here :( 2013-04-16T12:07:46 < jpa-> we do have zlog 2013-04-16T12:07:54 < jpa-> but you need to dig manually 2013-04-16T12:08:07 -!- sterna2 [~Adium@62.127.211.186] has quit [Quit: Leaving.] 2013-04-16T12:09:20 < talsit> i guess 2013-04-16T12:09:21 < talsit> thx 2013-04-16T12:11:08 < dongs> dont worry 2013-04-16T12:11:14 < dongs> he hasnt been here in the last 48 hours 2013-04-16T12:11:18 < dongs> last I saw he was ragequitting 2013-04-16T12:11:21 < dongs> because opensores shit wasnt working 2013-04-16T12:11:50 -!- Laurenceb_ [~Laurence@host86-177-60-95.range86-177.btcentralplus.com] has joined ##stm32 2013-04-16T12:13:13 -!- CRF_Peter [~Peter@194.17.253.121] has quit [Ping timeout: 240 seconds] 2013-04-16T12:13:44 < talsit> because he was saying that he avoided tantalum at all costs, and would use capacitor banks instead 2013-04-16T12:14:06 < talsit> know anything about the topic? 2013-04-16T12:14:47 < Laurenceb_> http://www.bbc.co.uk/news/business-22110443 2013-04-16T12:15:29 < dongs> ues 2013-04-16T12:15:32 < dongs> yes i would do same 2013-04-16T12:15:36 < dongs> tantalums are retarded 2013-04-16T12:15:44 < dongs> they were invented back when mlcc caps were shit 2013-04-16T12:16:09 < talsit> and if you need a 1000uF cap? 2013-04-16T12:16:35 < dongs> you arent gonna find 1000uF tantalum cap either 2013-04-16T12:16:42 < dongs> 1000uf = aluminum shit. 2013-04-16T12:17:01 < talsit> me = sad 2013-04-16T12:18:15 < talsit> umm... they are there, they're just pricey 2013-04-16T12:18:28 < jpa-> i have used 2x470µF tantalum often 2013-04-16T12:18:52 < jpa-> and MLCC is annoying for any significant capacitance 2013-04-16T12:19:17 < Laurenceb_> yeah 2013-04-16T12:19:30 < jpa-> especially the voltage dependence 2013-04-16T12:20:17 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-16T12:20:20 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-16T12:20:35 < talsit> they are kinda bulky, the 470uF tantalums 2013-04-16T12:20:44 < talsit> but, i guess that's expected 2013-04-16T12:21:22 < jpa-> well D-size 2013-04-16T12:21:25 < jpa-> not too ba 2013-04-16T12:21:27 < jpa-> *bad 2013-04-16T12:21:48 < dongs> shrug 2013-04-16T12:24:29 < baird> http://www.bbc.co.uk/news/business-22110443 .. /Excellent!/ Rapists no longer have to struggle and overpower the victim, they can just chuck a glass of water on her instead! 2013-04-16T12:25:16 < Laurenceb_> lolz 2013-04-16T12:25:29 < Laurenceb_> nice FR2 board 2013-04-16T12:28:53 < baird> And the thing about 'non-lethal' weapons (stunguns, pepper spray, etc.) that they train the police with: they don't actually work. Their primary purpose is as a threat (from the pain). But once they're utilized, you've just got a very aggressive person. Not recommended for anti-raep defence. 2013-04-16T12:30:01 < Laurenceb_> tazer works quite well 2013-04-16T12:31:46 < baird> ONly if you've got like 8 cops shooting point-blank in ideal conditions. There's like a 60% chance the taser won't hit a sweet spot... and then the target knows he's got a fight-or-flight. 2013-04-16T12:32:17 < alexn> hi guys. i use i2c1 and i2c2 on stm32f3. i2c2 is not working when i clocked the stm32f3 up to 72Mhz. 2013-04-16T12:32:43 < alexn> is there a difference between i2c1 and i2c2. 2013-04-16T12:34:36 < dongs> no 2013-04-16T12:34:40 < dongs> but youre doing it wrong probably 2013-04-16T12:37:13 < Laurenceb_> rageeee 2013-04-16T12:37:25 * Laurenceb_ still cant fix his power spectrum issue 2013-04-16T12:44:02 < Laurenceb_> f=fft(sig.*window.*simusoid); 2013-04-16T12:44:02 < Laurenceb_> octave:136> f=fft(f)./fft(fft(window)); 2013-04-16T12:44:02 < Laurenceb_> octave:137> plot(abs(ifft(f))) 2013-04-16T12:44:15 < Laurenceb_> convolution theorem failz 2013-04-16T12:48:08 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 252 seconds] 2013-04-16T12:53:01 < jpa-> what is simusoid? 2013-04-16T12:53:46 < jpa-> and what the heck is that double-fft anyway 2013-04-16T12:56:10 < Laurenceb_> simusoid is 0.01% modulation depth sine wave 2013-04-16T12:56:20 < Laurenceb_> double fft for convolution theorem 2013-04-16T12:56:31 < Laurenceb_> hmm 2013-04-16T12:56:32 < Laurenceb_> http://en.wikipedia.org/wiki/Least-squares_spectral_analysis 2013-04-16T12:56:36 < Laurenceb_> going to try that 2013-04-16T12:56:52 < dongs> least dongs 2013-04-16T12:56:54 -!- gsmcmullin [~gareth@c-76-21-106-184.hsd1.ca.comcast.net] has quit [Read error: Operation timed out] 2013-04-16T12:57:29 -!- ds2 [noinf@netblock-66-245-251-24.dslextreme.com] has quit [Ping timeout: 255 seconds] 2013-04-16T12:59:35 -!- _BJFreeman [~bjfree@29.sub-75-244-158.myvzw.com] has joined ##stm32 2013-04-16T13:00:18 -!- _BJFreeman is now known as BJfreeman 2013-04-16T13:04:36 -!- Laurenceb_ [~Laurence@host86-177-60-95.range86-177.btcentralplus.com] has quit [Ping timeout: 258 seconds] 2013-04-16T13:06:42 < Tectu> guys... anyone of you using XCode 4 to code? I cannot get it working that it just executes the Makefile 2013-04-16T13:06:52 < dongs> ahhahaha xcode 2013-04-16T13:06:59 < dongs> does it do anything more than notepad yet 2013-04-16T13:07:06 < dongs> last I tried xcode it was the worst fucking ide i ever seen 2013-04-16T13:07:20 < dongs> no syntax highlight no code correction/assist/no docs/no fucking nothign 2013-04-16T13:07:35 < dongs> "HI HERE IS A WHITE WINDOW WITH A CURSOR BLINKING. START CODING MAC TRASH" 2013-04-16T13:21:56 <+Steffanx> it does high lighting dongs 2013-04-16T13:22:53 <+Steffanx> and ~assistance http://share.naffets.nl/a-20130416-122242.png 2013-04-16T13:26:48 -!- sterna1 [~Adium@95.209.15.137.bredband.tre.se] has joined ##stm32 2013-04-16T13:26:57 < zyp> I tried compiling some shit with xcode the other day 2013-04-16T13:27:12 < zyp> it was pretty much the worst IDE I've ever touched as well 2013-04-16T13:27:46 <+Steffanx> This website exists for a reason: http://www.textfromxcode.com/ :) 2013-04-16T13:28:53 -!- CRF_Peter [~Peter@95.209.15.137.bredband.tre.se] has joined ##stm32 2013-04-16T13:32:50 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2013-04-16T14:02:13 -!- pelrun [~James@123-243-159-164.static.tpgi.com.au] has quit [Ping timeout: 256 seconds] 2013-04-16T14:08:03 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-16T14:08:37 < Robint91> I have a strange problem here 2013-04-16T14:08:46 < Robint91> I have setup DMA interrupts 2013-04-16T14:08:53 < Robint91> on HALF and FULL transfer 2013-04-16T14:09:12 < Robint91> but I will only get the first interrupt and then locks up the STM32 2013-04-16T14:09:23 < Robint91> *STM32F4 2013-04-16T14:09:32 < Robint91> not even a hardfault or etc 2013-04-16T14:09:51 < zyp> if it goes into lockup, it means it failed to execute the hardfault handler 2013-04-16T14:09:54 < dongs> ur doin it wrong 2013-04-16T14:10:03 < zyp> which usually means you fucked up your stack 2013-04-16T14:10:04 < dongs> it means you failed SO hard 2013-04-16T14:10:24 < Robint91> zyp, shit? 2013-04-16T14:10:58 < Robint91> zyp, how would I do that? 2013-04-16T14:11:17 < zyp> pointing $sp to non-memory would do that 2013-04-16T14:11:26 < dongs> maybe you DMA'd all over you r code 2013-04-16T14:11:29 < zyp> anyway, how are you diagnosing your problem? 2013-04-16T14:11:38 < dongs> "printf" 2013-04-16T14:11:54 < Robint91> at this moment without gdb 2013-04-16T14:12:03 < Robint91> but with a few status leds 2013-04-16T14:12:16 < Robint91> which have a meaning when it goes into hardfault 2013-04-16T14:12:38 < zyp> that sounds way to unreliable 2013-04-16T14:12:42 < zyp> too* 2013-04-16T14:14:52 < Robint91> zyp, what should I do within gdb it view this problem? 2013-04-16T14:16:34 -!- pelrun [~James@123-243-159-164.static.tpgi.com.au] has joined ##stm32 2013-04-16T14:17:11 < Robint91> zyp, SP = 0x20000c50 2013-04-16T14:18:38 < zyp> pastebin output of «info registers» 2013-04-16T14:21:49 < Robint91> http://pastebin.com/VXYiU8SM 2013-04-16T14:23:07 <+Steffanx> zyp you should really write something about how to diagnose such problems ( or is there a structered page with info like that? ) 2013-04-16T14:24:01 < Robint91> .text.DMA_GetITStatus 2013-04-16T14:24:01 < Robint91> 0x08000818 0x54 C:\Users\Robin\AppData\Local\Temp\ccIMYMSG.o 2013-04-16T14:24:01 < Robint91> 0x08000818 DMA_GetITStatus 2013-04-16T14:24:03 < Robint91> mhh 2013-04-16T14:25:05 < zyp> xpsr 0x41000020 1090519072 2013-04-16T14:25:19 < zyp> that means you're inside handler 0x20 2013-04-16T14:26:06 < zyp> I would guess that your problem is that you are not clearing the interrupt flag, so as soon as you return from the interrupt handler, it's getting trigged again 2013-04-16T14:26:25 < zyp> so you get stuck because you never get out of the interrupt handler 2013-04-16T14:27:07 < zyp> Steffanx, the scope is pretty large 2013-04-16T14:27:40 < zyp> but yeah, you start by checking what your current situation is 2013-04-16T14:29:01 -!- CRF_Peter [~Peter@95.209.15.137.bredband.tre.se] has quit [Remote host closed the connection] 2013-04-16T14:30:05 <+Steffanx> oh, this documents of TI ( for the stellaris ) seems to be useful 2013-04-16T14:30:38 < zyp> I don't like the stellaris documentation, the PDF TOC is pretty useless :p 2013-04-16T14:31:36 < zyp> but they've stuffed everything into one document, that may be a good thing 2013-04-16T14:31:38 <+Steffanx> http://www.ti.com/lit/an/spma043/spma043.pdf i looks ~useful too me 2013-04-16T14:31:54 <+Steffanx> at least for some basic debugging of sw faults 2013-04-16T14:32:05 <+Steffanx> *-i 2013-04-16T14:32:48 <+Steffanx> keil also has something, but that's very specific for their IDE :( 2013-04-16T14:33:01 < zyp> oh 2013-04-16T14:33:03 < zyp> nice 2013-04-16T14:33:17 < Robint91> found it 2013-04-16T14:33:35 < Robint91> silly Stdlibrary? 2013-04-16T14:34:56 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-16T14:37:48 -!- CRF_Peter [~Peter@95.209.15.137.bredband.tre.se] has joined ##stm32 2013-04-16T14:38:16 < karlp> nice doc Steffanx 2013-04-16T14:41:17 < karlp> does stellaris bus fault for disabled periphs? 2013-04-16T14:41:28 < karlp> seems rather mor euseful than st's "it just doesn't work" 2013-04-16T14:44:26 < PaulFertser> Isn't gcc supposed to include proper .exidx section with instructions how to properly unwind a fault handler? Does it work for anybody anywhere? Linaro GCC 4.7-2013.02-01 here and it doesn't look like it worked ever. BMP performs special unwinding handling on its own. 2013-04-16T14:46:19 < zyp> karlp, yes 2013-04-16T14:46:27 < PaulFertser> extab rather 2013-04-16T14:46:36 < zyp> karlp, at least AHB peripherals 2013-04-16T14:48:28 <+Steffanx> Hmm, that would make debugging much easier i guess? 2013-04-16T14:48:55 <+Steffanx> */would make/makes 2013-04-16T14:49:33 < zyp> it makes forgetting to turn on peripherals more obvious 2013-04-16T15:02:04 < jpa-> PaulFertser: are you talking about fault handlers as in hardfault, or C++ exceptions? 2013-04-16T15:02:19 < PaulFertser> jpa-: exceptions, as in hardfault, yes. 2013-04-16T15:02:38 < jpa-> .exidx and .extab is just for C++ exceptions, AFAIK? 2013-04-16T15:02:52 < zyp> I think so 2013-04-16T15:05:05 < PaulFertser> jpa-: i thought gdb is supposed to be using those too for stack unwinding to show a backtrace. 2013-04-16T15:05:29 < jpa-> i thought it doesn't need those, instead doing fun stuff with the assembler 2013-04-16T15:07:13 < PaulFertser> I thought gdb links with libunwind to understand "frames". And it registers a set of unwinding helpers and then searches through them to see what handler would match best for this particular frame. 2013-04-16T15:12:47 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Ping timeout: 246 seconds] 2013-04-16T15:20:22 < Robint91> https://www.dropbox.com/s/krzkf8qh6hyqhau/2013-04-16%2014.05.47.jpg 2013-04-16T15:20:22 < Robint91> https://www.dropbox.com/s/ztgrlvo2lygj5fj/2013-04-16%2014.05.49.jpg 2013-04-16T15:20:22 < Robint91> https://www.dropbox.com/s/av21ks6ligbrj45/2013-04-16%2014.08.07.jpg 2013-04-16T15:20:26 < Robint91> w00t protos 2013-04-16T15:23:43 < dongs> anyone got any screw terminals < 1cm high 2013-04-16T15:23:48 < dongs> smallish size 2013-04-16T15:23:48 <+Steffanx> Shows that basic 3d printing is still not what it should be Robint91 2013-04-16T15:24:06 < Robint91> dongs, phoenix contacts? 2013-04-16T15:24:29 < dongs> unsure 2013-04-16T15:24:29 < dongs> link me 2013-04-16T15:25:17 < dongs> hm, crap, are they all usually top-screwed? 2013-04-16T15:25:27 < dongs> i dont wanna drill holes in t op of case.. 2013-04-16T15:25:56 < Robint91> dongs, screw terminals are for weaklings 2013-04-16T15:26:27 <+Steffanx> perfect for dongs 2013-04-16T15:27:10 < Robint91> dongs, http://www.phoenixcontact.be/local_content_pdf/pdf_eng/PTSM_EN_Rev02_low.pdf 2013-04-16T15:27:14 < Robint91> I LIKE THESE 2013-04-16T15:28:58 < dongs> this thing outputs signal on/off on some event 2013-04-16T15:28:58 < dongs> dudes need a easy way to connect ot it 2013-04-16T15:28:58 < dongs> what should I use? 2013-04-16T15:28:58 < dongs> its just ttl stuff 2013-04-16T15:29:09 < dongs> Robint91: wtf, that looks expensive 2013-04-16T15:29:32 < Robint91> http://gr.mouser.com/ProductDetail/Phoenix-Contact/1771075/?qs=Q77YN/RrsKIYNSqSXPEE/A== 2013-04-16T15:29:39 < dongs> wonder if I should just use JST-XH or something since I have a ton of those and tell them to get a mating plug lol 2013-04-16T15:30:05 < Robint91> dongs, around 1$ USD for 7 positions 2013-04-16T15:30:12 < donigs> i only need 2 2013-04-16T15:30:43 < donigs> also not pth 2013-04-16T15:30:45 < donigs> what hte hell 2013-04-16T15:31:05 < Robint91> donigs, http://eu.mouser.com/ProductDetail/Phoenix-Contact/1770885/?qs=Q77YN/RrsKLxoqewg7KaDA== 2013-04-16T15:31:10 < Robint91> PTH? 2013-04-16T15:31:12 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 2013-04-16T15:31:24 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-16T15:33:13 < Robint91> dongs, isn't that what you need? 2013-04-16T15:37:32 < dongs> Robint91: yeah, but does this need mating connector of some kind? 2013-04-16T15:37:34 < dongs> how do I plug wire into it 2013-04-16T15:39:39 < Robint91> dongs, in those terminal blocks there is a little spring system that keeps the write inplace, when you want to insert a wire, you put a screwdriver into the smaller hole, thus pressing the spring open so the wire will go in without effort 2013-04-16T15:40:01 < dongs> right. 2013-04-16T15:40:03 < dongs> thats what I want 2013-04-16T15:40:13 < dongs> does it need some "special" sdcrewdriver or can japs use a paperclip or somethign 2013-04-16T15:40:33 < Robint91> dongs, a paperclip is too weak 2013-04-16T15:40:49 < Robint91> dongs, just a small flat head screwdriver is enough 2013-04-16T15:40:55 < donigs> ok 2013-04-16T15:41:09 < dongs> will give this trash a try 2013-04-16T15:41:28 < dongs> even digikey has it 2013-04-16T15:41:31 < dongs> great 2013-04-16T15:41:48 < dongs> huh only 20 i better hurry. 2013-04-16T15:57:05 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-16T15:58:33 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 240 seconds] 2013-04-16T16:01:14 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-16T16:02:54 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 245 seconds] 2013-04-16T16:09:29 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has joined ##stm32 2013-04-16T16:11:17 < inca> is there an SPI lib for ENC28J60? 2013-04-16T16:11:26 -!- CRF_Peter [~Peter@95.209.15.137.bredband.tre.se] has quit [Remote host closed the connection] 2013-04-16T16:12:46 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:651b:fb73:99aa:e887] has joined ##stm32 2013-04-16T16:15:47 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 2013-04-16T16:15:55 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-16T16:15:58 < sterna1> anyone knows anything about openocd getting segfault when trying to upload a program to stm32f103? 2013-04-16T16:16:26 < sterna1> it works when uploading to stm32f4xx 2013-04-16T16:17:40 < sterna1> I'm using oocd 0.6.0-rc2 2013-04-16T16:18:19 <+Steffanx> Isn't there already a 0.6.1? 2013-04-16T16:18:29 < sterna1> the device ID seems valid (where do you FIND device IDs for stm32?) 2013-04-16T16:18:32 < sterna1> is there? 2013-04-16T16:18:38 < sterna1> perhaps I should take a look 2013-04-16T16:18:40 -!- CRF_Peter [~Peter@95.209.15.137.bredband.tre.se] has joined ##stm32 2013-04-16T16:18:48 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has quit [Quit: quit] 2013-04-16T16:19:02 <+Steffanx> ( heh, funny how 'we' went from st-link/texane related issues to openocd issues ) 2013-04-16T16:19:45 < sterna1> one weird thing is that the log says that the flash size is something like 14092kB 2013-04-16T16:20:09 < sterna1> 14020kB actually 2013-04-16T16:31:40 < qyx_> every time when i add relay output to something i cannot decide whether to use bjt or mosfet for that :S 2013-04-16T16:32:49 < karlp> 0.6.x would probably be rpetty crap 2013-04-16T16:33:27 < karlp> openocd seems tobe pretty much git master or forget about it for stm32, especially if you're using stlink as your interface 2013-04-16T16:34:55 < sterna1> I've been using it with stm32f4 for some time 2013-04-16T16:34:59 < sterna1> and it works fine 2013-04-16T16:36:55 < karlp> lucky you :) 2013-04-16T16:37:00 < karlp> except it doesn't work for the f1. 2013-04-16T16:37:17 < karlp> and my first advice would be to get a newer openocd :) 2013-04-16T16:37:47 < sterna1> yes, I'm going for it, but I don't know how to compile it... 2013-04-16T16:37:54 < sterna1> there are so many flags 2013-04-16T16:38:08 < sterna1> I compiled the one I'm using now with the summon arm toolchain script 2013-04-16T16:38:23 < karlp> --enable-maintainer-mode and --enable-stlink should be enough. 2013-04-16T16:38:44 < sterna1> do I run ./configure or just make? 2013-04-16T16:47:37 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 2013-04-16T16:47:46 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-16T16:50:19 < PaulFertser> sterna1: i'm using openocd with stm32f103, works fine. 2013-04-16T16:50:49 < PaulFertser> sterna1: if you can checkout, compile and run the git version, please load it in gdb, run, after the segfault do "bt full" and send me or to the mailing list. 2013-04-16T16:51:53 < Laurenceb> oh yeah 2013-04-16T16:52:03 * Laurenceb fixed his sampling issue 2013-04-16T16:52:11 < Laurenceb> http://www.mathworks.com/matlabcentral/fileexchange/22215-lomb-normalized-periodogram 2013-04-16T16:52:41 < Laurenceb> where is emeb :-/ 2013-04-16T16:53:55 < Laurenceb> http://i.imgur.com/BXFpxWZ.png <- three carriers hidden in windowed data XD 2013-04-16T16:55:27 < sterna1> hmm, starnge 2013-04-16T16:55:31 < sterna1> *strange 2013-04-16T16:55:35 < sterna1> I got it to work once 2013-04-16T16:55:42 < sterna1> but then it just segfaults 2013-04-16T16:56:36 -!- CRF_Peter [~Peter@95.209.15.137.bredband.tre.se] has quit [Remote host closed the connection] 2013-04-16T16:56:51 < Laurenceb> lobotomized pedogram 2013-04-16T16:57:30 -!- CRF_Peter [~Peter@95.209.15.137.bredband.tre.se] has joined ##stm32 2013-04-16T16:57:31 < sterna1> yeah, I'm starting to suspect that 2013-04-16T17:03:19 -!- alexn [~alexn@93.104.205.194] has quit [Quit: Leaving] 2013-04-16T17:07:56 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-16T17:11:56 < dongs> what hte hell 2013-04-16T17:11:59 < dongs> Robint91: that phoenix shit 2013-04-16T17:12:01 < dongs> why does it have 2 terminals 2013-04-16T17:12:04 < dongs> on each end? 2013-04-16T17:12:06 < dongs> are they same? 2013-04-16T17:12:29 < Robint91> dongs, yeah, mechanicaly stability 2013-04-16T17:13:00 -!- CRF_Peter [~Peter@95.209.15.137.bredband.tre.se] has quit [Remote host closed the connection] 2013-04-16T17:13:01 < sterna1> ok, this is reeeeally strange 2013-04-16T17:13:10 < sterna1> it seems openocd kills my processor 2013-04-16T17:13:21 < sterna1> I've had lots of old boards to test with 2013-04-16T17:13:22 -!- CRF_Peter [~Peter@95.209.15.137.bredband.tre.se] has joined ##stm32 2013-04-16T17:13:35 < sterna1> I could upload a program to the microcontroller once 2013-04-16T17:13:40 < sterna1> and the program worked correctly 2013-04-16T17:14:09 < sterna1> to rule out that it could be something bad my program does, I took away everyting, except for blinking an LED 2013-04-16T17:14:32 < sterna1> the program worked, and the LED blinked as it should 2013-04-16T17:14:40 < sterna1> then I tried uploading again 2013-04-16T17:14:46 < sterna1> and got segfault again 2013-04-16T17:15:14 < sterna1> and now it does not 2013-04-16T17:15:45 < sterna1> so, openocd somehow locks my flash real bad 2013-04-16T17:16:26 < sterna1> and I'm using the exact same custom parts of the script for stm32f4 2013-04-16T17:16:30 < sterna1> and it workes fine 2013-04-16T17:17:09 < rigid> sterna1: did you find out where it crashes exactly? 2013-04-16T17:17:31 < sterna1> I think it's when it waits for flash 2013-04-16T17:18:28 < rigid> sterna1: it doesn't segfault when you single step through your program in the debugger? 2013-04-16T17:18:41 < sterna1> I haven't tried tha 2013-04-16T17:18:46 < sterna1> how do I do that 2013-04-16T17:18:48 < sterna1> ? 2013-04-16T17:19:15 < rigid> compile for debugging and then use openocd to attach the debugger 2013-04-16T17:19:39 < rigid> there should be plenty of tutorials for your environment 2013-04-16T17:19:39 < sterna1> should I compile openocd for debugging? 2013-04-16T17:19:47 < rigid> no, your firmware 2013-04-16T17:19:52 < sterna1> for my stm? 2013-04-16T17:19:58 < rigid> yes 2013-04-16T17:20:00 < sterna1> that's not the problem 2013-04-16T17:20:38 < sterna1> the problem is that openocd refuses to upload the program more than once because it segfaults (openocs segfaults) when trying to upload 2013-04-16T17:21:16 < rigid> ah 2013-04-16T17:21:31 < rigid> sterna1: sounds like a case for #openocd 2013-04-16T17:21:50 < sterna1> I'll pay them a visit 2013-04-16T17:22:22 < rigid> segfault sounds like a bug, they can surely guide you to a fix 2013-04-16T17:25:17 < sterna1> alright, now I found what probably is the root to the error 2013-04-16T17:25:45 < sterna1> it appears as openocd sets flash read out protection for some rason 2013-04-16T17:25:48 < sterna1> *reason 2013-04-16T17:25:57 < sterna1> and therefore refuses to program 2013-04-16T17:26:48 < sterna1> when I tried using the official st flash util for windows, it said that this protection was enabled and asked if you wanted to disable it 2013-04-16T17:26:59 < sterna1> so I said ok and it uploaded the program 2013-04-16T17:27:18 < sterna1> then I went back to openocd and managed to program the chip once more 2013-04-16T17:27:21 < sterna1> only once 2013-04-16T17:27:27 < sterna1> then it said read protection 2013-04-16T17:29:15 -!- jef79m [~jef79m@124-168-60-8.dyn.iinet.net.au] has quit [Ping timeout: 276 seconds] 2013-04-16T17:41:15 -!- jef79m [~jef79m@202-159-136-72.dyn.iinet.net.au] has joined ##stm32 2013-04-16T18:12:36 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:651b:fb73:99aa:e887] has quit [Quit: Leaving] 2013-04-16T18:23:44 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-16T18:27:20 -!- cjbaird [~cjb@ppp121-44-79-18.lns20.syd6.internode.on.net] has joined ##stm32 2013-04-16T18:27:48 -!- baird [~cjb@ppp121-44-232-150.lns20.syd7.internode.on.net] has quit [Ping timeout: 264 seconds] 2013-04-16T18:33:14 -!- cjbaird [~cjb@ppp121-44-79-18.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2013-04-16T18:50:46 -!- daku is now known as DaKu 2013-04-16T18:54:58 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-16T19:00:18 < Robint91> yeah my PSK31 modulator works! 2013-04-16T19:20:35 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-16T19:23:09 <+Steffanx> I still wonder what you want use it for Robint91 2013-04-16T19:26:49 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-04-16T19:28:27 < Robint91> Steffanx, a high altitude balloon 2013-04-16T19:28:57 <+Steffanx> oh, really 2013-04-16T19:30:07 -!- gsmcmullin [~gareth@c-76-21-106-184.hsd1.ca.comcast.net] has joined ##stm32 2013-04-16T19:30:49 < Laurenceb> Robint91: multiple psk-31 channels should work 2013-04-16T19:30:55 < Laurenceb> with fldigi 2013-04-16T19:31:28 <+Steffanx> it'll work better than what they use now? And you want to send shit loads of data Robint91 ? 2013-04-16T19:31:33 <+Steffanx> More images? 2013-04-16T19:32:03 < Robint91> Steffanx, better telemetry? faster images? 2013-04-16T19:32:22 <+Steffanx> I mean better as in more robust 2013-04-16T19:37:35 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-04-16T19:49:56 -!- ds2 [noinf@netblock-66-245-251-24.dslextreme.com] has joined ##stm32 2013-04-16T19:57:44 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-16T20:26:02 < qyx_> if i compile anything from bmp with that libopencm3, i get undeclared identifiers 2013-04-16T20:26:13 < qyx_> that libopencm seems to be messy 2013-04-16T20:26:46 < qyx_> i also needed to change few things because of broken references between .h files 2013-04-16T20:28:52 -!- pelrun [~James@123-243-159-164.static.tpgi.com.au] has quit [Ping timeout: 258 seconds] 2013-04-16T20:32:32 < qyx_> is there any known working package? or at least compilable? 2013-04-16T20:34:26 -!- PaulFertser [paul@2001:470:26:54b:250:70ff:fee7:41ec] has quit [Ping timeout: 246 seconds] 2013-04-16T20:42:35 -!- barthess [~barthess@77.67.234.181] has joined ##stm32 2013-04-16T20:47:41 -!- sterna1 [~Adium@95.209.15.137.bredband.tre.se] has quit [Quit: Leaving.] 2013-04-16T20:49:32 -!- CRF_Peter [~Peter@95.209.15.137.bredband.tre.se] has quit [Ping timeout: 255 seconds] 2013-04-16T21:11:00 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Ping timeout: 264 seconds] 2013-04-16T21:12:00 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Quit: Leaving.] 2013-04-16T21:17:39 < Tectu> DRC must have been very successful: https://www.olimex.com/Products/Modules/Video/MOD-VGA/images/MOD-VGA-3.png 2013-04-16T21:18:12 < gsmcmullin> qyx_: It builds successfully for me straight of of git with gcc-arm-embedded. 2013-04-16T21:18:12 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-04-16T21:18:59 < qyx_> gsmcmullin: first error is ../libopencm3/include/libopencm3/dispatch/nvic.h:2:39: fatal error: libopencm3/stm32/f1/nvic.h: No such file or directory 2013-04-16T21:19:00 < gsmcmullin> Automatically built binaries are here: http://blacksphere.co.nz/builds/ 2013-04-16T21:19:01 < esden> qyx_: same here 2013-04-16T21:19:11 < esden> you have to get the submodules qyx_ 2013-04-16T21:19:16 < qyx_> i did 2013-04-16T21:19:18 < qyx_> the file is here 2013-04-16T21:19:23 < qyx_> but in cm3 subdirectory 2013-04-16T21:19:26 < qyx_> instead of stm32/f1 2013-04-16T21:20:07 < qyx_> it is moved or something, don't know.. i corrected it and then it says ‘NVIC_EXTI15_10_IRQ’ undeclared 2013-04-16T21:20:13 < qyx_> gsmcmullin: thans, that will be enough :) 2013-04-16T21:20:30 < esden> so I just pulled the newest master branch and it compiles 2013-04-16T21:20:39 < esden> not sure what you did there :) 2013-04-16T21:21:06 < qyx_> just git clone, git submodule init, git submodule update 2013-04-16T21:21:14 < qyx_> then make in src directory 2013-04-16T21:21:31 < gsmcmullin> You need to do 'make' in the toplevel dir to build libopencm3 2013-04-16T21:21:40 < qyx_> hmm 2013-04-16T21:21:40 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Client Quit] 2013-04-16T21:22:34 < gsmcmullin> The file you are missing is automatically generated during the build of libopencm3. 2013-04-16T21:22:52 < qyx_> ok, that is probably the problem 2013-04-16T21:23:18 < esden> if you build inside the src directory then it looks for locm3 in your path and not the local submodule 2013-04-16T21:24:04 < qyx_> ok, it works, thanks :) 2013-04-16T21:24:23 < esden> so nothing is broken then ... good to know 2013-04-16T21:25:33 < gsmcmullin> There are a few warnings I should clean up, but the build is successful. 2013-04-16T21:43:31 <+Steffanx> gsmcmullin, perhaps I missed it. but nowhere is noticed you need the python yaml lib. 2013-04-16T21:45:07 <+Steffanx> ( and python libusb bindings ) 2013-04-16T21:45:15 <+Steffanx> for the bootloader 2013-04-16T21:50:04 -!- Laurenceb_ [~Laurence@host86-177-60-95.range86-177.btcentralplus.com] has joined ##stm32 2013-04-16T21:50:18 < Laurenceb_> sup 2013-04-16T21:50:42 <+Steffanx> tha sky bro 2013-04-16T21:55:36 < gsmcmullin> Steffanx: Yeah, I should probably write that down somewhere. I should also put everything in one place, there is too much scattered around at the moment. 2013-04-16T21:55:56 <+Steffanx> The github README is what most people 'read' i guess? 2013-04-16T22:03:39 < qyx_> yep, the yaml was another problem, but i figured that out 2013-04-16T22:03:52 < qyx_> and there is another 2013-04-16T22:04:35 < qyx_> i flashed blackmagic_dfu to F4 and it enumerates only in ~1 of 10 attempts 2013-04-16T22:04:41 < qyx_> as openmoko inc. 2013-04-16T22:04:46 -!- Erlkoenig [~erlkoenig@pptp-212-201-69-219.pptp.stw-bonn.de] has joined ##stm32 2013-04-16T22:06:29 < Laurenceb_> emeb: ping 2013-04-16T22:06:30 < gsmcmullin> F4 port is dodgy. Ask Uwe Bonnes about that. 2013-04-16T22:07:19 < gsmcmullin> I need to officially disclaim these bad ports somewhere. They're giving my firmware a bad name. 2013-04-16T22:07:50 < Robint91> Laurenceb_, http://en.wikipedia.org/wiki/Gender_in_Bugis_society 2013-04-16T22:07:57 < qyx_> o\ 2013-04-16T22:08:11 -!- CRF_Peter [~Peter@dhcp-184048.eduroam.chalmers.se] has joined ##stm32 2013-04-16T22:08:24 < Laurenceb_> wut 2013-04-16T22:08:29 < qyx_> ok, so i will rather use my ft232h to flash directly the stlink 2013-04-16T22:08:45 < Laurenceb_> Robint91: in non trolling news... 2013-04-16T22:08:56 < Laurenceb_> you might be able to use fldigi as a haxor ofdm decoder 2013-04-16T22:09:09 < Laurenceb_> as it can do multiple psk decodes at once 2013-04-16T22:09:29 < Laurenceb_> wait... 5 2013-04-16T22:09:29 < Robint91> Laurenceb_, if you modulate PSK carriers 2013-04-16T22:09:30 < Laurenceb_> O_o 2013-04-16T22:09:42 < Robint91> Laurenceb_, not something nasty as QAM16 2013-04-16T22:09:57 < Laurenceb_> yes 2013-04-16T22:10:08 < gsmcmullin> qyx_: The stlink is closer to my hardware, so it'll be better. I still can't guarantee anything. 2013-04-16T22:10:29 < Laurenceb_> tbh im not sure how much it helps 2013-04-16T22:10:37 < Laurenceb_> very little multipath with balloons 2013-04-16T22:10:42 < Laurenceb_> and you are power limited 2013-04-16T22:10:58 < Laurenceb_> so shannon theorem says you need more bandwidth 2013-04-16T22:11:21 < Robint91> Laurenceb_, yeah, I'm going to try a few DominoEX signals in a short bandwithd 2013-04-16T22:11:26 < Robint91> *small 2013-04-16T22:11:27 < Laurenceb_> personally id go for MFSK 2013-04-16T22:11:37 < Robint91> why? 2013-04-16T22:11:49 < Laurenceb_> it eats up lots of bandwidth per bps 2013-04-16T22:12:03 < Laurenceb_> shannon-hartley says thats good if you are power limited 2013-04-16T22:12:16 < Laurenceb_> but ofdm with a load of FEC might also be good 2013-04-16T22:12:50 < Laurenceb_> and more resistant to QRM 2013-04-16T22:15:42 < qyx_> what about that pn spread spectrum? 2013-04-16T22:16:19 < Laurenceb_> pn? 2013-04-16T22:16:28 < qyx_> pseudonoise 2013-04-16T22:16:40 < qyx_> or prn 2013-04-16T22:16:48 < Laurenceb_> got you 2013-04-16T22:17:05 < Laurenceb_> im not convinced thats the same as "real" bandwidth 2013-04-16T22:17:26 < Laurenceb_> its just creating a new vector space 2013-04-16T22:17:34 < qyx_> no, but you have some processing gain if the signal hides under noise, or? 2013-04-16T22:17:38 < Laurenceb_> and a low bandwidth signal in that new space 2013-04-16T22:17:41 < Robint91> qyx_, you need at least a SDR reciever for it 2013-04-16T22:18:24 < Laurenceb_> upping the baud rate and using tons of FEC uses real bandwidth 2013-04-16T22:18:38 < Laurenceb_> as does moving from a large constellation to a small one 2013-04-16T22:20:28 -!- Robin__ [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-16T22:20:28 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Read error: Connection reset by peer] 2013-04-16T22:37:51 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-16T22:40:49 -!- solid_liq [~solidly@unaffiliated/solidliq] has quit [Ping timeout: 245 seconds] 2013-04-16T22:42:53 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 246 seconds] 2013-04-16T22:46:20 -!- sterna1 [~Adium@dhcp-189019.eduroam.chalmers.se] has joined ##stm32 2013-04-16T23:04:34 -!- barthess [~barthess@77.67.234.181] has quit [Quit: Leaving.] 2013-04-16T23:11:30 < qyx_> Robin__: yep 2013-04-16T23:21:10 < shiftplusone> Is the ADC on the F4 internally protected from overvoltage? 2013-04-16T23:25:19 < shiftplusone> The user manual shows a diode clamp as being internal to the F4, but wouldn't the forward biasing voltage of the diodes still mean that it still goes about 0.7v over maximum? O_o 2013-04-16T23:26:23 < zyp> protected how? 2013-04-16T23:26:44 < zyp> are you thinking about voltages that would saturate the ADC or voltages even higher than Vcc? 2013-04-16T23:27:11 < zyp> I believe saturating the ADC is safe, as long as you don't exceed Vcc 2013-04-16T23:27:24 < zyp> but don't exceed Vcc, there is no protection against it 2013-04-16T23:27:32 < zyp> and pins in analog mode are not 5V tolerant 2013-04-16T23:28:42 < Erlkoenig> apropos ADC, my C++ SD-ADC Access library works 2013-04-16T23:29:44 < Erlkoenig> ... finally 2013-04-16T23:30:14 < shiftplusone> Doesn't the ADC read values up to Vdda? Which would be 3.3v, if I understand it correctly. If the signal somehow peaks to 5v, would it kill the ADC? I'll look over the manual another time. =/ 2013-04-16T23:31:08 < zyp> shiftplusone, that's a possibility 2013-04-16T23:31:18 < Laurenceb_> shiftplusone: the diodes may still be connected 2013-04-16T23:31:33 < Laurenceb_> but if >3.3v gets into the analogue sections... 2013-04-16T23:31:36 < Laurenceb_> it might break 2013-04-16T23:31:51 < Laurenceb_> as the diodes are zeners to make it 5v tolerant 2013-04-16T23:31:52 < zyp> shiftplusone, allowing the voltage to go so high would be out of spec, so just don't do it 2013-04-16T23:32:47 < shiftplusone> Yeah, I am working on the external circuitry right now and would like to make sure that doesn't happen. I think a 3.3v zener will solve the overvoltage issue, but it still might go below 0 2013-04-16T23:32:58 < zyp> huh 2013-04-16T23:33:28 < zyp> what's wrong with normal clamping diodes? 2013-04-16T23:33:59 < shiftplusone> the forward bias voltage thing I mentioned 2013-04-16T23:34:38 < zyp> check the ratings in the datasheet, they usually allow a diode drop (because that's when the internal diodes would start working) 2013-04-16T23:35:24 < shiftplusone> I am either not finding the info in the datasheet or it's not there 2013-04-16T23:35:44 < shiftplusone> And if there are internal clamping diodes, why have external ones at all? 2013-04-16T23:37:37 < zyp> check «absolute maximum ratings» in the datasheet 2013-04-16T23:37:54 < zyp> I believe ADC pins would go under «any other pin» 2013-04-16T23:38:06 < zyp> i.e. -0.3 to 4.0V allowable 2013-04-16T23:39:00 < shiftplusone> ah, thanks 2013-04-16T23:39:47 < zyp> also keep in mind the injected current limits 2013-04-16T23:40:17 < zyp> if you go above them you could break the internal diodes, and that's when you would add external ones 2013-04-16T23:41:18 < shiftplusone> makes sense 2013-04-16T23:42:00 < shiftplusone> so given that -0.3v limit. How should I protect against negative voltages. That clamping circuit won't help there AIUI. 2013-04-16T23:42:04 < zyp> I also recommend reading the chapter on «ADC characteristics», it's 5.3.20 in my rev2 datasheet 2013-04-16T23:42:38 < shiftplusone> Yeah, that's where I have been looking. 2013-04-16T23:50:31 < shiftplusone> Ah, found this in the manual "It is recommended to add a Schottky diode (pin to 2013-04-16T23:50:31 < shiftplusone> ground) to analog pins which may potentially inject negative currents." 2013-04-16T23:51:01 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-16T23:51:46 < shiftplusone> Am I getting this right? 0->3.3V - normal operation. 3.3V-4V - saturated. 4V+ relying on internal diodes, which won't handle more than 5mA? 2013-04-16T23:56:32 -!- DaKu is now known as daku 2013-04-16T23:57:10 -!- CRF_Peter [~Peter@dhcp-184048.eduroam.chalmers.se] has quit [Ping timeout: 248 seconds] --- Day changed Wed Apr 17 2013 2013-04-17T00:05:00 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 264 seconds] 2013-04-17T00:08:50 < zyp> I'm not sure you can rely on internal diodes 2013-04-17T00:09:08 < zyp> keep in mind that those pins might be 5V tolerant in digital mode and therefore not have diodes 2013-04-17T00:10:55 < shiftplusone> Alright, thanks for all the help. I'll quit bugging you for a while. 2013-04-17T00:30:57 -!- CRF_Peter [~Peter@193.11.200.145] has joined ##stm32 2013-04-17T00:33:42 -!- daku is now known as DaKu 2013-04-17T00:33:47 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has quit [Ping timeout: 252 seconds] 2013-04-17T00:35:22 -!- CRF_Peter [~Peter@193.11.200.145] has quit [Ping timeout: 256 seconds] 2013-04-17T00:38:23 < emeb> Laurenceb_: pong 2013-04-17T00:38:23 <+Steffanx> haev something to show Erlkoenig ? 2013-04-17T00:38:33 < Erlkoenig> hm? 2013-04-17T00:38:38 <+Steffanx> ADC .. 2013-04-17T00:38:39 <+Steffanx> C++ 2013-04-17T00:38:41 <+Steffanx> li 2013-04-17T00:38:42 <+Steffanx> b 2013-04-17T00:39:10 < Erlkoenig> ah yes 2013-04-17T00:39:55 < Erlkoenig> http://games.2g2s.de/git/?p=fse.git;a=blob;f=src/main/main-f3.cc;h=889025dab77270e7d953e512ac1cd168d0295c92;hb=HEAD see lines 53-72, 97-102 2013-04-17T00:40:13 -!- barthess [~barthess@77.67.221.115] has joined ##stm32 2013-04-17T00:41:16 -!- solid_liq [~solidly@50-83-69-30.client.mchsi.com] has joined ##stm32 2013-04-17T00:41:22 -!- solid_liq [~solidly@50-83-69-30.client.mchsi.com] has quit [Changing host] 2013-04-17T00:41:22 -!- solid_liq [~solidly@unaffiliated/solidliq] has joined ##stm32 2013-04-17T00:41:29 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-17T00:44:43 <+Steffanx> Woot, a masterclass :) 2013-04-17T00:46:37 < Erlkoenig> had to be there... for accessing the reference 2013-04-17T00:46:45 < Erlkoenig> because that's common to all 3 SD-ADC modules 2013-04-17T00:47:01 -!- barthess [~barthess@77.67.221.115] has quit [Quit: Leaving.] 2013-04-17T00:50:46 <+Steffanx> Just curious. Why stm32_always_inline and not just 'inline' or so? 2013-04-17T00:51:04 <+Steffanx> It's not really specific for stm32, is it? 2013-04-17T00:53:14 < Erlkoenig> this is some hack... http://games.2g2s.de/git/?p=fse.git;a=blob;f=src/lib/util.hh;h=4ed8fdf2514c38f9c37ba7de8f639828323a3cdd;hb=HEAD the comment there explains it 2013-04-17T00:53:27 < Erlkoenig> lien 11-15 2013-04-17T00:53:58 <+Steffanx> I read that, but still 2013-04-17T00:54:30 < Erlkoenig> well i could rename it to "my_special_inline" or whatever 2013-04-17T00:54:37 <+Steffanx> *should 2013-04-17T00:54:38 < Erlkoenig> "stm32" means "my stm32 library" 2013-04-17T00:54:51 <+Steffanx> especially because it doesn't seem to target stm32 only :) 2013-04-17T00:55:06 < Erlkoenig> meh 2013-04-17T00:55:23 < Erlkoenig> the whole thing is ugly but unavoidable 2013-04-17T00:55:30 <+Steffanx> but yeah, not so important detail 2013-04-17T00:56:59 < Erlkoenig> the repos is btw accessible via git://games.2g2s.de/fse 2013-04-17T01:00:46 -!- Robin__ [~Robin@dD5776E9E.access.telenet.be] has quit [Read error: Connection reset by peer] 2013-04-17T01:00:59 <+Steffanx> fse = ? 2013-04-17T01:01:18 <+Steffanx> Formula Student Electric :) 2013-04-17T01:01:23 < Erlkoenig> exactly ;) 2013-04-17T01:01:39 < Erlkoenig> we will be in Eindhoven in 2 Weeks, driving our old combusion car :) 2013-04-17T01:01:43 <+Steffanx> yay 2013-04-17T01:01:49 <+Steffanx> Not with this code i guess? 2013-04-17T01:01:56 <+Steffanx> *lib 2013-04-17T01:02:36 < Erlkoenig> yup, my code will be used in a few months with the new electric car 2013-04-17T01:03:05 <+Steffanx> Yeah, so not in the car that well be in eindhoven in 2 weeks :) 2013-04-17T01:03:18 < Erlkoenig> exactly ^^ 2013-04-17T01:03:18 <+Steffanx> Students .. deadlines... 2013-04-17T01:03:27 <+Steffanx> Could be possible, 2013-04-17T01:03:29 < Erlkoenig> well the drive in 2 weeks is just for fun 2013-04-17T01:03:35 < Erlkoenig> not the actual contest 2013-04-17T01:03:53 < Erlkoenig> https://www.facebook.com/Eindhoven.open.2013 2013-04-17T01:03:53 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Read error: Connection reset by peer] 2013-04-17T01:04:22 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-04-17T01:05:04 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-17T01:06:08 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-17T01:10:24 <+Steffanx> oh, you really use the st xml to generated stuff 2013-04-17T01:10:46 < Erlkoenig> yes, and modified it and added more stuff 2013-04-17T01:11:05 <+Steffanx> ( dont forget ST uses weird licenses for crap ) 2013-04-17T01:11:38 < Erlkoenig> they allowed redistribution iirc 2013-04-17T01:11:41 <+Steffanx> There doesnt seem to be one though 2013-04-17T01:12:27 < Erlkoenig> on the microxplorers xml files? 2013-04-17T01:12:35 <+Steffanx> Yeah 2013-04-17T01:12:57 < Erlkoenig> oh good 2013-04-17T01:13:17 <+Steffanx> but that doesnt mean there is none, but .. i wonder if you care 2013-04-17T01:14:03 < Erlkoenig> hmm maybe i should 2013-04-17T01:14:21 < Erlkoenig> but not now 2013-04-17T01:14:43 <+Steffanx> :) 2013-04-17T01:16:24 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has joined ##stm32 2013-04-17T01:20:52 < Laurenceb_> emeb: hi 2013-04-17T01:21:04 < Laurenceb_> so i was trying to fix my sampling issues.... 2013-04-17T01:21:19 < Laurenceb_> and found this: http://www.gm.univ-montp2.fr/PERSO/bokelmann/BaBo99.pdf 2013-04-17T01:22:39 <+Steffanx> OH, there is a EULA btw Erlkoenig :) 2013-04-17T01:22:59 < Erlkoenig> oh yey does it forbid to distribute the XMLs? :D 2013-04-17T01:23:06 <+Steffanx> doesnt look like it 2013-04-17T01:23:20 < Erlkoenig> good ^^ 2013-04-17T01:23:50 <+Steffanx> except for non sublicensable or so.. dunno if that applies 2013-04-17T01:25:15 <+Steffanx> So yeah you are bound to that fancy ST license. 2013-04-17T01:25:25 <+Steffanx> Looks the same as they use for everything 2013-04-17T01:25:55 <+Steffanx> I won't tell anyone :P 2013-04-17T01:26:00 < Laurenceb_> emeb: i did try Lomb-Scargle 2013-04-17T01:26:13 < Laurenceb_> its a bit fail, but better than anything else id tried 2013-04-17T01:26:27 < Laurenceb_> trying to code "CLEAN" in matlab atm 2013-04-17T01:26:30 <+Steffanx> it or you? 2013-04-17T01:27:13 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Quit: Leaving] 2013-04-17T01:27:34 < emeb> Laurenceb_: Interesting 2013-04-17T01:28:38 < Laurenceb_> but im tired and lazy atm... 2013-04-17T01:28:44 < Laurenceb_> will finish it tomorrow :P 2013-04-17T01:29:02 < Laurenceb_> as that paper says, Lomb-Scargle suffers from artifacts 2013-04-17T01:38:53 -!- sterna1 [~Adium@dhcp-189019.eduroam.chalmers.se] has quit [Quit: Leaving.] 2013-04-17T01:41:59 -!- DaKu is now known as daku 2013-04-17T01:43:05 -!- Erlkoenig [~erlkoenig@pptp-212-201-69-219.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-17T01:43:08 < emeb> Lomb-Scargle looks pretty sucko 2013-04-17T01:53:22 -!- flop|2 [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-17T01:54:18 < ds2> what's that PCB place? dorkbot or something like that? 2013-04-17T01:54:49 <+Steffanx> That's one them yes 2013-04-17T01:54:55 < ds2> what's the URL? 2013-04-17T01:55:08 <+Steffanx> oshpark nowadays 2013-04-17T01:55:13 < ds2> ah 2013-04-17T01:55:19 <+Steffanx> http://oshpark.com/ 2013-04-17T01:56:05 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Ping timeout: 246 seconds] 2013-04-17T01:59:20 < ds2> found them 2013-04-17T01:59:46 < ds2> nothing about shipping... how steep are their shipping charges? 2013-04-17T02:00:10 <+Steffanx> that's included iirc 2013-04-17T02:00:42 <+Steffanx> At least it was for americans, but i'm not sure 2013-04-17T02:01:04 < emeb> ya - shipping included. 2013-04-17T02:01:16 < emeb> typical turnaround time 2-3 weeks 2013-04-17T02:01:37 <+Steffanx> Not included for me i guess 2013-04-17T02:01:43 <+Steffanx> for non-americans 2013-04-17T02:02:00 < emeb> no such thing in Dutch-land? 2013-04-17T02:02:06 <+Steffanx> No way 2013-04-17T02:02:15 < emeb> start one! 2013-04-17T02:02:39 < emeb> AFAIK OSHpark is just one guy working from home. 2013-04-17T02:03:25 <+Steffanx> I don't think there is a cheap enough pcb fab house here in the netherlands 2013-04-17T02:03:40 < ds2> ohhh 2013-04-17T02:04:11 < ds2> how bad are their boards? (i.e. opens, shorts, etc) 2013-04-17T02:04:32 <+Steffanx> Except for robint91 .. i dont think much have bad experiences with oshpark 2013-04-17T02:04:43 <+Steffanx> He doesnt make the bords himself 2013-04-17T02:04:48 <+Steffanx> *boards 2013-04-17T02:04:58 <+Steffanx> At least, not that i know of 2013-04-17T02:05:04 < ds2> yes... hence the question of how good is it 2013-04-17T02:06:46 <+Steffanx> emeb and zyp both ordered from them. I didn't hear them complain :) 2013-04-17T02:07:46 < ds2> 'k 2013-04-17T02:08:09 <+Steffanx> Not much can go wrong for cheaperish anyway :P 2013-04-17T02:08:37 <+Steffanx> Except for wasting your valuable time 2013-04-17T02:09:40 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-17T02:11:09 < ds2> are they paypal only? 2013-04-17T02:11:18 < ds2> wish there was more info on the website 2013-04-17T02:11:53 <+Steffanx> #oshpark 2013-04-17T02:12:46 < emeb> ds2: I've gotten a number of boards from OSHpark - haven't had any problems. 2013-04-17T02:12:58 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-17T02:18:09 <+Steffanx> lol, you must have a hard life ds2 2013-04-17T02:19:59 < gxti> quality is excellent, doesn't even compare to typical china-based batch fab 2013-04-17T02:20:22 <+Steffanx> It's not an option for him. He doesnt like google checkout nor paypal 2013-04-17T02:20:33 < gxti> that is because he is a terrorist who hates our freedoms 2013-04-17T02:20:42 <+Steffanx> Shit happens 2013-04-17T02:21:54 < gxti> i've gotten 50-100 boards and so far the only defect is a single short that was easy to find and correct, and a handful that came from the same panel where the fab screwed up that were replaced for free 2013-04-17T02:22:11 < gxti> someone got the mask backwards for the internal layers or something 2013-04-17T02:22:48 < emeb> oops 2013-04-17T02:25:58 -!- Laurenceb_ [~Laurence@host86-177-60-95.range86-177.btcentralplus.com] has quit [Ping timeout: 272 seconds] 2013-04-17T02:32:25 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-17T03:02:02 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-17T03:03:30 < talsit> moorning morning 2013-04-17T03:05:55 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-17T03:08:41 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Read error: Connection reset by peer] 2013-04-17T03:08:51 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-17T03:19:02 -!- PaulFertser [paul@2001:470:26:54b:250:70ff:fee7:41ec] has joined ##stm32 2013-04-17T03:33:23 < dongs> oshpark more like ohshitpark 2013-04-17T03:34:16 < emeb> har 2013-04-17T03:34:23 < gxti> that's the most positive dongsism i've heard so far 2013-04-17T03:34:41 < gxti> doesn't involve diseases or bodily fluids 2013-04-17T03:35:04 < gxti> of course if it were just 'oshitpark' then i guess we'd be back to bodily fluids. 2013-04-17T03:54:26 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-17T04:14:36 < Devilholk> Yo anyone awake? ^^ 2013-04-17T04:15:37 < talsit> mebbe 2013-04-17T04:15:40 < Devilholk> Is this enought to output 1/5 of sysclk on PC9 on stm32f407? http://pastebin.com/YtvZcmXt 2013-04-17T04:15:43 < Devilholk> enough* 2013-04-17T04:15:49 < Devilholk> I can't get it to output anything 2013-04-17T04:17:29 < talsit> ummm.... you asked if anyone was awake - i am, but that's about it, sorry!!!! 2013-04-17T04:17:55 < Devilholk> Yeah, I guess this time it not the optimal one to ask things 2013-04-17T04:18:34 < dongs> haha 2013-04-17T04:18:37 < Devilholk> I think I'm losing my google skills 2013-04-17T04:18:44 < Devilholk> I can't find any examples of that MCO 2013-04-17T04:19:04 < Devilholk> Oh. I now notice google changes stuff for me when I don't look 2013-04-17T04:19:35 < dongs> ya google is trash now 2013-04-17T04:19:58 < Devilholk> Yeah, whenever one tries to search for part number or something it just shows you a few memes or something 2013-04-17T04:20:12 < Devilholk> Then you have to click on some place to search for what you entered in the box 2013-04-17T04:21:18 < Devilholk> Yay I found an application note 2013-04-17T04:21:38 < dongs> looks legit for MCO, maybe you have to enable GPIO clock or somethign 2013-04-17T04:21:50 < dongs> did you tyurn on clock for gpioc, and afio, etc? 2013-04-17T04:22:08 < Devilholk> dongs: Good point. I think I missed that 2013-04-17T04:25:40 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 272 seconds] 2013-04-17T04:30:04 < BJfreeman> http://www.digipart.com/ and http://www.digipart.com/ are good part finders 2013-04-17T04:30:10 < dongs> wat 2013-04-17T04:30:15 < dongs> arent those same 2013-04-17T04:30:23 < dongs> dont y oumean octopart? 2013-04-17T04:30:32 < BJfreeman> http://www.findchips.com 2013-04-17T04:30:45 < dongs> both of those look spam 2013-04-17T04:30:48 < dongs> octopart > that shit 2013-04-17T04:30:50 < BJfreeman> copy paste error 2013-04-17T04:32:00 < BJfreeman> dongs you have a unigue have glass half empty view 2013-04-17T04:32:36 < dongs> BJfreeman: have you used/seen octopart? 2013-04-17T04:32:49 < BJfreeman> I am looking now 2013-04-17T04:34:14 < BJfreeman> where do I find the suppliers it covers 2013-04-17T04:34:27 < dongs> .. look for a part 2013-04-17T04:36:11 < dongs> about the only 3 that matter is digikey/mouser/verical 2013-04-17T04:36:11 < BJfreeman> I will add it to my list, but it does not seem to cover suppliers outside the US 2013-04-17T04:36:16 < dongs> the rest are your usual scam places 2013-04-17T04:36:33 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-04-17T04:36:52 < BJfreeman> I do business with others than those 2013-04-17T04:37:03 < BJfreeman> Mouser is my main one 2013-04-17T04:37:18 < dongs> i find that its much easier to just give a BOM to some dude and have them come back with prices for me 2013-04-17T04:37:24 < dongs> i'm too lazy to go look shit up myself. 2013-04-17T04:37:33 < dongs> when there's people who get paid to do this exact kinda shit. 2013-04-17T04:37:43 < gxti> it does have non-US suppliers but they're not digikey equivalents, more high-volume stuff 2013-04-17T04:38:01 < BJfreeman> my BOM are automated 2013-04-17T04:38:42 < BJfreeman> have both engineering BOM and Manufacturing BOM 2013-04-17T04:39:31 < BJfreeman> basically it goes to all the listed businesses and get pricing and lead times 2013-04-17T04:39:53 < dongs> yeah altium did that since like 2010 2013-04-17T04:39:54 < dongs> so what 2013-04-17T04:40:21 < BJfreeman> LOL been doing it a lot longer than that 2013-04-17T04:41:00 < BJfreeman> try the 80's 2013-04-17T04:41:50 < dongs> shrugging furiously 2013-04-17T04:41:58 < dongs> i think you're just arguing for the sake of arguing 2013-04-17T04:42:02 < BJfreeman> good exercise 2013-04-17T04:42:28 < BJfreeman> did not see it as arguing more sharing 2013-04-17T04:42:52 < gxti> sharing your dick size maybe, both of you 2013-04-17T04:43:05 < dongs> ^ that 2013-04-17T04:43:40 < BJfreeman> LOL At my age you need maginfying glass 2013-04-17T04:53:00 < gnomad> just be glad you don't need a mirror... 2013-04-17T05:06:59 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-17T05:41:04 -!- BJfreeman [~bjfree@29.sub-75-244-158.myvzw.com] has quit [Quit: had a good time] 2013-04-17T06:01:26 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Ping timeout: 246 seconds] 2013-04-17T06:02:52 < dongs> ok so im still looking for ~4A SMD PTC 2013-04-17T06:03:46 < dongs> http://www.digikey.com/product-detail/en/1206L400SLWR/F5786CT-ND/3661928 k this will do 2013-04-17T06:05:36 < dongs> oh 6V 2013-04-17T06:05:37 < dongs> fuck 2013-04-17T06:06:31 < dongs> http://www.digikey.com/product-detail/en/AHS300-2/AHS300CT-ND/3587535 2013-04-17T06:07:20 < dongs> fuck i dont have space for that shit 2013-04-17T06:07:52 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-17T06:13:54 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Excess Flood] 2013-04-17T06:15:00 -!- rmob [~rmob@178-26-71-67-dynip.superkabel.de] has quit [Quit: NO WINE, NO WIFE, NO CARRIER] 2013-04-17T06:15:00 -!- rigid [~rigid@178-26-71-67-dynip.superkabel.de] has quit [Quit: NO WINE, NO WIFE, NO CARRIER] 2013-04-17T06:15:50 -!- rmob [~rmob@178-26-71-67-dynip.superkabel.de] has joined ##stm32 2013-04-17T06:16:07 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Ping timeout: 264 seconds] 2013-04-17T06:16:20 -!- rigid [~rigid@178-26-71-67-dynip.superkabel.de] has joined ##stm32 2013-04-17T06:16:38 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-17T06:17:06 -!- rigid [~rigid@178-26-71-67-dynip.superkabel.de] has quit [Client Quit] 2013-04-17T06:17:06 -!- rmob [~rmob@178-26-71-67-dynip.superkabel.de] has quit [Client Quit] 2013-04-17T06:33:26 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Ping timeout: 248 seconds] 2013-04-17T06:35:24 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2013-04-17T06:42:01 -!- rmob [~rmob@178-26-71-67-dynip.superkabel.de] has joined ##stm32 2013-04-17T06:42:31 -!- rigid [~rigid@178-26-71-67-dynip.superkabel.de] has joined ##stm32 2013-04-17T06:43:33 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-17T06:43:33 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-17T06:43:33 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-17T06:47:37 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Read error: Operation timed out] 2013-04-17T06:50:49 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-17T06:50:59 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-17T06:55:25 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2013-04-17T07:13:11 -!- bsdfox_ [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-04-17T07:16:23 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 255 seconds] 2013-04-17T07:20:27 -!- jef79m [~jef79m@202-159-136-72.dyn.iinet.net.au] has quit [Excess Flood] 2013-04-17T07:21:44 -!- jef79m [~jef79m@202-159-136-72.dyn.iinet.net.au] has joined ##stm32 2013-04-17T07:27:16 -!- flop|2 [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 2013-04-17T07:27:31 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-17T07:50:14 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-17T07:59:10 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: Leaving] 2013-04-17T08:02:03 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Ping timeout: 252 seconds] 2013-04-17T08:04:59 < CheBuzz> Anybody know how to disable interrupts on within eclipse using the STM32F4 Discovery? (or any cm4 chip for that matter...) 2013-04-17T08:07:08 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-17T08:07:56 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 245 seconds] 2013-04-17T08:09:30 < dongs> ? disable_irq() and enable_irq()? 2013-04-17T08:09:35 < dongs> should be a macro from CMSIS or so 2013-04-17T08:09:47 < dongs> or maybe w/underscore at start _disable_Irq 2013-04-17T08:14:10 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-17T08:14:33 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 240 seconds] 2013-04-17T08:34:42 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-04-17T08:44:23 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 252 seconds] 2013-04-17T08:58:06 < Tectu> is there a difference between OTG and Host mode? OTG can do both, right? Is there any reason I should make an OTG and a dedicated host? 2013-04-17T09:06:03 -!- dekar__ [~dekar@212.255.238.170] has joined ##stm32 2013-04-17T09:06:06 -!- mode/##stm32 [+v dekar__] by ChanServ 2013-04-17T09:07:03 < akaWolf> Tectu: OTG -- limited host 2013-04-17T09:07:24 < Tectu> akaWolf, as in speed or features? 2013-04-17T09:09:26 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-17T09:09:29 -!- dekar_ [~dekar@212.255.234.91] has quit [Ping timeout: 256 seconds] 2013-04-17T09:09:34 < Robint91> Laurenceb, ping? 2013-04-17T09:10:52 < akaWolf> Tectu: features 2013-04-17T09:11:16 < Tectu> akaWolf, can you list some of them out of your mind? :P 2013-04-17T09:13:05 < akaWolf> Tectu: OTG -- a protocol, which connect 2 OTG devices 2013-04-17T09:13:11 < akaWolf> Not a host 2013-04-17T09:13:29 < Tectu> akaWolf, oh, so it's impossible to interface for example an usb flash driver over OTG? 2013-04-17T09:14:28 < zyp> no 2013-04-17T09:14:41 < zyp> OTG hosts are not necessarily limited 2013-04-17T09:15:07 < zyp> on the other hand, OTG hosts may have extra features that normal hosts lack 2013-04-17T09:15:31 < zyp> mainly the automatic switching between host and device mode 2013-04-17T09:15:37 < Tectu> but there are "OTG-Hosts"? aren't all OTG devices capable of playing the host? Did I missunderstand this? 2013-04-17T09:16:04 < zyp> OTG means that the device can switch between host and device 2013-04-17T09:16:38 < Tectu> but when it is in host mode, it is, from a very abstract layer seen - doing the same as a "normal" USB host? 2013-04-17T09:16:49 < Tectu> it's not some special OTG-Host which can only interface OTG-Devices? 2013-04-17T09:17:55 < zyp> of course not. 2013-04-17T09:18:22 < zyp> but, however, OTG hosts are allowed to only support certain devices 2013-04-17T09:18:32 < Tectu> how comes? 2013-04-17T09:18:41 < zyp> a camera is for instance allowed to only support printers 2013-04-17T09:19:11 < zyp> because it doesn't really make sense to hook up a keyboard and a mouse to your camera 2013-04-17T09:19:47 < zyp> because OTG hosts are commonly simple devices - simpler than normal computers 2013-04-17T09:21:17 < Tectu> I see 2013-04-17T09:21:43 < Tectu> and when we now take an STM32F4, it doesn't make sense to allow it to support a USB flash drive? 2013-04-17T09:21:56 < zyp> depends on your application 2013-04-17T09:22:15 < zyp> there is no limitation in hardware, it's all up to your software which devices you want to support 2013-04-17T09:22:34 < Tectu> ah, it's not burned into the ASIC, if he can support a mouse or not? 2013-04-17T09:22:42 < Tectu> it's firmware? 2013-04-17T09:22:52 < zyp> huh 2013-04-17T09:22:57 < zyp> it's all software 2013-04-17T09:23:15 < zyp> the hardware just supports generic communication pipes, like all other usb hardware 2013-04-17T09:23:40 < Tectu> so when I take an STM32F4, hook up some OTG USB hardware (let's call it like that for now), I am able to access a USB flash drive, an USB Keyboard or a webcam? 2013-04-17T09:23:52 < zyp> sure 2013-04-17T09:24:17 < Tectu> so from the hardware level - OTG is like a clued-together thing of USB Host & Client? 2013-04-17T09:24:19 < zyp> think of it like this: raspberry pi is using the exact same usb controller 2013-04-17T09:24:23 < zyp> yes 2013-04-17T09:24:25 < Tectu> and is OTG also capable of doing HID, CDC etc? 2013-04-17T09:24:57 < zyp> OTG is just the stuff that deals with switching between host and device mode 2013-04-17T09:25:17 < Tectu> for the software guy, this is just a matter of setting or clearing a few bits in a register? 2013-04-17T09:25:29 < zyp> the host part of the controller is capable of using any device provided you write drivers for it 2013-04-17T09:25:38 < zyp> what is? 2013-04-17T09:26:25 < zyp> you can set the core to «device only mode», «host only mode» and «OTG» which you can read as «auto switch mode» 2013-04-17T09:26:42 < Tectu> auto-switch? 2013-04-17T09:26:52 < Tectu> it does detect if host or device mode is required when you plug something in? 2013-04-17T09:26:52 < zyp> yes, that's the point of OTG 2013-04-17T09:27:18 < zyp> that's why there is five pins in mini and micro connectors 2013-04-17T09:27:40 < zyp> the fifth pin is «ID», which indicates if it's the device or host end of a cable 2013-04-17T09:27:53 < zyp> OTG is using that to select mode 2013-04-17T09:28:01 < Tectu> so I plug in something, and from the software side of things, I can read out from the controller (some register) if I am now a host or a device and execute the necessary code then? 2013-04-17T09:28:11 < zyp> exactly 2013-04-17T09:28:26 < Tectu> is it difficult to do that? :P 2013-04-17T09:28:48 < zyp> no, that part is way easy 2013-04-17T09:29:00 < zyp> the hard part is the actual host- and device stacks 2013-04-17T09:29:15 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-04-17T09:29:22 < Tectu> so it's like if(bit_set_in_register_xxx) { executeHostMode(); } else { executeDeviceMode(); } ? 2013-04-17T09:29:44 < zyp> kind of 2013-04-17T09:29:52 < zyp> the core will trigger an interrupt when it switches 2013-04-17T09:30:14 < zyp> just like it would trigger an interrupt when it's disconnected and connected 2013-04-17T09:30:48 < Tectu> cool 2013-04-17T09:31:38 < Tectu> Thank you very much for your explanation, zyp :) 2013-04-17T09:37:37 < Robint91> zyp, so the OTG port can use HUB ICs? 2013-04-17T09:37:43 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-17T09:38:18 < zyp> sure, if you have hub support in your host stack 2013-04-17T09:38:23 < Tectu> hah :D 2013-04-17T09:39:02 < zyp> again, rpi is using the exact same controller, set to «device only mode» and hardwired to a hub chip 2013-04-17T09:39:20 < zyp> sorry, «host only mode» 2013-04-17T09:39:51 < Tectu> what is STMDB for an assembler instruction? o.O 2013-04-17T09:40:11 < zyp> store multiple, decrement before 2013-04-17T09:40:21 < Tectu> lovely 2013-04-17T09:40:24 < zyp> it's the opposite of LDMIA 2013-04-17T09:40:34 < zyp> which does load multiple, increment after 2013-04-17T09:40:48 < Tectu> I see 2013-04-17T09:41:06 < Tectu> so when you write an assembler "function" like this 2013-04-17T09:41:08 < Tectu> gdisp_lld_asm_add_pixel ; void gdisp_lld_asm_add_pixel(coord_t x, coord_t y, color_t color) 2013-04-17T09:41:10 -!- Dante [~X@host-196-152-66-217.spbmts.ru] has joined ##stm32 2013-04-17T09:41:16 < zyp> they are pretty equivalent with push and pop, except that you specify which register they work on, instead of assuming $sp 2013-04-17T09:41:18 < Tectu> when you call it, x, y and color are somewhere in registers, right? 2013-04-17T09:41:26 < Tectu> and to get them, you do some MOV magic? 2013-04-17T09:41:44 < zyp> I'm not going to sit here and learn you assembly. 2013-04-17T09:41:56 < Tectu> I agree, that was a bit too much, I'm sorry :D 2013-04-17T09:42:13 < Tectu> do you have any guide you may recommend? (STM32F4 (Cortex-M4)) specific? 2013-04-17T09:42:31 < zyp> no 2013-04-17T09:43:32 < Tectu> by all assembly instructions are part of the ARM core, not the STM32, right? So I find everything in the ARM info center? 2013-04-17T09:43:39 < zyp> yep 2013-04-17T09:43:46 < zyp> anyway, worktime 2013-04-17T09:43:59 < Tectu> same, thanks for your help, zyp, and have a nice day! 2013-04-17T09:53:32 -!- Laurenceb_ [~Laurence@host86-177-60-95.range86-177.btcentralplus.com] has joined ##stm32 2013-04-17T09:55:10 -!- Dante is now known as Amba 2013-04-17T10:03:41 -!- Robin_ [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-17T10:05:46 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Ping timeout: 272 seconds] 2013-04-17T10:11:30 < jpa-> Tectu: you know the stm32f4 cortex-m4 programming manual, right? it has stuff on the core, i usually find it easier to browse than the ARM material 2013-04-17T10:22:26 -!- baird [~cjb@ppp121-45-179-53.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-17T10:23:27 -!- bsdfox\ [~Bob@c-71-197-82-145.hsd1.ca.comcast.net] has joined ##stm32 2013-04-17T10:23:32 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Quit: Leaving.] 2013-04-17T10:25:08 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-04-17T10:25:30 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-04-17T10:26:14 -!- bsdfox_ [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 245 seconds] 2013-04-17T10:30:28 -!- Laurenceb_ [~Laurence@host86-177-60-95.range86-177.btcentralplus.com] has quit [Ping timeout: 272 seconds] 2013-04-17T10:36:20 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-17T10:48:19 -!- Amba [~X@host-196-152-66-217.spbmts.ru] has quit [Ping timeout: 260 seconds] 2013-04-17T10:48:50 -!- cTn [~cTn@hautio.net] has quit [Ping timeout: 252 seconds] 2013-04-17T10:49:08 -!- cTn [~cTn@hautio.net] has joined ##stm32 2013-04-17T10:50:39 -!- Thorn__ [~Thorn@2.94.85.84] has joined ##stm32 2013-04-17T10:50:39 -!- Thorn__ [~Thorn@2.94.85.84] has quit [Changing host] 2013-04-17T10:50:39 -!- Thorn__ [~Thorn@unaffiliated/thorn] has joined ##stm32 2013-04-17T10:53:29 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 256 seconds] 2013-04-17T11:00:15 -!- Dante [~X@host-4-152-66-217.spbmts.ru] has joined ##stm32 2013-04-17T11:24:34 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2013-04-17T11:26:35 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 255 seconds] 2013-04-17T11:29:56 -!- bsdfox\ [~Bob@c-71-197-82-145.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 2013-04-17T11:30:27 -!- bsdfox\ [~Bob@c-71-197-82-145.hsd1.ca.comcast.net] has joined ##stm32 2013-04-17T11:48:34 -!- sterna1 [~Adium@dhcp-181038.eduroam.chalmers.se] has joined ##stm32 2013-04-17T12:30:06 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Ping timeout: 264 seconds] 2013-04-17T12:30:37 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:5475:f12a:45a2:8f84] has joined ##stm32 2013-04-17T12:32:32 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2013-04-17T12:52:56 -!- Dante [~X@host-4-152-66-217.spbmts.ru] has quit [Ping timeout: 245 seconds] 2013-04-17T12:55:02 -!- Amba [~7fXvoMY5l@83.136.246.214] has joined ##stm32 2013-04-17T12:55:19 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Ping timeout: 252 seconds] 2013-04-17T12:57:28 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2013-04-17T13:10:29 -!- _BJFreeman [~bjfree@7.sub-75-233-97.myvzw.com] has joined ##stm32 2013-04-17T13:10:41 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has joined ##stm32 2013-04-17T13:11:00 -!- _BJFreeman is now known as BJfreeman 2013-04-17T13:20:36 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has quit [Ping timeout: 264 seconds] 2013-04-17T13:22:00 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 276 seconds] 2013-04-17T13:25:58 -!- Viper168 [~Viper@node243.19.251.72.1dial.com] has joined ##stm32 2013-04-17T13:25:58 -!- Viper168 [~Viper@node243.19.251.72.1dial.com] has quit [Changing host] 2013-04-17T13:25:58 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-17T13:32:56 -!- BJfreeman [~bjfree@7.sub-75-233-97.myvzw.com] has quit [Ping timeout: 246 seconds] 2013-04-17T13:33:22 -!- _BJFreeman [~bjfree@7.sub-75-233-97.myvzw.com] has joined ##stm32 2013-04-17T13:33:45 -!- _BJFreeman is now known as BJfreeman 2013-04-17T13:34:08 < Tectu> jpa-, no, I didn't know the STM32F4 programming manual yet, I'll check that out, thanks! 2013-04-17T13:36:29 < jpa-> it has the instruction reference & stuff 2013-04-17T13:37:26 < Tectu> very nice! 2013-04-17T13:37:39 < Tectu> It looks like the ARM info center is a bit messier than I like it 2013-04-17T13:38:39 < jpa-> i have found it difficult to dig out all the cortex-relevant bits of ARM infocenter.. they are mingled with the other models etc. 2013-04-17T13:38:47 < Tectu> oh 2013-04-17T13:39:05 < jpa-> like the DWT etc.. though those are not in ST manual either :D 2013-04-17T13:39:21 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-17T13:39:24 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-17T13:39:37 < jpa-> look, it's the flying dutchman 2013-04-17T13:40:05 <+Steffanx> Just a one day fly 2013-04-17T13:45:24 < Tectu> do you know FSMC a bit? I am not quite sure how it works when I have two external memory ICs... bank 1 which is the one I need, has 4x 64MB the reference manual says. Therefore, it has NE[1:4] which are the ChipSelect. However, how does that work with the address space? How do I do it in software? Let's assume I have two times the same SRAM IC. Therfore, the address space is exactly the same and I'll just have to manually chip select it or does the FSMC 2013-04-17T13:45:26 < Tectu> somehow provide a continious address space and does the chip selecting itself? >.< 2013-04-17T13:45:32 < zyp> I quite like the arm infocenter 2013-04-17T13:46:35 < zyp> the FSMC does the chip selecting 2013-04-17T13:47:06 < zyp> you hook one chip to NE1 and one to NE2, and FSMC would pick one or the other depending on the accessed addr 2013-04-17T13:48:08 < zyp> likely they won't be continous though, unless they are large enough to fill the address space allocated to each 2013-04-17T13:48:12 < Tectu> but the phyiscall address bus is the same for both chips, right? 2013-04-17T13:48:30 < zyp> of course, that's the point of the chip selects 2013-04-17T13:48:37 < Tectu> well, the reference manual says 4x 64MB, when I have 2x 8M, it should fit, no? :D 2013-04-17T13:49:11 < zyp> yes, then you'll get 56M of empty space between them 2013-04-17T13:49:14 < zyp> no, wait 2013-04-17T13:49:25 < zyp> actually you'll get the same chip aliased 8 times 2013-04-17T13:49:47 < zyp> so if you use the last alias of the first block and the first alias of the next, they'll be continous 2013-04-17T13:50:19 < zyp> hmm 2013-04-17T13:50:55 < zyp> 64M is 26 bits if I'm counting correctly 2013-04-17T13:51:06 < zyp> so you'll have external address lines for bits 0-25 2013-04-17T13:51:21 < zyp> and then bit 26 and 27 drives the chip selects 2013-04-17T13:52:29 -!- BJfreeman [~bjfree@7.sub-75-233-97.myvzw.com] has quit [Quit: had a good time] 2013-04-17T13:53:37 < zyp> and your 8M chips would only use address lines 0-22, leaving 23-25 unconnected/ignored, that's why you get the aliases 2013-04-17T13:56:54 < Tectu> zyp, yes, there is A[0:25] 2013-04-17T13:57:28 < Tectu> zyp, how comes that now the address lines do the chip select? I thought this is what NE[1:4] is for 2013-04-17T13:57:42 < Tectu> ah, you talk about bit, not pin 2013-04-17T13:57:56 < zyp> chip selects are just demuxed address lines 2013-04-17T13:58:15 < zyp> so four lines represent two bits of the addr 2013-04-17T13:58:31 < Tectu> so just that I get it right: I will both chips will connect to exactly the same address and data bus. One will be chip-selected by NE1 the other by NE2, right? 2013-04-17T13:58:37 < zyp> yes 2013-04-17T13:59:08 < Tectu> okay, how do I see it now in software? do I have a 64M address space and both ICs have a different start address? 2013-04-17T13:59:22 < Tectu> so one starts at 0x1 and the other for example at 0x2 ? 2013-04-17T13:59:36 < Tectu> (of course not real addresses, just examples) 2013-04-17T13:59:37 < zyp> what's the fsmc offset? 2013-04-17T13:59:59 < Tectu> 0x600000 2013-04-17T14:00:03 < Tectu> if I got the zeros right 2013-04-17T14:00:03 < zyp> no. 2013-04-17T14:00:17 < zyp> maybe 0x60000000 ? 2013-04-17T14:00:19 < dongs> i think its 0x6000000 or something 2013-04-17T14:00:20 < dongs> yeah 2013-04-17T14:00:35 < Tectu> 6000 0000h 2013-04-17T14:00:36 < Tectu> yes 2013-04-17T14:00:46 < Tectu> zyp, as I said, when I got the zeros right :P 2013-04-17T14:00:50 < zyp> ok 2013-04-17T14:01:06 < Tectu> Bank 1 which is 4x 64M is from 6000 0000h to 6FFF FFFFh 2013-04-17T14:01:55 < zyp> then one chip will be mapped to 0x60000000-0x63ffffff and the next will be mapped to 0x64000000-0x67ffffff 2013-04-17T14:02:17 < zyp> and since it's only 8M in a 64M space, it'll be aliased 8 times 2013-04-17T14:02:56 < zyp> so in reality the first chip will only occupy 0x60000000-0x607fffff 2013-04-17T14:04:16 < zyp> but it will also be aliased to 0x63800000-0x63ffffff, so if you want to have a continous 16M address space you could use 0x63800000-0x647fffff 2013-04-17T14:07:28 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: to sleep, perchance to dream] 2013-04-17T14:08:51 < dongs> wow 2013-04-17T14:08:55 < dongs> digikey has all sorts of hdmi r x/tx in stock 2013-04-17T14:08:59 < dongs> even with hdcp 2013-04-17T14:09:05 < dongs> i rememver when that shit needed hardcore NDA to get 2013-04-17T14:09:05 < dongs> heh 2013-04-17T14:09:26 <+Steffanx> They even give you the datasheet? 2013-04-17T14:09:31 < dongs> yep 2013-04-17T14:09:32 < zyp> isn't hdcp already broken to the point of being useless? 2013-04-17T14:09:41 <+Steffanx> Yes.. 2013-04-17T14:09:47 < dongs> http://www.digikey.com/product-search/en/integrated-circuits-ics/linear-video-processing/2556085?k=ADV7619 for example 2013-04-17T14:10:48 < Tectu> zyp, what does "it'll be aliased 8 times" mean? 2013-04-17T14:11:00 < dongs> tectu it means itll be copied 8 fucking times in the address space 2013-04-17T14:11:05 < zyp> yes 2013-04-17T14:11:07 < Tectu> why? 2013-04-17T14:11:12 < dongs> 0..8m = copy0.. 8..16m= copy1 etc 2013-04-17T14:11:19 < zyp> because you are only using 23 of 26 address bits 2013-04-17T14:11:22 < dongs> because the high address bits are unused 2013-04-17T14:11:33 < dongs> so nothing selects shit at that address 2013-04-17T14:11:35 < zyp> so you ignore three address bits, and 2**3 is 8 2013-04-17T14:11:36 < Tectu> so I can reach the same memory cell from 8 different addresses? 2013-04-17T14:11:42 < dongs> yes 2013-04-17T14:11:46 < Tectu> that makes a lot of sense 2013-04-17T14:12:46 < Laurenceb> yes 2013-04-17T14:12:49 < Laurenceb> it does 2013-04-17T14:12:55 < dongs> http://media.digikey.com/PDF/Data%20Sheets/IDT/VMM1300NQG.pdf 2013-04-17T14:12:56 < dongs> haha 2013-04-17T14:12:57 < dongs> nice datasheet 2013-04-17T14:13:56 < Tectu> zyp, and now we have the read/write thing, right. How does that work? is it another address space or how do I do that in the software level? In hardware I have the NOE and NWE 2013-04-17T14:14:18 < zyp> huh? 2013-04-17T14:14:24 < dongs> lol 2013-04-17T14:14:27 < zyp> you just hook it up and then hardware does that for you 2013-04-17T14:14:33 < dongs> tectu, where teh fuck did you get 8meg sram anyway. 2013-04-17T14:14:40 < dongs> you cant afford that 2013-04-17T14:14:41 < dongs> nor can you afford making boards for those packages in bga 2013-04-17T14:14:55 < dongs> so you're just theoritizing (i.e. bulshitting) or do you have an actual project youre doing with this 2013-04-17T14:15:18 < zyp> I also wondered about that, 8M SRAM sounds fucking expensive 2013-04-17T14:15:54 < dongs> http://www.digikey.com/product-detail/en/CY62187EV30LL-55BAXI/428-3279-ND/2188332 2013-04-17T14:15:58 < dongs> the only 64mbit sram on digikey 2013-04-17T14:16:06 < Tectu> dongs, actually it's SDRAM I guess, in TSSOP-44 2013-04-17T14:16:15 < zyp> you can't hook SDRAM to the FSMC 2013-04-17T14:16:19 < dongs> ^ that 2013-04-17T14:16:26 < Tectu> lol what? 2013-04-17T14:16:39 < dongs> see you guys need to learn how to talk to tecto 2013-04-17T14:16:47 < dongs> if I interrupted this shit 1 hour ago 2013-04-17T14:16:48 < zyp> :p 2013-04-17T14:16:53 < dongs> you wouldnt be wasting time 2013-04-17T14:17:03 < Tectu> zyp, because of the paging? 2013-04-17T14:17:05 < dongs> k bbl bath time 2013-04-17T14:17:06 < zyp> that's ok, I'm at work 2013-04-17T14:17:20 < Laurenceb> Tectu: go fap to some hentai 2013-04-17T14:17:29 < Tectu> well, an olimex board I'm having here has some 4MB SRAM 2013-04-17T14:17:34 < Tectu> (afaik) 2013-04-17T14:18:58 < Tectu> zyp, you said "just hook it up and the hardware does it for you (the R/W stuff)". Means, I can just read and write from/to the address and I don't have to worry for R/W nor CS? 2013-04-17T14:19:01 < Laurenceb> what olimex board? 2013-04-17T14:19:12 < zyp> Tectu, yes 2013-04-17T14:19:22 < Tectu> Laurenceb, STM32-P407 2013-04-17T14:19:25 < Tectu> zyp, that sounds nice 2013-04-17T14:19:41 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-17T14:19:42 < zyp> Tectu, same goes for SDRAM if you have a controller which supports that 2013-04-17T14:19:47 < Laurenceb> 512 KB fast external SRAM on board 2013-04-17T14:19:52 < zyp> but so far only F429 does 2013-04-17T14:19:53 < Laurenceb> fail 2013-04-17T14:20:16 < qyx_> why fail? 2013-04-17T14:20:18 < zyp> Laurenceb, 4 megabits 2013-04-17T14:20:28 < Laurenceb> "4MB SRAM" 2013-04-17T14:20:36 < Laurenceb> he said, not 4Mb 2013-04-17T14:20:40 < zyp> yeah 2013-04-17T14:20:57 < qyx_> 4MB sram? would be probably quite expensive 2013-04-17T14:21:01 < zyp> ram is commonly measured in bits, so that's worth looking out for 2013-04-17T14:21:36 < zyp> (because bytes doesn't really make sense when memory chips come in all kinds of non-byte widths) 2013-04-17T14:21:51 -!- CRF_Peter [~Peter@dhcp-185145.eduroam.chalmers.se] has joined ##stm32 2013-04-17T14:27:02 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 252 seconds] 2013-04-17T14:27:41 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-17T14:35:12 < Laurenceb> http://www.pedobearcostume.com/ 2013-04-17T14:38:40 < baird> You'd go cruising for little girls, and get yiffed by furries instead. no thanks. 2013-04-17T14:38:47 < Tectu> qyx_, zippe1 the STM32-P407 board from olimex has a 512k*16Bit SRAM and is like 110€ 2013-04-17T14:38:57 < Tectu> zyp, ^ 2013-04-17T14:39:43 < zyp> ok 2013-04-17T14:40:46 < zyp> I have a 16Mx16 SDRAM on my lpc board, I think the chip itself was $2 or something 2013-04-17T14:41:44 <+Steffanx> Too bad PSRAM is still to expensive 2013-04-17T14:44:32 <+Steffanx> Sure it's 512k and not 256k Tectu ? 2013-04-17T14:59:50 < Tectu> Steffanx, not sure, but quite 2013-04-17T14:59:55 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Ping timeout: 264 seconds] 2013-04-17T15:00:38 <+Steffanx> That would make it 8Mb not? Or do you have a board with 8 instead of 4? 2013-04-17T15:01:30 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2013-04-17T15:03:56 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:5475:f12a:45a2:8f84] has quit [Quit: Leaving] 2013-04-17T15:07:21 < Tectu> Steffanx, no idea 2013-04-17T15:11:58 -!- botton [~willie@router.isis.poly.edu] has joined ##stm32 2013-04-17T15:11:58 -!- botton [~willie@router.isis.poly.edu] has left ##stm32 [] 2013-04-17T15:19:38 < Tectu> zyp, how comes that SDRAM does not work on FSMC? Is it because it works with pages? 2013-04-17T15:21:10 < zyp> it's because it's dynamic memory 2013-04-17T15:21:19 < zyp> which needs to be recharged all the time 2013-04-17T15:21:31 < zyp> so you need a dynamic memory controller that knows how to do that. 2013-04-17T15:22:00 < zyp> and the FSMC is a «flexible static memory controller» 2013-04-17T15:22:05 < zyp> emphasis on the «static» 2013-04-17T15:22:24 < zyp> so it doesn't know how to do that. 2013-04-17T15:27:31 < qyx_> also addressing is different 2013-04-17T15:34:27 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-17T15:35:52 < dongs> address those dongs 2013-04-17T15:41:51 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Ping timeout: 252 seconds] 2013-04-17T15:44:31 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2013-04-17T15:44:55 < Laurenceb> http://www.af.mil/shared/media/photodb/photos/030430-F-0000C-002.jpg 2013-04-17T15:45:00 < Laurenceb> ^ hehe "dave" 2013-04-17T15:49:35 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 245 seconds] 2013-04-17T15:50:21 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-17T16:08:19 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 264 seconds] 2013-04-17T16:09:02 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-17T16:17:39 < Laurenceb> OH YEAH 2013-04-17T16:18:01 < Laurenceb> "CLEAN" is some epic shit 2013-04-17T16:19:31 < Laurenceb> www.gm.univ-montp2.fr/PERSO/bokelmann/BaBo99.pdf <- i got it to work in matlab XD 2013-04-17T16:20:30 <+Steffanx> And it works well? 2013-04-17T16:20:40 < Laurenceb> very well 2013-04-17T16:20:58 < Laurenceb> as well as FFT, even when data is crappy and full of huge gaps 2013-04-17T16:21:10 <+Steffanx> This is still for your thesis? 2013-04-17T16:21:13 < Laurenceb> yup 2013-04-17T16:21:35 < Laurenceb> heartrate extraction stuff :P 2013-04-17T16:21:52 < karlp> just use a webcam dude: https://github.com/thearn/webcam-pulse-detector 2013-04-17T16:21:59 < Laurenceb> heh 2013-04-17T16:22:09 < Laurenceb> i couldnt care less about heartrate 2013-04-17T16:22:13 <+Steffanx> Yeah, i tried that. Still fail to run it. Some mdoa stuff mission 2013-04-17T16:22:16 < karlp> 13:21 < Laurenceb> heartrate extraction stuff :P 2013-04-17T16:22:31 < Laurenceb> i just need it for processing data 2013-04-17T16:22:48 < karlp> yeah, mdoa whatzit isn't packaged, and he claims to need a newer opencv than I have, so it can wait for "later" 2013-04-17T16:22:55 < Laurenceb> the pulse is used for spectrometer automatic calibration 2013-04-17T16:23:07 < jpa-> zyp: hmm.. plain DRAM (MSM5117405F for example) might actually work with FSMC if you set up a DMA transfer to refresh it periodically :) 2013-04-17T16:23:20 <+Steffanx> heh 2013-04-17T16:23:23 < Laurenceb> lolz 2013-04-17T16:23:25 < jpa-> SDRAM obviously won't 2013-04-17T16:24:01 < Laurenceb> Voltage - Supply 4.5 V ~ 5.5 V 2013-04-17T16:24:03 < Laurenceb> ewww 2013-04-17T16:24:17 < jpa-> it's ooooold :) 2013-04-17T16:24:31 < qyx_> power dissipation 0.5W O_o 2013-04-17T16:25:37 < jpa-> i wonder what the DMA controller would think about triggered M2M with destination == source.. "wtf is this crazy transfer" 2013-04-17T16:28:21 < qyx_> why dest=sourcE? you just need to read from dram to refresh it, dont you? 2013-04-17T16:28:47 < jpa-> hmm.. maybe 2013-04-17T16:28:56 < jpa-> i'm not very familiar with DRAMs 2013-04-17T16:29:21 < qyx_> gate recharging is done internally, or it should be afaik 2013-04-17T16:29:55 < jpa-> yeah you are correct 2013-04-17T16:29:56 < qyx_> so eg. for video applications it should be sufficient to cyclically read the dram to keep data 2013-04-17T16:29:57 < jpa-> read is enough 2013-04-17T16:31:20 <+Steffanx> oh, it does work karlp 2013-04-17T16:31:24 <+Steffanx> not sure if it's right :) 2013-04-17T16:32:19 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 264 seconds] 2013-04-17T16:32:40 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-17T16:44:23 < karlp> Steffanx: yeah, I didn't feel like trying to install the extra libs 2013-04-17T16:45:24 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 272 seconds] 2013-04-17T16:46:08 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-17T16:59:31 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:4416:f9ae:f458:b078] has joined ##stm32 2013-04-17T17:09:06 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 264 seconds] 2013-04-17T17:09:41 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-17T17:21:21 -!- bk128 [~bk@unaffiliated/bk128] has joined ##stm32 2013-04-17T17:22:53 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 246 seconds] 2013-04-17T17:23:00 < bk128> I'm having electrical issues with a stm32f303vc. I got a pcb made (looked at eval board and datasheet for pinouts) and layout and populated vregs and caps first. checked all the pads for proper power and ground, and everything checked out before populating the IC. After soldering the mcu, it heats up (100pin .5mm lqfp) 2013-04-17T17:23:14 < bk128> I've checked all the power and gnd pins again with my meter and they look good 2013-04-17T17:23:49 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-17T17:31:58 < jpa-> bk128: is it the right way around? :) 2013-04-17T17:32:31 < bk128> Yes, it almost got me, because the chip engraving is upside down when the pin 1 marking is up haha 2013-04-17T17:32:53 < jpa-> humm 2013-04-17T17:33:03 < bk128> I double checked by looking at the stm32f3 discovery board I;m using 2013-04-17T17:33:09 < jpa-> ok 2013-04-17T17:33:21 < jpa-> well yeah 2013-04-17T17:33:26 < bk128> for a new chip, on startup, all pins are set as inputs by default right? 2013-04-17T17:33:35 < jpa-> yes 2013-04-17T17:33:41 < bk128> I have a pdf of my schematic, but don't know where to post it 2013-04-17T17:33:46 < bk128> or eagle files 2013-04-17T17:33:54 < jpa-> http://fpaste.dy.fi 2013-04-17T17:33:59 < jpa-> and pdf please 2013-04-17T17:34:51 < bk128> jpa-: http://fpaste.dy.fi/u5W 2013-04-17T17:35:04 < karlp> is it still free of vcc/gnd faults _after_ soldering it? 2013-04-17T17:35:26 <+Steffanx> You made that package yourself bk128 ? 2013-04-17T17:35:40 < bk128> Steffanx: yeah, karlp, as far as I can tell. 2013-04-17T17:35:54 < jpa-> karlp: if vcc & gnd were short-circuited, the chip itself wouldn't heat.. actually there are quite few situations where the chip would heat 2013-04-17T17:35:56 < bk128> my only guess is that I got it too hot when solder wicking some excess off it 2013-04-17T17:36:44 < karlp> it's learn finnish day today! 2013-04-17T17:36:48 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Ping timeout: 256 seconds] 2013-04-17T17:36:49 < bk128> haha yeah 2013-04-17T17:36:50 < jpa-> bk128: they aren't usually too sensitive 2013-04-17T17:37:10 < bk128> I can post my eagle file too 2013-04-17T17:37:43 < bk128> here's the sch file 2013-04-17T17:37:43 < bk128> http://fpaste.dy.fi/uLA 2013-04-17T17:38:03 < bk128> and the board file http://fpaste.dy.fi/eZc 2013-04-17T17:38:34 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2013-04-17T17:38:54 < jpa-> bk128: how much current is the circuit drawing? 2013-04-17T17:39:01 -!- _BJFreeman [~bjfree@12.sub-75-196-29.myvzw.com] has joined ##stm32 2013-04-17T17:39:31 < bk128> jpa- the dpak ldo doesn't get warm, and the 3v3 traces are around 3.28 volts, where the vreg output is 3.3 2013-04-17T17:39:39 < bk128> the chip gets warm immediately though 2013-04-17T17:40:00 < jpa-> bk128: actual milliamps might give some info.. like if it is a short-circuit in IO i would expect 50mA at most 2013-04-17T17:40:16 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has joined ##stm32 2013-04-17T17:40:21 -!- _BJFreeman is now known as BJfreeman 2013-04-17T17:40:26 < bk128> then starts getting hot after about 10 sec 2013-04-17T17:40:44 < jpa-> whereas if it is a short-circuit of power lines would probably be >100mA 2013-04-17T17:40:48 < bk128> I don't have it in front of me now, I'm at school. I"d guess it's over 100ma though 2013-04-17T17:41:19 < bk128> I was starting to think I could rule out short circuit power lines though because all the pwr pins are around 3.3v 2013-04-17T17:41:24 < bk128> and all the gnd pins around 0v 2013-04-17T17:41:37 < jpa-> yeah, probably can be ruled out 2013-04-17T17:41:42 < jpa-> but could you measure the current? 2013-04-17T17:41:55 < bk128> I will when I get home 2013-04-17T17:41:58 < jpa-> ah, ok 2013-04-17T17:42:13 < bk128> I did look closely at the pins under a stereo microscope, no shorts visible 2013-04-17T17:44:40 < jpa-> bk128: has the chip possibly been exposed to higher voltages at any point? like >5 volts on IO pins 2013-04-17T17:44:40 < bk128> jpa-: here it is.. we have pics as it's for our senior design project http://i.imgur.com/3r28fnf.jpg 2013-04-17T17:45:11 < bk128> not that I know of. measured all pins first and they checked out. there is 24v on the board, but traces don't go anywhere near it 2013-04-17T17:45:19 < bk128> and it was fresh out of the static bag from digikey 2013-04-17T17:45:36 < jpa-> yeah, haven't managed to kill any with ESD yet either 2013-04-17T17:46:08 < bk128> well, since i've been poking at it for an hour already, I will just rework it when I get home 2013-04-17T17:46:18 < bk128> remove it, double check all the pads for voltages etc 2013-04-17T17:46:44 < bk128> my main question was though, for a fresh chip, can I assume all pins are defaulted to inputs? 2013-04-17T17:46:46 < jpa-> a brief google search suggests that high voltage on IO pins is the most common way to get the "stm32 heats up" symptom 2013-04-17T17:46:57 < bk128> jpa-: ok, I will double check that 2013-04-17T17:47:09 < jpa-> bk128: yes.. unless you boot into bootloader 2013-04-17T17:47:16 < bk128> pulling boot0 down 2013-04-17T17:47:19 < jpa-> ok 2013-04-17T17:47:30 < bk128> if I'm using swd for programming, do I need to do anything differently? 2013-04-17T17:47:31 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Ping timeout: 245 seconds] 2013-04-17T17:47:40 < jpa-> nope 2013-04-17T17:48:56 < bk128> I am also having a nightmare with these molex flat ribbon cables 2013-04-17T17:49:01 <+Steffanx> Nice lab in your kitchen btw :P 2013-04-17T17:49:15 < bk128> thanks, it's actually my whole studio apartment haha 2013-04-17T17:49:19 < bk128> my bed is in there too 2013-04-17T17:49:29 < bk128> we didn't get zif connectors, and have been removing the ribbon cables a lot 2013-04-17T17:49:34 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2013-04-17T17:49:41 < bk128> the aluminum wires are starting to delaminate from the backing :-( 2013-04-17T17:49:59 < jpa-> bk128: i hope the cable is replaceable :) 2013-04-17T17:50:21 < bk128> yeah, but they're expensive 2013-04-17T17:50:53 < jpa-> Steffanx will give you some monies 2013-04-17T17:50:58 < bk128> haha 2013-04-17T17:51:03 < bk128> I have to run, thanks for the help 2013-04-17T17:51:14 <+Steffanx> jpa-, still on holiday? 2013-04-17T17:51:17 < bk128> I will be back later to let you know how it turns out 2013-04-17T17:51:21 < bk128> thanks again, bye 2013-04-17T17:51:28 < jpa-> Steffanx: uh.. depends on the definition 2013-04-17T17:51:36 -!- bk128 [~bk@unaffiliated/bk128] has quit [Quit: bk128] 2013-04-17T17:51:41 < jpa-> Steffanx: i should be doing stuff now.. i haven't been doing stuff now 2013-04-17T17:52:07 <+Steffanx> holiday as in .. no work. Not $$-work 2013-04-17T17:52:27 < jpa-> well 2 days a week €€-work 2013-04-17T17:52:37 < jpa-> rest of the week i should be writing my thesis 2013-04-17T17:52:55 <+Steffanx> About what? 2013-04-17T17:53:08 < dongs> < bk128> if I'm using swd for programming, do I need to do anything differently? 2013-04-17T17:53:10 < dongs> like hwaT? 2013-04-17T17:53:12 < jpa-> about a project i did for €€-workplace 2013-04-17T17:53:19 <+Steffanx> Secret dangerous pressure arm with leds? 2013-04-17T17:53:25 < zyp> I prefer NOK-work 2013-04-17T17:53:34 < zyp> we don't have any fancy symbols for NOK :( 2013-04-17T17:53:36 -!- CRF_Peter [~Peter@dhcp-185145.eduroam.chalmers.se] has quit [Ping timeout: 264 seconds] 2013-04-17T17:53:41 < jpa-> zyp: silly people, get into EU and pay our debts with your oil money! 2013-04-17T17:54:04 <+Steffanx> Really zyp? How you call it in norway? 2013-04-17T17:54:09 < dongs> http://i.imgur.com/3r28fnf.jpg > what the hell 2013-04-17T17:54:14 < dongs> whats hte scope for 2013-04-17T17:54:23 < zyp> Steffanx, «kroner», usually shortened to «kr» 2013-04-17T17:54:39 < jpa-> they stole the name from the swedes 2013-04-17T17:55:03 < zyp> something like that 2013-04-17T17:55:03 < Laurenceb> hope they dont power up the f3discovery in the background 2013-04-17T17:55:17 < zyp> I'm not old enough to know what came first 2013-04-17T17:55:29 < gxti> doesn't matter now 2013-04-17T17:55:34 < dongs> Laurenceb: haha 2013-04-17T17:55:43 < dongs> Laurenceb: two f3discoveries 2013-04-17T17:55:53 < BJfreeman> Scope for working on tiny smb? 2013-04-17T17:55:59 < zyp> source of pic? 2013-04-17T17:56:08 < jpa-> zyp: bk128 a few minutes earlier 2013-04-17T17:56:08 < dongs> 23:44 < bk128> jpa-: here it is.. we have pics as it's for our senior design project http://i.imgur.com/3r28fnf.jpg 2013-04-17T17:56:11 < dongs> this channel, dude 2013-04-17T17:56:11 < zyp> ah 2013-04-17T17:56:14 < dongs> dont you evne pay attention? :) 2013-04-17T17:56:16 < baird> Needs more Wyse ASCII terminals on the kitchen counter.. 2013-04-17T17:56:21 < zyp> no, I just got home from work 2013-04-17T17:56:32 < jpa-> zyp: got a new contract already? 2013-04-17T17:56:40 -!- CRF_Peter [~Peter@dhcp-185145.eduroam.chalmers.se] has joined ##stm32 2013-04-17T17:56:51 < zyp> got assigned to an internal project 2013-04-17T17:57:05 < zyp> so I'm doing some avr32 based stuff 2013-04-17T17:57:12 < jpa-> developing norwegian nuclear bombs to conquer the world? 2013-04-17T17:57:12 < Laurenceb> pwned 2013-04-17T17:57:15 < dongs> haha 2013-04-17T17:57:15 < dongs> raped 2013-04-17T17:57:31 < dongs> isnt avr32 deader than NetBSD on Acorn 2013-04-17T17:57:37 < zyp> highlevel enough that I don't have to care about architecture though 2013-04-17T17:57:41 < zyp> so I don't really care 2013-04-17T17:57:48 < dongs> so they're running avr32lunix on it? 2013-04-17T17:57:48 < jpa-> until it stops working 2013-04-17T17:57:58 < zyp> dongs, no 2013-04-17T17:59:00 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-17T17:59:36 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Ping timeout: 264 seconds] 2013-04-17T18:02:04 < Laurenceb> http://www.clarkmoody.com/ 2013-04-17T18:02:04 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2013-04-17T18:02:06 < Laurenceb> i lolled 2013-04-17T18:02:28 < Laurenceb> "Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/lhbcvps/lhbc.net/includes/205750xmlrpc.php on line 24 2013-04-17T18:02:28 < Laurenceb> Few names elicit more emotion or differences of opinion than that of Jesus Christ" 2013-04-17T18:02:33 < Laurenceb> double lolled 2013-04-17T18:08:35 < Laurenceb> * You have been invited to ##stm32-crap by Steffanx (card.freenode.net) 2013-04-17T18:09:35 -!- Erlkoenig [~erlkoenig@pptp-212-201-77-230.pptp.stw-bonn.de] has joined ##stm32 2013-04-17T18:16:00 < dongs> haha 2013-04-17T18:25:50 < emeb> morninks 2013-04-17T18:26:05 < zyp> evening, emeb 2013-04-17T18:26:08 < Laurenceb> lolz http://imgur.com/a/sUrnA 2013-04-17T18:26:12 < Laurenceb> imgur baghunt 2013-04-17T18:26:50 < Laurenceb> its like wheres wally but people die at the end 2013-04-17T18:27:43 < dongs> moar liek wheer's dongs 2013-04-17T18:27:48 < dongs> and with that im off to lseep 2013-04-17T18:27:50 < dongs> sleep, too 2013-04-17T18:27:53 < Laurenceb> haha the conspiracy guys got in there 2013-04-17T18:27:55 < Laurenceb> http://i.imgur.com/Yqq0ZDM.jpg 2013-04-17T18:28:27 < emeb> anything interesting happening? 2013-04-17T18:28:32 < dongs> nope 2013-04-17T18:28:33 < emeb> Laurenceb: for the day job I'm doing some new SDR work on an aircraft band NAV/COMM receiver. Turns out that good quality audio RX is a lot harder than you might think. 2013-04-17T18:29:02 < Laurenceb> interesting 2013-04-17T18:29:17 < Laurenceb> http://i.imgur.com/v1yHTLB.png 2013-04-17T18:29:27 < Laurenceb> 'CLEAN' with 4 carriers 2013-04-17T18:29:34 < Laurenceb> thats logscale 2013-04-17T18:29:38 < zyp> everything is harder than Laurenceb might think 2013-04-17T18:29:45 < Laurenceb> lol zyp 2013-04-17T18:30:03 < dongs> zyp: http://www.microcopters.de/photos/132/dsc-8481.jpg 2013-04-17T18:30:27 < Laurenceb> so much fail 2013-04-17T18:31:02 < emeb> is that what's supposed to be there? 2013-04-17T18:31:18 < zyp> no vreg? 2013-04-17T18:31:27 < dongs> who needs vregs 2013-04-17T18:31:29 < Laurenceb> emeb: yes 2013-04-17T18:31:32 < zyp> or two sided assembly? 2013-04-17T18:31:38 < Laurenceb> emeb: really impressive result imo 2013-04-17T18:32:02 < Laurenceb> thats a load of very gappy data 2013-04-17T18:32:43 < dongs> fft more like fast furry troll aka Laurenceb 2013-04-17T18:32:59 < emeb> Laurenceb: ya - looks damned good considering the way the input signal is degraded. 2013-04-17T18:33:09 < emeb> zyp: maybe the vreg is on the daughter card? 2013-04-17T18:33:31 < dongs> its not 2013-04-17T18:33:35 < zyp> ah, yeah 2013-04-17T18:33:46 < zyp> the 5-legged thing there, I guess 2013-04-17T18:33:59 < emeb> that would be my guess 2013-04-17T18:34:05 < zyp> that explains the five connections too 2013-04-17T18:34:10 < emeb> SOT-23-5 FTW 2013-04-17T18:34:17 < emeb> like those little regs. 2013-04-17T18:34:18 < zyp> gnd, vin, 3.3V, sda, scl 2013-04-17T18:34:54 < dongs> http://www.varesano.net/projects/hardware/FreeIMU#v0.4 2013-04-17T18:34:55 < dongs> its this crap 2013-04-17T18:35:35 < emeb> imu umu we all mu for imu 2013-04-17T18:35:37 < zyp> yep, and according to schematic I was right 2013-04-17T18:36:16 < emeb> love the schematic. each component on a separate page. 2013-04-17T18:36:24 < dongs> thats kikecad for you 2013-04-17T18:37:45 < zyp> that's kinda how I like drawing schematics 2013-04-17T18:38:06 < zyp> extra pages doesn't cost you anything, so why cram everything into one? 2013-04-17T18:38:27 < emeb> so you don't have to fucking mouse around to see what the connectivity is? 2013-04-17T18:39:02 < emeb> the good lord gave you a whole page of white space. Use it! 2013-04-17T18:39:06 < gxti> i use multiple sheets but not for that few things 2013-04-17T18:39:11 < zyp> I prefer named connections over long lines going for a couple of rounds around the schematic 2013-04-17T18:40:04 < emeb> I use multiple sheets too - generally with closely coupled functions grouped per page. 2013-04-17T18:40:13 < gxti> mostly things i'm lazy and reuse, like the ethernet phy/connector/oscillator 2013-04-17T18:40:36 < zyp> my lpc board is 4 sheets 2013-04-17T18:41:32 < zyp> one for lpc power and other dedicated blocks and one for lpc gpio, one for sdram and one for physical connectors 2013-04-17T18:47:55 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-04-17T18:52:03 < dongs> haha apparently his current revision is dualcore LPC1768 2013-04-17T18:52:09 < dongs> with TWO usb sockets ands hit 2013-04-17T18:52:29 < dongs> http://www.safecopter.de/ check the awesome trollvid at the bottom 2013-04-17T18:54:53 < emeb> drag soldering - ur doin' it rong. 2013-04-17T18:55:33 < emeb> (going way too slowly) 2013-04-17T18:55:50 < zyp> drag smoldering 2013-04-17T18:55:59 < emeb> ya - making toast. 2013-04-17T18:56:38 < zyp> well, nobody said it was real time 2013-04-17T18:56:55 < emeb> love the way props distort on progressive-scan sensors. 2013-04-17T18:56:57 < zyp> may be slowed down like a lot of the rest of the video 2013-04-17T18:57:21 < emeb> doubt it - you can see the flux boiling fast. 2013-04-17T18:57:31 < zyp> hmm, I need to put some more work into getting mine flying 2013-04-17T18:57:40 < zyp> spring is not too far off now 2013-04-17T18:58:58 < emeb> blow the snow off 2013-04-17T18:59:20 < zyp> not much left 2013-04-17T18:59:36 -!- Amba [~7fXvoMY5l@83.136.246.214] has quit [Quit: client by akaWolf] 2013-04-17T18:59:44 < zyp> and the one that is is way too heavy to blow anywhere 2013-04-17T18:59:53 < zyp> it was just raining for a few days 2013-04-17T19:02:18 < Laurenceb> http://rack.3.mshcdn.com/media/ZgkyMDEzLzA0LzE3LzNjL3pGRVpIckIuMmRkNTYucG5n/03a36156/dbd/zFEZHrB.png 2013-04-17T19:02:20 < Laurenceb> i lolled 2013-04-17T19:04:41 < dongs> why png 2013-04-17T19:04:43 < dongs> you silly fuck 2013-04-17T19:05:10 < dongs> http://vimeo.com/63647285 might be old 2013-04-17T19:05:14 < dongs> ok raelly bedtime 2013-04-17T19:10:33 < Laurenceb> http://pastebin.com/0YfJDVwm 2013-04-17T19:11:10 < Erlkoenig> (18:05:10) dongs: http://vimeo.com/63647285 might be old <-- ha they included the german slogan at the end :D 2013-04-17T19:11:14 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:4416:f9ae:f458:b078] has quit [Quit: Leaving] 2013-04-17T19:11:34 < Erlkoenig> also hetero-sexist 2013-04-17T19:32:32 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-04-17T19:33:16 <+Steffanx> lol Erlkoenig. You care? 2013-04-17T19:33:36 < Erlkoenig> not anymore 2013-04-17T19:33:55 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-17T19:34:34 -!- baird [~cjb@ppp121-45-179-53.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-04-17T19:34:43 <+Steffanx> I bet when it was gay one would've said it was too gay :P So you can never do things right. 2013-04-17T19:38:48 < Erlkoenig> maybe target group for "sportive" cars is also the one which falls for ads with tits 2013-04-17T19:40:30 <+Steffanx> Can't care less, but .. yeah. 2013-04-17T19:43:35 < gnomad> i'd be willing to bet that guys buy sporty cars to get dick too, if that is what they are after... but what has this to do with stm32? 2013-04-17T19:44:46 <+Steffanx> You really joined at the wrong moment, but you're totally right gnomad :( 2013-04-17T19:47:47 < zyp> gnomad, just leave it, it's not worth arguing about 2013-04-17T19:48:49 <+Steffanx> zyp, that's why i said he's right.. about the last part of his sentence 2013-04-17T19:49:00 <+Steffanx> :) 2013-04-17T19:55:52 < gxti> ##stm32-crap 2013-04-17T19:57:05 <+Steffanx> I don't think THAT works anymore gxti :( 2013-04-17T19:57:21 < gxti> incorrect 2013-04-17T19:57:23 < gxti> it never worked 2013-04-17T19:57:49 < gxti> but i do give you credit for trying 2013-04-17T19:58:01 <+Steffanx> I think it did.. for a short while. ( or a certain person was just too busy ) 2013-04-17T19:58:52 <+Steffanx> There are only three solutions. Ingore. Leave. Ban hammer 2013-04-17T19:59:19 < gxti> tell me more about "in gore" 2013-04-17T19:59:23 < gxti> sounds promising 2013-04-17T19:59:25 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-17T19:59:28 <+Steffanx> *ignore hmpf 2013-04-17T19:59:32 < gxti> aw 2013-04-17T20:05:04 * karlp giggles 2013-04-17T20:05:14 < karlp> so, anyone ever used bacnet? 2013-04-17T20:13:04 -!- barthess [~barthess@5.100.192.214] has joined ##stm32 2013-04-17T20:14:08 < Robin_> karlp, me, al little 2013-04-17T20:16:25 < karlp> like/hate? good bits, bits to avoid? 2013-04-17T20:16:54 < karlp> (in particular wrt modbus) 2013-04-17T20:17:17 < karlp> looking at the MS/TP style on rs485 2013-04-17T20:17:33 < Robin_> karlp, bacnet is more advanced then modbus 2013-04-17T20:17:45 < Robin_> karlp, bacnet MS/TP is quite nice 2013-04-17T20:18:22 < karlp> yeah, hoping to solve some of the node discovery problems on modbus. 2013-04-17T20:18:45 < karlp> seems to be common in america, but not real common in europe, but maybe I'm just looking in the wrong places 2013-04-17T20:18:49 < Robin_> karlp, wireshark supports bacnet ms/tp 2013-04-17T20:19:04 < Robin_> karlp, building automation? 2013-04-17T20:19:11 < gxti> ool 2013-04-17T20:19:12 < Robin_> karlp, are you in the EU? 2013-04-17T20:19:13 < gxti> cool* 2013-04-17T20:19:24 < karlp> there's an ietf draft for ipv6 over ms/tp too, 2013-04-17T20:19:27 < karlp> based on 6lowpan 2013-04-17T20:20:00 -!- phantoxeD [~destroy@a95-92-85-217.cpe.netcabo.pt] has quit [Ping timeout: 264 seconds] 2013-04-17T20:20:07 < karlp> yeah, personally, I'm in the EEA/EFTA, not EU explicitly, but we're mostly looking at eu customers so far. 2013-04-17T20:20:43 < Robin_> karlp, go LON/KNX 2013-04-17T20:21:05 < karlp> knx requires licenses doesn't it? 2013-04-17T20:21:26 < Robin_> karlp, 99.9% of the buildings uses LON and KNX 2013-04-17T20:21:32 < Robin_> only 0.1% uses bacnet 2013-04-17T20:22:09 < Robin_> karlp, but those two require licences 2013-04-17T20:22:52 -!- phantoxeD [~destroy@a95-92-85-217.cpe.netcabo.pt] has joined ##stm32 2013-04-17T20:23:38 < karlp> 9600 and only 16bytes data per frame? 2013-04-17T20:23:52 < karlp> sounds a bit yuk 2013-04-17T20:24:05 < Robin_> karlp, KNX is great of light applications 2013-04-17T20:24:18 < Robin_> but LonWorks is better for the whole system 2013-04-17T20:24:21 < gxti> depends on what you actually need to interoperate with i guess 2013-04-17T20:24:28 < Robin_> gxti, yeah 2013-04-17T20:25:05 < karlp> still some debate whether we need to interoperate with anyone at all :) 2013-04-17T20:25:28 < gxti> like i'm sort of looking at multidrop systems that could replace ethernet for stringing together bench instruments, anything from i2c to can to something on rs485 2013-04-17T20:25:53 < Robin_> gxti, GPIB 2013-04-17T20:25:53 < gxti> not replace ethernet like ethernet is bad, but not need as many ethernet transceivers and switches to host all that crap etc 2013-04-17T20:26:05 < gxti> helllll no 2013-04-17T20:26:23 < karlp> hdlc _should_ work on rs485, 2013-04-17T20:26:33 < karlp> which should let you then do whatever on top, ipv6 or friends. 2013-04-17T20:27:10 < karlp> gpib looks ugly as sin. 2013-04-17T20:27:42 < karlp> usb would be nice, but we want to use ~30 drops, 2013-04-17T20:27:54 < Robin_> karlp, is it for a closed system? 2013-04-17T20:27:58 < karlp> I guess if we were realllly tricky, we could put host/device plugs on each device 2013-04-17T20:28:12 < karlp> Robin_: mostly closed, but we already support a few extra modbus devices, 2013-04-17T20:28:21 < karlp> mostly for our own devices though 2013-04-17T20:28:27 < Robin_> karlp, so you are bounded to RS485 2013-04-17T20:28:29 < Tectu> zyp, you said that I cannot use SDRAM on FSMC, how is that? 2013-04-17T20:28:38 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-232-128.clienti.tiscali.it] has joined ##stm32 2013-04-17T20:28:49 < karlp> Robin_: well, anything's possible for "version3" 2013-04-17T20:29:04 < karlp> but yeah, everything's already rs485 2013-04-17T20:29:04 < Robin_> karlp, CAN is nice 2013-04-17T20:29:15 -!- Robin_ is now known as Robint91 2013-04-17T20:29:21 < karlp> can's really short data too isn't it? 2013-04-17T20:29:33 < Robint91> karlp, you need to add an layer or it 2013-04-17T20:30:02 -!- CRF_Peter [~Peter@dhcp-185145.eduroam.chalmers.se] has quit [Ping timeout: 252 seconds] 2013-04-17T20:30:29 < gxti> can is active/passive like i2c which i like, plus the transceivers are very robust 2013-04-17T20:30:53 < Robint91> gxti, you need to do a lot to destroy a CAN transciever 2013-04-17T20:30:57 < gxti> rs485 relies on everything behaving correctly 2013-04-17T20:31:09 < Robint91> like putting 80Volt between CAN_H and CAN_L doesn't destroy it 2013-04-17T20:31:12 < gxti> something crashes with the enable pin high and the bus stops working 2013-04-17T20:31:26 < gxti> not that that's a dealbreaker but worth considering 2013-04-17T20:31:31 < karlp> yeah, we've got a third party device that we suspect is doing that now 2013-04-17T20:31:36 < karlp> it's rather sucky 2013-04-17T20:31:46 < karlp> though, ideally, things just shouldn't crash like that :) 2013-04-17T20:32:55 < Robint91> karlp, do you know ethercat? 2013-04-17T20:34:24 < karlp> I didn't, but I've read a bit now .) 2013-04-17T20:34:30 < karlp> soudns like a solution looking for a problem 2013-04-17T20:34:41 < karlp> "we can only use this hc05, but we must have ethernet" 2013-04-17T20:34:59 -!- CRF_Peter [~Peter@dhcp-185145.eduroam.chalmers.se] has joined ##stm32 2013-04-17T20:35:47 < Robint91> karlp, it is fairly nice, easy to dev for, beckhoff has very nice slaves chips 2013-04-17T20:36:10 < Robint91> and I guess that you can transfer there lvds signal fairly easy over SATA cables 2013-04-17T20:36:57 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-17T20:41:28 <+Steffanx> Robint91 also tried LonWorks once? 2013-04-17T20:41:40 < Robint91> Steffanx, used that more 2013-04-17T20:41:51 <+Steffanx> I can only be negative about it, but i think my old prof. is to blame for that. 2013-04-17T21:08:15 < Luggi09> hi guys, does anyone have bmp running on a STM32VL discovery ? I thought that might be a good use for that board 2013-04-17T21:16:03 < PaulFertser> Luggi09: i do 2013-04-17T21:16:13 < PaulFertser> Luggi09: on stlink part of it 2013-04-17T21:16:35 < Luggi09> that's where I was planning to flash it 2013-04-17T21:17:02 < PaulFertser> Luggi09: PROBE_HOST=stlink from master or hostio branches should work. 2013-04-17T21:17:46 < Luggi09> what's the easiest way to do it? locate pin BOOT0 connect that to VCC and flash it via usb? 2013-04-17T21:18:48 < Luggi09> Pau I'll download that thanks 2013-04-17T21:19:33 < Luggi09> *PaulFertser 2013-04-17T21:19:34 < PaulFertser> Luggi09: i do not think stm32f103 supports DFuSe, i've reprogrammed it by soldering to UART. Locating BOOT0 is easy though, there's a resistor there pulling it low, so you can easily pull boot0 high with tweezers or whatever. 2013-04-17T21:20:43 < Luggi09> yeah right, only flashing via usart is supported on that mcu, ok I'll connect uart and do it that way thanks 2013-04-17T21:21:10 < gsmcmullin> Luggi09: Yes. There is no built-in USB bootloader on the F103. Use the uart or another SWD capable programmer to flash it. 2013-04-17T21:21:29 < PaulFertser> Luggi09: requires "fine-pitch" soldering though. Do you have another SWD-capable debugging adapter probably? 2013-04-17T21:22:11 < Luggi09> right, that could be a bit of a hassle :) I have another discovery board 2013-04-17T21:22:17 < PaulFertser> Luggi09: but if you solder the uart you'll have it exposed by BMP as another ACM device, that's a big bonus point imho. So if you have the skills, go for it. 2013-04-17T21:23:22 < Luggi09> yeah I'll try to solder it, shouldn't be too bad with some thin wires and a fine soldering tip 2013-04-17T21:24:43 < PaulFertser> Luggi09: i've just connected it to pb8 and pb9, they're tristated anyway by the target f100 by default. 2013-04-17T21:26:53 < Luggi09> I just saw it in the Schematic, then I'll do that. Off to the soldering station 2013-04-17T21:27:11 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-17T21:27:14 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has quit [Quit: quit] 2013-04-17T21:29:36 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 245 seconds] 2013-04-17T21:31:54 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Read error: Operation timed out] 2013-04-17T21:38:29 -!- Thorn__ is now known as Thorn 2013-04-17T21:47:59 -!- dekar [~dekar@212.255.239.68] has joined ##stm32 2013-04-17T21:48:00 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-17T21:50:00 -!- dekar__ [~dekar@212.255.238.170] has quit [Ping timeout: 245 seconds] 2013-04-17T21:50:35 < Robint91> does someone know a good IC to make from a single ended signal to diff 2013-04-17T21:50:50 < Erlkoenig> CAN Transceiver? :o) 2013-04-17T21:51:44 < karlp> 485 transceiver? 2013-04-17T21:52:23 < Robint91> analog 2013-04-17T21:52:42 < Robint91> I have a single ended DAC and I need Diff 2013-04-17T21:53:44 < Erlkoenig> OP? 2013-04-17T21:54:20 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:b82e:3c29:e229:aaca] has joined ##stm32 2013-04-17T21:55:48 < BJfreeman> RS422 2013-04-17T21:59:04 < BJfreeman> http://www.analog.com/library/analogDialogue/archives/46-10/single_ended_to_differential.html 2013-04-17T22:00:00 < Robint91> http://www.ti.com/lit/ds/symlink/ths4532.pdf 2013-04-17T22:00:11 -!- Chocobo [~swinchen@pdpc/supporter/student/chocobo] has quit [Remote host closed the connection] 2013-04-17T22:00:21 < gxti> "DAC" implies analog signal, not logic 2013-04-17T22:00:37 < gxti> although using a rs422 transceiver as an analog IC would be amusing 2013-04-17T22:01:27 < gxti> link looks good though i guess 2013-04-17T22:01:57 < zyp> Tectu, it's kinda how you can't run usb on a uart 2013-04-17T22:02:16 < zyp> because it's fucking different things 2013-04-17T22:04:53 < zippe1> Robint91: When you say "need diff", what "diff" do you need? 2013-04-17T22:04:55 < BJfreeman> yeah need more coffee 2013-04-17T22:05:10 < zippe1> e.g. are you looking for balanced audio? 2013-04-17T22:05:20 < Robint91> zippe1, to drive this http://www.rfmd.com/CS/Documents/RFMD2081DS.pdf 2013-04-17T22:06:38 -!- Laurenceb_ [~Laurence@host86-177-60-95.range86-177.btcentralplus.com] has joined ##stm32 2013-04-17T22:07:50 < zippe1> Well, for a first approximation you could just float the N inputs 2013-04-17T22:11:44 < Laurenceb_> sounds like imgur waldo hunt was successful 2013-04-17T22:12:23 -!- _BJFreeman [~bjfree@12.sub-75-196-29.myvzw.com] has joined ##stm32 2013-04-17T22:15:29 -!- BJfreeman [~bjfree@12.sub-75-196-29.myvzw.com] has quit [Ping timeout: 246 seconds] 2013-04-17T22:19:02 < Laurenceb_> http://i.imgur.com/IfMWoJih.jpg 2013-04-17T22:19:07 < Laurenceb_> they found it 2013-04-17T22:19:09 -!- daku is now known as DaKu 2013-04-17T22:19:09 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-17T22:19:44 < gxti> crap *and* old Laurenceb_ 2013-04-17T22:23:57 -!- bsdfox\ is now known as bsdfox 2013-04-17T22:24:00 -!- bsdfox [~Bob@c-71-197-82-145.hsd1.ca.comcast.net] has quit [Changing host] 2013-04-17T22:24:00 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-04-17T22:24:52 < Laurenceb_> damn this things going to be conspiracy theory heaven 2013-04-17T22:27:50 < upgrdman> what thing 2013-04-17T22:28:39 < Laurenceb_> boston photo search 2013-04-17T22:28:46 < Laurenceb_> over on 4chan 2013-04-17T22:28:54 < Laurenceb_> http://i.imgur.com/Yqq0ZDM.jpg 2013-04-17T22:29:11 <+Steffanx> Can't you just keep that on 4chan? 2013-04-17T22:29:43 < Laurenceb_> sorry 2013-04-17T22:32:00 -!- upgrdman_ [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-17T22:33:33 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Ping timeout: 240 seconds] 2013-04-17T22:48:46 -!- barthess [~barthess@5.100.192.214] has quit [Quit: Leaving.] 2013-04-17T22:51:50 < zyp> hmm, this lpc board I bought contains an audio codec 2013-04-17T22:52:29 < zyp> porting my usb audio stuff to it would probably be a decent goal 2013-04-17T22:53:44 <+Steffanx> 'this' ? 2013-04-17T22:54:05 < zyp> yes, as in the one I'm holding right now 2013-04-17T22:54:33 <+Steffanx> And which one is that? 2013-04-17T22:54:37 < zyp> http://shop.ngxtechnologies.com/product_info.php?products_id=104 <- this 2013-04-17T22:55:02 < Laurenceb_> !zlog 2013-04-17T22:55:04 < Laurenceb_> zlog 2013-04-17T22:55:05 < zlog> Laurenceb_: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2013-04-17.html 2013-04-17T22:55:28 <+Steffanx> whoa, looks cheapish zyp. 2013-04-17T22:55:32 < zyp> http://shop.ngxtechnologies.com/product_info.php?products_id=105 <- also got this 2013-04-17T22:56:01 < zyp> I think they are pretty much the same, except for M3 vs M4+M0 2013-04-17T22:56:55 <+Steffanx> Heh, that xplorer++ is a 6 layer board 2013-04-17T22:57:19 < zyp> well, it's 0.8mm bga 2013-04-17T22:57:56 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Ping timeout: 245 seconds] 2013-04-17T22:58:36 < zyp> the lpc is almost only 1/4 the area of the lpc on my board 2013-04-17T23:00:01 <+Steffanx> Yours as in the one you made? That's a small board :) 2013-04-17T23:00:15 < zyp> huh? 2013-04-17T23:00:40 <+Steffanx> oh, nevermind. 2013-04-17T23:00:57 <+Steffanx> i skipped "of the lpc" in that sentence, oops 2013-04-17T23:03:02 < zyp> http://bin.jvnv.net/f/kyWMu.JPG <- here's the difference I'm talking about 2013-04-17T23:07:07 <+Steffanx> Same about of pins? 2013-04-17T23:07:37 < zyp> of course not 2013-04-17T23:07:58 < zyp> the small one is 100-ball 0.8-pitch, the large one is 256-ball 1mm-pitch 2013-04-17T23:09:20 <+Steffanx> Ah, see. That's why i thought. 2013-04-17T23:10:18 < zyp> hmm, this thing actually has a 24.576 MHz crystal for the audio codec 2013-04-17T23:10:50 < zyp> that means it'll be able to generate exactly 48000 Hz, unlike the F4 discovery 2013-04-17T23:18:37 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-17T23:20:02 < zyp> huh 2013-04-17T23:20:13 < zyp> they didn't hook up the ID line to USB1 2013-04-17T23:20:57 < zyp> but everything else is wired to allow full OTG on both connectors 2013-04-17T23:21:03 < zyp> they even used AB-connectors 2013-04-17T23:21:59 < zyp> wonder how they thought that's going to work when it can't detect host or device mode on one of the connectors 2013-04-17T23:22:41 < gxti> pretty much all mini/micro connectors are AB 2013-04-17T23:22:54 < zyp> no 2013-04-17T23:23:13 < gxti> sockets, yes 2013-04-17T23:23:27 < zyp> I'm talking about sockets, and no, they are not 2013-04-17T23:23:42 < gxti> ok then 2013-04-17T23:24:54 < zyp> micro-B connectors are the ones with two 45-degree corners 2013-04-17T23:25:04 < zyp> micro-AB-connectors are fully rectangular 2013-04-17T23:25:27 < gxti> puzzling 2013-04-17T23:25:52 < gxti> why do the B ones even have 5 pins then? 2013-04-17T23:26:13 < zyp> http://upload.wikimedia.org/wikipedia/commons/e/e6/Micro-USB-jacks.jpg 2013-04-17T23:26:36 < gxti> point is the same though, unless they advertize actually supporting OTG it just means they had them in stock and couldn't be bothered to use B connectors 2013-04-17T23:26:46 < zyp> because micro-B plugs fit into micro-AB sockets 2013-04-17T23:27:05 < zyp> well 2013-04-17T23:27:33 < zyp> the puzzling part is that it has all the other wiring, including a power switch to supply vbus with overcurrent monitoring 2013-04-17T23:27:59 < zyp> so it clearly is designed to support both host and device mode 2013-04-17T23:28:11 < zyp> but for some reason they left out the mechanism to detect which 2013-04-17T23:28:29 < gxti> that is more odd then 2013-04-17T23:36:35 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:b82e:3c29:e229:aaca] has quit [Read error: Connection reset by peer] 2013-04-17T23:38:29 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-17T23:43:22 -!- DaKu is now known as daku --- Day changed Thu Apr 18 2013 2013-04-18T00:05:25 -!- Erlkoenig [~erlkoenig@pptp-212-201-77-230.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-18T00:07:58 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: ….] 2013-04-18T00:08:16 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-18T00:08:19 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-18T00:13:47 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-18T00:13:53 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Quit: Ik ga weg] 2013-04-18T00:20:14 -!- _BJFreeman is now known as BJfreeman 2013-04-18T00:25:06 -!- upgrdman_ [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Quit: Leaving] 2013-04-18T00:25:26 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-18T00:35:33 -!- CRF_Peter [~Peter@dhcp-185145.eduroam.chalmers.se] has quit [Ping timeout: 245 seconds] 2013-04-18T00:47:19 < Laurenceb_> oh 2013-04-18T00:47:28 < Laurenceb_> thanks for that zyp 2013-04-18T00:47:52 < Laurenceb_> i was getting getting confused by camera adaptors a while back 2013-04-18T00:49:23 < Laurenceb_> AB is for OTG? 2013-04-18T01:00:21 -!- inca [~inca@192.5.110.4] has joined ##stm32 2013-04-18T01:00:29 < GargantuaSauce> woo got my pair of cubieboards 2013-04-18T01:01:20 < GargantuaSauce> i totally missed the fact that the headers are 2mm pitch 2013-04-18T01:06:26 < inca> so the ethernet driver is up and limping. I can get pings and telnet to work with lwip when plugged into a hub, but not crossover cable or any switch we have tried so far. Arps appear to only work on the hub 2013-04-18T01:08:34 < inca> it's an STM32f107 with micrel ksz8041 ethernet phy 2013-04-18T01:09:39 < gxti> same stack i use 2013-04-18T01:09:53 < gxti> using chibios+lwip 2013-04-18T01:10:08 -!- Posterdati [~antani@host166-213-dynamic.11-87-r.retail.telecomitalia.it] has quit [Ping timeout: 245 seconds] 2013-04-18T01:10:16 < gxti> so far i've had zero problems with the physical link, everything just works... so i'm afraid i can't help much there 2013-04-18T01:17:12 -!- sterna1 [~Adium@dhcp-181038.eduroam.chalmers.se] has quit [Quit: Leaving.] 2013-04-18T01:34:30 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-18T01:38:03 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 252 seconds] 2013-04-18T01:50:32 -!- Laurenceb_ [~Laurence@host86-177-60-95.range86-177.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-18T01:52:27 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-18T02:05:16 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 256 seconds] 2013-04-18T02:23:45 -!- inca [~inca@192.5.110.4] has quit [Quit: zzzz] 2013-04-18T02:37:07 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Ping timeout: 264 seconds] 2013-04-18T02:41:09 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-18T03:02:35 < R0b0t1> What is the cheapest, lowest-pincount stm and/or ARM core? 2013-04-18T03:02:44 < R0b0t1> I'm just hazarding a guess it's from stmicro. 2013-04-18T03:03:45 < dongs> sup trolls 2013-04-18T03:04:13 < dongs> i duno, i think some of nuvoton trash can be cheap 2013-04-18T03:04:19 < dongs> but its worthless cause barely any useful periphs 2013-04-18T03:16:39 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Excess Flood] 2013-04-18T03:19:32 < zippe1> R0b0t1: lpc8xx 2013-04-18T03:19:49 < zippe1> They have an 8-pin DIP Cortex-M0 2013-04-18T03:20:19 < zippe1> Some more useful parts in 16- and 20-pin SMD packages 2013-04-18T03:21:06 < zippe1> In most cases, cheap means volume 2013-04-18T03:21:24 < zippe1> e.g. I'm seeing an lpc18xx-derived custom part going for under a buck 2013-04-18T03:21:32 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-18T03:21:55 < zippe1> But you have to buy in 500k+ quantities to get that pricing. 2013-04-18T03:22:00 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Excess Flood] 2013-04-18T03:25:00 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-18T03:26:38 < dongs> o did they do a dip8? 2013-04-18T03:26:42 < dongs> i remember someone had a dip20 or so 2013-04-18T03:27:10 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has joined ##stm32 2013-04-18T03:27:44 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has quit [Client Quit] 2013-04-18T03:30:04 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has joined ##stm32 2013-04-18T03:39:12 < zippe1> Yeah, they do 2013-04-18T03:39:20 < gxti> hilarious 2013-04-18T03:40:03 < zippe1> http://www.nxp.com/products/microcontrollers/cortex_m0_m0/LPC810M021FN8.html 2013-04-18T03:41:01 < zippe1> $0.51 in 5k quantities 2013-04-18T03:41:38 < gxti> no 8-soic but there's a 16-tssop 2013-04-18T03:42:05 < zippe1> Yeah, I think the DIP8 is a 555 replacement 2013-04-18T03:44:21 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2013-04-18T03:44:43 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 245 seconds] 2013-04-18T03:48:32 < R0b0t1> A 555 with I2C interface. 2013-04-18T03:51:28 -!- shiftplusone [~Shift@unaffiliated/shiftplusone] has quit [Quit: ZNC - http://znc.in] 2013-04-18T03:51:46 -!- shiftplusone [~Shift@unaffiliated/shiftplusone] has joined ##stm32 2013-04-18T03:56:37 < R0b0t1> input pattern match engine...? 2013-04-18T03:58:43 < zippe1> complex wakeup trigger 2013-04-18T03:58:56 < R0b0t1> Dual core M4/M0, cool 2013-04-18T03:59:02 < R0b0t1> ah lawd the shiny 2013-04-18T03:59:23 < R0b0t1> Quite literally could've solved so many issues with some of this shit 2013-04-18T03:59:24 * R0b0t1 flips table 2013-04-18T04:01:07 -!- PaulFertser [paul@2001:470:26:54b:250:70ff:fee7:41ec] has quit [Ping timeout: 264 seconds] 2013-04-18T04:08:20 < gxti> something smells like magic smoke but i didn't do it 2013-04-18T04:10:45 < R0b0t1> Also I must ask 2013-04-18T04:10:50 < R0b0t1> No QFN from NXP? 2013-04-18T04:11:50 -!- PaulFertser [paul@2001:470:26:54b:250:70ff:fee7:41ec] has joined ##stm32 2013-04-18T04:14:32 < R0b0t1> Ah 2013-04-18T04:14:35 < R0b0t1> very little QFN 2013-04-18T04:20:29 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-232-128.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-04-18T04:21:16 -!- PaulFertser [paul@2001:470:26:54b:250:70ff:fee7:41ec] has quit [Ping timeout: 245 seconds] 2013-04-18T04:22:02 -!- PaulFertser [paul@2001:470:26:54b:250:70ff:fee7:41ec] has joined ##stm32 2013-04-18T04:31:38 < dongs> fuck qfn 2013-04-18T04:35:24 < inca> zlog: talk to me 2013-04-18T04:35:24 < zlog> inca: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2013-04-17.html 2013-04-18T04:39:10 < dongs> inca: noone missed you except Tectu 2013-04-18T04:41:44 < inca> let it be known that the micrel ksz8041 is equivalent to the LAN8700 in stm32_eth.h 2013-04-18T04:41:59 < inca> for lwip etc. 2013-04-18T04:42:22 < inca> because irc logs on freenode are the best documentation STM will ever have 2013-04-18T04:42:56 -!- PaulFertser [paul@2001:470:26:54b:250:70ff:fee7:41ec] has quit [Ping timeout: 245 seconds] 2013-04-18T04:49:19 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-18T05:00:20 -!- PaulFertser [paul@2001:470:26:54b:250:70ff:fee7:41ec] has joined ##stm32 2013-04-18T05:24:39 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-18T05:28:43 -!- PaulFertser [paul@2001:470:26:54b:250:70ff:fee7:41ec] has quit [Ping timeout: 264 seconds] 2013-04-18T05:29:18 -!- PaulFertser [paul@2001:470:26:54b:250:70ff:fee7:41ec] has joined ##stm32 2013-04-18T06:03:33 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Ping timeout: 240 seconds] 2013-04-18T06:05:33 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Ping timeout: 240 seconds] 2013-04-18T06:08:14 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-18T06:08:46 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2013-04-18T06:14:18 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-04-18T06:26:21 -!- Vutral [ss@vutral.net] has joined ##stm32 2013-04-18T06:26:21 -!- Vutral [ss@vutral.net] has quit [Changing host] 2013-04-18T06:26:21 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-18T06:26:25 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Excess Flood] 2013-04-18T06:32:52 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-18T06:49:37 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-18T06:49:46 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-18T07:03:57 -!- BJfreeman [~bjfree@12.sub-75-196-29.myvzw.com] has quit [Quit: had a good time] 2013-04-18T07:12:42 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Ping timeout: 264 seconds] 2013-04-18T07:18:57 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-18T07:21:45 < Devilholk> Morning 2013-04-18T07:22:30 < Devilholk> Why do I get "memory input 0 is not directly addressable"? buf is a char buf[1024]. Code: __asm__ __volatile__ ( "BL %0"::"m"(buf) ); 2013-04-18T07:22:51 < Devilholk> So basically I want to branch to the code stored in buf 2013-04-18T07:24:06 < dongs> looks like youre hacking 2013-04-18T07:24:23 -!- baird [~cjb@ppp121-44-71-45.lns20.syd6.internode.on.net] has joined ##stm32 2013-04-18T07:24:29 < Devilholk> I just want to try this for fun. I want to send data from the PC to RAM and execute it as code 2013-04-18T07:25:02 < Devilholk> I was going to execute BX LR just to see that it doesn't freak out 2013-04-18T07:25:09 < Devilholk> And then maybe toggle a GPIO 2013-04-18T07:25:21 < Devilholk> I just need to figure out how I BL to the code 2013-04-18T07:29:33 < Devilholk> If only I had longer beard 2013-04-18T07:32:51 < Devilholk> If I try with *buf instead I get /tmp/ccf4rVvX.s:433: Error: garbage following instruction -- `bl [sp,#8]' 2013-04-18T07:33:02 < Devilholk> It also says I'm missing a ] o.O 2013-04-18T07:33:33 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-18T07:36:58 < gsmcmullin> Devilholk: Why don't you just buf(); 2013-04-18T07:37:15 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has quit [Ping timeout: 276 seconds] 2013-04-18T07:37:38 < Devilholk> gsmcmullin: buf is a char array 2013-04-18T07:38:26 < Devilholk> I got it to compile finally 2013-04-18T07:38:31 < gsmcmullin> cast it 2013-04-18T07:38:34 < Devilholk> Time to test, it will never work 2013-04-18T07:38:44 < Devilholk> I just wanted to BL there 2013-04-18T07:38:45 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has joined ##stm32 2013-04-18T07:39:05 < Devilholk> Because then I can use BX LR to return without having to take care of C's calling convention 2013-04-18T07:39:22 -!- R2COM1 [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-18T07:39:53 < Devilholk> I think it worked! 2013-04-18T07:41:00 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-04-18T07:43:05 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 256 seconds] 2013-04-18T07:56:48 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has quit [Ping timeout: 245 seconds] 2013-04-18T07:58:18 -!- talsit [~talsit@KD182249174094.au-net.ne.jp] has joined ##stm32 2013-04-18T08:05:14 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-04-18T08:05:40 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2013-04-18T08:05:58 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 245 seconds] 2013-04-18T08:06:49 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has joined ##stm32 2013-04-18T08:15:57 < Devilholk> Actually it didnt 2013-04-18T08:16:07 < Devilholk> Maybe I should try casting 2013-04-18T08:37:30 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Read error: Operation timed out] 2013-04-18T08:41:00 -!- gsmcmullin [~gareth@c-76-21-106-184.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 2013-04-18T08:44:05 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2013-04-18T08:48:46 -!- talsit [~talsit@KD182249174094.au-net.ne.jp] has quit [Ping timeout: 245 seconds] 2013-04-18T09:14:46 -!- R2COM1 [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-18T09:25:55 -!- pelrun [~James@203-206-187-234.perm.iinet.net.au] has joined ##stm32 2013-04-18T09:33:35 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-04-18T09:38:46 < pelrun> trying to convert a gerber layer to an svg... and I end up with a low-res PNG embedded in an SVG 2013-04-18T09:38:55 < pelrun> NO, BAD PROGRAM, BAD 2013-04-18T09:45:45 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-18T09:46:37 < emeb_mac> Here's one for karlp: http://news.cnet.com/8301-17938_105-57580072-1/app-lets-icelanders-know-if-theyre-about-to-bjork-a-cousin/ 2013-04-18T09:50:30 < |akaWolf|> irssi... 2013-04-18T09:58:13 -!- dekar_ [~dekar@212.255.39.139] has joined ##stm32 2013-04-18T09:58:14 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-04-18T10:00:50 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-04-18T10:01:50 -!- dekar [~dekar@212.255.239.68] has quit [Ping timeout: 256 seconds] 2013-04-18T10:12:14 < jpa-> pelrun: that's gerbv for you :) 2013-04-18T10:14:17 < pelrun> bingo XD 2013-04-18T10:15:14 < pelrun> instead I've somehow managed to get an emf file and imported that into inkscape. O_o 2013-04-18T10:15:45 < pelrun> interesting thing is I looked at the gerbv code and all the svg generation is done in cairo 2013-04-18T10:15:49 < pelrun> so it's cairo's fault 2013-04-18T10:15:52 < pelrun> which is insane 2013-04-18T10:17:24 -!- talsit [~talsit@061196237171.cidr.odn.ne.jp] has joined ##stm32 2013-04-18T10:21:53 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-04-18T10:36:28 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-18T10:40:51 -!- Laurenceb_ [~Laurence@host86-177-58-207.range86-177.btcentralplus.com] has joined ##stm32 2013-04-18T10:43:28 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-04-18T10:44:25 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-18T10:53:10 < dongs> http://i.imgur.com/3T4OXih.jpg sup 2013-04-18T11:05:18 -!- Laurenceb_ [~Laurence@host86-177-58-207.range86-177.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-18T11:10:53 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-18T11:11:31 < pelrun> dongs: osd board? 2013-04-18T11:13:03 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 245 seconds] 2013-04-18T11:18:29 -!- pelrun [~James@203-206-187-234.perm.iinet.net.au] has quit [Ping timeout: 256 seconds] 2013-04-18T11:24:26 -!- sterna1 [~Adium@d83-183-118-166.cust.tele2.se] has joined ##stm32 2013-04-18T11:40:50 -!- dekar_ [~dekar@212.255.39.139] has quit [Quit: This computer has gone to sleep] 2013-04-18T11:43:00 < ABLomas> dongs: looks good, 2 inputs or three? =) 2013-04-18T11:44:08 < ABLomas> oh i see already, 3 2013-04-18T11:44:13 < ABLomas> cool 2013-04-18T11:58:29 -!- mtbg [~mtbg@89-77-192-170.dynamic.chello.pl] has joined ##stm32 2013-04-18T11:58:33 < mtbg> hi 2013-04-18T11:59:24 -!- sterna1 [~Adium@d83-183-118-166.cust.tele2.se] has quit [Quit: Leaving.] 2013-04-18T12:07:52 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-04-18T12:17:52 -!- dekar [~dekar@studpool-wlan-75-71.fs.fbi.h-da.de] has joined ##stm32 2013-04-18T12:17:55 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-18T12:20:22 < talsit> has anyone used the ublox modules? 2013-04-18T12:20:45 -!- dekar [~dekar@studpool-wlan-75-71.fs.fbi.h-da.de] has quit [Client Quit] 2013-04-18T12:22:56 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Read error: Connection reset by peer] 2013-04-18T12:26:21 -!- sterna1 [~Adium@dhcp-188221.eduroam.chalmers.se] has joined ##stm32 2013-04-18T12:32:42 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-04-18T12:32:46 < dongs> sure 2013-04-18T12:32:48 < dongs> who hasnt 2013-04-18T12:33:13 < talsit> I2C, SPI or UART? 2013-04-18T12:33:53 < talsit> i want to use it in SPI mode, but it's not very fast (max 200Hz), and from what i'm reading, their SPI implementation is crapola 2013-04-18T12:33:59 < dongs> uart of course 2013-04-18T12:34:05 < dongs> why would you use it in any other way 2013-04-18T12:34:09 < talsit> i dislike uart 2013-04-18T12:34:16 < dongs> so you'd rather do MORE work? 2013-04-18T12:34:24 < dongs> with DMA, you just set the shit up and pull data from buffers 2013-04-18T12:34:26 < dongs> its basically free 2013-04-18T12:34:29 < dongs> (on uart) 2013-04-18T12:34:43 < Laurenceb> wow 2013-04-18T12:34:47 < talsit> because i want to get things that i ask for 2013-04-18T12:34:56 < Laurenceb> that picture in picture thing is epic 2013-04-18T12:34:57 < talsit> not get it to shove data down my dma 2013-04-18T12:34:59 < Laurenceb> cheap? 2013-04-18T12:35:08 < dongs> Laurenceb: yeah its worthless cuz its been discontinued liek a decade ago 2013-04-18T12:35:11 < dongs> lol 2013-04-18T12:35:16 < dongs> i just made a breakout so i can dick with it 2013-04-18T12:35:19 < Laurenceb> lolz 2013-04-18T12:35:20 < dongs> gonna see if i can make it work 2013-04-18T12:35:42 < Laurenceb> can i take PAL input? 2013-04-18T12:35:43 < dongs> china has a bunch of old stock though, PRE-ROHS 2013-04-18T12:35:44 < dongs> yes 2013-04-18T12:35:47 < dongs> it autodetects 2013-04-18T12:35:49 < dongs> pal/ntsc 2013-04-18T12:35:57 < Laurenceb> nice 2013-04-18T12:36:04 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 272 seconds] 2013-04-18T12:36:13 < dongs> it even does that french secam crap 2013-04-18T12:36:18 < dongs> i dont think anyoen evne uses that anymore 2013-04-18T12:38:16 -!- talsit [~talsit@061196237171.cidr.odn.ne.jp] has left ##stm32 [] 2013-04-18T12:53:24 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:345a:c1eb:dc64:be07] has joined ##stm32 2013-04-18T12:57:00 < karlp> are these gps modules any use? http://www.gpskit.nl/gps-readme.html 2013-04-18T12:57:08 < karlp> a friend just scored a hundred or so of them 2013-04-18T12:57:16 < karlp> his work is shutting down 2013-04-18T12:57:32 < karlp> or are they seriously old and shit? 2013-04-18T12:59:15 < dongs> 4800 baud output? 2013-04-18T12:59:18 < dongs> souhds mega trash 2013-04-18T12:59:22 < dongs> its probably liek 1Hz or something 2013-04-18T12:59:26 < dongs> and only 12 channel? 2013-04-18T12:59:32 < dongs> arent most receivers like 60+ channels no w 2013-04-18T13:00:24 < dongs> $PRWIRID,12,01.80,11/26/97,0003,*42 2013-04-18T13:00:25 < dongs> lol 2013-04-18T13:00:27 < dongs> 1997?? 2013-04-18T13:00:30 < dongs> yeah awesome tech 2013-04-18T13:00:42 < dongs> it'd probably cost more to dispose of those 100 2013-04-18T13:02:50 < Laurenceb> lolzorz 2013-04-18T13:02:54 < Laurenceb> 4chan got pwned 2013-04-18T13:03:01 < Laurenceb> http://cdn.theatlanticwire.com/img/upload/2013/04/17/rendered/d5bfa8404a2561ffaf52a631555d9bff_640x483.jpg 2013-04-18T13:03:21 < dongs> i dont get it 2013-04-18T13:03:25 < karlp> I dont either 2013-04-18T13:03:30 < karlp> what are we looking at? 2013-04-18T13:03:35 < Laurenceb> guy 4chan say is the bomber is int he after shot 2013-04-18T13:03:39 < Laurenceb> *in the 2013-04-18T13:03:45 < dongs> so 2013-04-18T13:03:49 < dongs> why wouldnt he be there 2013-04-18T13:03:51 < Laurenceb> on right of bottom image 2013-04-18T13:03:54 < dongs> he didnt suiciderate 2013-04-18T13:04:01 < Laurenceb> he still has the "bomb" 2013-04-18T13:04:04 < dongs> oh. 2013-04-18T13:04:07 < dongs> ok wahtever 2013-04-18T13:04:13 < Laurenceb> guy in red shirt and blue jacket 2013-04-18T13:04:20 < Laurenceb> 4chan failed epically 2013-04-18T13:05:37 < karlp> and how on earth are we meant to see any of that from the picture you sent? 2013-04-18T13:06:08 < Laurenceb> this needs to be made into a demotivational poster for why 4chan fail 2013-04-18T13:06:13 < karlp> man, emeb joined just to spam me, then left before I could reply 2013-04-18T13:08:09 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-18T13:08:09 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-18T13:08:09 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-18T13:08:12 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-18T13:10:08 < zyp> karlp, I bet he did that on purpose 2013-04-18T13:14:21 < karlp> far too early in the morning for me to have been awake 2013-04-18T13:15:12 < zyp> well, now it's far too early in the morning for him to be awake 2013-04-18T13:33:25 -!- Mobyfab_ [Mobyfab@2a01:e35:8a10:c580:345a:c1eb:dc64:be07] has joined ##stm32 2013-04-18T13:36:41 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:345a:c1eb:dc64:be07] has quit [Ping timeout: 246 seconds] 2013-04-18T13:57:06 < baird> The embest F4Disco cmaera module finally arrived. One dickcam coming right up. 2013-04-18T13:58:09 <+Steffanx> baird do you adapt your language to this channel or do you really talk like that? Anyway. What's the plan? 2013-04-18T13:58:24 -!- CRF_Peter [~Peter@dhcp-185232.eduroam.chalmers.se] has joined ##stm32 2013-04-18T13:59:12 <+Steffanx> 1.3MP, you cant even store one frame in ram to do something fancy :( 2013-04-18T14:00:34 < baird> Looking at the datasheet, the cam does RGR565, which can be fed directly to the LCD-- and then that can be used for jpeg encoding, POI detection, etc. 2013-04-18T14:02:01 <+Steffanx> Uh? You'll try to use the lcd as 'external memory' ? 2013-04-18T14:02:16 < baird> It'll werk. 2013-04-18T14:03:31 < dongs> haha 2013-04-18T14:04:51 < baird> Think of it as a 320x240 camera with 4x zoom.. 2013-04-18T14:05:13 < dongs> baird: http://www.flir.com/uploadedfiles/Eurasia/MMC/Cores/CC_0024_APAC.pdf get one of these connected to lcd 2013-04-18T14:05:18 < dongs> its only 4.2k 2013-04-18T14:07:02 < baird> Could make us of the microsd parts on the embest board, too.. 2013-04-18T14:07:46 < baird> Neat, IR. 2013-04-18T14:08:03 < baird> ... "Low power consumption: ~1W" 2013-04-18T14:08:35 < dongs> at 3.3V no less. 2013-04-18T14:08:36 <+Steffanx> @ 5V that's not that much 2013-04-18T14:08:41 <+Steffanx> oh 3.3 ok 2013-04-18T14:09:45 <+Steffanx> time to Image 2s .. as in 0.5fps? 2013-04-18T14:09:55 < dongs> no 2013-04-18T14:10:06 < dongs> thats power up, no? 2013-04-18T14:10:09 < dongs> its like 10hz or something 2013-04-18T14:10:15 <+Steffanx> oh, of course. 2013-04-18T14:10:28 < dongs> firmware locked to 9hz for export 2013-04-18T14:10:33 < dongs> milfags can get it at 30hz 2013-04-18T14:10:54 <+Steffanx> lol 2013-04-18T14:11:07 <+Steffanx> Get one and hack it. 2013-04-18T14:11:15 < dongs> ya lemme get right on that 2013-04-18T14:11:24 < dongs> i called a jap place selling the se just for lulz 2013-04-18T14:11:33 < dongs> ~2 months lead time (1 month of that to do license/export paperwork) 2013-04-18T14:11:35 < dongs> and 4.2k$ 2013-04-18T14:13:17 < baird> Get a regular cmos camera and replace the IR filter with a visible filter.. 2013-04-18T14:29:34 -!- dekar [~dekar@dslb-188-107-192-144.pools.arcor-ip.net] has joined ##stm32 2013-04-18T14:29:35 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-18T14:30:55 < Laurenceb> wooow 2013-04-18T14:30:57 * Laurenceb wants 2013-04-18T14:31:15 < Laurenceb> " Get a regular cmos camera and replace the IR filter with a visible filter.." 2013-04-18T14:31:18 < Laurenceb> epic fail 2013-04-18T14:31:21 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Ping timeout: 252 seconds] 2013-04-18T14:31:59 < Laurenceb> CMOs cuts off around 1micron 2013-04-18T14:32:08 < Laurenceb> thermal IR is like 10 micron 2013-04-18T14:33:54 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2013-04-18T14:51:44 -!- _BJFreeman [~bjfree@37.sub-75-196-14.myvzw.com] has joined ##stm32 2013-04-18T14:52:19 -!- _BJFreeman is now known as BJfreeman 2013-04-18T14:54:43 -!- mtbg [~mtbg@89-77-192-170.dynamic.chello.pl] has quit [Quit: Konversation terminated!] 2013-04-18T14:59:20 -!- capacitors [~capacitor@123-243-139-187.tpgi.com.au] has joined ##stm32 2013-04-18T14:59:33 -!- CRF_Peter [~Peter@dhcp-185232.eduroam.chalmers.se] has quit [Ping timeout: 256 seconds] 2013-04-18T15:13:04 -!- capacitors [~capacitor@123-243-139-187.tpgi.com.au] has quit [Quit: ya] 2013-04-18T15:19:19 <+Steffanx> Retweet: http://www.pcbweb.com/ .. yet another online schematic/pcb tool 2013-04-18T15:20:00 <+Steffanx> Ok, forget about it. "Sorry, this browser does not support Microsoft Silverlight. Please use either Firefox or Safari" 2013-04-18T15:20:10 -!- pelrun [~James@60-241-99-33.static.tpgi.com.au] has joined ##stm32 2013-04-18T15:21:30 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-18T15:23:38 < donigs> lfamo 2013-04-18T15:23:59 <+Steffanx> http://www.pcbweb.com/pcb-client/new ( no need to register at all it seems ) 2013-04-18T15:24:51 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 2013-04-18T15:25:01 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-18T15:41:51 -!- BJfreeman [~bjfree@37.sub-75-196-14.myvzw.com] has quit [Quit: had a good time] 2013-04-18T15:42:46 < cTn> it uses silversh1t ? 2013-04-18T15:43:05 < cTn> "poor" them 2013-04-18T15:45:09 -!- BJfreeman [~bjfree@37.sub-75-196-14.myvzw.com] has joined ##stm32 2013-04-18T15:45:33 -!- BJfreeman is now known as Guest14164 2013-04-18T15:45:43 -!- Guest14164 [~bjfree@37.sub-75-196-14.myvzw.com] has quit [Client Quit] 2013-04-18T15:46:30 -!- _BJFreeman [~bjfree@37.sub-75-196-14.myvzw.com] has joined ##stm32 2013-04-18T15:51:38 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 255 seconds] 2013-04-18T15:52:41 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-18T16:14:10 < gxti> not interested in web cad to begin with, but web cad using plugins is just sad 2013-04-18T16:14:36 <+Steffanx> Yeah, makes it kinda useles 2013-04-18T16:14:53 < gxti> might as well just make it a desktop app, people would like it more 2013-04-18T16:14:56 <+Steffanx> No, useless isn't the right word 2013-04-18T16:15:22 <+Steffanx> It's useless to make it a 'browser based' app, when it's just silverlight 2013-04-18T16:16:08 <+Steffanx> That probably makes it windows only, unless it's supported by mono 2013-04-18T16:26:39 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 245 seconds] 2013-04-18T16:27:27 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-18T16:35:55 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 256 seconds] 2013-04-18T16:39:59 -!- CRF_Peter [~Peter@dhcp-188120.eduroam.chalmers.se] has joined ##stm32 2013-04-18T16:46:01 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-18T16:47:45 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 252 seconds] 2013-04-18T16:48:18 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-18T17:01:19 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 260 seconds] 2013-04-18T17:01:57 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-18T17:13:55 < zyp> fucking shitty leds 2013-04-18T17:14:32 < zyp> who the fuck makes leds with the substrate on the anode? 2013-04-18T17:14:40 < zyp> fuck 2013-04-18T17:15:00 < zyp> i just finished assembling some bullshit, and I put all the leds in the wrong way 2013-04-18T17:17:16 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 272 seconds] 2013-04-18T17:17:52 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-18T17:18:17 < zyp> and this is all pth bullshittery 2013-04-18T17:20:26 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Quit: leaving] 2013-04-18T17:20:51 <+Steffanx> Someone's mad :D 2013-04-18T17:21:56 < zyp> you bet 2013-04-18T17:22:33 < zyp> if I weren't paid to make this it would have gone right into the thrash now 2013-04-18T17:23:19 <+Steffanx> Not out of the window? 2013-04-18T17:23:27 < zyp> thrash is closer 2013-04-18T17:23:29 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-18T17:24:54 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-18T17:25:23 < karlp> huh, I've never looked at the substrate to decide which way round they go. 2013-04-18T17:26:36 < zyp> good, then you don't have to fuck up like this 2013-04-18T17:26:49 <+Steffanx> What do you look at? Flat side? Longer 'leg'? 2013-04-18T17:27:07 <+Steffanx> or do you measure them all? :) 2013-04-18T17:27:09 <+Steffanx> *test 2013-04-18T17:27:37 < zyp> I'm too lazy to remember which side were flat or which leg were longer, but usually the substrate sits on the cathode 2013-04-18T17:29:31 < zyp> I noticed something was weird when I was about to mount the final led, of another color, and then it suddenly the opposite leg were longer 2013-04-18T17:31:03 < gxti> so you ignored the two normal ways of identifying LED polarity and it didn't work 2013-04-18T17:32:27 < gxti> with surface mount it's all bullshit and two almost identical parts from the same manufacturer can have opposite markings, let alone substrate, but with PTH there's no excuse :p 2013-04-18T17:32:28 < donigs> huh dip leds have longer leg 2013-04-18T17:32:32 < donigs> and/or notch in one of the legs 2013-04-18T17:34:05 <+Steffanx> So there are actually 3 ways :) 2013-04-18T17:34:30 < gxti> two. longer leg, or flag side. 2013-04-18T17:34:31 <+Steffanx> 4 when you add zyp's method 2013-04-18T17:34:34 < gxti> flat* 2013-04-18T17:34:47 <+Steffanx> Ad that notch dongs mentioned. 2013-04-18T17:35:02 < gxti> i guess? 2013-04-18T17:35:12 < gxti> there's a longer leg anyway why look for a notch 2013-04-18T17:35:25 <+Steffanx> No, this ir LED i have here has that on both legs 2013-04-18T17:35:41 < gxti> unless you're salvaging 5 cent parts like flyback 2013-04-18T17:35:48 < gxti> and the leads have already been clipped 2013-04-18T17:39:26 < dongs> haha flyback 2013-04-18T18:04:15 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-04-18T18:05:54 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-04-18T18:06:11 < trepidaciousMBR> Anyone know whether I can disable DMA for USART in chibios? 2013-04-18T18:30:03 < jpa-> IIRC chibios has two USART drivers 2013-04-18T18:30:34 < jpa-> 'serial' and 'uart' 2013-04-18T18:31:02 < jpa-> 'uart' uses DMA, 'serial' uses just interrupts 2013-04-18T18:37:24 -!- daku is now known as DaKu 2013-04-18T18:37:28 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-18T18:40:26 < ABLomas> i need hot air nozzle to unsolder f103ct6 chip, something like this one: http://www.madelltech.com/images/m315.jpg 2013-04-18T18:40:28 < gxti> yep, if you want to do printf type stuff you want serial 2013-04-18T18:40:43 < ABLomas> anyone could confirm dimensions? I think i need 9x9mm, right? 2013-04-18T18:40:48 < ABLomas> or smaller 8x8mm? 2013-04-18T18:41:57 <+Steffanx> It should be pretty well doable to do it without a special/square-ish nozzle. 2013-04-18T18:42:20 < ABLomas> ys, with needle 2013-04-18T18:42:25 < gxti> quite doable but i imagine it takes longer 2013-04-18T18:42:51 < ABLomas> but i got hot air gun, just need to buy nozzle 2013-04-18T18:43:02 < gxti> why don't you read the datasheet to see how big the packages are? 2013-04-18T18:43:07 < ABLomas> i did 2013-04-18T18:43:09 < ABLomas> 8x8 2013-04-18T18:43:27 < ABLomas> but i do not know how bigger should be nozzle to work with it 2013-04-18T18:43:32 < ABLomas> never used it 2013-04-18T18:44:03 < ABLomas> 8x8 should be perfect fit, but usually contacts are something like 0.5mm to sides... 2013-04-18T18:46:12 < dongs> i have a bunch of those and i never used htem. 2013-04-18T18:46:28 < emeb> I don't think that the hot air requires such precise measurements. It does expand out 2013-04-18T18:48:09 < ABLomas> i do not have any nozzles 2013-04-18T18:48:20 < ABLomas> but anyway 2013-04-18T18:48:39 < ABLomas> will order 10x10mm, it's smallest i found without much searching 2013-04-18T18:49:02 < PaulFertser> Even without nozzles you can just heat it up if you're careful enough to not touch other components. 2013-04-18T18:50:04 < ABLomas> sure, i did that before 2013-04-18T18:50:09 < ABLomas> resoldered i mean 2013-04-18T18:50:12 < ABLomas> not a problem 2013-04-18T18:50:18 < ABLomas> just wanted to to it "right way" 2013-04-18T18:50:21 < ABLomas> =) 2013-04-18T18:53:02 < dongs> if theres pinheaders nearby that fucks them right up 2013-04-18T18:53:08 < dongs> shit melts and smells like dong 2013-04-18T18:53:44 < ABLomas> no, i took them out already 2013-04-18T18:53:47 < ABLomas> heh 2013-04-18T18:53:53 < ABLomas> took 3mm round nozzle 2013-04-18T18:54:09 < ABLomas> perfect! Unsoldered, no pads damaged or combined up, everything looks OK 2013-04-18T18:54:26 < ABLomas> so probably that 10x10mm won't be needed 2013-04-18T19:00:27 -!- luke1 [~luke@cnh195149223242.pppoe.surfer.cnh.at] has joined ##stm32 2013-04-18T19:03:02 -!- Luggi09 [~luke@cnh8092116116.pppoe.surfer.cnh.at] has quit [Ping timeout: 252 seconds] 2013-04-18T19:04:08 -!- _BJFreeman [~bjfree@37.sub-75-196-14.myvzw.com] has quit [Ping timeout: 252 seconds] 2013-04-18T19:04:34 -!- luke1 [~luke@cnh195149223242.pppoe.surfer.cnh.at] has quit [Ping timeout: 245 seconds] 2013-04-18T19:05:01 -!- BJfreeman [~bjfree@76.sub-75-233-218.myvzw.com] has joined ##stm32 2013-04-18T19:05:09 < trepidaciousMBR> jpa-: Ah great, that will help a lot, thanks :) 2013-04-18T19:05:24 -!- BJfreeman is now known as Guest69380 2013-04-18T19:05:50 < trepidaciousMBR> jpa-: I was also wondering whether it was possible to use ADCs without DMA? They all seem to be on DMA2, so they conflict with DCMI due to enormously irritating errata 2013-04-18T19:06:20 < jpa-> yeah.. it is a horrible horrible errata 2013-04-18T19:06:41 -!- Guest69380 [~bjfree@76.sub-75-233-218.myvzw.com] has quit [Client Quit] 2013-04-18T19:07:04 -!- _BJFreeman [~bjfree@76.sub-75-233-218.myvzw.com] has joined ##stm32 2013-04-18T19:07:06 < jpa-> the chibios adc driver does only DMA, but you can always write your own code for it 2013-04-18T19:07:23 < jpa-> though be aware that you won't get any high samplerates without DMA 2013-04-18T19:08:43 < trepidaciousMBR> jpa-: I'm thinking I'll be reading 2 channels at something like 500Hz each, does that sound feasible? 2013-04-18T19:08:54 < jpa-> yeah, should be fine 2013-04-18T19:09:50 < jpa-> the interrupt overhead is like 24 cycles IIRC, so you waste about that much per each sample 2013-04-18T19:13:15 -!- Posterdati [~antani@host163-225-dynamic.10-87-r.retail.telecomitalia.it] has joined ##stm32 2013-04-18T19:17:37 -!- luke1 [~luke@cnh195149223242.pppoe.surfer.cnh.at] has joined ##stm32 2013-04-18T19:33:24 -!- luke1 is now known as Luggi09 2013-04-18T19:34:32 < emeb> Or you could just poll. 2013-04-18T19:35:02 < jpa-> yeah, though poll at 500Hz is a bit annoying already 2013-04-18T19:35:16 < qyx_> ur use dma 2013-04-18T19:35:24 < jpa-> qyx_: can't use dma 2013-04-18T19:35:26 < qyx_> ah, said nothing 2013-04-18T19:35:27 < Devilholk> I am trying to run code from RAM but fail miserably. Any suggestions? Am I calling it correctly at row 254? http://paste.debian.net/250316/ 2013-04-18T19:35:28 < jpa-> because F4 sucks 2013-04-18T19:35:30 < qyx_> just reading 2013-04-18T19:35:34 < Devilholk> This is a STM32F100C6 2013-04-18T19:36:26 < jpa-> Devilholk: you need +1 2013-04-18T19:36:32 < jpa-> to mark thumb mode 2013-04-18T19:36:47 < Devilholk> I am not exactly sure what thumb mode is to be honest 2013-04-18T19:36:53 < jpa-> it's the only mode 2013-04-18T19:37:13 < Devilholk> Where do you mean I need +1? 2013-04-18T19:37:25 < jpa-> on cortex-m3.. but because ARM wants to keep consistent instruction set, every jump address on cortex-m3 must have lowest bit set to 1, even though it really is 0 2013-04-18T19:38:02 < Devilholk> so injection = buf+1? 2013-04-18T19:38:03 -!- barthess [~barthess@5.100.201.67] has joined ##stm32 2013-04-18T19:38:09 < Devilholk> I'll try it right away 2013-04-18T19:38:24 < gxti> not sure how calling from C might affect that 2013-04-18T19:38:25 < jpa-> humm 2013-04-18T19:38:33 < jpa-> maybe (void*)buf + 1 2013-04-18T19:38:45 < jpa-> because otherwise it will add 4 bytes because it is int* 2013-04-18T19:39:53 < Devilholk> I should verify that my data input is correct 2013-04-18T19:40:24 < Devilholk> But assuming it is, this didn't work, it just becomes unresponsive when I try to execute 00007047 (BX LR) 2013-04-18T19:40:26 < qyx_> i think linker handles that correctly 2013-04-18T19:40:49 < jpa-> Devilholk: put a breakpoint in your hardfault handler 2013-04-18T19:42:05 < Devilholk> jpa-: I don't have anything to debug with for the moment 2013-04-18T19:42:14 -!- barthess1 [~barthess@77.67.170.143] has joined ##stm32 2013-04-18T19:42:20 < Devilholk> But I figured I should put some labels in there and read the lst-files 2013-04-18T19:42:43 -!- barthess1 [~barthess@77.67.170.143] has quit [Client Quit] 2013-04-18T19:43:31 < jpa-> Devilholk: then put some debug printfs in your hardfault handler.. like this https://github.com/PetteriAimonen/dso-quad-logic/blob/master/DS203/Interrupt.c#L68 2013-04-18T19:44:19 < trepidaciousMBR> jpa-: I'll have a go with interrupts then, doesn't sound too bad. 2013-04-18T19:44:41 < jpa-> trepidaciousMBR: if it was an issue, you could probably do timer-triggered DMA on DMA1 2013-04-18T19:45:13 < jpa-> trepidaciousMBR: also for your 2 channels, use the injected conversion.. that way you have two registers to hold your results 2013-04-18T19:45:28 -!- barthess [~barthess@5.100.201.67] has quit [Ping timeout: 272 seconds] 2013-04-18T19:46:31 < trepidaciousMBR> jpa-: Yeah I read the DMA section of the reference manual and got quite confused by that - would it be possible to set up a read of both channels then just come back later and grab them? I already have a 500Hz thread running, so if it can do a "retrieve reading, trigger new conversion" thing that would be great 2013-04-18T19:46:33 < Devilholk> Apparently labels in c-files does not end up in .lst-files 2013-04-18T19:46:38 < Laurenceb> http://blogs-images.forbes.com/samanthasharf/files/2012/12/ny-post-cover.jpg 2013-04-18T19:51:21 < Devilholk> Hehe, had to shake my board to see if it blinked in my hardfault panic routine 2013-04-18T19:51:37 < Devilholk> Apparently I could not use delay function using systick when hardfault occured 2013-04-18T19:52:00 < zyp> of course not 2013-04-18T19:52:05 < karlp> hehe 2013-04-18T19:52:17 < Devilholk> Well, I am not sure what happens when hardfault is detected or what causes it 2013-04-18T19:52:18 < zyp> hardfault has the highest priority handler 2013-04-18T19:52:18 < karlp> I did that, tried to use systick derived delays in an ISR 2013-04-18T19:52:20 < Devilholk> Have to read up on that 2013-04-18T19:52:45 < zyp> the systick handler can't execute when the hardfault handler is active 2013-04-18T19:52:54 < Devilholk> zyp: Oh, right, that makes sense 2013-04-18T19:53:41 < Devilholk> I wonder if I can do something evil like modify my return address from hardfault and vector in to some function to be called when hardfault is detected 2013-04-18T19:53:50 < Devilholk> Though that may leave stuff on the stack 2013-04-18T19:56:52 < Devilholk> I musst google evil UTF-8 cats to have in my hardfault handlers debug output 2013-04-18T19:58:35 < Laurenceb> http://www.theonion.com/articles/breaking-the-onion-in-kill-range-of-boston-bomber,32087/ 2013-04-18T20:02:02 < jpa-> trepidaciousMBR: you could just use the injected conversion mode then 2013-04-18T20:02:24 < jpa-> trepidaciousMBR: the injected ADC mode can store up to 4 results in separate registers 2013-04-18T20:02:40 < trepidaciousMBR> jpa-: That sounds like exactly what I need :) 2013-04-18T20:03:03 < emeb> +1 for injected mode 2013-04-18T20:03:27 < emeb> I've used that on an F100 to good effect - 4 digitized values w/o any DMA required. 2013-04-18T20:03:35 < zyp> so have I 2013-04-18T20:04:08 -!- baird [~cjb@ppp121-44-71-45.lns20.syd6.internode.on.net] has quit [Ping timeout: 246 seconds] 2013-04-18T20:05:05 < emeb> Only thing I've noticed about injected mode is that it doesn't auto restart - you have to go back an turn it on after it's completed a full cycle. 2013-04-18T20:06:16 < Laurenceb> yeah 2013-04-18T20:06:57 < jpa-> emeb: you can trigger it on timer, though 2013-04-18T20:07:10 < emeb> true 2013-04-18T20:07:28 < emeb> but it's pretty simple to kick it off after using the collected values. 2013-04-18T20:08:16 < jpa-> yeah; the timer trigger is useful if you want to always have the newest values there, ready to read 2013-04-18T20:08:36 < Laurenceb> blerg 2013-04-18T20:08:58 * Laurenceb needs to sleep 2013-04-18T20:11:34 -!- zlog [~zlog@ip68-102-203-6.ks.ok.cox.net] has quit [Ping timeout: 256 seconds] 2013-04-18T20:13:10 -!- dekar [~dekar@dslb-188-107-192-144.pools.arcor-ip.net] has quit [Ping timeout: 248 seconds] 2013-04-18T20:13:17 -!- zlog [~zlog@ip68-102-203-6.ks.ok.cox.net] has joined ##stm32 2013-04-18T20:15:14 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Read error: Operation timed out] 2013-04-18T20:17:50 -!- gsmcmullin [~gareth@c-76-21-106-184.hsd1.ca.comcast.net] has joined ##stm32 2013-04-18T20:18:05 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-18T20:19:52 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-18T20:19:53 < Robint91> hi all 2013-04-18T20:22:39 < Laurenceb> hi 2013-04-18T20:22:44 < Laurenceb> are you any good with matlab? 2013-04-18T20:23:18 < Robint91> Laurenceb, a little 2013-04-18T20:23:40 < Laurenceb> know how i can use a vector to index a matrix? 2013-04-18T20:25:33 < Robint91> Laurenceb, let me see 2013-04-18T20:26:07 < emeb> a single vector? 2013-04-18T20:26:13 < Laurenceb> yes 2013-04-18T20:26:20 < Laurenceb> a vector of indices 2013-04-18T20:26:29 < Laurenceb> M(indices,:) 2013-04-18T20:26:34 < Laurenceb> kind of thing... 2013-04-18T20:26:44 < Laurenceb> so i have say 2,4,6,8 2013-04-18T20:26:52 < Devilholk> I just had to. http://imagebin.org/index.php?mode=image&id=254513 2013-04-18T20:26:57 <+Steffanx> a([2,4,5],[1,3]) is valid afaik 2013-04-18T20:27:07 <+Steffanx> or isnt [xxxx] a vector in matlab? 2013-04-18T20:27:10 < Laurenceb> i want M(2,1),M(4,2) etc 2013-04-18T20:27:18 < Devilholk> Now I need to do the boring things, dump registers and stuff 2013-04-18T20:27:54 <+Steffanx> lol Devilholk 2013-04-18T20:27:54 < emeb> a 2D matrix can be indexed as a 1D vector 2013-04-18T20:28:01 < Laurenceb> num2cell? 2013-04-18T20:28:03 < Robint91> sub2ind 2013-04-18T20:28:19 < Devilholk> We must not forget ANSI in these times with window managers and stuff ^^ 2013-04-18T20:28:24 < emeb> example: suppose x = [1 2 ; 3 4] 2013-04-18T20:28:31 < emeb> y = [1 2 3 4]; 2013-04-18T20:28:38 < emeb> x(y) = 1 3 2 4 2013-04-18T20:29:09 < Laurenceb> i see 2013-04-18T20:29:36 < Laurenceb> i might be able to wiorj this out 2013-04-18T20:29:59 < Laurenceb> my touch typing sucks 2013-04-18T20:30:28 <+Steffanx> [19:08:58] * Laurenceb needs to sleep 2013-04-18T20:30:33 < Laurenceb> trying to do 2D CLEAN 2013-04-18T20:30:40 < Laurenceb> yeah i was in board meetings all day 2013-04-18T20:30:57 < Laurenceb> *bored* 2013-04-18T20:31:20 <+Steffanx> And you celebrate that by giving us the ##stm32-crap :( 2013-04-18T20:32:00 < emeb> Steffanx gives us an example of what it looks like when young guys shake their canes. 2013-04-18T20:32:22 < Laurenceb> lol 2013-04-18T20:34:26 < Robint91> Laurenceb, http://pastebin.com/txwwwd23 outputs http://pastebin.com/BP0EhLJA 2013-04-18T20:34:57 < Laurenceb> i see 2013-04-18T20:35:22 -!- TitanMKD [~Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-18T20:35:48 < Tectu> how does one handle unconnected pins in KiCAD schematics? 2013-04-18T20:38:32 < jpa-> put the unconnected symbol on the pin if you want it to pass ERC without warning 2013-04-18T20:38:48 < Tectu> yeah, I am searching for that one 2013-04-18T20:38:52 < Tectu> may you tell me where I find it? 2013-04-18T20:38:54 < jpa-> it's right on the toolstrip 2013-04-18T20:39:03 < jpa-> the X 2013-04-18T20:39:13 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Quit: trepidaciousMBR] 2013-04-18T20:39:28 < Tectu> hah, thanks! 2013-04-18T20:40:23 < Tectu> another one... when I do the ERC, I get some "pin is not driven" at some of the lines I connected to the GND symbol 2013-04-18T20:40:55 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-18T20:43:17 < jpa-> yeah.. you need a power flag on the gnd.. to be proper, it should probably be where the power comes in 2013-04-18T20:44:46 < Tectu> what's a power flag? I just used the GND symbols I got from "power" 2013-04-18T20:45:27 < jpa-> it's a kicad thingy :) 2013-04-18T20:46:01 < jpa-> its purpose is to verify that each of the power nets is fed from somewhere.. i.e. that you don't just happily connect your microprocessor to +3.3V symbol and forget to supply power 2013-04-18T20:46:02 < Tectu> but wait... I have the GND symbol from "place a component" but I see that below is "place a power port" <---- is this what you mean? and why are there both? 2013-04-18T20:46:11 < Tectu> ah 2013-04-18T20:46:16 < jpa-> there is not really difference between those two buttons 2013-04-18T20:46:17 < Tectu> and how do I place one? 2013-04-18T20:46:31 < jpa-> add pwr_flag component 2013-04-18T20:47:37 < Tectu> ah 2013-04-18T20:47:42 < Tectu> do I have to modify it or just add it to the net? 2013-04-18T20:48:04 < Rickta59> quit 2013-04-18T20:48:05 < Robint91> I HATE TI CC55xx ASM 2013-04-18T20:48:06 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Quit: leaving] 2013-04-18T20:48:17 < Robint91> really WTF are all those instructions 2013-04-18T20:48:18 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-18T20:49:47 < jpa-> Tectu: just add 2013-04-18T20:50:17 < Tectu> jpa-, I thank you very much for your help! 2013-04-18T20:50:26 < jpa-> jab you too 2013-04-18T20:50:34 < Tectu> jpa-, do you use to place power symbols or just use labels? 2013-04-18T20:50:47 < jpa-> i use power symbols 2013-04-18T20:51:13 < jpa-> atleast for the most common power rails 2013-04-18T20:51:24 < jpa-> USB VBUS etc. special i sometimes just make labels 2013-04-18T20:52:09 < Tectu> do you use +3.3V or VDD/VSS etc? 2013-04-18T20:52:28 < jpa-> usually +3.3V etc.. 2013-04-18T20:52:35 < Tectu> k 2013-04-18T20:52:47 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Ping timeout: 259 seconds] 2013-04-18T20:53:12 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-04-18T20:54:26 < Tectu> +12C/F/FL/P what are those letters? 2013-04-18T20:54:31 < Tectu> and where's the V? -.- 2013-04-18T20:55:33 < jpa-> cocks, floppy cocks, floppy long cocks, penis 2013-04-18T20:55:39 < jpa-> vagina not included 2013-04-18T20:56:07 < jpa-> i do have +12V symbol, though 2013-04-18T20:59:20 < Tectu> found it indeed 2013-04-18T20:59:29 < Tectu> also, wtf - never expected such a thing from you 2013-04-18T21:00:18 < jpa-> wait, you didn't? 2013-04-18T21:00:23 < jpa-> Steffanx: did you? 2013-04-18T21:22:06 -!- DaKu is now known as daku 2013-04-18T21:22:53 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Ping timeout: 240 seconds] 2013-04-18T21:23:35 -!- _BJFreeman is now known as BJfreeman 2013-04-18T21:28:42 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-232-128.clienti.tiscali.it] has joined ##stm32 2013-04-18T21:42:54 < Tectu> jpa-, so you used to use KiCAD and now you use Eagle? 2013-04-18T22:03:26 -!- theAdib [~adib@dslb-088-074-139-195.pools.arcor-ip.net] has joined ##stm32 2013-04-18T22:05:55 < jpa-> Tectu: no i used to use eagle and now i use kicad 2013-04-18T22:07:47 < Tectu> but your eInk PCB was eagle, no? 2013-04-18T22:07:59 < Tectu> ah no, that was some board of zyp afaik 2013-04-18T22:11:02 < zyp> may be, I've only done eagle so far 2013-04-18T22:17:47 -!- Nutter [Nutter@199-195-151-246.dyn.novuscom.net] has quit [] 2013-04-18T22:20:00 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 264 seconds] 2013-04-18T22:23:51 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Ping timeout: 276 seconds] 2013-04-18T22:45:55 < Tectu> it was your grey "discovery board" 2013-04-18T22:45:59 < Tectu> the one with the GPS and the xilinx 2013-04-18T22:47:08 < Tectu> that one with 390 pads :P 2013-04-18T22:52:10 < zyp> hah 2013-04-18T22:52:43 <+Steffanx> Tectu digged into his logs? :) 2013-04-18T22:54:25 < Tectu> s/log/brain 2013-04-18T23:08:19 -!- Laurenceb_ [~Laurence@host86-177-58-207.range86-177.btcentralplus.com] has joined ##stm32 2013-04-18T23:13:00 -!- Posterdati [~antani@host163-225-dynamic.10-87-r.retail.telecomitalia.it] has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/] 2013-04-18T23:18:35 -!- Nutter [Nutter@199-195-151-246.dyn.novuscom.net] has joined ##stm32 2013-04-18T23:21:33 -!- TitanMKD [~Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [Ping timeout: 252 seconds] 2013-04-18T23:22:08 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-18T23:24:22 < Tectu> i'm doing hard trying to figure out what actually are the differences between Cortex-M3 and M4 2013-04-18T23:27:50 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-04-18T23:33:34 -!- daku is now known as DaKu 2013-04-18T23:39:36 < Robint91> Tectu, DSP and FPU instructions 2013-04-18T23:39:45 < TitanMKD> and also special instructions 2013-04-18T23:39:52 < TitanMKD> rev16 2013-04-18T23:39:58 < TitanMKD> rbit 2013-04-18T23:40:16 < TitanMKD> and MPU 2013-04-18T23:40:24 < Tectu> the Cortex-M4 has an MPU? 2013-04-18T23:40:34 < Tectu> STM32F407 for example? 2013-04-18T23:40:35 < TitanMKD> not all but they often have 2013-04-18T23:40:39 < TitanMKD> yes it has 2013-04-18T23:40:59 < Tectu> oh 2013-04-18T23:41:01 < TitanMKD> like LPC43xx 2013-04-18T23:41:10 < Tectu> aaah, MPU, yes, but no MMU, right? 2013-04-18T23:41:15 < TitanMKD> no MMU 2013-04-18T23:41:19 < Tectu> the MPU is just to protect memory? 2013-04-18T23:41:29 < Tectu> while MMU does alloc() free() etc in hardware? 2013-04-18T23:41:39 < TitanMKD> yes as there is no virtual <-> physical feature 2013-04-18T23:42:03 < Tectu> while hardware MMU gives you a virtual address space? 2013-04-18T23:42:22 < TitanMKD> there is also special "MMU" slot for that which could be useful 2013-04-18T23:42:46 < TitanMKD> it is used at boot to map an addr xx to addr 0 2013-04-18T23:43:19 < Tectu> that features brings the MPU? 2013-04-18T23:43:20 < TitanMKD> so MPU + that feature could do a hacked MMU ;) 2013-04-18T23:43:27 < Tectu> heh 2013-04-18T23:43:40 < Tectu> but also, how comes that all M3 are half the speed than M4? 2013-04-18T23:43:48 < Tectu> M4 is the same core - just extended functionallities? 2013-04-18T23:43:57 < TitanMKD> M4 have lot of stuff done in 1cycles too 2013-04-18T23:44:01 < TitanMKD> it is the most fastest 2013-04-18T23:44:09 < Tectu> zyp, are you there? 2013-04-18T23:44:12 < gxti> because m4 is manufactured and validated to a higher standard 2013-04-18T23:44:21 < Tectu> I see 2013-04-18T23:44:22 < TitanMKD> anyway M4 is just a mist 2013-04-18T23:44:24 < TitanMKD> must 2013-04-18T23:44:33 < TitanMKD> M0+ is also very good for low end 2013-04-18T23:44:37 < gxti> you could make m0 go at 1ghz with a sufficiently fast process (in theory) 2013-04-18T23:44:49 < Tectu> but not an M3? 2013-04-18T23:45:29 < gxti> sure 2013-04-18T23:45:33 < gxti> it's all just logic. in theory. 2013-04-18T23:46:01 < TitanMKD> also it wil need 22nm ;) 2013-04-18T23:46:24 < TitanMKD> or 28nm 2013-04-18T23:46:47 < TitanMKD> and a rebuild of the whole peripherals ;) 2013-04-18T23:46:51 < gxti> smaller process isn't so directly correlated with higher speed, although at some point time-of-flight matters 2013-04-18T23:48:48 < TitanMKD> anyway R4/R5 are better for that purpose 2013-04-18T23:48:58 < TitanMKD> up to 600Mhz or more 2013-04-18T23:49:18 < TitanMKD> and keep low latency / realtime feature of CortexM 2013-04-18T23:49:43 < TitanMKD> for info R4/R5 are used in SSD controller 2013-04-18T23:50:18 < TitanMKD> they clearly help reaching more than 400MB/s ;) 2013-04-18T23:50:30 -!- Mobyfab_ [Mobyfab@2a01:e35:8a10:c580:345a:c1eb:dc64:be07] has quit [Quit: Leaving] 2013-04-18T23:55:10 -!- Posterdati [~antani@host163-225-dynamic.10-87-r.retail.telecomitalia.it] has joined ##stm32 --- Day changed Fri Apr 19 2013 2013-04-19T00:00:22 < zyp> Tectu, no 2013-04-19T00:00:26 < zyp> well, yeah 2013-04-19T00:00:39 < zyp> what's up? 2013-04-19T00:00:42 -!- DaKu is now known as daku 2013-04-19T00:01:12 < Tectu> zyp, na, I finally understand why SDRAM doesn't work on FSMC 2013-04-19T00:01:23 < Tectu> zyp, http://www.digikey.com/product-detail/en/IS61WV51216BLL-10TLI/706-1107-ND/1831376 2013-04-19T00:01:38 < ds2> who said SDRAM should ever work on the FSMC?! 2013-04-19T00:01:50 < Tectu> ds2, no one, I just thought it would 2013-04-19T00:02:17 < ds2> oh :) 2013-04-19T00:02:18 < zyp> Tectu, that chip should work nicely 2013-04-19T00:02:25 < zyp> since it's SRAM 2013-04-19T00:02:29 < Tectu> so the SRAM I have here has an upper and a lower byte control input (it is 512K * 16). does FSMC drive them or do you just select the mode once and hard wire them? 2013-04-19T00:02:34 < Tectu> ds2, I'm sorry ;-9 2013-04-19T00:02:41 < zyp> yes 2013-04-19T00:02:46 < ds2> Tectu: look at the STEVAL board schematics 2013-04-19T00:03:36 * Tectu is looking 2013-04-19T00:03:42 < ds2> which chip, btw? 2013-04-19T00:03:57 < Tectu> ds2, STM32F407 2013-04-19T00:04:07 < Tectu> ds2, SRAM I'd take this: http://www.digikey.com/product-detail/en/IS61WV51216BLL-10TLI/706-1107-ND/1831376 2013-04-19T00:04:15 < ds2> ah F4's 2013-04-19T00:04:23 < ds2> I have something similar working on a F1 2013-04-19T00:04:32 < Tectu> ds2, can you share something? 2013-04-19T00:04:40 < Tectu> zyp, but I see that the FSMC interface has bits for high and low byte control 2013-04-19T00:04:45 < ds2> anything specific? 2013-04-19T00:05:02 < ds2> the entire board is based off of the STEVAL board for the F1 2013-04-19T00:05:10 < zyp> Tectu, NBL0 and NBL1 signals 2013-04-19T00:05:14 < ds2> even used the same chipselect so it'll get mapped to the same place 2013-04-19T00:05:57 < ds2> zyp: did your LPC board w/DRAM work? 2013-04-19T00:06:06 < Tectu> zyp, yes, but you said hardwire is good? 2013-04-19T00:06:14 < zyp> Tectu, huh? 2013-04-19T00:06:27 < zyp> you have to wire them up properly 2013-04-19T00:06:34 < ds2> Tectu: what are you trying to run that needs the extra memory? 2013-04-19T00:06:37 < Tectu> zyp, "...does FSMC drive them or do you just select the mode once and hard wire them?" you answered "yes" :P 2013-04-19T00:06:43 < zyp> Tectu, they are used when you do 8-bit writes 2013-04-19T00:06:48 < Tectu> ds2, double buffering a large screen 2013-04-19T00:06:50 < zyp> yes as in «FSMC drives them» 2013-04-19T00:06:53 < Tectu> ds2, and some video input 2013-04-19T00:06:56 < Tectu> zyp, okay, thanks 2013-04-19T00:07:22 < zyp> Tectu, the memory is 16 bits wide, when you want to write only 8 bits you have to signal which of those 16 bits to write 2013-04-19T00:07:31 < zyp> and each of those lines enable 8 bits 2013-04-19T00:07:39 < ds2> ah 2013-04-19T00:07:40 < zyp> 32-bit wide memory has four of those lines 2013-04-19T00:08:21 < Tectu> can you then actually but two 8-bit values side by side? 2013-04-19T00:08:22 < zyp> otherwise the memory would overwrite the other 8 bits with garbage when you are doing 8-bit writes 2013-04-19T00:08:31 < zyp> of course. 2013-04-19T00:08:34 < Tectu> that's nice 2013-04-19T00:08:42 < zyp> that's how memory works. 2013-04-19T00:09:11 < zyp> when you are doing larger writes, you write the full 16 bits at a time 2013-04-19T00:09:12 < Tectu> good that I learn it now ;) 2013-04-19T00:09:30 < ds2> just use 8bit memory 2013-04-19T00:09:33 < ds2> ;) 2013-04-19T00:09:38 < Tectu> lolwhat? 2013-04-19T00:09:45 < ds2> avoids that whole mess 2013-04-19T00:10:09 < Tectu> but performance? 2013-04-19T00:10:15 < zyp> if you want you can use two 8-bit chips wired in parallel, then just AND the byte select lines with each chip enable :p 2013-04-19T00:10:20 < Tectu> does the ChipSelect require a pull-up? olimex has one there o.O 2013-04-19T00:10:25 < Tectu> ah, of course it does... 2013-04-19T00:10:51 < ds2> it shouldn't 2013-04-19T00:10:54 < zyp> hmm, that's probably just for reset 2013-04-19T00:11:02 < zyp> since it will be floating after reset 2013-04-19T00:11:05 < Tectu> should I put one or not? 2013-04-19T00:11:06 < ds2> but you don't care about results across resets 2013-04-19T00:11:16 < Tectu> yeah, it's volatile memory, no? 2013-04-19T00:11:26 < ds2> if you got room, why not? :D 2013-04-19T00:11:28 < Tectu> or is it non-volatile? I mean it loses the content 2013-04-19T00:11:47 < zyp> you might want it to not enable output drivers 2013-04-19T00:12:11 < zyp> especially if you have several devices on the bus 2013-04-19T00:13:42 < ds2> in that case isn't it easier to put it on /WR? 2013-04-19T00:13:55 < zyp> dunno 2013-04-19T00:13:56 < ds2> oops, /RD 2013-04-19T00:13:59 < zyp> read the datasheet 2013-04-19T00:14:09 < ds2> that's the only one that would drive it from the memory side 2013-04-19T00:15:12 < Tectu> ds2, do you use KiCAD? >-< 2013-04-19T00:15:19 < Tectu> how does one move just the text of a component 2013-04-19T00:15:22 < ds2> Tectu: nope. Eagle only. 2013-04-19T00:17:48 -!- Laurenceb_ [~Laurence@host86-177-58-207.range86-177.btcentralplus.com] has quit [Ping timeout: 272 seconds] 2013-04-19T00:34:50 < Tectu> what does one do with the PDR_ON on an STM32F407 again? 2013-04-19T00:35:27 < zyp> depends on package and possibly revision :p 2013-04-19T00:35:35 < Tectu> lol? 2013-04-19T00:35:40 < zyp> yep. 2013-04-19T00:35:49 < Tectu> I have the STM32F407ZGT6 2013-04-19T00:36:00 < zyp> that's 144pin? 2013-04-19T00:36:13 < Tectu> yes 2013-04-19T00:36:21 < zyp> good, then just read the datasheet 2013-04-19T00:36:30 < zyp> it's the 100pin that you have to be careful about 2013-04-19T00:36:40 < Tectu> ah, it's datasheet, not RM 2013-04-19T00:36:44 < Tectu> always the same shit I screw up 2013-04-19T00:36:46 < zyp> because some revision wants it connected to vcc and some to gnd 2013-04-19T00:36:58 < Tectu> the same chip, same package? wtf? 2013-04-19T00:37:02 < Tectu> how does one know what to do then? 2013-04-19T00:37:27 < zyp> well, just assume you get the latest revision, I guess 2013-04-19T00:37:34 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-19T00:37:58 < zyp> I've only designed with the 64pin variant, which doesn't even have the PDR_ON signal 2013-04-19T00:38:12 < zyp> so I don't know firsthand 2013-04-19T00:38:27 < Tectu> as I can see, the PDR_ON is the inhibit for the interal VREG? 2013-04-19T00:38:39 < Tectu> 2013-04-19T00:38:40 < Tectu> The regulator ON/internal reset ON mode is always enabled on LQFP64 and LQFP100 2013-04-19T00:38:40 < Tectu> package. 2013-04-19T00:38:40 < Tectu> On LQFP144 package, this mode is activated by setting PDR_ON to VDD. 2013-04-19T00:38:41 < Tectu> On UFBGA176 package, the internal regulator must be activated by connecting 2013-04-19T00:38:44 < Tectu> BYPASS_REG to VSS, and PDR_ON to VDD. 2013-04-19T00:38:46 < Tectu> On LQFP1 2013-04-19T00:38:47 < Tectu> 2013-04-19T00:38:49 < Tectu> what? :D 2013-04-19T00:39:18 < zyp> ah, so they don't even document it for the 100pin variant anymore 2013-04-19T00:39:29 < Tectu> so I just put mine to 3.3V? 2013-04-19T00:39:39 < zyp> probably 2013-04-19T00:39:43 < zyp> if that's what it says 2013-04-19T00:39:52 < Tectu> >.<$ 2013-04-19T00:40:37 < Tectu> I always search in the reference manual for such things 2013-04-19T00:40:38 < Tectu> that's not good 2013-04-19T00:41:18 -!- CRF_Peter [~Peter@dhcp-188120.eduroam.chalmers.se] has quit [Ping timeout: 256 seconds] 2013-04-19T00:42:07 < zyp> yeah, I checked the docs, you just connect it high 2013-04-19T00:43:05 < ds2> just connect it to both in your board 2013-04-19T00:43:11 < ds2> use a 0 ohm 2013-04-19T00:43:15 < ds2> populate it based on what you get 2013-04-19T00:43:25 < zyp> no point 2013-04-19T00:43:38 < ds2> thought it was variant dependant? 2013-04-19T00:43:44 < zyp> not 144pin 2013-04-19T00:43:48 < ds2> oh 2013-04-19T00:43:53 < Tectu> :) 2013-04-19T00:43:53 < zyp> and you won't get the old 100pin nowadays anyway 2013-04-19T00:44:16 < zyp> and even if you did, connecting it low on 100pin won't hurt much 2013-04-19T00:44:32 < ds2> ok 2013-04-19T00:44:44 < ds2> zyp: is the LPC board dead? 2013-04-19T00:45:13 < Tectu> I'm leavin, cu 2013-04-19T00:45:27 < zyp> ds2, no, I just haven't had time to play with it 2013-04-19T00:45:32 < ds2> oh 2013-04-19T00:46:55 < GargantuaSauce> https://www.youtube.com/watch?feature=player_embedded&v=qb7DN3kpl2o dongs it's about time you add some content to tarduino.cc 2013-04-19T00:55:32 -!- Laurenceb_ [~Laurence@host86-171-4-117.range86-171.btcentralplus.com] has joined ##stm32 2013-04-19T00:59:39 < Laurenceb_> any matlab gurus here? 2013-04-19T00:59:40 -!- sterna1 [~Adium@dhcp-188221.eduroam.chalmers.se] has quit [Quit: Leaving.] 2013-04-19T01:18:57 < mervaka> depends.. 2013-04-19T01:19:15 < mervaka> i'm staring at it now 2013-04-19T01:19:26 < mervaka> doesn't mean i can implement newton raphson :( 2013-04-19T01:19:34 < mervaka> else i'd be done with it 2013-04-19T01:23:08 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Read error: Connection reset by peer] 2013-04-19T01:28:20 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 256 seconds] 2013-04-19T01:49:20 < Laurenceb_> ok... kind of fixed my issue 2013-04-19T01:49:31 < Laurenceb_> http://pastebin.com/kCvatdLm <-- wtf 2013-04-19T01:49:56 < Laurenceb_> anyway 2013-04-19T01:49:59 * Laurenceb_ zzz 2013-04-19T01:53:04 -!- dekar [~dekar@212.255.39.139] has joined ##stm32 2013-04-19T01:53:04 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-19T01:55:20 -!- Laurenceb_ [~Laurence@host86-171-4-117.range86-171.btcentralplus.com] has quit [Ping timeout: 272 seconds] 2013-04-19T02:05:01 -!- theAdib [~adib@dslb-088-074-139-195.pools.arcor-ip.net] has quit [Quit: Ex-Chat] 2013-04-19T02:06:48 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Ping timeout: 245 seconds] 2013-04-19T02:07:56 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-19T02:07:56 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-19T02:07:56 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-19T02:09:10 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-19T02:09:10 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-19T02:09:10 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-19T02:09:13 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-19T02:19:42 -!- capacitors [~capacitor@123-243-139-187.tpgi.com.au] has joined ##stm32 2013-04-19T02:19:45 < capacitors> the ARM 2013-04-19T02:28:17 -!- capacitors [~capacitor@123-243-139-187.tpgi.com.au] has quit [Quit: ChatZilla 0.9.90 [Firefox 20.0.1/20130409194949]] 2013-04-19T02:36:50 < ds2> hmmm the DFBs on a PSoC looks nifty 2013-04-19T03:04:06 -!- phantoneD [~destroy@a95-92-85-217.cpe.netcabo.pt] has joined ##stm32 2013-04-19T03:08:00 -!- phantoxeD [~destroy@a95-92-85-217.cpe.netcabo.pt] has quit [Ping timeout: 260 seconds] 2013-04-19T03:15:43 < upgrdman> dfb? 2013-04-19T03:23:03 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-232-128.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2013-04-19T03:23:48 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Ping timeout: 256 seconds] 2013-04-19T03:43:13 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Ping timeout: 240 seconds] 2013-04-19T03:55:05 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-19T03:56:00 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-19T04:06:50 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-19T04:30:17 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-04-19T04:30:43 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-19T04:30:43 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-19T04:30:43 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-19T04:43:14 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-19T04:45:40 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-19T05:14:11 -!- BJfreeman [~bjfree@76.sub-75-233-218.myvzw.com] has quit [Quit: had a good time] 2013-04-19T06:19:21 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Quit: Leaving.] 2013-04-19T06:25:23 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Ping timeout: 246 seconds] 2013-04-19T06:29:53 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 240 seconds] 2013-04-19T06:30:58 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-19T06:43:35 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-19T06:48:20 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-19T06:48:28 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-19T06:48:53 -!- pelrun [~James@60-241-99-33.static.tpgi.com.au] has quit [Ping timeout: 245 seconds] 2013-04-19T06:51:18 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-19T06:59:36 < ds2> newer PSoC's don't use switch cap stuff 2013-04-19T07:12:38 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Ping timeout: 245 seconds] 2013-04-19T07:24:52 -!- pelrun [~James@203-206-187-234.perm.iinet.net.au] has joined ##stm32 2013-04-19T07:32:08 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 255 seconds] 2013-04-19T07:39:25 -!- R2COM1 [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-19T07:42:24 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 272 seconds] 2013-04-19T07:56:06 -!- R2COM1 is now known as R2COM 2013-04-19T08:03:06 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-19T08:21:19 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-04-19T08:23:56 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2013-04-19T09:30:40 -!- metaxa [metaxa@us.members.bombshellz.net] has quit [Read error: Operation timed out] 2013-04-19T09:32:54 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-04-19T09:33:26 -!- dekar [~dekar@212.255.39.139] has quit [Quit: This computer has gone to sleep] 2013-04-19T09:40:02 -!- metaxa [metaxa@us.members.bombshellz.net] has joined ##stm32 2013-04-19T09:40:07 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Ping timeout: 264 seconds] 2013-04-19T09:41:13 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2013-04-19T09:42:00 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-04-19T09:46:26 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Ping timeout: 256 seconds] 2013-04-19T09:47:11 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2013-04-19T09:50:03 -!- sterna1 [~Adium@dhcp-193223.eduroam.chalmers.se] has joined ##stm32 2013-04-19T09:52:50 -!- _BJFreeman [~bjfree@249.sub-75-233-204.myvzw.com] has joined ##stm32 2013-04-19T09:53:30 -!- _BJFreeman is now known as BJfreeman 2013-04-19T09:54:12 -!- mervaka [~mervaka@mervaka.co.uk] has quit [Read error: Operation timed out] 2013-04-19T10:01:29 -!- mervaka [~mervaka@mervaka.co.uk] has joined ##stm32 2013-04-19T10:02:10 -!- sterna2 [~Adium@dhcp-193223.eduroam.chalmers.se] has joined ##stm32 2013-04-19T10:02:11 -!- sterna1 [~Adium@dhcp-193223.eduroam.chalmers.se] has quit [Read error: Connection reset by peer] 2013-04-19T10:12:13 -!- CRF_Peter [~Peter@193.11.200.145] has joined ##stm32 2013-04-19T10:16:41 -!- dekar [~dekar@dslb-088-068-018-209.pools.arcor-ip.net] has joined ##stm32 2013-04-19T10:16:44 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-19T10:17:34 -!- CRF_Peter [~Peter@193.11.200.145] has quit [Ping timeout: 272 seconds] 2013-04-19T10:18:40 < pelrun> blargh I hate writing product manuals 2013-04-19T10:24:11 -!- baird [~cjb@ppp121-44-161-140.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-19T10:24:46 < dongs> sup clonechats 2013-04-19T10:31:39 < R2COM> time to sleep, get rest, tomorrow kick ass and win 2013-04-19T10:31:45 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-19T10:40:13 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-19T10:41:58 -!- baird [~cjb@ppp121-44-161-140.lns20.syd7.internode.on.net] has quit [Ping timeout: 258 seconds] 2013-04-19T10:41:58 -!- cjbaird [~cjb@ppp121-44-255-48.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-19T10:51:36 -!- cjbaird_ [~cjb@ppp121-44-139-146.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-19T10:52:00 -!- cjbaird [~cjb@ppp121-44-255-48.lns20.syd7.internode.on.net] has quit [Ping timeout: 276 seconds] 2013-04-19T11:00:07 -!- cjbaird_ [~cjb@ppp121-44-139-146.lns20.syd7.internode.on.net] has quit [Ping timeout: 256 seconds] 2013-04-19T11:00:13 -!- baird [~cjb@ppp121-44-142-241.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-19T11:08:50 -!- cjbaird [~cjb@ppp121-44-243-128.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-19T11:09:11 -!- baird [~cjb@ppp121-44-142-241.lns20.syd7.internode.on.net] has quit [Ping timeout: 256 seconds] 2013-04-19T11:25:38 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-19T11:27:41 -!- BJfreeman [~bjfree@249.sub-75-233-204.myvzw.com] has quit [Quit: had a good time] 2013-04-19T11:28:13 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Ping timeout: 240 seconds] 2013-04-19T11:48:23 -!- sterna2 [~Adium@dhcp-193223.eduroam.chalmers.se] has quit [Quit: Leaving.] 2013-04-19T11:52:10 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-19T11:52:13 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-19T11:54:49 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-19T12:06:32 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-04-19T12:07:00 -!- sterna1 [~Adium@dhcp-189128.eduroam.chalmers.se] has joined ##stm32 2013-04-19T12:13:25 -!- Erlkoenig [~erlkoenig@pptp-212-201-77-77.pptp.stw-bonn.de] has joined ##stm32 2013-04-19T12:16:21 -!- CRF_Peter [~Peter@dhcp-191209.eduroam.chalmers.se] has joined ##stm32 2013-04-19T12:21:07 <+dekar> 261: LOOP VECTORIZED. 2013-04-19T12:21:07 <+dekar> libtomcrypt-1.17/src/hashes/sha2/sha256.c:238: note: vectorized 1 loops in function. 2013-04-19T12:22:03 <+dekar> GCC auto vectorization for fpv4-sp-d16 (STM32F4) 2013-04-19T12:23:37 <+Steffanx> What kind of fancy/new gcc stuff is that dekar ? 2013-04-19T12:23:57 <+dekar> it has been around for quite a while actually 2013-04-19T12:25:33 <+dekar> http://gcc.gnu.org/projects/tree-ssa/vectorization.html 2013-04-19T12:28:14 <+Steffanx> And you used it for stm32 or .. ? 2013-04-19T12:29:28 <+dekar> yeah 2013-04-19T12:30:17 <+dekar> fpv4-sp-d16 is the STM32F4's vector unit 2013-04-19T12:30:55 < dongs> vectorizing dongs 2013-04-19T12:31:02 < dongs> more like reticulating splines 2013-04-19T12:31:22 <+Steffanx> How much 'speed' improvement do you get with that? 2013-04-19T12:31:28 <+dekar> vectorization allows to perform the same operation on multiple sets of data in the same clockcycle 2013-04-19T12:32:57 <+dekar> idk, my firmware barely uses sha256 anyway :) 2013-04-19T12:33:13 <+Steffanx> So you just use it because you can :) 2013-04-19T12:33:19 <+dekar> yeah 2013-04-19T12:34:23 <+dekar> but when using SSE/AVX you often get performance increases by 4 times or more 2013-04-19T12:36:00 -!- cjbaird is now known as baird 2013-04-19T12:36:05 -!- capacitors [~capacitor@123-243-139-187.tpgi.com.au] has joined ##stm32 2013-04-19T12:45:14 < Tectu> jpa-, in KiCAD, when I do the hirarchial thing, am I supposed to make connections between the different sheets on the root sheet? I just placed rectangles next to each other 2013-04-19T12:45:17 -!- Laurenceb_ [~Laurence@host86-171-4-117.range86-171.btcentralplus.com] has joined ##stm32 2013-04-19T12:46:42 < jpa-> Tectu: if you want 2013-04-19T12:46:47 < jpa-> you can use global labels also 2013-04-19T12:48:23 < Tectu> yeah, I did so 2013-04-19T12:48:27 < dongs> tectu, why the fuck are you using kikecad anyway 2013-04-19T12:50:27 < Erlkoenig> oh apropos CAD 2013-04-19T12:50:43 < Erlkoenig> anyone ever used Altium and the Altium License Server? 2013-04-19T12:50:56 < Erlkoenig> do you know whether it requires a UDP connection? 2013-04-19T12:52:20 < capacitors> i blew up stm32 2013-04-19T12:52:32 < qyx_> fireworks \o/ 2013-04-19T12:52:59 < capacitors> do you know good ASM tutorial page for stm32f4 2013-04-19T12:53:15 < capacitors> particularly configuring clock 2013-04-19T12:53:25 < Erlkoenig> you would have to look for ASM on ARMv7M 2013-04-19T12:53:50 < Erlkoenig> all examples for the STM32 are probably in C 2013-04-19T12:53:58 < Tectu> dongs, it's free and no restrictions and I'm a poor man 2013-04-19T12:54:29 < capacitors> i have no problem programming the ARM but its more of a peripheral configuration thing 2013-04-19T12:55:12 < Erlkoenig> then you just need to read the RM and examples about the Clock... 2013-04-19T12:55:22 < Erlkoenig> compile it and you have your ASM code :P 2013-04-19T12:55:30 < capacitors> lol true... i didn't think of that! 2013-04-19T12:55:42 < capacitors> i can just see the disassembly haha 2013-04-19T12:55:51 < Erlkoenig> why would you want to program in ASM instead of C?? 2013-04-19T12:56:01 < capacitors> have to for a course i'm enrolled in this semester 2013-04-19T12:56:19 < Erlkoenig> poor one... 2013-04-19T12:56:26 < capacitors> its not really a big issue 2013-04-19T12:56:55 < capacitors> once you learn one CPU the rest are similar enough 2013-04-19T12:57:17 < Erlkoenig> yes but the ARM ASM is not as easy as say AVR :D 2013-04-19T12:57:24 < capacitors> i like ARM asm so far 2013-04-19T12:57:35 < capacitors> so many registers 2013-04-19T12:57:36 < capacitors> lol 2013-04-19T13:07:35 < dongs> Erlkoenig: i use some russkie haxed altium wiht local license that doesnt need anything. 2013-04-19T13:07:55 < dongs> since I dont wanna pay $5k when its $1k for schematic/pcb cad and $4k for bullshit fpga compilers Ill never use 2013-04-19T13:08:38 <+Steffanx> Once i a while dongs actually says some wise words :P 2013-04-19T13:08:40 < Erlkoenig> dongs: we got a legal license for 5 users for free, but we don't want it to give it to the users, and just allow them to connect to the license server 2013-04-19T13:09:54 <+Steffanx> Isn't this really a case of trial and error Erlkoenig ? 2013-04-19T13:10:19 < Erlkoenig> yes but the trialing is a bit difficult in our setup :/ 2013-04-19T13:19:20 -!- Laurenceb_ [~Laurence@host86-171-4-117.range86-171.btcentralplus.com] has quit [Ping timeout: 272 seconds] 2013-04-19T13:23:26 < capacitors> the russian hackers 2013-04-19T13:24:22 -!- Steffann [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-19T13:24:26 -!- mode/##stm32 [+v Steffann] by ChanServ 2013-04-19T13:25:15 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Ping timeout: 258 seconds] 2013-04-19T13:28:22 < pelrun> we use altium at work, and I *could* use a hacked altium personally... but I'd rather just use kicad. 2013-04-19T13:28:48 < pelrun> eagle can piss right off though XD 2013-04-19T13:29:59 < zyp> 11:57:16 < Erlkoenig> yes but the ARM ASM is not as easy as say AVR :D 2013-04-19T13:30:01 < zyp> why not? 2013-04-19T13:30:14 < Erlkoenig> for reasons 2013-04-19T13:30:25 < zyp> then I'd like to hear those 2013-04-19T13:30:34 < Erlkoenig> too lazy 2013-04-19T13:30:54 < zyp> I'm inclined to argue that arm asm is easier than avr asm 2013-04-19T13:30:57 < pelrun> if it's not 6502 or pic assembly then it's good XD 2013-04-19T13:31:02 < Erlkoenig> just count the instructions and their functionality 2013-04-19T13:31:05 < pelrun> wait, 8051 asm is balls too 2013-04-19T13:31:25 < Erlkoenig> i am not saying ARM assembly is bad, i just say it's a bit difficult to get 2013-04-19T13:31:40 < capacitors> works for me 2013-04-19T13:32:48 < zyp> arm has one of the cleanest instruction sets I've ever seen 2013-04-19T13:33:22 < zyp> I'm not saying the avr instruction set is harder, it's just way more tedious and limited 2013-04-19T13:34:39 < zyp> just the inherent simplicity of working with 32-bit registers instead of having to bundle together 8-bit registers to make up larger variables makes arm simpler than avr 2013-04-19T13:34:49 < dongs> uhhh 2013-04-19T13:34:52 < dongs> arm asm > >>>> avr asm 2013-04-19T13:34:53 < karlp> why would you ever need a variable bigger than 8bits anyway? 2013-04-19T13:35:09 < zyp> :) 2013-04-19T13:35:20 < Erlkoenig> arm is simpler in use if you know all instructions, yes. however learning all AVR Instructions and how to use them is easier (also see: learning curve) 2013-04-19T13:35:32 < baird> VAx assembler was funky-- instructions for quad-float polynomial calculations and the like. 2013-04-19T13:36:15 < capacitors> i want to stm32 everything 2013-04-19T13:36:31 < capacitors> i was thinking of using an AVR for something but now i want to stm32f0 2013-04-19T13:36:38 < zyp> Erlkoenig, how so? achieving something in avr would require learning as many instructions as achieving something on arm would do 2013-04-19T13:38:19 < Erlkoenig> ah forget it, such stuff is not understandable by über-brains 2013-04-19T13:40:21 <+Steffann> That's a known issues Erlkoenig 2013-04-19T13:41:43 < zyp> my argument is that if you look at common instructions like loads/stores, bitwise and arithmetic operations, you'll probably find a 1:1 mapping between avr and arm 2013-04-19T13:42:02 < capacitors> only question is should I blow up my school 2013-04-19T13:42:22 <+Steffann> capacitors that's something we dont help you with 2013-04-19T13:42:50 < capacitors> yeah i suppose learning ARM assembler doesn't require such drastic actions 2013-04-19T13:43:11 -!- Erlkoenig [~erlkoenig@pptp-212-201-77-77.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-19T13:51:31 < capacitors> i downloaded the document on configuring the clock and its like 20 pages 2013-04-19T13:51:58 < zyp> which clock? 2013-04-19T13:52:07 < capacitors> stm32f4 2013-04-19T13:52:14 < zyp> again, which clock? 2013-04-19T13:52:25 < capacitors> there are several 2013-04-19T13:52:31 < zyp> exactly 2013-04-19T13:52:35 < capacitors> it deals with them all i guess 2013-04-19T13:52:48 < zyp> are you talking about the RCC chapter in RM0090? 2013-04-19T13:52:56 < pelrun> st is really helpful, they give you an excel document that calculates all the clocks 2013-04-19T13:52:58 < pelrun> :P 2013-04-19T13:53:07 < capacitors> ya im looking at the spreadsheet pelrun 2013-04-19T13:53:17 < pelrun> wish I could 2013-04-19T13:53:22 < capacitors> why cant you 2013-04-19T13:53:43 < capacitors> yeah i should get rm0090 printed 2013-04-19T13:53:54 < capacitors> oh 1422 pages, great 2013-04-19T13:54:23 < zyp> printed sounds like a hassle 2013-04-19T13:54:38 < capacitors> i hate reading pdfs 2013-04-19T13:54:55 < zyp> looking up stuff in a pdf is way faster than on paper 2013-04-19T13:55:05 < capacitors> i guess you're right... when there are that many pages lol 2013-04-19T13:55:32 < zyp> and if you hate reading pdf you probably just need a decent pdf reader 2013-04-19T13:55:37 < capacitors> adobe mate 2013-04-19T13:55:40 < capacitors> :D 2013-04-19T13:55:53 * capacitors awaits an incoming projectile 2013-04-19T13:56:06 < pelrun> because it doesn't work in google docs or libreoffice 2013-04-19T13:56:46 < pelrun> I was being sarcastic when I said st was helpful in providing it XD 2013-04-19T13:56:51 < capacitors> i can only use windows because i do not have a unix beard 2013-04-19T13:57:01 < capacitors> i assume the documentation they provide is complete 2013-04-19T13:57:07 < pelrun> I'm on windows too, I just don't want Office on my machine XD 2013-04-19T13:57:20 < capacitors> office is great it comes with a free botnet 2013-04-19T13:57:37 < capacitors> what else could you want 2013-04-19T13:58:44 < pelrun> the disk space it takes up, that's what I want 2013-04-19T13:59:35 < capacitors> how big is it? 2013-04-19T14:05:43 < capacitors> great illustration on page 116 of RM0090 2013-04-19T14:06:00 < capacitors> beautiful work 2013-04-19T14:08:00 < dongs> http://24.media.tumblr.com/7854c7908f8d05d2edc8c4ad971b6c46/tumblr_mlh703ydef1rruzmwo1_500.jpg attn zyp 2013-04-19T14:08:12 < capacitors> seems legit 2013-04-19T14:16:56 <+Steffann> You must feel proud you're able to find great images on the web dongs. 2013-04-19T14:17:29 < capacitors> It probably beats the illustrations in this reference manual 2013-04-19T14:41:36 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-19T14:43:04 -!- _BJFreeman [~bjfree@208.sub-75-233-194.myvzw.com] has joined ##stm32 2013-04-19T14:43:49 -!- _BJFreeman is now known as BJfreeman 2013-04-19T14:48:22 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-19T14:50:53 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 255 seconds] 2013-04-19T14:53:57 < Tectu> where does one find the schematics of the BMP? 2013-04-19T14:54:03 < Tectu> The official ones / working ones? 2013-04-19T14:54:48 < capacitors> whats a bmp 2013-04-19T14:56:29 < Laurenceb> british masturbation party 2013-04-19T14:56:56 < capacitors> nah seriously 2013-04-19T15:00:02 <+Steffann> on github Tectu 2013-04-19T15:00:21 <+Steffann> https://github.com/gsmcmullin/blackmagic/tree/master/hardware 2013-04-19T15:00:29 <+Steffann> capacitors, black magic probe 2013-04-19T15:03:08 < capacitors> interesting 2013-04-19T15:04:05 < karlp> huh, this usb 802.15.4 stick I just got,the rf transceiver and crystal are smaller than the crystal for the usb side. 2013-04-19T15:04:33 < karlp> fucking jumbotron 2013-04-19T15:04:43 < capacitors> jumbotron ey 2013-04-19T15:10:38 < BJfreeman> Steffann link got a 404 2013-04-19T15:10:46 < capacitors> worked for me 2013-04-19T15:11:00 < BJfreeman> must be my client then 2013-04-19T15:11:11 < capacitors> if you're referring to the link he recently posted of course 2013-04-19T15:12:31 < Laurenceb> looks like Boston bombers were MIT students 2013-04-19T15:12:53 < capacitors> they got them both? 2013-04-19T15:12:56 * Laurenceb makes note of this in case he needs to troll anyone from MIT 2013-04-19T15:13:00 < Laurenceb> nope, one 1 2013-04-19T15:13:02 < capacitors> i heard they had a shootout with one of them 2013-04-19T15:13:05 < capacitors> or something 2013-04-19T15:13:09 < Tectu> thanks Steffann 2013-04-19T15:13:09 < Laurenceb> yeah 2013-04-19T15:13:53 < BJfreeman> all of boston is locked down no school no public transportation 2013-04-19T15:14:02 < capacitors> crazy 2013-04-19T15:14:12 < BJfreeman> they been in country about 2 years 2013-04-19T15:14:24 < BJfreeman> think they are brothers 2013-04-19T15:14:30 < capacitors> where did they come from? 2013-04-19T15:14:36 < Laurenceb> they fail at engineering 2013-04-19T15:14:47 < Laurenceb> also at life 2013-04-19T15:14:52 < capacitors> yeah 2013-04-19T15:15:15 < BJfreeman> have not released where from but have released the name of the one alive 2013-04-19T15:16:12 < BJfreeman> the fire fight the kill the first one included them using granades on the police 2013-04-19T15:20:13 < Tectu> Steffann, seems to be eagle... could you export it into a PDF for me? 2013-04-19T15:20:49 <+Steffann> I thought he used kicad, but ok 2013-04-19T15:21:25 < BJfreeman> eagle used *.brd 2013-04-19T15:22:10 <+Steffann> ^^ Tectu 2013-04-19T15:23:42 -!- pelrun [~James@203-206-187-234.perm.iinet.net.au] has quit [Ping timeout: 258 seconds] 2013-04-19T15:29:54 < mervaka> glad the yanks hopefully can't blame muslims. 2013-04-19T15:30:14 < mervaka> else we'd be back to 2001 2013-04-19T15:30:15 -!- Amba [~vSbrC2hrf@83.136.246.214] has joined ##stm32 2013-04-19T15:30:19 < capacitors> ha 2013-04-19T15:31:46 <+Steffann> mervaka they can.. according to some vkontakte profile 2013-04-19T15:33:11 < BJfreeman> there is strife between muslims in the middle east, this is like the baptist and catholics at odds but more brutal 2013-04-19T15:33:59 <+Steffann> Anyway, don't you think this is not the channel to discussion religion and stuff? 2013-04-19T15:35:20 < BJfreeman> I generally go by if the channel is not active let it flow 2013-04-19T15:36:41 -!- capacitors is now known as capacitor 2013-04-19T15:37:26 < mervaka> turkish? BBC just confirmed they're russian 2013-04-19T15:41:19 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 264 seconds] 2013-04-19T15:41:32 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-19T15:44:00 < gxti> assume everything is bullshit until at least a few days have passed :p 2013-04-19T15:45:45 <+Steffann> vkontakte profiles do lie. Photoshop does though. 2013-04-19T15:48:12 <+Steffann> *don't 2013-04-19T15:48:19 < Amba> vk.com -- our Russian social network 2013-04-19T15:48:22 < Amba> :) 2013-04-19T15:48:35 <+Steffann> uhuh 2013-04-19T15:52:07 < talsit> i *hate* datasheets that forget to put one important measurement for footprint placement!!! 2013-04-19T15:52:59 < Amba> calmer, my friend, calmer :) 2013-04-19T15:53:52 < talsit> how am i supposed to place those 2 pads if i don't know how far to place them?! 2013-04-19T15:54:03 < Amba> xD 2013-04-19T15:54:10 < Amba> drink tea and write to tech support :) 2013-04-19T15:54:29 < talsit> on a friday night? 2013-04-19T15:54:33 < Amba> or buy the component and measure it. 2013-04-19T15:55:54 < Amba> talsit you have to wait a little.. :) 2013-04-19T15:56:15 < talsit> but, but... deadlines, milestones (all self-imposed) 2013-04-19T15:56:31 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-19T15:57:05 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Client Quit] 2013-04-19T15:57:15 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-19T15:58:49 < talsit> there are THREE measurements missing from this datasheet (so far) 2013-04-19T15:59:44 <+Steffann> What's the foot print for talsit ? 2013-04-19T16:01:14 < talsit> a microusb 2013-04-19T16:01:28 < talsit> socket 2013-04-19T16:01:44 < talsit> the pads on the bottom, as extra support 2013-04-19T16:01:54 < talsit> they don't tell you how far from the datum it is 2013-04-19T16:02:11 < capacitor> yeah it all sucks 2013-04-19T16:02:30 < qyx_> think positive 2013-04-19T16:02:35 < talsit> it kinda looks like the typical math homework: "And the rest, is left up as an excersice to the reader" 2013-04-19T16:02:50 < talsit> qyx_: i'm positive it sucks! 2013-04-19T16:04:03 < zyp> talsit, just make sure you have them, otherwise you'll rip it off your board 2013-04-19T16:04:49 < talsit> zyp: yeah, i can imagine :) 2013-04-19T16:05:43 < Laurenceb> http://plumpergeddon.tumblr.com/page/2 2013-04-19T16:07:13 -!- mode/##stm32 [+o Steffann] by ChanServ 2013-04-19T16:07:21 -!- mode/##stm32 [+b *!*@*.eee.nottingham.ac.uk] by Steffann 2013-04-19T16:07:34 -!- mode/##stm32 [-b *!*@*.eee.nottingham.ac.uk] by Steffann 2013-04-19T16:07:45 -!- mode/##stm32 [+b *!*laurence@*.eee.nottingham.ac.uk] by Steffann 2013-04-19T16:08:06 -!- mode/##stm32 [-o Steffann] by ChanServ 2013-04-19T16:09:00 -!- Laurenceb [~laurence@vlsi1.eee.nottingham.ac.uk] has left ##stm32 [] 2013-04-19T16:09:17 < capacitor> lol 2013-04-19T16:10:37 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:ed1b:9b9c:1d18:737] has joined ##stm32 2013-04-19T16:12:31 -!- laurenceb_ [80f3fd66@gateway/web/freenode/ip.128.243.253.102] has joined ##stm32 2013-04-19T16:12:31 < talsit> what was that about? 2013-04-19T16:12:41 -!- laurenceb_ is now known as Troll 2013-04-19T16:12:46 -!- Troll is now known as Troll_ 2013-04-19T16:12:55 < Troll_> trololololo 2013-04-19T16:13:16 * talsit gets his answer 2013-04-19T16:16:02 -!- daku [~DaKu@2a01:4f8:100:5323:0:bc28:d18c:9] has quit [Remote host closed the connection] 2013-04-19T16:22:08 -!- Troll_ [80f3fd66@gateway/web/freenode/ip.128.243.253.102] has quit [Ping timeout: 245 seconds] 2013-04-19T16:22:12 < dongs> what 2013-04-19T16:22:28 < dongs> hat hahahhepeaehepen 2013-04-19T16:23:45 < Tectu> is it possible to have two instances of KiCAD schematics open at a time and use dual screen setup to watch two sheets? 2013-04-19T16:32:15 < capacitor> classic 2013-04-19T16:35:19 -!- daku [DaKu@dakus.dk] has joined ##stm32 2013-04-19T16:35:36 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 264 seconds] 2013-04-19T16:35:57 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-19T16:43:53 -!- daku is now known as DaKu 2013-04-19T16:47:20 -!- capacitor [~capacitor@123-243-139-187.tpgi.com.au] has left ##stm32 [] 2013-04-19T16:51:58 -!- blargggg [80f3fd66@gateway/web/freenode/ip.128.243.253.102] has joined ##stm32 2013-04-19T16:52:14 -!- blargggg is now known as Laurenceb_ 2013-04-19T16:54:26 <+dekar> my new PC: https://dl.dropboxusercontent.com/u/28467113/IMG_20130419_152605.jpg 2013-04-19T16:54:32 <+dekar> compiles TNT even faster :D 2013-04-19T16:54:55 < dongs> thats fucking horrible 2013-04-19T16:54:59 < dongs> niggers are taking over 2013-04-19T16:55:03 < dongs> i'm never buying agilent 2013-04-19T16:55:23 * gxti scratches head 2013-04-19T16:57:11 < qyx_> dekar: lol 2013-04-19T16:57:14 <+Steffann> what have you done dekar ? 2013-04-19T16:57:29 < qyx_> nice sdr receiver 2013-04-19T16:57:54 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-04-19T16:58:02 < gxti> it's not booted to desktop so it probably doesn't work 2013-04-19T16:58:05 < gxti> let alone do scope stuff 2013-04-19T16:58:16 <+dekar> Steffann, what do you mean? TNT doesn't compile on Windows7 so I switched to Ubuntu :D 2013-04-19T16:58:30 < gxti> brb work stuff 2013-04-19T16:58:48 -!- Laurenceb_ [80f3fd66@gateway/web/freenode/ip.128.243.253.102] has quit [Ping timeout: 245 seconds] 2013-04-19T16:59:01 <+Steffann> Yeah, but does that thing run ubuntu by default dekar ? 2013-04-19T16:59:36 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2013-04-19T16:59:37 <+dekar> Nope, came with windows7 and stuff like adobe reader 2013-04-19T17:05:08 < gxti> win8 seems more appropriate, it's like a 100-kilobuck tablet 2013-04-19T17:05:54 <+dekar> the touchscreen works inverted on ubuntu :/ 2013-04-19T17:07:40 -!- mtbg [~mtbg@89-77-192-170.dynamic.chello.pl] has joined ##stm32 2013-04-19T17:07:43 < mtbg> hi 2013-04-19T17:07:46 < mtbg> zyp: ping 2013-04-19T17:07:50 < gxti> dekar: easy to fix, yes? 2013-04-19T17:08:16 <+dekar> I guess 2013-04-19T17:10:19 <+Steffann> Turn the thing upside down and rotate the video output ? 2013-04-19T17:10:21 -!- baird [~cjb@ppp121-44-243-128.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-04-19T17:10:35 -!- mode/##stm32 [+o Steffann] by ChanServ 2013-04-19T17:10:41 -!- mode/##stm32 [-b *!*laurence@*.eee.nottingham.ac.uk] by Steffann 2013-04-19T17:10:52 -!- mode/##stm32 [-o Steffann] by Steffann 2013-04-19T17:11:42 < gxti> there's always a way to calibrate the touchscreen, so inverting those params would fix it 2013-04-19T17:23:11 < zyp> mtbg, hi 2013-04-19T17:23:45 <+dekar> I lost :/ https://dl.dropboxusercontent.com/u/28467113/IMG_20130419_160900.jpg 2013-04-19T17:24:58 < mtbg> zyp: any idea why my IN bulk transfers return -EREMOTEIO in wireshark? I've configured the fifo sizes and offsets and ep max packet size (high speed, so 512B) 2013-04-19T17:25:24 < zyp> dunno, I don't know wireshark 2013-04-19T17:25:26 < Tectu> output enable and input enable are the read/write selections of the FSMC, right? and both are MCU output lines? 2013-04-19T17:25:28 < mtbg> occasionally some data are transmitted through the endpoint 2013-04-19T17:29:46 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Quit: trepidaciousMBR] 2013-04-19T17:35:25 <+Steffann> dekar, you're at work or uni? :) 2013-04-19T17:35:46 <+Steffann> Must be at work. Too expensive stuff for a uni 2013-04-19T17:36:52 < mtbg> linux on a scope 2013-04-19T17:38:18 < mtbg> http://i.imgur.com/MuAMn.jpg 2013-04-19T17:38:19 < mtbg> one more 2013-04-19T17:41:32 <+dekar> :D 2013-04-19T17:41:43 <+dekar> Steffann, work :) 2013-04-19T17:48:59 <+Steffann> I guess that means the new hw guy is doing his job well? :P 2013-04-19T18:00:15 -!- mtbg [~mtbg@89-77-192-170.dynamic.chello.pl] has quit [Quit: Konversation terminated!] 2013-04-19T18:05:58 -!- dekar [~dekar@dslb-088-068-018-209.pools.arcor-ip.net] has quit [Quit: This computer has gone to sleep] 2013-04-19T18:19:24 -!- Amba [~vSbrC2hrf@83.136.246.214] has quit [Remote host closed the connection] 2013-04-19T18:23:10 -!- Amba [~X@host-29-158-66-217.spbmts.ru] has joined ##stm32 2013-04-19T18:36:08 -!- Laurenceb [~laurence@vlsi1.eee.nottingham.ac.uk] has joined ##stm32 2013-04-19T18:36:17 < Laurenceb> Steffanx you troll 2013-04-19T18:38:42 -!- Amba [~X@host-29-158-66-217.spbmts.ru] has quit [Ping timeout: 252 seconds] 2013-04-19T18:41:18 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-04-19T18:42:45 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-19T18:43:57 -!- DaKu is now known as daku 2013-04-19T18:47:18 -!- baird [~cjb@ppp121-44-243-128.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-19T18:53:47 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Read error: Connection reset by peer] 2013-04-19T18:57:35 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2013-04-19T18:57:36 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2013-04-19T18:57:36 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-04-19T18:58:48 -!- baird [~cjb@ppp121-44-243-128.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-04-19T18:59:45 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Quit: Leaving.] 2013-04-19T19:06:11 < Tectu> jpa-, am I doing it right? http://abload.de/img/fook3by6.png 2013-04-19T19:07:09 -!- dekar [~dekar@212.255.39.36] has joined ##stm32 2013-04-19T19:07:09 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-19T19:10:32 < dongs> is Laurenceb banned for good 2013-04-19T19:10:41 < Laurenceb> no 2013-04-19T19:10:44 < Laurenceb> hahahahaha 2013-04-19T19:10:49 < dongs> heh ok 2013-04-19T19:10:55 < dongs> i was starting to miss #stm32-without-crap 2013-04-19T19:11:10 < Tectu> fail? 2013-04-19T19:14:06 < Laurenceb> http://vk.com/id160300242 2013-04-19T19:14:10 < Laurenceb> incoming crap 2013-04-19T19:14:53 < Laurenceb> " Evgeny Lichtemmer 2013-04-19T19:14:54 < Laurenceb> Sup /FBI/ 2013-04-19T19:14:54 < Laurenceb> " 2013-04-19T19:14:56 < Laurenceb> i lolled 2013-04-19T19:19:36 -!- Erlkoenig [~erlkoenig@pptp-212-201-77-77.pptp.stw-bonn.de] has joined ##stm32 2013-04-19T19:19:42 < dongs> whao 2013-04-19T19:22:17 < Laurenceb> islamic symbols a shit... whatasuprise 2013-04-19T19:22:21 < Laurenceb> *and 2013-04-19T19:26:01 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-19T19:26:37 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Client Quit] 2013-04-19T19:27:14 < Erlkoenig> i have configured the F3 CAN module in lookback mode (ignores input on RX pin): CAN_MCR = 0x40 (ABOM = 1), CAN_MSR=9 (INAK=1,WKUI=1 ???), CAN_BTR=0x413e0000 (LBKM = 1, SJW=1, TS2=3, TS1=14, BRP=1). Clock is on (via RCC) and 10MHz, CAN Baud should be 250k. But it refuses to leave initialization mode (INAK always 1). why :/ 2013-04-19T19:28:35 < Erlkoenig> oh no. just found it. sorry... 2013-04-19T19:31:14 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-19T19:31:27 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Client Quit] 2013-04-19T19:32:58 -!- kenz_ [~kenz_@94.252.109.191] has joined ##stm32 2013-04-19T19:33:13 -!- kenz_ [~kenz_@94.252.109.191] has left ##stm32 [] 2013-04-19T19:45:01 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-19T20:00:28 < Tectu> http://www.youtube.com/watch?feature=player_embedded&v=TNj5kqwFNM0 2013-04-19T20:05:23 -!- barthess [~barthess@77.67.191.44] has joined ##stm32 2013-04-19T20:08:19 -!- Erlkoenig [~erlkoenig@pptp-212-201-77-77.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-19T20:15:14 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has joined ##stm32 2013-04-19T20:18:50 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has quit [Client Quit] 2013-04-19T20:20:33 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has joined ##stm32 2013-04-19T20:46:07 -!- Erlkoenig [~erlkoenig@pptp-194-94-198-70.pptp.stw-bonn.de] has joined ##stm32 2013-04-19T20:46:24 -!- barthess [~barthess@77.67.191.44] has quit [Quit: Leaving.] 2013-04-19T20:56:13 < Tectu> so I have a load I have to switch in the positive branch.... is this the way to go? http://www.mikrocontroller.net/attachment/38307/P-Kanal_MOSFET.JPG 2013-04-19T20:57:22 < gxti> mosfet is backwards but otherwise yes 2013-04-19T20:57:34 < Thorn> drain & source are reversed 2013-04-19T20:57:36 < Thorn> right 2013-04-19T20:57:40 < karlp> why the extra npn? 2013-04-19T20:57:50 < Tectu> yeah, source comes up and drain down, right? 2013-04-19T20:57:52 < gxti> because microcontrollers don't like 12V 2013-04-19T20:57:58 < Tectu> gxti, I am working wiht 3.3V 2013-04-19T20:58:02 < Thorn> you need +12V to cutoff that mosfet 2013-04-19T20:58:03 < gxti> i know you are Tectu 2013-04-19T20:58:23 < Tectu> I have 5V VDD and I need to switch on and off a 3.3V 2013-04-19T20:58:31 < Tectu> (I have of course a 3.3V regulator) 2013-04-19T20:58:37 < gxti> imagine "unfolding" the substrate terminal, the arrow points down so it would conduct always 2013-04-19T20:58:51 < gxti> if you flip it around it points back towards the 12v so it would be reverse biased and thus correct 2013-04-19T20:59:52 < Tectu> gxti, but I cannot drive a P-Channel mosfet gate with a GPIO, I do need the NPN there, right? 2013-04-19T21:00:03 < gxti> Tectu: yes 2013-04-19T21:00:08 < gxti> or a n-fet 2013-04-19T21:00:16 < Tectu> I guess the n-fet is the modern way to go? 2013-04-19T21:00:20 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has joined ##stm32 2013-04-19T21:00:25 < gxti> same number of parts either way as the nfet needs a pulldown so it doesn't switch on when the uc is reset 2013-04-19T21:00:48 < gxti> advantage is it wouldn't burn any base current in steady state 2013-04-19T21:02:02 < gxti> you can also get "high side switch" ics that have both in one package with pullup/pulldown 2013-04-19T21:02:07 < Tectu> is a gate resistance a safe way to go or can I drop it without any bad feelings? 2013-04-19T21:02:27 < gxti> series resistance with the gate? unless you're pwming it i wouldn't 2013-04-19T21:02:40 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-19T21:03:22 < Thorn> btw if the MCU is a NXP chip it will pull its pins up to >2V on startup and reset, which will probably turn the load on 2013-04-19T21:03:30 < BJfreeman> FQP20N06L is a logic level N channel enhanced Mosfet for 85 cents 2013-04-19T21:04:15 < Tectu> gxti, I am going to PWM it 2013-04-19T21:04:56 < gxti> still doesn't really matter unless you care about EMI 2013-04-19T21:05:08 < Thorn> IRLML2502 too 2013-04-19T21:06:55 < Tectu> am I doing it right? http://abload.de/img/foob6so6.png 2013-04-19T21:07:28 < BJfreeman> IRLML2502 is a 40V 4amp FQP20N06L 60V 30 amp T220 2013-04-19T21:07:46 < Tectu> I have to drive about 100mA 3.3V o.O 2013-04-19T21:08:00 < gxti> oh, i guess i am still not awake 2013-04-19T21:08:02 < gxti> at 2pm 2013-04-19T21:08:09 < Tectu> gxti, did I do something wrong? :o 2013-04-19T21:08:11 < gxti> you don't need two fets, just one pfet 2013-04-19T21:08:27 < gxti> since gated voltage = logic voltage 2013-04-19T21:08:39 < BJfreeman> Tectu the symbol your using is a depletion mode Mosfet it has to be bias off normally on 2013-04-19T21:08:43 < Tectu> 100% sure that this will work out, gxti ? 2013-04-19T21:09:05 < gxti> get rid of the nfet and pulldown resistor, keep the series resistor and pullup 2013-04-19T21:09:07 < Tectu> BJfreeman, the symbol shows that it is normally of 2013-04-19T21:09:09 < Tectu> off* 2013-04-19T21:09:54 < gxti> https://en.wikipedia.org/wiki/MOSFET#Circuit_symbols 2013-04-19T21:10:14 < gxti> broken line is enhancement type, which is what you want. pull low to activate. 2013-04-19T21:11:31 < Tectu> gxti, Thorn just to be sure I'm doing it right, like this? http://abload.de/img/foon4pwy.png 2013-04-19T21:11:50 < gxti> yep 2013-04-19T21:12:03 < Tectu> than 2013-04-19T21:12:05 < Tectu> thanks! 2013-04-19T21:12:21 < Tectu> I'd need the other transistor if my source voltage is higher than the max Gate voltage? 2013-04-19T21:12:27 < Tectu> I am ALWAYS confused with P-stuff 2013-04-19T21:12:34 < Thorn> yes, if the load is 3.3V (you said it was 5V earlier) 2013-04-19T21:12:49 < gxti> when i said 'gated voltage' i didn't mean anything about the mosfet but rather the voltage you are switching 2013-04-19T21:13:27 < gxti> you could actually do 5v using a 5v tolerant pin by using open-collector mode, but 12v for example you have to have an external switch 2013-04-19T21:13:28 < Tectu> Thorn, yeah, 3.3V, I'm sorry! 2013-04-19T21:13:59 < Tectu> gxti, the GPIO pin has to support the voltage I want to switch - the Gate-Source-Voltage, no? 2013-04-19T21:14:01 < gxti> because in order to turn the pfet off the gate voltage has to pull up all the way to 12v, which you can't do with a microcontroller 2013-04-19T21:14:15 < gxti> Tectu: you want a gate voltage of 2.5v or less 2013-04-19T21:14:46 < gxti> Vgs is the minimum voltage difference between gate and source to turn on fully 2013-04-19T21:14:59 < Thorn> are depletion mode fets in common use anyway? I've never met them in real life 2013-04-19T21:15:11 < Tectu> depletion mode? 2013-04-19T21:15:21 < gxti> a less common type that is on by default 2013-04-19T21:15:42 < gxti> enhancement pfet you pull gate below source by Vgs to turn on 2013-04-19T21:15:50 < gxti> depletion pfet you push gate above source to turn off 2013-04-19T21:15:58 < gxti> sort of pre-biased 2013-04-19T21:16:11 < Tectu> depletion mode, do you talk about J-FETs? 2013-04-19T21:16:48 < gxti> mosfet 2013-04-19T21:17:18 < gxti> "Due to their low noise figure in the RF region, and better gain, these devices are often preferred to bipolars in RF front-ends such as in TV sets." 2013-04-19T21:17:25 < gxti> Thorn: that's what i figured, they're for analog stuff 2013-04-19T21:20:55 < Thorn> in an enhancement mode fet, you induce the channel by applying gate voltage. what's the term for the depletion mode fet? uninducing thre channel? (lol) 2013-04-19T21:21:21 < Tectu> lol 2013-04-19T21:24:52 < gxti> deducing :P 2013-04-19T21:25:37 -!- _BJFreeman [~bjfree@208.sub-75-233-194.myvzw.com] has joined ##stm32 2013-04-19T21:29:20 -!- BJfreeman [~bjfree@208.sub-75-233-194.myvzw.com] has quit [Ping timeout: 260 seconds] 2013-04-19T21:29:30 -!- BJfr33man [~bjfree@208.sub-75-233-194.myvzw.com] has joined ##stm32 2013-04-19T21:30:43 -!- BJfr33man [~bjfree@208.sub-75-233-194.myvzw.com] has quit [Client Quit] 2013-04-19T21:31:34 -!- _BJFreeman [~bjfree@208.sub-75-233-194.myvzw.com] has quit [Ping timeout: 248 seconds] 2013-04-19T21:31:34 -!- BJfreeman [~bjfree@208.sub-75-233-194.myvzw.com] has joined ##stm32 2013-04-19T21:33:35 < BJfreeman> I could have swore that my data sheet showed solid line as enhanced. but I stand corrected 2013-04-19T21:39:20 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has joined ##stm32 2013-04-19T21:43:30 < Thorn> if wikipedia says so it must be true 2013-04-19T21:44:12 < Thorn> I found some illustrations from Sedra & Smith on wikipedia without attribution btw 2013-04-19T21:47:51 < gxti> i hope you're not implying that any jackass can upload whatever they want 2013-04-19T21:47:57 * gxti coughs 2013-04-19T21:48:52 < BJfreeman> that is why I went to the mfr data sheet 2013-04-19T22:11:36 -!- Posterdati [~antani@host163-225-dynamic.10-87-r.retail.telecomitalia.it] has quit [Ping timeout: 264 seconds] 2013-04-19T22:11:58 < Tectu> the USB signals D- and D+ are bidirectional, right? 2013-04-19T22:13:04 < gxti> yes 2013-04-19T22:13:04 -!- Laurenceb_ [~Laurence@host86-171-4-117.range86-171.btcentralplus.com] has joined ##stm32 2013-04-19T22:13:39 < Tectu> Steffann, you linked me the BMP schematics today, isn't there any .pdf version? 2013-04-19T22:13:43 < Tectu> or .png 2013-04-19T22:13:55 -!- Posterdati [~antani@host215-229-dynamic.17-87-r.retail.telecomitalia.it] has joined ##stm32 2013-04-19T22:14:01 <+Steffann> perhaps emeb has a pdf version of his version 2 ? 2013-04-19T22:14:17 < gxti> i have a pdf of mine, if that's ok. it's redrawn and slightly trimmed down. 2013-04-19T22:14:31 < emeb> http://ebrombaugh.studionebula.com/embedded/bmp2/bmp2.pdf 2013-04-19T22:14:36 < gxti> i think i left the net labels for the stuff i took out 2013-04-19T22:14:39 <+Steffann> oh, i just found it 2013-04-19T22:14:53 <+Steffann> emeb is awake :( 2013-04-19T22:15:26 < emeb> Steffann: Indeed - it's noonish here. 2013-04-19T22:16:28 < Tectu> thanks emeb! 2013-04-19T22:16:37 < emeb> np 2013-04-19T22:16:42 < Tectu> gxti, are you using KiCAD, by the way? :D 2013-04-19T22:16:48 < gxti> no 2013-04-19T22:17:04 < gxti> but the original bmp files are 2013-04-19T22:17:09 < gxti> i think 2013-04-19T22:17:33 < Tectu> emeb, what are those LEDs for? 2013-04-19T22:18:04 <+Steffann> Tectu gave up on dongs and starts his own? 2013-04-19T22:18:09 <+Steffann> *makes 2013-04-19T22:18:41 < emeb> Tectu: the BMP firmware lights the LEDs up to tell status 2013-04-19T22:19:06 < Tectu> Steffann, nope, but I am doing a board with a BMP directly on it 2013-04-19T22:20:36 < Tectu> should I consider powering the BMP STM32 via VBUS? 2013-04-19T22:23:21 < gxti> it would reduce power when usb is not connected but otherwise not really 2013-04-19T22:23:26 < jpa-> Tectu: sure, seems fine 2013-04-19T22:23:36 -!- barthess [~barthess@77.67.191.44] has joined ##stm32 2013-04-19T22:23:38 < gxti> you have to be careful not to accidentally power it from the data lines :p 2013-04-19T22:23:39 < jpa-> Tectu: except that black background in schematics editor is silly 2013-04-19T22:25:11 < Thorn> why is that 2013-04-19T22:27:23 < Tectu> jpa-, thanks! 2013-04-19T22:27:34 < Tectu> gxti, how should I power it from the data lines? 2013-04-19T22:27:41 < Tectu> gxti, I mean... how? o.O 2013-04-19T22:27:52 < Tectu> jpa-, are you always doing white? 2013-04-19T22:28:05 < gxti> if the chip's vcc is floating and you drive any pin high it will conduct through the ESD diodes and power the chip 2013-04-19T22:28:36 < Tectu> gxti, how to prevent this? 2013-04-19T22:29:04 < Thorn> Tectu: actually power the chip lol 2013-04-19T22:29:13 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-19T22:29:29 < gxti> leave it powered but pull reset low or deep sleep or something 2013-04-19T22:29:30 < Tectu> lol 2013-04-19T22:29:45 < gxti> use vbus to wake it up 2013-04-19T22:29:52 < Tectu> gxti, it's a power socket powered device so I guess I don't really care then 2013-04-19T22:30:07 < gxti> probably not 2013-04-19T22:30:14 < gxti> one less vreg to worry about 2013-04-19T22:31:06 < Tectu> emeb, why didn't you connect NRST to a safe state? 2013-04-19T22:31:11 < Tectu> emeb, also, what is the button there for? 2013-04-19T22:33:33 < jpa-> Tectu: for schematics, yeah, the background should be white 2013-04-19T22:33:37 < jpa-> Tectu: black is for pcb 2013-04-19T22:33:41 < jpa-> duh 2013-04-19T22:34:34 < Tectu> jpa-, lol what? Who said that? 2013-04-19T22:37:10 < jpa-> me 2013-04-19T22:37:26 < jpa-> and Steffann agrees 2013-04-19T22:38:28 <+Steffann> Yep 2013-04-19T22:38:53 < Thorn> no. engineers work at night -> backgrounds should be black 2013-04-19T22:39:23 < jpa-> schematics design is a honorable day job 2013-04-19T22:39:31 < jpa-> pcb layout is for the people living in basements 2013-04-19T22:39:57 <+Steffann> I do work at night, but my screen is very bright, so i don't use a blackground i'm right. 2013-04-19T22:40:21 < ds2> pcb layout is for the trolls? 2013-04-19T22:40:54 < Tectu> jpa-, Steffann agrees to everything 2013-04-19T22:40:57 <+Steffann> I prefer pcb layouting.. schematic design is boring 2013-04-19T22:41:01 <+Steffann> Tectu, nope 2013-04-19T22:41:07 < jpa-> Tectu: no he doesn't (unfortunately) 2013-04-19T22:41:09 < Tectu> lol'd 2013-04-19T22:41:40 <+Steffann> Most of the time pcb layouting is more challenging, at least for me. 2013-04-19T22:41:41 < Tectu> jpa-, funnily (is that even a right word?), the people in hour fachhochschule who do the PCBs are in the basement while the schematic people are in the 3rd floor 2013-04-19T22:41:57 < jpa-> it's just the way it is 2013-04-19T22:42:00 < Tectu> I hate doing layouting.... 2013-04-19T22:42:07 <+Steffann> Especially when you are restricted in space.. 2013-04-19T22:42:11 < Tectu> Steffann, it sure is, but I don't like it 2013-04-19T22:42:14 < BJfreeman> White background is easier on the Eyes for schematics 2013-04-19T22:42:19 < ds2> PCB layout is akin to working on a jigsaw puzzle 2013-04-19T22:42:20 < Tectu> I do not not like challenges, But I hate layouting 2013-04-19T22:42:25 < ds2> combined with a maze 2013-04-19T22:43:07 < Thorn> just add 2 more layers 2013-04-19T22:43:29 <+Steffann> im also on a budget Thorn :P 2013-04-19T22:43:46 < ds2> said in the tone of the kid from oliver twist - "can i have more?"? 2013-04-19T22:44:46 < BJfreeman> two layer with components on both sides for density 2013-04-19T22:45:53 < ds2> does any see a drawback to soldering together 2 cheap 2 layer boards to prototype a 4L board? (assuming components are on only one side of each 2L board 2013-04-19T22:45:54 < BJfreeman> only use ground plane layer when having RF EMI issues 2013-04-19T22:46:34 < jpa-> ds2: no plated vias between the boards 2013-04-19T22:46:47 < ds2> jpa-: that's what the soldering is for 2013-04-19T22:46:50 < jpa-> ds2: and have to provide insulation between the two boards 2013-04-19T22:46:58 < jpa-> sounds like a lot of work to save a few bucks 2013-04-19T22:47:08 < jpa-> 4 layer is not that expensive 2013-04-19T22:47:18 < ds2> kapton tape! 2013-04-19T22:47:42 < ds2> it isn't that expensive but it adds up 2013-04-19T22:47:53 < ds2> esp. when you want to try out different experiments that different by only one side 2013-04-19T22:48:36 < jpa-> experiments are for the physicists 2013-04-19T22:52:03 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 256 seconds] 2013-04-19T22:53:32 -!- Posterdati [~antani@host215-229-dynamic.17-87-r.retail.telecomitalia.it] has quit [Ping timeout: 256 seconds] 2013-04-19T23:09:09 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 248 seconds] 2013-04-19T23:10:22 < BJfreeman> and tinkerers 2013-04-19T23:11:02 < Tectu> jpa-, is there no auto-increment feature for the last digit of labels? 2013-04-19T23:11:09 < Tectu> jpa-, it's really anyoing 2013-04-19T23:12:47 < jpa-> yes, there is 2013-04-19T23:12:54 < jpa-> but it is hidden from basement dwellers 2013-04-19T23:13:34 < jpa-> (press 'insert' key) 2013-04-19T23:15:08 < Tectu> jpa-, that does not seem to work as expected. Is there any special "workflow" for this? 2013-04-19T23:19:20 < Tectu> jpa-, never mind.. 2013-04-19T23:21:01 -!- trepidaciousMBR_ [~trepidaci@217.155.204.2] has joined ##stm32 2013-04-19T23:22:09 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-19T23:22:31 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has quit [Ping timeout: 245 seconds] 2013-04-19T23:22:31 -!- trepidaciousMBR_ is now known as trepidaciousMBR 2013-04-19T23:28:48 < gxti> sounds pretty useless ds2 2013-04-19T23:37:04 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-19T23:47:50 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-232-128.clienti.tiscali.it] has joined ##stm32 2013-04-19T23:50:59 < emeb> Tectu: That schematic is almost identical to the one used on the BMP. I figured if the BMP didn't use the NRST signal, I didn't have to either. 2013-04-19T23:51:16 < emeb> The button enables the bootloader for reflashing the BMP firmware. 2013-04-19T23:52:25 < Tectu> emeb, okay, thanks! 2013-04-19T23:52:40 -!- Devilholk [~banned@h-219-117.a357.priv.bahnhof.se] has quit [Read error: Operation timed out] 2013-04-19T23:52:48 -!- Devilholk [~banned@h-219-117.a357.priv.bahnhof.se] has joined ##stm32 2013-04-19T23:52:56 < Tectu> emeb, just that I get things right: When I simply want to debug my target MCU, no connectors or wires, directly on PCB, I just need: TCK, TMS, RST, TDO, TPWR? where RST is the NRST? 2013-04-19T23:53:22 < emeb> Tectu: depends if you're using JTAG or SWD. 2013-04-19T23:53:35 < gsmcmullin> Tectu: NRST must be pulled up on the target, otherwise you're relying on the debugger to hold it in a sane state. 2013-04-19T23:53:40 < emeb> for SWD you only need TCK & TMS (SWclk and SWdata) 2013-04-19T23:54:18 < Tectu> gsmcmullin, thanks for the info! 2013-04-19T23:54:25 < Tectu> emeb, the think I wrote above is actually JTAG, no? 2013-04-19T23:54:42 < emeb> Tectu: yep 2013-04-19T23:54:47 < Tectu> emeb, why should I choose one over the other? Is there anything better with SWD than JTAG? I just used JTAG so far 2013-04-19T23:54:47 < gsmcmullin> Tectu: even for jtag TPWR and NRST are optional. 2013-04-19T23:55:01 < Tectu> gsmcmullin, I wasn't sure what TPWR is 2013-04-19T23:55:02 < gsmcmullin> SWD uses less wires. 2013-04-19T23:55:07 < emeb> ^ that 2013-04-19T23:55:09 < Tectu> but is SWD faster/slower? 2013-04-19T23:55:18 < gsmcmullin> similar 2013-04-19T23:55:37 < gsmcmullin> JTAG allows chaining of device 2013-04-19T23:55:42 < Tectu> I don't need that :) 2013-04-19T23:56:16 < Tectu> so what's exactly TPWR? on the schematics, it does different for the JTAG/ST-link and for the Mini-10 JTAG 2013-04-19T23:56:34 < emeb> TPWR is a way to confuse your debugger. :) 2013-04-19T23:57:04 < gsmcmullin> It does nothing affecting debugging. It senses the target voltage to report if the target is powered. 2013-04-19T23:57:30 < gsmcmullin> It still works if it's not connected, it'll just report garbage for target voltage. 2013-04-19T23:58:28 < emeb> gsmcmullin: does the latest firmware support disabling PWR_BR? 2013-04-19T23:58:44 < Tectu> why does the mini jtag then have the ability to switch it on or off? 2013-04-19T23:59:08 < emeb> I always seem to get into a state where the BMP and target are feeding each other power. Confusing! 2013-04-19T23:59:14 < gsmcmullin> It was my intention to allow powering the target from the BMP's usb power. Nobody seems to like this feature though. 2013-04-19T23:59:32 < emeb> gsmcmullin: It could be a nice feature. How to control it tho? --- Day changed Sat Apr 20 2013 2013-04-20T00:00:13 < gsmcmullin> It never got implemented. It'll be a quick job to add as a monitor command. Maybe I'll do it today :) 2013-04-20T00:00:24 < emeb> Yay! 2013-04-20T00:00:25 < gsmcmullin> On the old hardware it was a jumper. 2013-04-20T00:00:43 < emeb> I need to update my firmware - I'm a few months out-of-date. 2013-04-20T00:00:47 -!- dekar [~dekar@212.255.39.36] has quit [Quit: This computer has gone to sleep] 2013-04-20T00:02:18 < Tectu> gsmcmullin, is there any disadvantage in using SWD over JTAG when I have just one target? 2013-04-20T00:02:31 < gsmcmullin> Tectu: None that I know of. 2013-04-20T00:02:34 < Tectu> I am seriously considering using SWD then 2013-04-20T00:02:42 < Tectu> I hope I don't fuck it up... 2013-04-20T00:02:52 < gxti> connect the pins to win 2013-04-20T00:03:07 < gsmcmullin> Tectu: The only reason may be that you exclude people with only jtag programmers. That probably isn't an issue these days. 2013-04-20T00:03:07 < emeb> Tectu: SWD seems like the right way forward. 2013-04-20T00:03:36 < ds2> hmmm ok 2013-04-20T00:03:37 < Tectu> gsmcmullin, as I said, the BMP gets directly on a dev board which is supposed to have an on-board debugger/programmer 2013-04-20T00:03:46 < gxti> yeah if you're making a board that you want semi-experts to be able to debug and program, jtag is nice 2013-04-20T00:03:57 < gxti> if you just want something for your own use swd is perfect 2013-04-20T00:04:05 < Tectu> nonono, as I said, again, the debugger is on the same PCB as the target 2013-04-20T00:04:46 < gxti> in that case there's no reason not to use swd 2013-04-20T00:04:54 < gsmcmullin> Tectu: So you want to integrate BMP with your target design, in a similar way to st-link on the discovery boards? 2013-04-20T00:05:19 < Tectu> gsmcmullin, yes, in exact the same beside I won't provide any jumpers to use it on other boards 2013-04-20T00:06:08 < gsmcmullin> SWD would be fine then. You may want to connect TRACESWO(TDO) too in that case. I don't know if you'd use it. 2013-04-20T00:06:09 < Tectu> I don't need TPWR then either? 2013-04-20T00:06:24 < Tectu> gsmcmullin, what's that? >.< 2013-04-20T00:06:38 < emeb> Might as well hook up TPWR - what else you going to do with it? 2013-04-20T00:06:57 < gsmcmullin> In SWD mode, the JTAG TDO pin can be used for trace output. 2013-04-20T00:07:09 < Tectu> emeb, TWPR is just my static +3.3V then, since my target is always there? 2013-04-20T00:07:18 < emeb> Tectu: yes. 2013-04-20T00:07:19 < gsmcmullin> Support for this in BMP is in its infancy, but it doesn't hurt to connect it. 2013-04-20T00:07:20 < Tectu> gsmcmullin, semi hosting as in doing printf() ? 2013-04-20T00:08:18 < gsmcmullin> Tectu: Yeah, isn't it awesome? 2013-04-20T00:08:25 < Tectu> gsmcmullin, may you tell me how to hook it up? what pin on the STM32F102C and what on my target? 2013-04-20T00:08:27 < Tectu> gsmcmullin, it is! 2013-04-20T00:08:33 < Tectu> gsmcmullin, I really want that feature :P 2013-04-20T00:08:46 < Tectu> gsmcmullin, it's just the usual TDO? 2013-04-20T00:08:52 < gxti> gsmcmullin: assuming trst isn't really needed i guess that means there's no pin count difference betweed swd and jtag 2013-04-20T00:09:35 < gsmcmullin> TRST and NRST aren't used in current BMP firmware. 2013-04-20T00:09:49 < Tectu> NRST either? :o 2013-04-20T00:09:57 < gsmcmullin> For debugging with JTAG you need 4 signals. For debugging with SWD you need 2 signals. 2013-04-20T00:10:02 < gxti> nrst ought to be, trst doesn't seem that useful 2013-04-20T00:10:13 < gsmcmullin> If you'd like trace with your SWD you need 3 signals. 2013-04-20T00:10:22 < Tectu> gsmcmullin, to the tracing... it's just TDO I hook up like I'd do with JTAG? 2013-04-20T00:10:24 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:ed1b:9b9c:1d18:737] has quit [Quit: Leaving] 2013-04-20T00:10:42 < gsmcmullin> Semihosting in the hostio branch of BMP doesn't use the trace output, only the standard SWD signals are needed. 2013-04-20T00:11:01 < gxti> nrst is necessary to reliably take control (and erase/flash/debug/whatever) chips that try to go to sleep or lock program memory 2013-04-20T00:11:17 < gxti> trst is just there so the jtag cells are disabled when there's no programmer, can live without it 2013-04-20T00:15:26 < gsmcmullin> nrst is also needed to attach when firmware has remapped the jtag/swd signals. There is not support for this in BMP at the moment. 2013-04-20T00:16:16 < Tectu> gsmcmullin, okay, I guess I just have to connect SWDIO to SWDIO etc., nothing over cross, right? Also, do I need external pull ups or downs? 2013-04-20T00:16:24 < Tectu> I have now also connected TRACESWO 2013-04-20T00:22:48 < gsmcmullin> Tectu: Yes. Unless you need the pins for something else I don't see why you don't connect them all. 2013-04-20T00:23:45 < Tectu> gsmcmullin, not sure if I understand you correctly? Are you asking why I don't connect some pins? o.O 2013-04-20T00:24:26 < gsmcmullin> By not connecting TDI you gain a pin. Unless you need this pin for something there's no reason to not connect it. 2013-04-20T00:25:02 < gxti> oh, i forgot about TDI. 2013-04-20T00:25:31 < gxti> looking at debug port remap on f102-f107, it seems that you can't disable tdi without also disabling tdo/swo, so yeah definitely connect it 2013-04-20T00:25:37 < Tectu> gsmcmullin, what does TDI do? I thought when I go for SWD I just need IO and CLK (Trace) 2013-04-20T00:25:57 < Tectu> but then I am back on JTAG or what? o.O 2013-04-20T00:26:19 < gxti> Tectu: you may as well make the electrical connections for jtag 2013-04-20T00:26:24 < gxti> even if you intend to use swd 2013-04-20T00:26:37 < gxti> because you can't use those pins anyway if you want trace (swo) 2013-04-20T00:27:16 < Tectu> and that you're telling me now? -.-' 2013-04-20T00:27:23 < Tectu> can I do the trace when doing JTAG? 2013-04-20T00:27:35 < gsmcmullin> Tectu: Yes, I also don't see any good reason not to connect NRST. It's not currently used in the BMP firmware, but that doesn't mean it can't be in future. 2013-04-20T00:28:09 < gsmcmullin> Tectu: SWD or JTAG then becomes a decision by the user at the time they connect, rather than a decision you've made for them already. 2013-04-20T00:28:31 < Tectu> okay, thanks -.- 2013-04-20T00:28:35 < Tectu> now I have to do it all over :D 2013-04-20T00:28:47 < gxti> so sad 2013-04-20T00:28:53 < gxti> entire minutes wasted 2013-04-20T00:29:11 < gsmcmullin> but lessons learned :D 2013-04-20T00:30:22 < gxti> gsmcmullin: is nrst driving anywhere on the "roadmap"? 2013-04-20T00:30:35 < gxti> would be handy for things like, uh, erasing the bmp bootloader :P 2013-04-20T00:31:04 < gxti> i guess that's probably something i could do 2013-04-20T00:31:27 < Tectu> thanks for your help, guys ;) 2013-04-20T00:32:48 < Tectu> gsmcmullin, my STM32F407ZGT seems to have TRACED0 and TRACED1 wtf is that? 2013-04-20T00:32:53 < Tectu> something related? 2013-04-20T00:33:12 < gsmcmullin> Tectu: Parallel trace. It's not supported by BMP at all. 2013-04-20T00:33:15 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has quit [Quit: zzzz] 2013-04-20T00:33:34 -!- Erlkoenig [~erlkoenig@pptp-194-94-198-70.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-20T00:34:56 < Tectu> ah 2013-04-20T00:35:00 < Tectu> it's that core sight thing? 2013-04-20T00:36:09 < gsmcmullin> It's all 'core sight things', it's a higher bandwidth trace port than TRACESWO using a synchronous parallel interface. 2013-04-20T00:39:57 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Quit: Ik ga weg] 2013-04-20T00:40:09 < Tectu> okay 2013-04-20T00:40:27 <+Steffann> Not only that. It supports more (low level?) debugging options. 2013-04-20T00:40:34 <+Steffann> Don't remember the details 2013-04-20T00:43:01 < Tectu> TDI is actually MCU output or input? 2013-04-20T00:43:08 < Tectu> TDO is the opposit, I guess? 2013-04-20T00:43:32 < Tectu> TCK is target input, TMS target input, TDO target output, TDI target input? 2013-04-20T00:43:33 < Tectu> that way? 2013-04-20T00:45:07 < gxti> yes 2013-04-20T00:45:49 < Tectu> thanks! 2013-04-20T00:46:15 < Tectu> so the MCU has NRST and JNRST ? 2013-04-20T00:46:21 < Tectu> NJRST* 2013-04-20T00:46:43 < gxti> you don't need it, leave it unconnected (but don't assign it to something else) 2013-04-20T00:46:49 < gxti> njtrst that is 2013-04-20T00:46:55 < gxti> nrst should be connected to bmp's reset output 2013-04-20T00:47:56 < Tectu> yes. the NRST is pulled up with 10k and a 100n to GND. Then it's connected to RST of the BMP and of course a switch 2013-04-20T00:48:05 < Tectu> (push button) 2013-04-20T00:48:13 -!- barthess [~barthess@77.67.191.44] has quit [Quit: Leaving.] 2013-04-20T00:50:03 < gxti> and of course all of the connections on bmp should not be the debug/reset of the mcu itself but rather the bmp-specific pins 2013-04-20T00:50:24 < Tectu> sure :) 2013-04-20T00:50:30 < Tectu> do I need pull ups or down at the JTAG pins? 2013-04-20T00:50:49 < gxti> no 2013-04-20T00:51:00 < Tectu> 100% sure? The olimex boards do all have pull downs 2013-04-20T00:51:21 -!- Erlkoenig [~erlkoenig@pptp-212-201-73-131.pptp.stw-bonn.de] has joined ##stm32 2013-04-20T00:51:28 < gxti> iirc the target has pullup/pulldown as appropriate by default, but if not the bmp can do it 2013-04-20T00:51:46 < gxti> definitely not needed for swd 2013-04-20T00:52:51 < Tectu> I do JTAG now >:< 2013-04-20T00:53:05 <+Steffann> Tectu, time to sleep? 2013-04-20T00:53:25 < gxti> time to brain harder 2013-04-20T00:58:18 < Tectu> what am I missing? 2013-04-20T00:58:21 < qyx_> hm, 863-870 band is allowed to use dsss with -4.5dBm/100kHz 2013-04-20T00:58:26 < qyx_> but 0.1 duty cycle? 2013-04-20T00:58:29 < Tectu> Steffann, go ahead, I'll join you later 2013-04-20T01:00:18 <+Steffann> ... 2013-04-20T01:04:31 < Erlkoenig> sh*t... flashed some app on my F4 Disco which turns a LED on and intializes CAN module. now i can't flash it anymore, ST-Link Utility, texane st-link and Atollic GDB Server all refuse to connect. when i press&hold reset button, then connect the USB cable and click "Connect" in ST-Link Utility it hangs until i release the Reset button, then the program shows an error message. Does anyone know these symptoms? 2013-04-20T01:05:04 < Erlkoenig> windows recognizes the ST-Util Device, and the program on th F4 runs (turns on LED) 2013-04-20T01:06:11 < Tectu> Erlkoenig, turn it off and let it cool down 2013-04-20T01:06:15 < Tectu> (did help here once, no kidding) 2013-04-20T01:06:23 < Erlkoenig> wat o.O 2013-04-20T01:06:28 <+Steffann> perhaps you can try to make it boot into ram or so? So it doesn't start your app? 2013-04-20T01:06:50 < Erlkoenig> shouldn't holding reset also do that? 2013-04-20T01:06:50 < Tectu> Erlkoenig, yes, no kidding - as I said 2013-04-20T01:07:05 < Tectu> Erlkoenig, I just picked another of the five boards laying around here 2013-04-20T01:07:05 < qyx_> his app shouldnt have the ability to crash debugger and app on host system 2013-04-20T01:07:18 <+Steffann> Shouldn't no :) 2013-04-20T01:07:26 < Tectu> Erlkoenig, when you press the reset, it will boot from internal memory indeed 2013-04-20T01:07:27 < Erlkoenig> also my app is not harmful... does just a while(1) __WFI (); after hardware initialization, and i am usually able to connect to it normally in that state 2013-04-20T01:08:17 < Erlkoenig> i would have to resolder the BOOT* pins to make it boot from RAM right? 2013-04-20T01:08:54 <+Steffann> It has boot0 pin .. 2013-04-20T01:10:54 -!- _BJFreeman [~bjfree@208.sub-75-233-194.myvzw.com] has joined ##stm32 2013-04-20T01:13:41 -!- BJfreeman [~bjfree@208.sub-75-233-194.myvzw.com] has quit [Ping timeout: 255 seconds] 2013-04-20T01:15:50 -!- _BJFreeman [~bjfree@208.sub-75-233-194.myvzw.com] has quit [Ping timeout: 245 seconds] 2013-04-20T01:16:03 -!- _BJFreeman [~bjfree@208.sub-75-233-194.myvzw.com] has joined ##stm32 2013-04-20T01:16:04 < Tectu> emeb, I guess the BOOT0 and BOOT1 configuration on your schematics is so it can be flashed through the bootloader? 2013-04-20T01:16:10 < Tectu> I never got those into my mind 2013-04-20T01:16:55 -!- _BJFreeman is now known as BJfreeman 2013-04-20T01:17:14 -!- dekar [~dekar@212.255.39.36] has joined ##stm32 2013-04-20T01:17:14 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-20T01:17:14 < emeb> Tectu: The boot modes are not used. 2013-04-20T01:17:23 < Tectu> emeb, how did you flash the BMP image? o.O 2013-04-20T01:17:43 < emeb> Tectu: first time thru I used another BMP :) 2013-04-20T01:17:54 < emeb> thereafter I used the built-in bootloader. 2013-04-20T01:18:06 < gxti> or discovery board 2013-04-20T01:18:06 < Tectu> huh? 2013-04-20T01:18:10 < Tectu> but 2013-04-20T01:18:11 < Tectu> wait 2013-04-20T01:18:19 < Tectu> how do I get the BMP impage into my BMP MCU? 2013-04-20T01:18:27 < Tectu> (what a stupid question) 2013-04-20T01:18:30 < gxti> how do you get an image onto anything Tectu 2013-04-20T01:18:30 < Tectu> I mean related to your schematics 2013-04-20T01:19:04 < emeb> Tectu: I used J4 SWD connector to flash load it from another BMP. 2013-04-20T01:19:36 -!- Steffann [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-20T01:19:54 < Tectu> emeb, but through J4 you cannot flash another MCU afterwards, right? 2013-04-20T01:20:19 < Tectu> emeb, what's the serial J1 then? 2013-04-20T01:20:23 < gxti> j4 is the debug port for the bmp mcu 2013-04-20T01:20:27 < gxti> you use it to program/debug the bmp mcu 2013-04-20T01:20:30 < gxti> not that complicated 2013-04-20T01:21:30 < emeb> ^ that 2013-04-20T01:21:48 < Tectu> emeb, what's the serial J1 then? 2013-04-20T01:21:50 < Tectu> ^ that 2013-04-20T01:21:53 < emeb> Tectu: also - J1 is a utility serial port 2013-04-20T01:22:24 < emeb> When you hook up the BMP to your USB port it enumerates as two separate TTYACM ports 2013-04-20T01:22:48 < emeb> One is the debugger, the other is a plain serial port that can be used for talking to other serial devices. 2013-04-20T01:22:57 < Tectu> ah, I don't need that one then 2013-04-20T01:23:36 < gxti> you don't need it, and it doesn't really make sense for an onboard debug like this 2013-04-20T01:23:46 < Tectu> emeb, one more thing I didn't got so far... what is PA8 doing and why ? 2013-04-20T01:24:15 < gxti> it's a required part of the USB interface 2013-04-20T01:24:33 < emeb> PA8 is the pullup for the USB port. 2013-04-20T01:24:36 < Tectu> since when? I did some USB FS with an F4 recently and I just connected the D- and D+ 2013-04-20T01:24:45 < gxti> some USB peripherals do it internally 2013-04-20T01:24:47 < gxti> this one does not 2013-04-20T01:25:03 < Tectu> when is it needed to turn it on or off? 2013-04-20T01:25:23 < Tectu> what's a sane label for this pin? currently it says PA8 here 2013-04-20T01:25:25 < gxti> the bootloader uses it 2013-04-20T01:25:37 < gxti> to force the PC to re-enumerate it after entering or exiting the bootloader 2013-04-20T01:25:57 < gxti> it's a usb pullup, i called it USB_PU :p 2013-04-20T01:26:38 < Tectu> is there anything you don't know? :) 2013-04-20T01:26:50 < gxti> i don't know when you will stop asking questions ;) 2013-04-20T01:27:58 < Tectu> lol, well played ;) 2013-04-20T01:28:58 < emeb> lol 2013-04-20T01:44:42 -!- _BJFreeman [~bjfree@224.sub-75-233-200.myvzw.com] has joined ##stm32 2013-04-20T01:45:53 -!- BJfreeman [~bjfree@208.sub-75-233-194.myvzw.com] has quit [Ping timeout: 240 seconds] 2013-04-20T01:46:35 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Ping timeout: 258 seconds] 2013-04-20T01:46:56 -!- capacitor [~capacitor@123-243-139-187.tpgi.com.au] has joined ##stm32 2013-04-20T01:49:42 -!- _BJFreeman is now known as BJfreeman 2013-04-20T01:49:55 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-20T02:02:35 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has quit [Quit: leaving] 2013-04-20T02:06:00 -!- sterna1 [~Adium@dhcp-189128.eduroam.chalmers.se] has quit [Quit: Leaving.] 2013-04-20T02:07:32 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-20T02:07:32 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-20T02:07:32 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-20T02:13:31 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has quit [Ping timeout: 260 seconds] 2013-04-20T02:13:50 < capacitor> I cannot ARM good 2013-04-20T02:21:37 < zyp> ARM better 2013-04-20T02:25:02 < qyx_> could you MIPS? 2013-04-20T02:25:08 < capacitor> nah 2013-04-20T02:25:37 < capacitor> i have not c in a while 2013-04-20T02:26:33 < capacitor> just trying to decipher the way they deal with setting bits in c with the ARM 2013-04-20T02:27:11 < capacitor> the old operators 2013-04-20T02:37:48 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has joined ##stm32 2013-04-20T02:39:06 -!- CRF_Peter [~Peter@dhcp-191209.eduroam.chalmers.se] has quit [Ping timeout: 258 seconds] 2013-04-20T02:51:04 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-20T02:55:06 < Laurenceb_> i want to know what the big globe thing on the top of the police van is 2013-04-20T02:55:17 < Laurenceb_> "the bango" 2013-04-20T02:56:30 < Laurenceb_> http://www.strategicdefenceintelligence.com/article/KwN47L4npjA/2013/04/19/insight_boston_police_departments_bango_bomb_disposal_techno/ 2013-04-20T03:00:11 -!- Devilholk [~banned@h-219-117.a357.priv.bahnhof.se] has quit [Ping timeout: 246 seconds] 2013-04-20T03:01:24 < capacitor> Laurenceb wat was the weird thing u were posting 2013-04-20T03:01:28 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Remote host closed the connection] 2013-04-20T03:05:08 -!- Laurenceb_ [~Laurence@host86-171-4-117.range86-171.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-20T03:05:16 < Tectu> what's the SOF pin in USB OTG? o.O 2013-04-20T03:05:48 < gxti> maybe the reference manual will tell you 2013-04-20T03:06:25 < capacitor> otherwise known as the 1422 page brick (at least for me) 2013-04-20T03:12:18 -!- CRF_Peter [~Peter@193.11.200.145] has joined ##stm32 2013-04-20T03:13:13 -!- Devilholk [~banned@h-219-117.a357.priv.bahnhof.se] has joined ##stm32 2013-04-20T03:19:54 -!- CRF_Peter [~Peter@193.11.200.145] has quit [Ping timeout: 264 seconds] 2013-04-20T03:26:59 < Tectu> capacitor, what? 2013-04-20T03:28:59 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-04-20T03:30:15 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-20T03:38:21 -!- inca [~inca@cpe-71-64-109-226.neo.res.rr.com] has joined ##stm32 2013-04-20T03:47:33 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-20T03:54:47 -!- ossifrage [~ossifrage@c-71-224-59-2.hsd1.pa.comcast.net] has quit [Read error: Operation timed out] 2013-04-20T03:59:13 -!- inca [~inca@cpe-71-64-109-226.neo.res.rr.com] has quit [Quit: zzzz] 2013-04-20T04:01:13 -!- capacitor [~capacitor@123-243-139-187.tpgi.com.au] has quit [Quit: eat a dick terrorism] 2013-04-20T04:02:54 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Quit: Leaving.] 2013-04-20T04:24:33 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-20T04:28:19 -!- inca [~inca@cpe-71-64-109-226.neo.res.rr.com] has joined ##stm32 2013-04-20T04:36:13 -!- inca [~inca@cpe-71-64-109-226.neo.res.rr.com] has quit [Quit: quit] 2013-04-20T04:37:44 < Erlkoenig> so i managed to configure the F4 on the discovery to enable bootloader, and flashed code on it via USB DFU that actually does what it should (transmit CAN messages, LED blink). But i *still* can't access it via ST-Link o.O 2013-04-20T04:39:52 -!- inca [~inca@cpe-71-64-109-226.neo.res.rr.com] has joined ##stm32 2013-04-20T04:41:14 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-04-20T04:41:47 <+dekar> Erlkoenig, did it work before? 2013-04-20T04:42:05 < Erlkoenig> yes worked well all day 2013-04-20T04:46:32 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-20T04:56:17 < Erlkoenig> hmm scope shows communication going on on SWD 2013-04-20T05:16:46 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-20T05:20:06 -!- baird [~cjb@ppp121-44-243-128.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-20T05:34:32 < Erlkoenig> hrmpf... the data transmitted via SWD looks like the target F4 is answering, there is some nice bidirectional communication 2013-04-20T05:35:27 < Erlkoenig> just suddenly the ST-Link stops its clock 2013-04-20T05:40:57 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has quit [Ping timeout: 252 seconds] 2013-04-20T05:44:24 < dongs> > stlink 2013-04-20T05:44:26 < dongs> found your problem 2013-04-20T05:46:32 < Erlkoenig> very helpful :D 2013-04-20T05:47:30 < R2COM> http://i.imgur.com/aVuZB6w.jpg 2013-04-20T05:47:40 < R2COM> http://i.imgur.com/lR7PKmM.jpg 2013-04-20T05:49:03 < dongs> cool drone bro 2013-04-20T05:49:16 < talsit> why the orange rectangle?! 2013-04-20T05:49:26 < dongs> probabla NDA 2013-04-20T05:49:28 < dongs> er probably 2013-04-20T05:54:00 < Erlkoenig> http://games.2g2s.de/elektronik/swd.png http://games.2g2s.de/elektronik/swd-zoom.png this is the SWD transmission... is it supposed to transmit in seperate "bursts" like that?? 2013-04-20T05:54:14 < dongs> yes 2013-04-20T05:54:24 < dongs> nice ringing dude 2013-04-20T05:54:27 < dongs> did you forget o hook up gnd? 2013-04-20T05:54:47 < Erlkoenig> yup professional measuring equpiment :P 2013-04-20T05:54:51 < Erlkoenig> ooohps 2013-04-20T05:54:52 < Erlkoenig> i did 2013-04-20T05:55:02 < baird> Not all manufacturers are stuck in the past, bro: https://www.facebook.com/pages/The-Western-Design-Center-Inc/203216173108980 2013-04-20T05:55:06 < upgrdman> Erlkoenig: i dont know about your situation, but if your firmware reassigns the swd pins, you MUST connect under reset 2013-04-20T05:55:13 < upgrdman> that bit me before 2013-04-20T05:55:26 < Erlkoenig> my firmware doesn't do that, but i tried connecting under reset a million times 2013-04-20T05:55:54 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 264 seconds] 2013-04-20T05:55:54 < dongs> baird: wat the fuck is that 2013-04-20T05:56:39 < baird> The 6502 people are embracing the 21st Century! 2013-04-20T05:57:13 < baird> See, some companies know how to market themselves in ways that matter.. 2013-04-20T05:58:38 < dongs> I think NetBSD page on faecesbook has mroe lieks than this 2013-04-20T06:00:14 < Erlkoenig> hm, the SWD transmits a lot more of these bursts for ~1.4sec, but then it stops 2013-04-20T06:02:29 < Erlkoenig> very weird 2013-04-20T06:07:33 < Bird|lappy> baird, considering that 6800 (HC05/08/11) and 8051 (innumerable) derivatives have thrived for...ages 2013-04-20T06:07:55 < gxti> but you can't use a 6502 to post tweets, it must be obsolete 2013-04-20T06:08:15 < Bird|lappy> the notion of a 6502 softcore makes sense...sometimes you're putting together a big, fat SoC, and you need a little processor off in the corner somewhere to do a few housekeeping chores XD 2013-04-20T06:10:54 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-232-128.clienti.tiscali.it] has quit [Ping timeout: 264 seconds] 2013-04-20T06:11:10 < Erlkoenig> wtf. downloaded new ST-Link Utility Version. Upgraded ST-Link Firmware. now everything works. ..... 2013-04-20T06:12:09 < Erlkoenig> the application even does what it should... wow 2013-04-20T06:12:27 < Erlkoenig> could have come across that idea earlier 2013-04-20T06:13:10 < Erlkoenig> now at least i know more about DFU, and SWD >.< 2013-04-20T06:13:57 < Erlkoenig> brb reboot 2013-04-20T06:13:58 -!- Erlkoenig [~erlkoenig@pptp-212-201-73-131.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-20T06:15:17 -!- Netsplit *.net <-> *.split quits: scrts, HTT-Bird, izzy84075, CoolBear 2013-04-20T06:16:58 -!- Erlkoenig [~erlkoenig@pptp-194-94-198-217.pptp.stw-bonn.de] has joined ##stm32 2013-04-20T06:20:19 -!- HTT-Bird [~Birdz0r@unaffiliated/htt-bird] has joined ##stm32 2013-04-20T06:20:19 -!- scrts [~quassel@unaffiliated/scrts] has joined ##stm32 2013-04-20T06:20:19 -!- CoolBear [~hightower@ti0069a380-0800.bb.online.no] has joined ##stm32 2013-04-20T06:20:23 -!- ossifrage [~ossifrage@c-71-224-59-2.hsd1.pa.comcast.net] has joined ##stm32 2013-04-20T06:23:09 < baird> No one cares blog-- it was 30 years ago this week I started programming... 2013-04-20T06:24:28 -!- Erlkoenig [~erlkoenig@pptp-194-94-198-217.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-20T06:36:37 -!- BJfreeman [~bjfree@224.sub-75-233-200.myvzw.com] has quit [Quit: had a good time] 2013-04-20T06:50:32 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-20T06:50:41 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-20T06:52:44 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-20T06:53:58 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-20T06:59:55 < R0b0t1> baird: :) 2013-04-20T07:11:24 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-20T07:29:00 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Ping timeout: 256 seconds] 2013-04-20T07:32:17 -!- inca [~inca@cpe-71-64-109-226.neo.res.rr.com] has quit [Ping timeout: 252 seconds] 2013-04-20T07:39:20 -!- R2COM1 [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-20T07:43:03 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 252 seconds] 2013-04-20T07:43:09 -!- R2COM1 is now known as R2COM 2013-04-20T08:12:26 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-20T08:16:23 -!- dfletcher__ [~fletch@108.196.222.251] has joined ##stm32 2013-04-20T08:25:29 -!- Netsplit *.net <-> *.split quits: dfletcher_, shiftplusone 2013-04-20T08:34:12 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 252 seconds] 2013-04-20T08:58:44 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-20T09:04:59 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-20T09:27:20 -!- shiftplusone [~Shift@unaffiliated/shiftplusone] has joined ##stm32 2013-04-20T09:55:47 -!- dekar_ [~dekar@212.255.47.70] has joined ##stm32 2013-04-20T09:55:47 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-04-20T09:59:26 -!- dekar [~dekar@212.255.39.36] has quit [Ping timeout: 252 seconds] 2013-04-20T10:31:03 -!- barthess [~barthess@77.67.192.166] has joined ##stm32 2013-04-20T10:35:32 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-20T10:53:49 -!- sterna1 [~Adium@d83-183-118-166.cust.tele2.se] has joined ##stm32 2013-04-20T11:28:12 -!- _BJFreeman [~bjfree@16.sub-75-233-81.myvzw.com] has joined ##stm32 2013-04-20T11:28:47 -!- _BJFreeman is now known as BJfreeman 2013-04-20T11:32:30 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Quit: Leaving.] 2013-04-20T12:06:37 -!- barthess [~barthess@77.67.192.166] has quit [Quit: Leaving.] 2013-04-20T12:08:38 -!- barthess [~barthess@77.67.208.175] has joined ##stm32 2013-04-20T12:17:58 -!- ds2 [noinf@netblock-66-245-251-24.dslextreme.com] has quit [Read error: Connection timed out] 2013-04-20T12:18:20 -!- barthess [~barthess@77.67.208.175] has quit [Quit: Leaving.] 2013-04-20T12:20:54 -!- capacitor [~capacitor@123-243-139-187.tpgi.com.au] has joined ##stm32 2013-04-20T12:21:01 -!- izzy84075 [~quassel@50.35.192.18] has joined ##stm32 2013-04-20T12:21:18 -!- barthess [~barthess@77.67.208.175] has joined ##stm32 2013-04-20T12:30:18 -!- sterna1 [~Adium@d83-183-118-166.cust.tele2.se] has quit [Quit: Leaving.] 2013-04-20T12:34:00 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-20T12:38:39 -!- barthess [~barthess@77.67.208.175] has quit [Remote host closed the connection] 2013-04-20T12:40:24 -!- theAdib [~adib@dslb-088-074-157-167.pools.arcor-ip.net] has joined ##stm32 2013-04-20T12:40:58 -!- barthess [~barthess@77.67.208.175] has joined ##stm32 2013-04-20T12:55:31 -!- Posterdati [~antani@host230-237-dynamic.20-87-r.retail.telecomitalia.it] has joined ##stm32 2013-04-20T13:07:29 -!- capacitor [~capacitor@123-243-139-187.tpgi.com.au] has quit [Quit: meow] 2013-04-20T13:11:16 -!- Erlkoenig [~erlkoenig@pptp-212-201-75-130.pptp.stw-bonn.de] has joined ##stm32 2013-04-20T13:13:23 < Erlkoenig> is the BMP software said to be more stable than the ST-Link Firmware+PC Software? i am considering flashing the BMP firmware onto the F4 of the F4 Disco, to prograb/debug an F3 on an other board. 2013-04-20T13:16:37 -!- BJfreeman [~bjfree@16.sub-75-233-81.myvzw.com] has quit [Quit: had a good time] 2013-04-20T13:17:30 < Tectu> so okay... Thursday we had 28°C 2013-04-20T13:17:34 < Tectu> yesterday 25°C 2013-04-20T13:17:40 < Tectu> today we have a lot of snow 2013-04-20T13:19:56 -!- inca [~inca@cpe-71-64-109-226.neo.res.rr.com] has joined ##stm32 2013-04-20T13:24:56 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-20T13:24:57 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-20T13:25:02 < Tectu> hello Steffanx 2013-04-20T13:25:38 < dongs> sup trolls 2013-04-20T13:25:46 <+Steffanx> Tha sky bro 2013-04-20T13:25:58 < dongs> any new crap links for today?? 2013-04-20T13:26:10 < Tectu> Steffanx, how's the sky? 2013-04-20T13:26:26 < Tectu> Steffanx, we have snow here, after a 27°C day 2013-04-20T13:26:26 <+Steffanx> Sunny, blue and some clouds 2013-04-20T13:26:26 < dongs> bloggy. 2013-04-20T13:26:28 < Erlkoenig> hey guys... is BMP said to be more reliable than ST-Link? 2013-04-20T13:26:40 < dongs> Erlkoenig: it depends what your definition of stable/usable is. 2013-04-20T13:26:53 < dongs> Erlkoenig: if you wnat to be limited to only opensauce software for debugging, sure BMP is superior. 2013-04-20T13:26:55 < Tectu> Erlkoenig, well, you don't need any GDB server like with ST-Link. You can directly connect to the probe 2013-04-20T13:27:32 < Erlkoenig> well "stable" as in "does flash the target always when requested from PC" not as in "only flashes during odd hours" or something 2013-04-20T13:27:38 <+Steffanx> Erlkoenig when you use gdb anyway it's a good alternative. 2013-04-20T13:27:40 < Erlkoenig> gdb server would be okay 2013-04-20T13:27:45 < dongs> ive never had problems wiht stlink 2013-04-20T13:27:48 < dongs> but I use windows. 2013-04-20T13:27:50 < Erlkoenig> i have lots :( 2013-04-20T13:27:57 <+Steffanx> Haven't used mine for a while, but it always worked for me. 2013-04-20T13:27:57 < Erlkoenig> even with ST Link Utiliy Software 2013-04-20T13:28:11 < Erlkoenig> "Internal Error" and the like >.< 2013-04-20T13:30:41 < Erlkoenig> http://games.2g2s.de/elektronik/st-link.png like this 2013-04-20T13:31:26 < Erlkoenig> external F3 connected to the CN2 of the F4 Disco, connecting works, reading partially until this error occurs 2013-04-20T13:31:32 < Tectu> how can one use windows and never have had any problems, dongs 2013-04-20T13:32:00 < Erlkoenig> needless to say it worked perfectly all day yesterday 2013-04-20T13:32:17 <+Steffanx> How did you solve your other issue Erlkoenig ? 2013-04-20T13:32:22 <+Steffanx> the one you had yesterday 2013-04-20T13:32:33 < Erlkoenig> updated ST-Link firmware... 2013-04-20T13:32:44 < Erlkoenig> now i can program the F4 on the F4 Disco again, but not the F3 2013-04-20T13:34:30 < Erlkoenig> http://embdev.net/articles/STM_Discovery_as_Black_Magic_Probe#Bootstraping_via_the_F4Discovery_board_itself is it correct that the firmware compiled via "make PROBE_HOST=f4discovery" is suitable for running on the F4, and connect to other STM32 via some GPIO Pins on the big pinheaders, right? 2013-04-20T13:42:26 -!- Erlkoenig [~erlkoenig@pptp-212-201-75-130.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-20T13:44:08 -!- barthess [~barthess@77.67.208.175] has quit [Quit: Leaving.] 2013-04-20T14:01:20 < Tectu> jpa-, in KiCAD, are power ports global? 2013-04-20T14:01:46 < jpa-> yes 2013-04-20T14:02:40 < Tectu> thanks 2013-04-20T14:03:39 -!- daku is now known as DaKu 2013-04-20T14:15:23 < Tectu> huh... when loading a new net list in the PCB editor of KiCAD, there was some option to sort them side by side, no? currently they are all on top of each other 2013-04-20T14:15:49 < jpa-> it's sillily hidden feature 2013-04-20T14:15:57 < jpa-> first you need to click the magic button on the toolbar 2013-04-20T14:16:14 < jpa-> after that you need to right-click somewhere and select to place the parts automatically or something 2013-04-20T14:16:30 -!- Erlkoenig [~erlkoenig@pptp-212-201-79-115.pptp.stw-bonn.de] has joined ##stm32 2013-04-20T14:16:31 < Tectu> magic button? 2013-04-20T14:17:02 < jpa-> "enable move and place" or something 2013-04-20T14:17:09 <+Steffanx> "after that you need to right-click somewhere and select to place the parts automatically or something" Tectu ... doesnt that say enough? 2013-04-20T14:17:20 < jpa-> and don't try to use the "place automatically", just "move parts" 2013-04-20T14:17:51 < Tectu> lol? «place automatically» seems to be a sane option, no? :D 2013-04-20T14:17:56 < jpa-> no :D 2013-04-20T14:18:03 < jpa-> it places them in totally crazy places 2013-04-20T14:18:09 < jpa-> because it tries to be smart but it is not 2013-04-20T14:18:22 <+Steffanx> It outsmarts you jpa- 2013-04-20T14:18:25 < Tectu> just as laurenceb 2013-04-20T14:18:32 < jpa-> while "move parts" places them in neat grid 2013-04-20T14:18:44 < Tectu> jpa-, got it working, thanks 2013-04-20T14:18:55 < Tectu> it's perfectly obvious how to do that -.-' 2013-04-20T14:20:27 < Tectu> how does one place a board outline o.O 2013-04-20T14:20:59 < jpa-> draw on the pcb edges layer 2013-04-20T14:22:14 < Tectu> lol that auto placer is funny 2013-04-20T14:22:22 < Tectu> (sorry, bud I had to give it a try) 2013-04-20T14:22:40 < Tectu> I'm not sure if it does something useful o.O 2013-04-20T14:23:09 < qyx_> Tectu: still trying to do something in kicad? 2013-04-20T14:23:10 < Tectu> it just moves one part over the entire area all over again 2013-04-20T14:23:16 < Tectu> qyx_, is that bad? :) 2013-04-20T14:23:23 < qyx_> no, it isn't 2013-04-20T14:23:34 < qyx_> i gave up for the second time 2013-04-20T14:24:22 < Tectu> qyx_, I can be quite pushy 2013-04-20T14:24:32 < Tectu> qyx_, so when I got the time, I am open to learn new things 2013-04-20T14:25:31 -!- theAdib [~adib@dslb-088-074-157-167.pools.arcor-ip.net] has quit [Quit: Ex-Chat] 2013-04-20T14:26:18 < Tectu> jpa-, okay, I did do the auto placement thing... I guess nobody of the developers ever tried to actually route a PCB out of the auto-arrange feature o.O 2013-04-20T14:27:07 < qyx_> i am suspecting that it was created by two different groups of people 2013-04-20T14:27:44 < qyx_> 1. EE's who never programmed anything and 2. programmers who have never held soldering iron 2013-04-20T14:28:45 <+Steffanx> When you add both you can (crap like) kicad :P 2013-04-20T14:28:56 <+Steffanx> *combine 2013-04-20T14:29:28 < Tectu> wtf, it leaves like 0.5mm space from two ICs, and none of the pins are connected to their neibours 2013-04-20T14:30:12 < qyx_> actually this might be good combination, but you have to combine them, not group them 2013-04-20T14:32:57 < Tectu> jpa-, do I have to do something special when doings a bus? I did it like I know it from eagle but in the netlist/PCB, those are not connected at all 2013-04-20T14:33:20 < Tectu> jpa-, I simply labeled the lines in the bus, used the 45° thing, drew a bus, made a hiearchial label thing 2013-04-20T14:39:59 -!- sterna1 [~Adium@dhcp-189128.eduroam.chalmers.se] has joined ##stm32 2013-04-20T14:40:45 -!- Erlkoenig [~erlkoenig@pptp-212-201-79-115.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-20T14:44:10 -!- Laurenceb_ [~Laurence@host86-171-4-117.range86-171.btcentralplus.com] has joined ##stm32 2013-04-20T14:47:09 -!- Erlkoenig [~erlkoenig@pptp-212-201-78-8.pptp.stw-bonn.de] has joined ##stm32 2013-04-20T14:52:07 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-20T14:53:31 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 256 seconds] 2013-04-20T14:58:38 < Erlkoenig> http://www.keil.com/support/man/docs/ulink2/ulink2_connector_20_16_14_10pin.png is that on the left the usual JTAG plug suitable for the STM32? 2013-04-20T15:00:47 -!- Laurenceb__ [~Laurence@host86-171-4-117.range86-171.btcentralplus.com] has joined ##stm32 2013-04-20T15:02:39 < Tectu> jpa-, ? 2013-04-20T15:02:47 < Tectu> Erlkoenig, yes 2013-04-20T15:02:52 <+Steffanx> http://www2.keil.com/coresight/coresight-connectors/ that helps you Erlkoenig ? 2013-04-20T15:02:54 < Tectu> Erlkoenig, 10 and 20-ping are the standard JTAGs 2013-04-20T15:03:06 -!- Laurenceb_ [~Laurence@host86-171-4-117.range86-171.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-20T15:04:27 <+Steffanx> There was another page about it iirc, but cant find it :( 2013-04-20T15:05:16 < Erlkoenig> oh great thanks... what is that Pin7 "KEY"? 2013-04-20T15:05:25 -!- Laurenceb_ [~Laurence@host86-173-194-85.range86-173.btcentralplus.com] has joined ##stm32 2013-04-20T15:05:54 < Erlkoenig> i am considering telling my E-Engineer/Routing-Guy to route the whole JTAG Interface to such a plug, instead of just SWD 2013-04-20T15:06:32 < Tectu> Erlkoenig, "plug" <-- had to 'lol' 2013-04-20T15:06:49 < Erlkoenig> wut 2013-04-20T15:06:59 < Erlkoenig> pinheader or whatever it'scalled 2013-04-20T15:07:51 <+Steffanx> Hmm from what i understand that key pin isn't actually a real pin and isn't even there.. 2013-04-20T15:08:08 <+Steffanx> "key, pin is typically missing from the target board" 2013-04-20T15:08:12 -!- Laurenceb__ [~Laurence@host86-171-4-117.range86-171.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-20T15:08:43 < Tectu> yes, the key pin is to make a polarisation when you don't have the bulky plastic around 2013-04-20T15:09:02 < qyx_> Steffanx: thats the purpose of the key pin 2013-04-20T15:09:06 < Erlkoenig> okay so i'll tell him to leave it unconnected? 2013-04-20T15:09:10 < Tectu> it's meant to be "closed" (so you cannot slide in a pin) on the actual cable and a missing pin on the header 2013-04-20T15:09:17 <+Steffanx> What do you want to connect it to :P 2013-04-20T15:09:27 < Tectu> Erlkoenig, actually, the pin shouldn't be there 2013-04-20T15:09:32 < Erlkoenig> STM32F3 Board <=> JTAG Programmer ^^ 2013-04-20T15:09:32 < Tectu> Erlkoenig, to keep the standard... 2013-04-20T15:09:35 < Erlkoenig> ah okay 2013-04-20T15:09:44 <+Steffanx> Erlkoenig doesnt like swd anymore? 2013-04-20T15:09:52 < Erlkoenig> exactly :D 2013-04-20T15:09:53 < Tectu> Erlkoenig, have you ever connected your internal USB in your PC?`with those 2x5 pins? 2013-04-20T15:10:06 < Erlkoenig> currently using SWD but we might want to "upgrade" in the future, and since the JTAG pins aren't used in our design... 2013-04-20T15:10:12 < Erlkoenig> Tectu: yes once 2013-04-20T15:10:20 <+Steffanx> JTAG isn't an upgrade :P 2013-04-20T15:10:37 < Tectu> Erlkoenig, it has that too 2013-04-20T15:10:47 <+Steffanx> jtag is a downgrade :P 2013-04-20T15:10:54 < Erlkoenig> compared to SWD, really? 2013-04-20T15:11:02 < Erlkoenig> i thought it is faster and stuff 2013-04-20T15:11:29 < Tectu> Erlkoenig, see: http://static.scan.co.uk/images/products/894876-a.jpg 2013-04-20T15:11:51 < Tectu> Erlkoenig, the bottom left pin on the actual connector isn't open, and the pinheader doesn't have a pin there - so you cannot plug it in the wrong way 2013-04-20T15:12:02 < Tectu> Erlkoenig, some better image: http://supcontent.gateway.com/support.gateway.com/s/Cases/shared/8010826R/8010826R_USB.JPG 2013-04-20T15:12:12 < Erlkoenig> ah nice 2013-04-20T15:12:36 < Tectu> yeah, it's a feature which women are missing 2013-04-20T15:12:39 < Erlkoenig> Steffanx: would you really say that we should stay with SWD? 2013-04-20T15:12:47 <+Steffanx> Nah, it's all up to you 2013-04-20T15:14:44 <+Steffanx> "SWD uses 2-pins to provide the same debug functionality as JTAG with no performance penalty" according to keil 2013-04-20T15:14:54 <+Steffanx> ", and introduces data trace capabilities with the Serial Wire Viewer (SWV)." 2013-04-20T15:15:19 < Erlkoenig> hm 2013-04-20T15:15:32 < Erlkoenig> maybe JTAG Tools are more stable than all that SWD/ST-Link fiddling? 2013-04-20T15:19:21 <+Steffanx> You said you were doing wfi not? 2013-04-20T15:20:11 < Erlkoenig> yes, i use WFI 2013-04-20T15:20:27 < Erlkoenig> does JTAG avoid those Core-locking-issues? 2013-04-20T15:22:19 -!- capacitor [~capacitor@123-243-139-187.tpgi.com.au] has joined ##stm32 2013-04-20T15:25:10 <+Steffanx> You do keep the core 'clocked' in sleep mode using some bits in DBG.MCU_CR? Not sure if that's neccessary though 2013-04-20T15:25:24 * capacitor waves to Steffanx 2013-04-20T15:25:52 < Erlkoenig> uhm didn't touch that register 2013-04-20T15:32:02 <+Steffanx> Not sure if this actually applies here: http://www.atollic.com/index.php/kb/11-st_specific_debugging/105-kb_debug_stm32_low_power_modes 2013-04-20T15:33:10 < Erlkoenig> ah interesting 2013-04-20T15:33:24 < Erlkoenig> page 1397 in the F4 RM 2013-04-20T15:33:43 < Erlkoenig> but that's not the cause of my SWD problems... 2013-04-20T15:34:07 -!- Laurenceb__ [~Laurence@host86-177-210-72.range86-177.btcentralplus.com] has joined ##stm32 2013-04-20T15:35:37 < Tectu> Laurenceb_, where do you live? 2013-04-20T15:35:58 -!- Laurenceb_ [~Laurence@host86-173-194-85.range86-173.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-20T15:36:18 <+Steffanx> ukland.. 2013-04-20T15:36:38 < capacitor> the F4 RM is off the chain 2013-04-20T15:36:57 <+Steffanx> uh what capacitor ? 2013-04-20T15:37:13 < capacitor> oh sorry, RM0090 2013-04-20T15:37:55 < capacitor> my printer caught fire when i tried to print it out 2013-04-20T15:38:35 < Erlkoenig> print 1400 Pages? :D 2013-04-20T15:38:38 < Erlkoenig> sounds expensive 2013-04-20T15:38:48 < capacitor> ;] 2013-04-20T15:38:59 < Tectu> capacitor, seriously? 2013-04-20T15:39:04 < capacitor> just kidding mate. 2013-04-20T15:39:15 < Tectu> :D 2013-04-20T15:39:21 < Tectu> would be funny on a 100$ home printer 2013-04-20T15:39:27 < Tectu> have so refill papers 5 times 2013-04-20T15:39:29 <+Steffanx> capacitor must be baird's little brother 2013-04-20T15:39:39 < Tectu> why? I never saw baird doing jokes 2013-04-20T15:39:40 < capacitor> well i could put it to the test, this supports double sided printing however... 2013-04-20T15:39:57 < Tectu> capacitor, cool, so only 2.5 times paper refill! 2013-04-20T15:40:14 < capacitor> i have $110 print credit at school 2013-04-20T15:40:22 < inca> is there a way to us USB OTG for debugging in addition to DFU deployment? 2013-04-20T15:40:48 -!- DaKu is now known as daku 2013-04-20T15:40:51 < inca> or is that still just a beta whitepaper from ARM? 2013-04-20T15:41:41 < Tectu> capacitor, would be funny to see all the chicks wanting to help you to carry your 1500 sheets home 2013-04-20T15:41:51 < baird> You lot are in for a surprise if you come to me asking for help in learning to shave.. 2013-04-20T15:42:17 < Tectu> o.O 2013-04-20T15:42:19 < Tectu> this scares me 2013-04-20T15:42:21 < capacitor> Tectu: i think i can manage 1500 pages lol 2013-04-20T15:42:24 < dongs> sup inca 2013-04-20T15:42:26 < dongs> how g oes ragequitting 2013-04-20T15:42:34 < capacitor> and besides its only 750 if duplex 2013-04-20T15:42:40 < Tectu> capacitor, that's what one of my old teachers said a week before I never saw him again (no kidding) 2013-04-20T15:42:48 < capacitor> very nice! 2013-04-20T15:42:53 < capacitor> maybe the same will come of me 2013-04-20T15:42:53 < baird> Wouldn't it just be cheaper to buy a cheap Android tablet that does pdfs? :P 2013-04-20T15:43:03 < Tectu> capacitor, so one cap less! 2013-04-20T15:43:21 < Tectu> baird, real people display PDFs on their SSD2119 ;-) 2013-04-20T15:43:34 < capacitor> so I'm looking at ARM cortex books, anything recommended for the F4 2013-04-20T15:43:40 < capacitor> i have Yiu's book in PDF 2013-04-20T15:44:53 < baird> Tectu: some friends of the housemate were around this evening-- being techie types, I did the show-and-tell with the F4+SSD2119, including all the demos you've seen 2013-04-20T15:45:18 < Tectu> baird, and? 2013-04-20T15:45:20 < inca> dongs: sup sup… it felt good 2013-04-20T15:45:24 < Tectu> baird, what did 'ey say? 2013-04-20T15:46:02 < inca> dongs: but it won't be nearly as satisfying as debugging over USB otg ;) 2013-04-20T15:46:25 < baird> (..except they got the full-frame experience :) .. One of them goes, "awwww, you _have_ to do the scroller-text sine-wave demo" ... 30 seconds later, I've loaded https://www.youtube.com/watch?v=VcD7BlhK0u8 and show it off. "I'm more impressed by the turn-around!" sez he. 2013-04-20T15:46:40 -!- Laurenceb_ [~Laurence@host86-178-2-227.range86-178.btcentralplus.com] has joined ##stm32 2013-04-20T15:46:47 < capacitor> its almost like being on LSD 2013-04-20T15:46:52 < capacitor> nice work man! 2013-04-20T15:47:15 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-20T15:47:23 < baird> capacitor: there's several more graphic demos in the channel. 2013-04-20T15:48:16 < Laurenceb_> Laurenceb_, where do you live? 2013-04-20T15:48:28 < Laurenceb_> Tectu is ordering drone strikes? 2013-04-20T15:48:54 < capacitor> hey we have the same board! 2013-04-20T15:49:00 -!- Laurenceb__ [~Laurence@host86-177-210-72.range86-177.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-20T15:49:01 < baird> With that one, I was hoping to get something that would do spinning and stretching, but wasn't quite up to it. 2013-04-20T15:49:01 < capacitor> except yours does stuff 2013-04-20T15:49:54 < Tectu> baird, hehe, well done ;) 2013-04-20T15:50:13 < capacitor> the cat one is cool 2013-04-20T15:50:30 < Tectu> baird, showed them the directory and "maintainer" of the infotronics sector at our fachhochschule yesterday 2013-04-20T15:50:38 < Tectu> baird, I shall tell you "well done sir, well done" 2013-04-20T15:50:50 < Laurenceb_> Tectu: Derby, UK 2013-04-20T15:51:20 < Tectu> Laurenceb_, cool, thanks 2013-04-20T15:51:30 < Tectu> Laurenceb_, thought you're in boston 2013-04-20T15:51:44 < baird> capacitor: that was the first coding I did for the LCD display. I wasn't going to do mandelbrots or Spinnin' Cubez like everyone else. :) 2013-04-20T15:51:47 < Tectu> doesn't seem to be quite funny over there these days... 2013-04-20T15:51:56 < capacitor> i like cats 2013-04-20T15:51:57 < Laurenceb_> lolwtf 2013-04-20T15:52:05 < Laurenceb_> it wasn't me 2013-04-20T15:52:16 < Tectu> Laurenceb_, just shut the fuck up, that's not funny 2013-04-20T15:52:26 < capacitor> welcome Laurenceb 2013-04-20T15:52:40 < Tectu> baird, are you planninig another demo? 2013-04-20T15:52:48 < Laurenceb_> http://www.sickipedia.org/subcategory/view/3802 2013-04-20T15:52:56 < Laurenceb_> ^ attn Tectu 2013-04-20T15:53:06 < capacitor> aha 2013-04-20T15:53:36 < baird> Tectu: I got the Embest camera module the other day. Tomorrow's efforts will probably be on that. 2013-04-20T15:53:39 < capacitor> did you post that in an effort to offend someone? 2013-04-20T15:53:43 < Tectu> Laurenceb_, seriously. 2013-04-20T15:53:46 < Laurenceb_> yes, Tectu 2013-04-20T15:53:51 < Tectu> baird, cool! 2013-04-20T15:54:00 < Tectu> baird, you'd need to write the DCMI HAL for ChibiOS/RT 2013-04-20T15:54:13 < Tectu> baird, I begun with that, but the templates are just search&replace 2013-04-20T15:54:24 < Tectu> baird, when that is done, I'd start with a new GFX module called "GCAM" 2013-04-20T15:56:05 < baird> I've seen Embest's sample code doing the DCMI thing. I'll probably do a low-level driver of sorts, which when it works might be good for testing on the /gfx code. 2013-04-20T15:57:57 < baird> I've not actually examined /gfx too closely (given that my demos are practically bare-metal anyway), so I haven't at the moment any ideas on a HAL. 2013-04-20T16:01:17 < Tectu> baird, sure, just ask when you'd have any questions 2013-04-20T16:01:39 < Tectu> baird, the stream thing is on the ToDo list, but I must put some more thinking in there since everything needs to be generic 2013-04-20T16:03:59 < Tectu> Laurenceb_ when he goes to a new place: http://www.youtube.com/watch?feature=player_detailpage&v=fWNaR-rxAic#t=28s 2013-04-20T16:05:05 < capacitor> i reckon she'd suck a mean pole 2013-04-20T16:05:34 < Tectu> say what? 2013-04-20T16:06:10 < capacitor> hi 2013-04-20T16:06:43 < Tectu> .__. 2013-04-20T16:06:52 < capacitor> 0_0 2013-04-20T16:07:24 < baird> Uh oh, I've got less than 55 minutes to bbbllllaazzzeeee it. 2013-04-20T16:07:33 < capacitor> you smokin? 2013-04-20T16:08:38 < baird> Not saying anything in a public medium when I have a vindictive ex-girlfriend 2013-04-20T16:08:48 < capacitor> lol 2013-04-20T16:08:57 < capacitor> women are better when they don't have heads 2013-04-20T16:08:59 < capacitor> :D 2013-04-20T16:09:12 < Tectu> lol, what did you do to her, baird ? 2013-04-20T16:09:29 < Tectu> capacitor, how to blowjob? 2013-04-20T16:09:30 < capacitor> hahha 2013-04-20T16:09:42 -!- Laurenceb__ [~Laurence@host86-136-118-40.range86-136.btcentralplus.com] has joined ##stm32 2013-04-20T16:09:47 < Tectu> capacitor, also, they must taste the food in the kitchen, no? 2013-04-20T16:09:57 < capacitor> well her dad can do the blowjobs 2013-04-20T16:10:08 < capacitor> and she's in the oven so she aint tastin anything 2013-04-20T16:10:14 < Laurenceb__> lulwut 2013-04-20T16:10:22 * capacitor bows 2013-04-20T16:10:33 < Tectu> wtf? 2013-04-20T16:10:37 < Laurenceb__> ##stm32-trolling 2013-04-20T16:10:49 < capacitor> this is getting fairly off topic. 2013-04-20T16:10:56 < Tectu> Laurenceb_, I am worring that he might not be trolling and actually being serious o.O 2013-04-20T16:11:06 -!- Laurenceb_ [~Laurence@host86-178-2-227.range86-178.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-20T16:11:15 < Tectu> capacitor, let's assume she's in an STM32 controlled oven - totally on-topic again 2013-04-20T16:11:15 -!- Laurenceb__ is now known as Laurenceb_ 2013-04-20T16:11:23 < capacitor> hey, you have a point 2013-04-20T16:12:23 < capacitor> well could have an oven with dynamic matrix control 2013-04-20T16:13:00 < Tectu> with a glory hole? 2013-04-20T16:13:05 < capacitor> hahahaha 2013-04-20T16:13:10 < capacitor> i really did laugh. 2013-04-20T16:13:58 < Tectu> so a 'lol' would actually be accurate 2013-04-20T16:14:09 < Tectu> what a historic moment 2013-04-20T16:14:21 < Tectu> capacitor, whe she 'lol's, you'd D is to small 2013-04-20T16:14:27 < Tectu> I guess I should just shut the fuck up now. 2013-04-20T16:15:05 < capacitor> lol 2013-04-20T16:15:29 -!- Laurenceb__ [~Laurence@host86-177-214-102.range86-177.btcentralplus.com] has joined ##stm32 2013-04-20T16:15:49 < Tectu> has anyone here ever done a bus in KiCAD? 2013-04-20T16:16:20 < Laurenceb__> i dont screw busses 2013-04-20T16:16:41 < capacitor> haha 2013-04-20T16:17:38 -!- Laurenceb_ [~Laurence@host86-136-118-40.range86-136.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-20T16:17:53 < capacitor> this channel is now better than electronics 2013-04-20T16:18:04 < Tectu> everything is better than ##electronics 2013-04-20T16:18:11 < Tectu> and the only thing better than this channel is ##c 2013-04-20T16:18:18 < capacitor> is it as amusing? 2013-04-20T16:18:21 < capacitor> i can C 2013-04-20T16:19:10 <+Steffanx> Better in what way capacitor ? 2013-04-20T16:19:32 < zyp> you guys need to start shutting up 2013-04-20T16:20:00 < Tectu> zyp, are you absolutely sure that SDRAM doesn't work on the F4 FSMC? I am quite sure that waveshare sells F4 boards with SDRAM 2013-04-20T16:20:08 * Steffanx doesn't feel he is part of the 'you' zyp talks about 2013-04-20T16:20:10 < Robint91> Tectu, LINK 2013-04-20T16:20:14 < Tectu> zyp, maybe they just do GPIO 2013-04-20T16:20:16 < zyp> Tectu, they don't. 2013-04-20T16:20:22 < capacitor> Steffanx: hard to explain its just good 2013-04-20T16:20:25 < zyp> they sell boards with SRAM, I got one 2013-04-20T16:21:10 < Tectu> zyp, http://www.ebay.com/itm/H57V2562GTR-SDRAM-Board-Synchronous-DRAM-Memory-Evaluation-Development-Module-/261033541868?pt=LH_DefaultDomain_0&hash=item3cc6cfc0ec 2013-04-20T16:21:17 < Tectu> zyp, but as I just see, those are meant for their FPGA boards 2013-04-20T16:21:26 <+Steffanx> capacitor, please don't come here with the trash-talk from ##electronics. We already have enough of that 2013-04-20T16:21:31 < zyp> Tectu, sure 2013-04-20T16:21:35 < capacitor> okay 2013-04-20T16:21:37 < zyp> that's irrelevant 2013-04-20T16:21:49 < Tectu> zyp, I'm sorry 2013-04-20T16:22:07 < zyp> and as said earlier, F429 will support SDRAM 2013-04-20T16:22:12 < zyp> if you want that. 2013-04-20T16:22:34 < Tectu> uh, interesting. 2013-04-20T16:22:39 < Tectu> is there a release date for it anyways? 2013-04-20T16:24:10 <+Steffanx> ntfreak_ is our guy when it comes to inside info. Perhaps he is allowed to tell us? 2013-04-20T16:27:38 < Tectu> ntfreak_, yeah, please tell (me) 2013-04-20T16:28:01 -!- baird [~cjb@ppp121-44-243-128.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-04-20T16:28:45 < capacitor> You can easily extend your memory range using the flexible memory controller now reaching up to 84 MHz over up to a 32-bit parallel interface 2013-04-20T16:29:00 < capacitor> is that common for today's MCUs? 2013-04-20T16:30:38 < Robint91> damm the MRF24J0MA is too big 2013-04-20T16:35:54 < jpa-> Tectu: buses in kicad are different from buses in eagle 2013-04-20T16:36:00 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:214c:4187:5897:d737] has joined ##stm32 2013-04-20T16:36:00 < jpa-> Tectu: in a way, they are somewhat stupid 2013-04-20T16:36:08 < jpa-> Tectu: read some tutorial about them :) 2013-04-20T16:37:43 < Tectu> jpa-, I tried to follow the tutorial in the official docs... do you have something different? 2013-04-20T16:38:02 < Tectu> jpa-, I guess my problem is that I have one side of the bus on sheet1, the other on sheet2. both of then have a hierarchial label which are connected on the root sheet 2013-04-20T16:41:02 < karlp> Robint91: really? 2013-04-20T16:41:21 < karlp> hve to build your own on board then. 2013-04-20T16:42:09 < Tectu> Robint91, use KiCAD - tell me how to use it afterwards 2013-04-20T16:42:21 < Robint91> karlp, 2013-04-20T16:42:23 < Robint91> shit 2013-04-20T16:43:12 < Robint91> karlp, http://i.imgur.com/fOExzvK.png I have something around 15mm x 18mm 2013-04-20T16:43:27 < Tectu> Robint91, what software? 2013-04-20T16:43:40 < zyp> looks like altium 2013-04-20T16:43:48 < Robint91> Tectu, ARE YOU MAD, http://www.youtube.com/watch?v=T_ttcSaTheI 2013-04-20T16:43:54 < Robint91> zyp is correct 2013-04-20T16:44:10 < Robint91> Tectu, using KiCAD 2013-04-20T16:44:36 < Tectu> what now? altium or KiCAD? o.O 2013-04-20T16:44:51 < Robint91> Tectu, KiCAD is MADNESS 2013-04-20T16:45:07 < karlp> Robint91: the atmel rf230 and a folded dipole might fit? 2013-04-20T16:45:07 < Tectu> why? 2013-04-20T16:45:17 < karlp> or just stack it 2013-04-20T16:45:33 -!- Laurenceb_ [~Laurence@host86-146-189-41.range86-146.btcentralplus.com] has joined ##stm32 2013-04-20T16:45:48 < karlp> you've got big pins on there arleady, so you you have vertical space I presume? 2013-04-20T16:46:15 < karlp> oh yeah, still too big :) 2013-04-20T16:46:36 < Robint91> Tectu, just use altium and you know why 2013-04-20T16:46:47 < Robint91> karlp, pins are only for the footprint 2013-04-20T16:46:57 < Tectu> Robint91, just pay me the license and you know why I use KiCAD 2013-04-20T16:46:57 < Robint91> I have around 4.5mm headroom 2013-04-20T16:47:41 < Robint91> karlp, I want to avoid double sided assembly 2013-04-20T16:47:41 < karlp> well, you're either going to put rf on the board yourself, or maybe find some super low rise connectors? 2013-04-20T16:47:56 -!- Laurenceb__ [~Laurence@host86-177-214-102.range86-177.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-20T16:47:59 < karlp> good luck :) 2013-04-20T16:48:27 -!- Laurenceb__ [~Laurence@host86-143-185-84.range86-143.btcentralplus.com] has joined ##stm32 2013-04-20T16:48:45 < Robint91> we have a winner 2013-04-20T16:48:46 < Robint91> http://www.panasonic.com/industrial/electronic-components/rf-modules/bluetooth/pan1326-1316.aspx 2013-04-20T16:48:48 < karlp> I reckon you're going to have do the rf on the board yourself, not with a module. 2013-04-20T16:49:01 < karlp> that's bluetooth... 2013-04-20T16:49:11 < Robint91> pff 2013-04-20T16:49:20 < Robint91> mhh 2013-04-20T16:49:20 < karlp> also pricy iirc 2013-04-20T16:49:47 < karlp> well, I'm off to go car shopping. let me know how it goes :) 2013-04-20T16:50:29 < Robint91> right 2013-04-20T16:50:30 < Robint91> Small form factor: 16.4 x 26.5 mm 2013-04-20T16:50:33 < Robint91> NO SHIT 2013-04-20T16:50:43 < Robint91> that ain't small 2013-04-20T16:51:00 < zyp> small is relative 2013-04-20T16:51:02 -!- Laurenceb_ [~Laurence@host86-146-189-41.range86-146.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2013-04-20T16:51:14 < zyp> for being a module it's pretty small 2013-04-20T16:51:53 < Robint91> see the problem is that a 802.15.4 module most of the time a buildin CPU to handle 6 lowpan / zigbee 2013-04-20T16:52:46 -!- daku is now known as DaKu 2013-04-20T16:53:23 < zyp> that's not the problem, you get single chip solutions with built in cpu that are as small as a solution without. 2013-04-20T16:55:08 < Robint91> zyp, yeah, the ecomical benefis of using a module are large then doing it with a tranciever chip and layouts 2013-04-20T16:55:28 < Robint91> zyp, It requires a 4L design + dual sided assembly 2013-04-20T16:55:56 < zyp> why dual sided? 2013-04-20T16:56:19 < Robint91> seen the render? 2013-04-20T16:56:31 < zyp> and? 2013-04-20T16:56:37 < Robint91> zyp, 2.4Ghz TRX + xtal + ceramic antenna 2013-04-20T16:57:12 < zyp> and? 2013-04-20T16:57:28 < Robint91> to little room on the top side 2013-04-20T16:57:48 < zyp> well, you don't have room for a module there either, so I don't see how that changes anything 2013-04-20T16:58:55 -!- Laurenceb_ [~Laurence@host86-129-130-27.range86-129.btcentralplus.com] has joined ##stm32 2013-04-20T17:00:12 < capacitor> there are now 3 Laurenceb characters 2013-04-20T17:00:56 < Robint91> http://i.imgur.com/tjfJ8QA.png 2013-04-20T17:01:16 -!- Laurenceb__ [~Laurence@host86-143-185-84.range86-143.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-20T17:02:02 < Tectu> Robint91, what is this supposed to become? A rectal thermometer? (no kidding) 2013-04-20T17:02:53 < Tectu> Robint91, also, please tell me that you're not doing this for fun at home in your sparetime, it looks way to professional 2013-04-20T17:04:05 < zyp> Robint91, I assume U1 is some kind of microcontroller? replace it with one with a transceiver built-in, and then your problem is solved 2013-04-20T17:04:43 < Robint91> Tectu, -____- It is a replacement IR pen that I now make, the old one use the PCB + some PUR resin as case 2013-04-20T17:04:56 < Tectu> oh 2013-04-20T17:05:01 < Tectu> I'm sorry, but what's an IR pen? 2013-04-20T17:05:14 < Tectu> zyp, wouldn't that require a complete change on the layout etc? He seems to be quite far 2013-04-20T17:05:25 < zyp> why? 2013-04-20T17:05:44 < zyp> just remove U1, hook up a new chip and reroute 2013-04-20T17:06:03 < Robint91> zyp, yeah, the annoying thing is that I need a DAC 2013-04-20T17:06:11 < Robint91> Tectu, PCB isn't designed yet 2013-04-20T17:06:14 < Robint91> Tectu, http://www.youtube.com/watch?v=Q2zccR1uYYo 2013-04-20T17:06:28 < zyp> a DAC? for what? 2013-04-20T17:07:36 < Robint91> some IR modulation, the problem is that I need to adapt the current but still need a good duty cycle of 50% 2013-04-20T17:07:42 < zyp> oh well 2013-04-20T17:07:47 < Tectu> Robint91, oh, that's a nice thing! 2013-04-20T17:07:49 < zyp> features, small, cheap, pick two 2013-04-20T17:08:03 < Robint91> zyp, yeah I know 2013-04-20T17:08:25 -!- Laurenceb__ [~Laurence@host86-129-128-47.range86-129.btcentralplus.com] has joined ##stm32 2013-04-20T17:08:40 < Tectu> Robint91, need one of these :P 2013-04-20T17:09:12 -!- Laurenceb_ [~Laurence@host86-129-130-27.range86-129.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-20T17:09:19 < zyp> Robint91, just do pwm and add a capacitor? 2013-04-20T17:10:01 < zyp> cap will drive led with full duty, pwm will control cap charge level 2013-04-20T17:10:46 < zyp> in effect it will be a low pass filter much lower than the pwm frequency 2013-04-20T17:11:46 < Robint91> zyp, I tried that, with a first order filter I needed a PWM frequency of +500khz to get a stead signal 2013-04-20T17:12:02 < Robint91> zyp, and that didn't gave my that great resolution 2013-04-20T17:12:40 < zyp> well, depends on your timer clock, obviously :p 2013-04-20T17:12:57 < Robint91> zyp, data needs to be one 38khz carrier 2013-04-20T17:13:15 < zyp> ah 2013-04-20T17:13:30 < zyp> so 38hz carrier and current controlled in addition? 2013-04-20T17:13:39 < Robint91> yes 2013-04-20T17:13:51 < Robint91> the led has a few modes that it can work in 2013-04-20T17:14:20 < Robint91> like CW needs to be with a lower current than the peak current when modulating 2013-04-20T17:14:41 < zyp> well, just add a fet between cap and led to modulate the signal, then maintain cap charge level with pwm and make the cap large enough 2013-04-20T17:14:55 < zyp> hmm, ok 2013-04-20T17:14:58 < zyp> I'll just shut up. 2013-04-20T17:15:31 < Robint91> zyp, I have tested a lot of different topolgies 2013-04-20T17:16:03 < Robint91> like ST crippeld the STM32W by adding not a DAC 2013-04-20T17:16:09 < Robint91> else it was the perfect solution 2013-04-20T17:16:30 <+Steffanx> May i ask what you use that for Robint91? The current version does the fancy modulating? 2013-04-20T17:16:58 < Robint91> Steffanx, yes, but with a lower current 2013-04-20T17:17:30 < Robint91> Steffanx, I modulate my IR led with around 100mA which is the same as the CW function 2013-04-20T17:17:52 < Robint91> but because you modulate you loose a lot of IR power 2013-04-20T17:18:37 < Robint91> Steffanx, the avarage current drops to 50mA, so less radiated light, etc, lower SNR at the demodulator, more errors, ... 2013-04-20T17:22:33 < Robint91> http://i.imgur.com/GhDiEKr.png took 30s to render 2013-04-20T17:22:39 < Robint91> RTTFY 2013-04-20T17:22:55 <+Steffanx> and is blurryish 2013-04-20T17:23:01 -!- Laurenceb_ [~Laurence@host86-167-154-137.range86-167.btcentralplus.com] has joined ##stm32 2013-04-20T17:23:15 < Robint91> lol 2013-04-20T17:23:42 <+Steffanx> oh no, thats was chrome screwing around with the zoom 2013-04-20T17:24:30 -!- Laurenceb__ [~Laurence@host86-129-128-47.range86-129.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-20T17:24:51 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-20T17:26:25 < Robint91> did jpa design the dsoquad? 2013-04-20T17:26:40 < Tectu> Robint91, the green piece is a an insulator to keep the legs of the IR-LED apart? 2013-04-20T17:26:52 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [] 2013-04-20T17:26:59 < zyp> Robint91, I think he's just involved in third-party firmware development 2013-04-20T17:28:05 < Robint91> Tectu, it is also a PCB where the IR led will be mounted on, the green PCB has one degree of freedom, and that is in the direction of the IR led. Because I also mount a switch on the blue PCB, you can press the tip of the IR led and activate the pushbutton 2013-04-20T17:28:15 < Robint91> Tectu, thus creating a tip activated pen 2013-04-20T17:28:24 < Robint91> zyp, ah 2013-04-20T17:29:21 < Tectu> Robint91, cool! 2013-04-20T17:32:50 -!- Laurenceb__ [~Laurence@host86-171-127-169.range86-171.btcentralplus.com] has joined ##stm32 2013-04-20T17:35:30 -!- Laurenceb_ [~Laurence@host86-167-154-137.range86-167.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2013-04-20T17:37:30 < jpa-> Robint91: no :D 2013-04-20T17:37:39 < jpa-> Robint91: zyp is correct, as usual 2013-04-20T17:40:48 < Robint91> jpa-, oh I was wondering because I saw your name as mod on the forums of seeed 2013-04-20T17:42:16 < Tectu> jpa-, didn't you do the displaying routines? 2013-04-20T17:42:55 -!- Robin_ [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-20T17:43:00 < Tectu> at least he did some very useful logic analyzer :P 2013-04-20T17:43:05 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Disconnected by services] 2013-04-20T17:43:13 -!- Robin_ is now known as Robint91 2013-04-20T17:44:39 < Laurenceb__> why is my connection so fail 2013-04-20T17:48:50 -!- Laurenceb_ [~Laurence@host81-151-161-9.range81-151.btcentralplus.com] has joined ##stm32 2013-04-20T17:49:34 -!- _BJFreeman [~bjfree@251.sub-75-233-129.myvzw.com] has joined ##stm32 2013-04-20T17:49:52 < Laurenceb_> ragee 2013-04-20T17:50:11 -!- _BJFreeman is now known as BJfreeman 2013-04-20T17:51:24 -!- Laurenceb__ [~Laurence@host86-171-127-169.range86-171.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-20T17:52:53 -!- DaKu is now known as daku 2013-04-20T17:53:01 -!- Laurenceb__ [~Laurence@host86-168-105-184.range86-168.btcentralplus.com] has joined ##stm32 2013-04-20T17:55:18 -!- Laurenceb_ [~Laurence@host81-151-161-9.range81-151.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2013-04-20T17:55:28 -!- Robin_ [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-20T17:55:34 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Disconnected by services] 2013-04-20T17:55:38 -!- Robin_ is now known as Robint91 2013-04-20T17:58:46 < Erlkoenig> connecting PA9 on the F4 Disco to the 5V pin should power on the board when the Micro USB is connected to a PC without needing the Micro USB, right? 2013-04-20T18:05:48 < Tectu> Erlkoenig, PA9 is some UART pin, no? 2013-04-20T18:05:53 < Tectu> oh, wait, no, it's VBUS 2013-04-20T18:06:01 < Tectu> Erlkoenig, that doesn't work, nope 2013-04-20T18:06:09 < Tectu> Erlkoenig, you cannot power the F4 discovery board from the micro USB 2013-04-20T18:06:49 < Tectu> (at least mine don't ;-) ) 2013-04-20T18:07:08 < Erlkoenig> hu but why 2013-04-20T18:07:16 < Tectu> no idea :< 2013-04-20T18:07:20 < Erlkoenig> PA9 is directly connected to the micro-usb's power line 2013-04-20T18:07:21 < Tectu> I found this disturbing as well 2013-04-20T18:07:31 -!- sterna1 [~Adium@dhcp-189128.eduroam.chalmers.se] has quit [Read error: Connection reset by peer] 2013-04-20T18:07:35 -!- sterna2 [~Adium@dhcp-189128.eduroam.chalmers.se] has joined ##stm32 2013-04-20T18:09:14 < gxti> VUSB is for sensing whether usb is connected, not powering 2013-04-20T18:09:21 < gxti> obviously you cannot power a stm32 directly from 5v 2013-04-20T18:09:41 < Erlkoenig> but there is a 3V regulator 2013-04-20T18:10:03 < Erlkoenig> i would essentially connect the Micro USB's +5V to the Mini USB's +5V 2013-04-20T18:10:51 < jpa-> Tectu: i did nothing for the official firmware 2013-04-20T18:11:08 < jpa-> (except mock it for being the crazy chinese shit it is) 2013-04-20T18:12:28 -!- sterna2 [~Adium@dhcp-189128.eduroam.chalmers.se] has quit [Ping timeout: 258 seconds] 2013-04-20T18:12:52 < Tectu> heh 2013-04-20T18:13:55 < Erlkoenig> hm 2013-04-20T18:13:56 < Laurenceb__> i added a jumper to my F4 2013-04-20T18:14:01 < Laurenceb__> to power off micro usb 2013-04-20T18:14:04 < Erlkoenig> that connection would just circumvent D1 2013-04-20T18:14:23 < Laurenceb__> stick a 0.1" jumper across the sot23-5 usb current limiting switch thingy 2013-04-20T18:14:28 < Erlkoenig> such that USB power gets directly to the board instead of through D1, as when powering from mini usb 2013-04-20T18:14:32 < Laurenceb__> then you can run off micro usb 2013-04-20T18:15:10 < Erlkoenig> this would essentially be the same thing just more difficult to solder :D 2013-04-20T18:17:37 < Laurenceb__> i used 0.1" pin header and a jumper clip, so you can enable/disable it 2013-04-20T18:19:34 < Erlkoenig> i am sticking a small hole-grid-board onto a 25x2 Header that fits onto the F4's pinheader, and the board would route a few pins to SWD and JTAG "standard" headers so i can use the F4 Disco as a JTAG programmer using BMP firmware 2013-04-20T18:21:10 -!- Laurenceb_ [~Laurence@host86-151-43-61.range86-151.btcentralplus.com] has joined ##stm32 2013-04-20T18:24:06 -!- Laurenceb__ [~Laurence@host86-168-105-184.range86-168.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2013-04-20T18:33:31 -!- capacitor [~capacitor@123-243-139-187.tpgi.com.au] has quit [Quit: lol] 2013-04-20T18:34:39 -!- sterna1 [~Adium@dhcp-189128.eduroam.chalmers.se] has joined ##stm32 2013-04-20T18:36:25 -!- Laurenceb__ [~Laurence@host86-143-184-91.range86-143.btcentralplus.com] has joined ##stm32 2013-04-20T18:38:10 -!- Laurenceb_ [~Laurence@host86-151-43-61.range86-151.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-20T18:39:47 < Tectu> jpa-, I finally got the bus thing working.... 2013-04-20T18:40:15 < Tectu> jpa-, in the root sheet where I wanted to connect the busses, I used wires instead of a bus to connect from one to the other sheet -.- 2013-04-20T18:41:02 -!- Laurenceb_ [~Laurence@host86-177-213-97.range86-177.btcentralplus.com] has joined ##stm32 2013-04-20T18:42:59 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-20T18:43:50 -!- Laurenceb__ [~Laurence@host86-143-184-91.range86-143.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-20T18:45:00 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-20T18:57:25 -!- daku is now known as DaKu 2013-04-20T19:02:00 -!- sterna1 [~Adium@dhcp-189128.eduroam.chalmers.se] has quit [Ping timeout: 264 seconds] 2013-04-20T19:13:49 -!- sterna1 [~Adium@dhcp-180101.eduroam.chalmers.se] has joined ##stm32 2013-04-20T19:22:22 -!- Laurenceb__ [~Laurence@host86-178-234-48.range86-178.btcentralplus.com] has joined ##stm32 2013-04-20T19:23:32 -!- DaKu is now known as daku 2013-04-20T19:25:18 -!- Laurenceb_ [~Laurence@host86-177-213-97.range86-177.btcentralplus.com] has quit [Ping timeout: 258 seconds] 2013-04-20T19:27:12 -!- Laurenceb_ [~Laurence@host81-151-162-0.range81-151.btcentralplus.com] has joined ##stm32 2013-04-20T19:30:00 -!- Laurenceb__ [~Laurence@host86-178-234-48.range86-178.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-20T19:33:20 < emeb_mac> quiet in here... 2013-04-20T19:42:11 -!- grummund [~user@unaffiliated/grummund] has quit [Read error: Operation timed out] 2013-04-20T19:43:33 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-20T19:49:35 < Laurenceb_> ROARRRRR 2013-04-20T19:51:30 < emeb_mac> wondering where the lions are? 2013-04-20T19:51:53 <+Steffanx> on your mac 2013-04-20T19:51:55 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-20T19:51:57 < Laurenceb_> lol 2013-04-20T19:52:03 < Laurenceb_> that make him rage 2013-04-20T19:53:02 <+Steffanx> Whoa, you mean his mac is too old for os x 10.7 or 10.8 ? 2013-04-20T19:53:19 <+Steffanx> ( those are called os x lion and os x mountain lion :P ) 2013-04-20T19:54:50 < Tectu> :D 2013-04-20T19:55:04 < Tectu> I've never seen a more useless feature in a software than the auto placement of KiCAD 2013-04-20T20:01:44 -!- Laurenceb_ [~Laurence@host81-151-162-0.range81-151.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-20T20:07:36 -!- barthess [~barthess@178.154.6.10] has joined ##stm32 2013-04-20T20:13:44 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-20T20:14:16 < emeb_mac> no lion on my mac - snow leopard! 2013-04-20T20:16:29 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Client Quit] 2013-04-20T20:22:41 -!- Laurenceb_ [~Laurence@host86-177-56-68.range86-177.btcentralplus.com] has joined ##stm32 2013-04-20T20:45:32 < karlp> Robint91: atmel zigbit modules are 24x13.5mm, and this one: http://www.panasonic.com/industrial/electronic-components/rf-modules/snap/pan4555etu.aspxAAAA is only 12.2x16.4 2013-04-20T20:48:51 <+Steffanx> AAAA shouldnt be part of that link i guess karlp ? 2013-04-20T20:49:00 < karlp> probably not. 2013-04-20T20:49:04 < karlp> not sure where that came from. 2013-04-20T20:50:32 < karlp> EM357 from cel.com is 23x16.6, but you get an M3 with 192k flash on it as well. not sure how much space for user apps though :| 2013-04-20T20:51:13 -!- barthess [~barthess@178.154.6.10] has quit [Quit: Leaving.] 2013-04-20T20:52:21 < karlp> hey! why didn't anyone mention that the L100 was out?! 2013-04-20T20:52:39 <+Steffanx> because no one knows? 2013-04-20T20:53:40 <+Steffanx> Not sure what's new though 2013-04-20T20:54:31 < karlp> just comparing sheets now 2013-04-20T20:54:37 < karlp> slightly lower uA/Mhz, 2013-04-20T20:54:39 < karlp> lower IO leakage 2013-04-20T20:54:51 -!- barthess [~barthess@178.154.3.220] has joined ##stm32 2013-04-20T20:55:19 < karlp> a friend at mentor was saying something about ST respinning some of the same designs with thei new tools and getting smaller and lower power 2013-04-20T20:55:36 <+Steffanx> High lowest voltage.. 2013-04-20T20:55:38 <+Steffanx> *higher 2013-04-20T20:57:41 < karlp> a little less ram 2013-04-20T20:57:51 < karlp> well, quite a bit less ram really 2013-04-20T20:58:04 < karlp> 4 vs 10 for the 32k flash parts 2013-04-20T20:58:08 -!- Laurenceb__ [~Laurence@host86-135-134-64.range86-135.btcentralplus.com] has joined ##stm32 2013-04-20T20:58:58 < karlp> less eeprom, no temp sensor 2013-04-20T20:58:58 -!- Laurenceb_ [~Laurence@host86-177-56-68.range86-177.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-20T20:59:07 <+Steffanx> So now well have the STM32VLL discovery? :) 2013-04-20T20:59:33 <+Steffanx> *LVL actually 2013-04-20T21:00:18 < karlp> doubt it 2013-04-20T21:00:20 -!- Laurenceb_ [~Laurence@host86-143-185-57.range86-143.btcentralplus.com] has joined ##stm32 2013-04-20T21:02:56 -!- Laurenceb__ [~Laurence@host86-135-134-64.range86-135.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-20T21:06:04 -!- barthess [~barthess@178.154.3.220] has quit [Quit: Leaving.] 2013-04-20T21:06:54 -!- Laurenceb_ [~Laurence@host86-143-185-57.range86-143.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-20T21:19:56 < Tectu> guys, is TQFP and LQFP really the same? 2013-04-20T21:22:32 < karlp> depends on the manufacturer 2013-04-20T21:22:50 < karlp> different words for the heigt 2013-04-20T21:23:00 < karlp> could be 0.5mm, 1mm, 1.5mm, 2mm high 2013-04-20T21:23:34 < karlp> ignore the difference and check the datasheets if height matters for you 2013-04-20T21:25:05 -!- barthess [~barthess@77.67.141.142] has joined ##stm32 2013-04-20T21:29:02 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has left ##stm32 [] 2013-04-20T21:32:23 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has joined ##stm32 2013-04-20T21:32:36 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2013-04-20T21:42:47 < zyp> may also indicate a difference in pitch 2013-04-20T22:05:00 < Robint91> mhh 2013-04-20T22:05:10 < Robint91> karlp, the stm32l100 looks nice 2013-04-20T22:05:21 < Robint91> karlp, found pricing info? 2013-04-20T22:05:31 < Erlkoenig> anyone know how to modify SWD Pins (SWDIO, SWDCLK) in the BMP source for the F4 Discovery? just changing the #defines in the platform.h doesn't seem to be sufficient 2013-04-20T22:05:52 < zyp> should be 2013-04-20T22:06:16 < Erlkoenig> and i can't find the location where the pins are initialized o.O 2013-04-20T22:06:22 < Robint91> oh the STM32L100 has an MPU 2013-04-20T22:06:32 < Robint91> does the other STM32 have those? 2013-04-20T22:06:39 < Robint91> and do anybody use that? 2013-04-20T22:06:40 < Erlkoenig> yup F4 e.g. has 2013-04-20T22:06:41 < zyp> Robint91, not all 2013-04-20T22:06:53 < zyp> the cheapest F1 chips don't 2013-04-20T22:07:38 < Robint91> the F103 doesn't have a MPU 2013-04-20T22:07:53 < Erlkoenig> oh wait SWDIO_MODE_FLOAT initializes the pin 2013-04-20T22:07:54 < Erlkoenig> hmm 2013-04-20T22:10:26 < jpa-> Robint91: i have used MPU to catch null pointers 2013-04-20T22:14:25 < Tectu> jpa-, how hard was to do that? 2013-04-20T22:15:04 < zyp> just make a disallowed region at the bottom of memory 2013-04-20T22:15:36 < Erlkoenig> don't use null pointers... ^.^ 2013-04-20T22:15:59 <+Steffanx> Robint91 digikey has a price for the L100RB, for a 2,95e for a try or so 2013-04-20T22:28:59 < Erlkoenig> http://games.2g2s.de/elektronik/swd-edges.png why does the SWD output from my modified BMP look like this?? and isn't that way too fast? 2013-04-20T22:29:34 < Erlkoenig> looks like 16 MHz SWCK 2013-04-20T22:30:56 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-20T22:30:56 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-20T22:30:56 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-20T22:35:57 < Tectu> http://www.practicalcomponents.com/media/packages/photos/16371.png 2013-04-20T22:44:32 < Erlkoenig> OSPEED is configured to 50MHz, yet the signal looks that weird 2013-04-20T22:51:46 < jpa-> Tectu: just a few lines of code 2013-04-20T22:53:20 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-20T22:55:51 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 276 seconds] 2013-04-20T23:04:45 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-04-20T23:07:34 -!- dfletcher__ [~fletch@108.196.222.251] has quit [Ping timeout: 248 seconds] 2013-04-20T23:21:00 -!- barthess [~barthess@77.67.141.142] has quit [Quit: Leaving.] 2013-04-20T23:27:57 < Erlkoenig> where is the documentation about what max clock freq is allowed on the SWD Clock pin? 2013-04-20T23:34:36 < Tectu> any sane alternatives for a MAX1864? That thing is expensive as fuck 2013-04-20T23:35:53 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 240 seconds] 2013-04-20T23:36:15 < jpa-> $5 is not that expensive.. 2013-04-20T23:36:34 < jpa-> or maybe the swiss are cheap fucks 2013-04-20T23:36:49 < Tectu> MAX1684* <--- this I mean 2013-04-20T23:37:19 < Tectu> hmm... I never used a step-down myself before, I think 5$ is a bit expensive 2013-04-20T23:37:29 < Tectu> well, digikey has it for 2.5$ 2013-04-20T23:38:25 < Tectu> ah, wrong column... 4.2$ 2013-04-20T23:38:38 < jpa-> there are definitely cheaper ones, though 2013-04-20T23:39:03 < jpa-> can't recommend any specific part, though 2013-04-20T23:39:50 * Tectu jabs jpa- 2013-04-20T23:40:53 < Tectu> bad jpa, baaad! 2013-04-20T23:41:17 < jpa-> why? 2013-04-20T23:42:06 < Robint91> jpa-, oh nice 2013-04-20T23:42:12 < Robint91> Steffanx, not bad 2013-04-20T23:42:37 < jpa-> Tectu: see, i'm nice, not bad 2013-04-20T23:45:16 < Robint91> Tectu, what is that chip? 2013-04-20T23:45:40 < Tectu> Robint91, some low noise step down 2013-04-20T23:45:56 < Robint91> Tectu, that qfn/qfp hybrid 2013-04-20T23:45:57 < Tectu> 14V --> 1.25V to VIN 2013-04-20T23:46:06 < Tectu> Robint91, ah, that thing, some qfn/qfp hybrid 2013-04-20T23:46:33 < Robint91> Tectu, the guy who designed that needs to DIE 2013-04-20T23:46:42 < Robint91> I fund 500$ for a hit squad 2013-04-20T23:47:36 < Tectu> Robint91, why' 2013-04-20T23:47:52 < Robint91> Tectu, this is HELL in production 2013-04-20T23:48:04 < Robint91> Tectu, the same a dual row qfn 2013-04-20T23:48:24 < Robint91> Tectu, QFP > BGA > QFN > CSP > dual row QFN 2013-04-20T23:50:18 < Tectu> Robint91, why? Apply solder paste with stencil, mount chip, reflow 2013-04-20T23:51:27 < Robint91> Tectu, I rather like a BGA package than this 2013-04-20T23:51:41 < Tectu> Robint91, got it from there: http://www.practicalcomponents.com/Dummy-Components 2013-04-20T23:52:04 < Robint91> Tectu, they aren't reliable in production 2013-04-20T23:52:36 < Tectu> Robint91, I didn't link it here because I think it's awesome and that It will move the earth ;) 2013-04-20T23:58:39 -!- Laurenceb_ [~Laurence@host86-177-215-136.range86-177.btcentralplus.com] has joined ##stm32 --- Day changed Sun Apr 21 2013 2013-04-21T00:02:31 < gxti> Erlkoenig: poor probing? 2013-04-21T00:02:49 < Erlkoenig> yup probably 2013-04-21T00:03:02 < Erlkoenig> http://games.2g2s.de/elektronik/swd-edges-x10.png thats better 2013-04-21T00:03:23 < gxti> make a ghetto ground probe by wrapping some bare wire around the probe collar like a spring, then form it into a probe 2013-04-21T00:03:24 < Erlkoenig> but bmp's SWCK is too fast, F3 can't respont 2013-04-21T00:03:50 < Erlkoenig> the probe has a ground clamp.. 2013-04-21T00:05:01 < Erlkoenig> BMP's and libopencm3's code is horrifying btw 2013-04-21T00:05:05 -!- Robin_ [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-21T00:05:12 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Disconnected by services] 2013-04-21T00:05:16 -!- Robin_ is now known as Robint91 2013-04-21T00:06:30 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-21T00:09:07 < Erlkoenig> at least i now have a useless selfmade F4Disco breakout board to plug SWD and JTAG "standard" plugs to the Disco, for when using BMP 2013-04-21T00:14:21 < zyp> heh 2013-04-21T00:17:54 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:214c:4187:5897:d737] has quit [Read error: Connection reset by peer] 2013-04-21T00:34:02 < emeb_mac> so judgy. 2013-04-21T00:34:52 <+Steffanx> Erlkoenig, i can say the same about your c++ code :P 2013-04-21T00:34:58 <+Steffanx> It's horrifying as well 2013-04-21T00:35:11 < zyp> Steffanx, just don't say it about mine :) 2013-04-21T00:35:34 <+Steffanx> It LOOKS better imho 2013-04-21T00:35:40 < emeb_mac> everyone is a critic 2013-04-21T00:36:08 <+Steffanx> And the name is better of course zyp. Laks vs fse :D 2013-04-21T00:36:30 <+Steffanx> And it doesn't require ruby.. man, i can continue this for hours i guess 2013-04-21T00:36:45 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2013-04-21T00:37:05 < zyp> well, it requires python :p 2013-04-21T00:37:08 -!- Laurenceb_ [~Laurence@host86-177-215-136.range86-177.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-21T00:39:31 < BJfreeman> there are as many code soluitions as there are progammers, some not as efficient but elegant 2013-04-21T00:41:35 -!- Erlkoenig [~erlkoenig@pptp-212-201-78-8.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-21T00:46:09 -!- Laurenceb_ [~Laurence@host86-129-128-152.range86-129.btcentralplus.com] has joined ##stm32 2013-04-21T00:47:08 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Quit: Ik ga weg] 2013-04-21T00:54:19 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-21T00:59:25 -!- Laurenceb__ [~Laurence@host86-174-20-232.range86-174.btcentralplus.com] has joined ##stm32 2013-04-21T01:01:30 -!- Laurenceb_ [~Laurence@host86-129-128-152.range86-129.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-21T01:04:28 -!- Laurenceb_ [~Laurence@host86-151-43-74.range86-151.btcentralplus.com] has joined ##stm32 2013-04-21T01:05:29 < ossifrage> I'm trying to come up with a low BOM cost way to allow someone with a FTDI friend to enter the rom bootloader (without requiring a bootloader in flash) 2013-04-21T01:06:03 < emeb_mac> what's hard about that? 2013-04-21T01:06:05 < ossifrage> I can use RTS/DTR to reset the board, but I don't have a clean way to drive boot0 2013-04-21T01:06:35 < emeb_mac> jumper? 2013-04-21T01:06:36 -!- Laurenceb__ [~Laurence@host86-174-20-232.range86-174.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-21T01:06:44 < ossifrage> The adafruit ftdi friend has RTS or DTR on one pin and CTS (input) on the other 2013-04-21T01:07:10 < ossifrage> I have a jumper on the board now, but I'd like to be able to do it in software 2013-04-21T01:07:58 < emeb_mac> do you have to use the FTDI Friend? 2013-04-21T01:08:18 -!- Laurenceb__ [~Laurence@host86-140-224-74.range86-140.btcentralplus.com] has joined ##stm32 2013-04-21T01:08:25 < ossifrage> I don't, this is more of a user issue 2013-04-21T01:08:26 < emeb_mac> why not put an FTDI chip on the board and then you can use all the control signals? 2013-04-21T01:08:31 < ossifrage> $ 2013-04-21T01:08:41 < ossifrage> trying to keep the bom to the minimum 2013-04-21T01:09:02 < emeb_mac> so you're saying the FTDI chip + support parts costs more than an FTDI Friend? 2013-04-21T01:09:18 < ossifrage> depends on who is paying 2013-04-21T01:09:32 < ossifrage> adding a ftdi chip on my board would add to its bom 2013-04-21T01:10:34 -!- Laurenceb_ [~Laurence@host86-151-43-74.range86-151.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-21T01:11:03 < ossifrage> the cheapest solution is to use a STM32F0 board and program it with jtag 2013-04-21T01:11:54 < ossifrage> but I figured something like a ftdi friend is more accessible, I just don' t like that you have to set the jumper 2013-04-21T01:12:38 < emeb_mac> OK - how about this: 2013-04-21T01:12:54 < emeb_mac> use RTS/DTR to generate reset 2013-04-21T01:13:17 < emeb_mac> also, route it to a one-shot that generates a high pulse on BOOT0 2013-04-21T01:13:31 < emeb_mac> the high pulse lasts a bit longer than reset 2013-04-21T01:13:40 < ossifrage> that is exactly the solution we used on another board 2013-04-21T01:13:57 < emeb_mac> so whenever the FTDI resets the STM, the bootloader will see the high pulse and activate. 2013-04-21T01:14:15 < emeb_mac> but a normal power-up won't generate the high pulse, so it boots into the user app 2013-04-21T01:14:18 < ossifrage> a long pulse on reset put it in boot mode a short pulse just reset the board 2013-04-21T01:14:52 < emeb_mac> you could do that with a couple gates and an RC time constant 2013-04-21T01:16:29 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-21T01:17:37 -!- Laurenceb_ [~Laurence@host86-146-188-96.range86-146.btcentralplus.com] has joined ##stm32 2013-04-21T01:20:12 -!- Laurenceb__ [~Laurence@host86-140-224-74.range86-140.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-21T01:27:56 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has quit [Ping timeout: 260 seconds] 2013-04-21T01:28:52 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-21T01:29:13 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has joined ##stm32 2013-04-21T01:31:08 -!- barthess [~barthess@77.67.161.140] has joined ##stm32 2013-04-21T01:31:33 < zyp> huh 2013-04-21T01:33:23 < zyp> this is weird 2013-04-21T01:34:31 <+Steffanx> Yes 2013-04-21T01:34:34 < zyp> was planning to check whether the lpc4330 would have the same reset problem as my lpc4357 had 2013-04-21T01:35:00 < zyp> appeared that it didn't, so I hooked up one of my boards 2013-04-21T01:35:17 < zyp> and I don't see any problems with that either 2013-04-21T01:35:24 < zyp> so now I'm pretty confused 2013-04-21T01:36:59 -!- Laurenceb__ [~Laurence@host86-177-56-34.range86-177.btcentralplus.com] has joined ##stm32 2013-04-21T01:37:04 < zyp> there is a difference in bmp firmware, I just grabbed a random bmp2 from the box, so it's one I haven't used earlier 2013-04-21T01:37:12 -!- barthess [~barthess@77.67.161.140] has quit [Quit: Leaving.] 2013-04-21T01:37:35 < zyp> but importantly it's not the one with the lpc-specific workaround 2013-04-21T01:39:24 <+Steffanx> Now you have something to do for tomorrow 2013-04-21T01:39:28 -!- Laurenceb_ [~Laurence@host86-146-188-96.range86-146.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-21T01:39:32 < zyp> I guess 2013-04-21T01:40:08 < zyp> both the lpc4330 and the lpc4357 loses swd if I externally assert nrst however 2013-04-21T01:40:24 < zyp> but that's ok 2013-04-21T01:40:58 -!- sterna1 [~Adium@dhcp-180101.eduroam.chalmers.se] has quit [Quit: Leaving.] 2013-04-21T01:42:25 < zyp> hmm, the shipped example on this lpc4330 board goes into lockup when I reset it from gdb 2013-04-21T01:42:55 < zyp> my lpc4357 board starts running slower when I reset it from gdb 2013-04-21T01:43:33 <+Steffanx> heh 2013-04-21T01:45:57 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-21T01:46:03 < zyp> probably because after a power on reset there is a part of the bootloader that always runs, and that turns on the PLL 2013-04-21T01:46:22 < zyp> and when resetting from gdb that part probably gets skipped for some reason 2013-04-21T01:46:52 < zyp> and the example on this other board probably also relies on the bootloader doing something 2013-04-21T01:47:10 < zyp> like bootloading, it's a chip without flash after all 2013-04-21T01:47:17 < zyp> :p 2013-04-21T01:48:34 -!- Laurenceb_ [~Laurence@host86-171-127-193.range86-171.btcentralplus.com] has joined ##stm32 2013-04-21T01:51:06 -!- Laurenceb__ [~Laurence@host86-177-56-34.range86-177.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-21T01:56:45 -!- Laurenceb__ [~Laurence@host86-171-202-180.range86-171.btcentralplus.com] has joined ##stm32 2013-04-21T01:59:02 -!- Laurenceb_ [~Laurence@host86-171-127-193.range86-171.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-21T01:59:58 < zippe1> "reset from gdb" depends on the probe 2013-04-21T02:00:13 < zippe1> There are (at least) two different architected resets in v7m 2013-04-21T02:00:24 < zippe1> So you may simply have the "wrong" reset. 2013-04-21T02:00:30 < zyp> we've talked about this before 2013-04-21T02:03:38 -!- Laurenceb_ [~Laurence@host86-168-104-123.range86-168.btcentralplus.com] has joined ##stm32 2013-04-21T02:03:59 < zyp> zippe1, bmp is using sysresetreq, and according to what I remember sysresetreq used to kill the probe connection and deadlock the lpc chip 2013-04-21T02:04:08 < zyp> but for some reason that doesn't happen now 2013-04-21T02:05:32 -!- Laurenceb__ [~Laurence@host86-171-202-180.range86-171.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-21T02:08:53 -!- Laurenceb__ [~Laurence@host86-140-224-66.range86-140.btcentralplus.com] has joined ##stm32 2013-04-21T02:11:12 -!- Laurenceb_ [~Laurence@host86-168-104-123.range86-168.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-21T02:20:51 < Laurenceb__> so i was talking to my crazy friend 2013-04-21T02:21:05 < Laurenceb__> apparently the latest craze is tree theft 2013-04-21T02:21:14 < Laurenceb__> you steal peoples trees 2013-04-21T02:23:38 < qyx_> quite normal.. when i was living at my parents house some time ago, there was a group of thefts doing exactly this 2013-04-21T02:23:46 < qyx_> thiefs 2013-04-21T02:23:56 -!- Laurenceb_ [~Laurence@host86-136-118-138.range86-136.btcentralplus.com] has joined ##stm32 2013-04-21T02:24:24 < Laurenceb_> stupid nets 2013-04-21T02:24:47 < qyx_> 01:23 < qyx_> quite normal.. when i was living at my parents house some time ago, there was a group of thefts doing exactly this 2013-04-21T02:24:51 < qyx_> 01:23 < qyx_> thiefs 2013-04-21T02:25:20 < Laurenceb_> lol 2013-04-21T02:25:35 < Laurenceb_> apparently you can make decent money cutting up trees for firewood 2013-04-21T02:25:56 -!- Laurenceb__ [~Laurence@host86-140-224-66.range86-140.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-21T02:26:55 < qyx_> these were mainly thuja trees together with roots and everything 2013-04-21T02:35:40 -!- Laurenceb__ [~Laurence@host86-143-186-161.range86-143.btcentralplus.com] has joined ##stm32 2013-04-21T02:37:50 -!- Laurenceb_ [~Laurence@host86-136-118-138.range86-136.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-21T02:40:27 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 252 seconds] 2013-04-21T02:43:30 -!- Laurenceb__ [~Laurence@host86-143-186-161.range86-143.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-21T02:44:17 -!- Laurenceb__ [~Laurence@host81-151-162-17.range81-151.btcentralplus.com] has joined ##stm32 2013-04-21T03:08:47 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-21T03:09:53 -!- Laurenceb__ [~Laurence@host81-151-162-17.range81-151.btcentralplus.com] has quit [Ping timeout: 258 seconds] 2013-04-21T03:43:15 < R2COM> just curious did standard ST peripheral code interface got any better? never used it but was wondering if it was improved at all 2013-04-21T03:48:28 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-21T03:51:36 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Client Quit] 2013-04-21T03:57:28 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has quit [Remote host closed the connection] 2013-04-21T04:35:27 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-21T04:40:53 -!- capacitor [~capacitor@123-243-139-187.tpgi.com.au] has joined ##stm32 2013-04-21T04:41:27 < capacitor> hello all stm32 friends 2013-04-21T04:50:03 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-21T04:50:16 < R2COM> hi 2013-04-21T04:51:57 < R2COM> strange, simple SPI2 master configuration on portB, sending data to output works great, absolutely similar setup but for SPI1 on portA, SCK doesnt toggle during transmission...just gets High. 2013-04-21T05:01:50 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Ping timeout: 255 seconds] 2013-04-21T05:02:42 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-21T05:02:42 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-21T05:02:42 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-21T05:03:12 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2013-04-21T05:05:36 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-21T05:12:34 < R2COM> and well SPI1 is on APB2 2013-04-21T05:12:40 < R2COM> whereas SPI2 is on APB1 2013-04-21T05:12:51 < R2COM> but both busses are configured for 42MHz freq. 2013-04-21T05:13:24 < R2COM> so if GPIO and SPI setups are appropriately same for both SPI1 and SPI2 on different pins, then SPI1 should also work.. 2013-04-21T05:13:31 < R2COM> hmm 2013-04-21T05:16:33 -!- BJfreeman [~bjfree@251.sub-75-233-129.myvzw.com] has left ##stm32 [] 2013-04-21T05:16:53 -!- BJfreeman [~bjfree@251.sub-75-233-129.myvzw.com] has joined ##stm32 2013-04-21T05:17:06 < BJfreeman> stm32F? 2013-04-21T05:23:27 < R2COM> no. arduino 2013-04-21T05:23:49 < R2COM> sure what else would I discuss like that here, stm32f407 2013-04-21T05:26:16 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 245 seconds] 2013-04-21T05:30:00 < dongs> did you turn on clock for SPI1 on apropriate apb 2013-04-21T05:30:15 < dongs> and noy jus copypasted shit like APB2PeriphClockCmd(SPI1? 2013-04-21T05:30:16 < dongs> :) 2013-04-21T05:34:31 < capacitor> copypasta 2013-04-21T05:34:48 < capacitor> the 407 club 2013-04-21T05:36:21 < R2COM> sure 2013-04-21T05:36:37 < R2COM> turned on appropriate clock 2013-04-21T05:36:49 < R2COM> both for GPIO and SPI1 2013-04-21T05:37:33 < R2COM> for portB with similar config it works perfect, I check TXE bit, then just send some byte, and hookup SCK and MOSI outputs to my scope, and can see toggling clock and my pattern for test byte 2013-04-21T05:39:32 < R2COM> but for portA and SPI1 I observe this 2013-04-21T05:39:33 < R2COM> http://i.imgur.com/IsQMNMK.jpg 2013-04-21T05:39:40 < R2COM> top is SCK bottom is MOSI 2013-04-21T05:39:48 < R2COM> so SCK just turns on but doesnt toggle 2013-04-21T05:44:56 < R2COM> oh shit isnt it stupid 2013-04-21T05:44:56 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 246 seconds] 2013-04-21T05:45:09 < R2COM> pa4,pa5,pa6,pa7 are mapped to someshit on discovery board... 2013-04-21T05:45:14 < R2COM> they are not free on dev board... 2013-04-21T05:45:22 < R2COM> so thats I guess is the reason... 2013-04-21T05:45:34 < capacitor> whut 2013-04-21T05:48:49 < R2COM> anyhow.. that was a reason. I guess I'll make my own clean breakout for stm32 soon 2013-04-21T05:48:54 < R2COM> with all pins broken out 2013-04-21T05:49:04 < R2COM> and with some pins broken out with high speed capable connectors 2013-04-21T05:53:03 < dongs> http://www.wvshare.com/product/Core407Z.htm idoubt you can make it for cheaper htan thsi 2013-04-21T05:55:58 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-21T06:16:43 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-21T06:17:20 < gnomad> what's the difference between the STM32F407ZG and the STM32F407VGT6 on the discovery F4 board? 2013-04-21T06:18:51 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 258 seconds] 2013-04-21T06:34:09 -!- BJfreeman [~bjfree@251.sub-75-233-129.myvzw.com] has quit [Quit: had a good time] 2013-04-21T06:36:56 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-21T06:38:44 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 256 seconds] 2013-04-21T06:42:51 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Read error: Connection reset by peer] 2013-04-21T06:45:53 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-21T06:46:02 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-21T06:52:57 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-21T07:24:01 < jpa-> morning 2013-04-21T07:24:27 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-04-21T07:24:33 < jpa-> gnomad: the datasheet has a table 2013-04-21T07:27:49 < gnomad> it *looks* like the only difference in the pincount, just curious if I was missing something. 2013-04-21T07:28:51 < gnomad> so if you don't need the pins, the Discovery F4 board seems a much cheaper way to go... 2013-04-21T07:31:26 < jpa-> cheaper than what? 2013-04-21T07:37:06 < R2COM> one more interesting thing with spi 2013-04-21T07:37:43 < R2COM> when I have something like this: 2013-04-21T07:37:45 < R2COM> //while ( ( (((SPI_TypeDef *) (SPI2_BASE)) -> SR) & 0x2 ) == RESET) 2013-04-21T07:37:45 < R2COM> //{ 2013-04-21T07:37:45 < R2COM> // wait until TXE bit is 1 2013-04-21T07:37:45 < R2COM> //} 2013-04-21T07:37:45 < R2COM> //((SPI_TypeDef*)(SPI2_BASE)) -> DR = d0; 2013-04-21T07:38:13 < R2COM> and just turn on the board (and chip..) it does not show anything on a scope, just SCK pulls UP and MOSI stays low 2013-04-21T07:38:16 < dongs> what the freaking 2013-04-21T07:38:23 < jpa-> uh.. why the hell would you it that way? 2013-04-21T07:38:28 < dongs> whhy do you write it so fucking ugly 2013-04-21T07:38:30 < jpa-> there is "SPI2" you know 2013-04-21T07:38:34 < R2COM> but, when I do it step-by-step in debug, by stepping into, it does work 2013-04-21T07:38:51 < R2COM> I know... I taken it from other code, I do use SPI2 word 2013-04-21T07:39:02 < R2COM> anyhow 2013-04-21T07:39:06 < jpa-> and you could just do while (!(SPI2->SR & SPI_SR_TXE)) 2013-04-21T07:39:12 < jpa-> don't show us ugly code! 2013-04-21T07:39:16 < dongs> her likes to type 2013-04-21T07:39:19 < R2COM> when that code is exectued step by step from debugger, it sends data and i can see it on scope 2013-04-21T07:39:19 < dongs> her=he 2013-04-21T07:39:48 < R2COM> jpa-: you are ugly 2013-04-21T07:40:13 < jpa-> R2COM: i don't post my portraits to the channel 2013-04-21T07:40:43 < R2COM> http://pastebin.com/v2PTKHrv 2013-04-21T07:41:00 < jpa-> that's still stupid 2013-04-21T07:41:04 < jpa-> use the TXE bit define 2013-04-21T07:41:14 < jpa-> and don't use any stupid RESET constant for 0 2013-04-21T07:41:21 < R2COM> I know dude, its not a final code 2013-04-21T07:41:24 < jpa-> and don't put spaces around -> 2013-04-21T07:41:39 < R2COM> I dont give shit to your style or way you do things, this was not point of discussion 2013-04-21T07:41:46 < jpa-> R2COM: does the code otherwise work when booted from reset? 2013-04-21T07:42:17 < jpa-> R2COM: if you want my help, you get also my crap 2013-04-21T07:42:38 < dongs> gnomad: package size, obviously? 2013-04-21T07:42:41 < dongs> if you were talking about my link 2013-04-21T07:42:46 < dongs> i think ZG is the 144pin qfp 2013-04-21T07:43:06 < R2COM> no 2013-04-21T07:43:16 < R2COM> it doesnt 2013-04-21T07:43:17 < dongs> or 176pin 2013-04-21T07:43:23 < R2COM> it pulls SCK up 2013-04-21T07:43:24 < dongs> whatever the biggest one is 2013-04-21T07:43:26 < R2COM> and MOSI stays low 2013-04-21T07:43:51 < R2COM> but it gives out data normally when executed from debug, step by step that piece of code I showed 2013-04-21T07:44:02 < jpa-> R2COM: then make some simple led blinker first and get it to boot 2013-04-21T07:44:09 < R2COM> and then on scope I see SCK toggling and appropriate MOSI toggling 2013-04-21T07:44:26 < R2COM> why? 2013-04-21T07:44:44 < R2COM> there are tons of other shit on board with external hardware which works on boot 2013-04-21T07:44:56 < R2COM> I2C sensors, PWMs etc etc.. 2013-04-21T07:44:57 < jpa-> ok, so the code otherwise works 2013-04-21T07:45:01 < R2COM> sure 2013-04-21T07:45:27 < R2COM> and the reason its interesting is, I remember I saved similar project longer time ago, and specifically that thing worked 2013-04-21T07:45:42 < R2COM> i.e. I power up board, or reset it, and I observe that toggling on scope from SPI outputs 2013-04-21T07:45:53 < R2COM> now it doesnt... although I didnt change anything I know it. 2013-04-21T07:46:01 < R2COM> thats why decided to debug, but in debug it just works fine 2013-04-21T07:46:11 < jpa-> if you run it after reset in debugger but don't single-step, does SPI work then? 2013-04-21T07:46:22 < R2COM> so problem is only that 2 line code I showed 2013-04-21T07:46:35 < R2COM> hmm 2013-04-21T07:46:51 < R2COM> you mean reset, and then run debug? 2013-04-21T07:47:21 < jpa-> i mean run debugger, tell it to reset the target, then run it but don't do any stepping or breakpoints 2013-04-21T07:47:56 < R2COM> checking 2013-04-21T07:49:41 < R2COM> no it didnt! and then I assume that reason is that this happens too fast and some more register needs to be checked 2013-04-21T07:49:54 < jpa-> it seems so 2013-04-21T07:49:59 < R2COM> I remember I had similar issue when sending data on USART to some wireless module 2013-04-21T07:50:12 < jpa-> now you can break in the debugger and see where it is stuck 2013-04-21T07:50:17 < jpa-> and check SPI2->SR etc. 2013-04-21T07:50:24 < R2COM> no it does not stuck 2013-04-21T07:50:32 < jpa-> ah, ok 2013-04-21T07:50:32 < R2COM> it passes that line 2013-04-21T07:50:56 < jpa-> then check SPI2->SR anyway, to see what state it is in 2013-04-21T07:51:26 < R2COM> yeah, I had similar issue with usart when something was sent according to code, but technically it wasnt 2013-04-21T07:51:37 < R2COM> probably same thing, otherwse I dont see reason why wouldnt it work 2013-04-21T07:52:01 < R2COM> and reason why it works when I step is, because theres big time which passes from time it reaches line #1 of my code, to line #2 2013-04-21T07:52:10 < R2COM> or no... 2013-04-21T07:52:31 < R2COM> there is loop after line #1... 2013-04-21T07:52:38 < jpa-> i would more likely bet it is the delay between clock init and SPI usage 2013-04-21T07:52:44 < R2COM> yes 2013-04-21T07:53:03 < jpa-> but maybe you should still try to reset in debugger and then step.. unless you did that previously; flashing can leave the processor in non-reset state 2013-04-21T07:53:27 < jpa-> you could also put breakpoints in various locations to find out where the delay is needed 2013-04-21T08:20:30 < R2COM> oh 2013-04-21T08:20:34 < R2COM> I discovered weird thing 2013-04-21T08:20:39 < R2COM> see that my first line of code? 2013-04-21T08:20:46 < R2COM> which checks for TXE if it is busy? 2013-04-21T08:21:09 < R2COM> so, if TXE=0, then loop must break and continue... (and then i load DR and there it is) 2013-04-21T08:21:33 < R2COM> so what I did, is put breakpoint after that line...and right after that checked the SR register...and guess what it had decimal value of: 2 ! 2013-04-21T08:21:35 < jpa-> ah, you have it wrong way around 2013-04-21T08:21:39 < R2COM> means b10 2013-04-21T08:21:53 < R2COM> means TXE is still busy! 2013-04-21T08:22:10 < R2COM> and thats why right after it there was load in DR... but since TXE is still 1... it didnt work 2013-04-21T08:22:20 < jpa-> TXE = 1 means that the SPI is free 2013-04-21T08:22:24 < R2COM> whereas when I did it step by step by hand, by that time TXE could go to 0 2013-04-21T08:22:27 < jpa-> "Transmit Empty" 2013-04-21T08:22:57 < R2COM> errr 2013-04-21T08:22:59 < R2COM> yes 2013-04-21T08:23:14 < jpa-> your code is correct, though 2013-04-21T08:23:17 < R2COM> so looks like SR looks fine 2013-04-21T08:23:29 < R2COM> because if it has value of 2... means that only TXE = 1 2013-04-21T08:23:41 < R2COM> at that stage, if writing to DR follows, it should work... 2013-04-21T08:23:46 < R2COM> but it doesnt 2013-04-21T08:24:06 < R2COM> (it doesnt if code is executed without breakpoints in a continuous flow) 2013-04-21T08:24:20 < jpa-> check also CR1 and CR2, just to be sure 2013-04-21T08:24:24 < R2COM> if there is breakpoint between my first and second line, or if I execute it step by step it works 2013-04-21T08:25:05 < jpa-> and can you pastebin your SPI initialization code? 2013-04-21T08:28:49 < R2COM> yes 2013-04-21T08:29:05 < R2COM> here is CR1 by the way: 1101010111 2013-04-21T08:29:27 < R2COM> so SSM=1,SSI=1,SPE=1,BR=010,MSTR=1,CPOL=1,CPHA=1 2013-04-21T08:30:10 < R2COM> http://pastebin.com/mm31YXQM 2013-04-21T08:30:49 < R2COM> CR2 was 0 (again betwee first and second lines of code which sends data) 2013-04-21T08:32:23 < jpa-> looks ok 2013-04-21T08:32:49 < R2COM> and again... it works if there is a break between checking TXE and writing to DR 2013-04-21T08:33:04 < R2COM> so... hmm 2013-04-21T08:33:09 < dongs> sup trolls 2013-04-21T08:33:16 < jpa-> does it work if there is a break before checking TXE? 2013-04-21T08:33:17 * capacitor waves to dongs 2013-04-21T08:33:31 < R2COM> checking 2013-04-21T08:33:53 * jpa- charges capacitor 2013-04-21T08:34:01 * capacitor purrs 2013-04-21T08:35:37 * R2COM connects capacitor to 10GV voltage source 2013-04-21T08:35:41 < R2COM> jpa-: no it doesnt 2013-04-21T08:36:00 < R2COM> it does work if theres a break inbetween of those two lines 2013-04-21T08:37:03 < jpa-> hmm.. reading SR does reset the error bits.. but you claim that none are set when you check it later 2013-04-21T08:37:20 < jpa-> otherwise a wait before the loop or after the loop should be quite the same 2013-04-21T08:37:21 < R2COM> or wait... 2013-04-21T08:37:27 < R2COM> i read SR with variable... 2013-04-21T08:37:56 < R2COM> but yea thats ok 2013-04-21T08:38:11 < R2COM> after first line of code, i read SR into variable...and that variable had decimal 2 2013-04-21T08:38:30 < R2COM> and that reading was after first line 2013-04-21T08:40:49 < R2COM> here is how it works now: 1) that loop which checks for TXE, 2) after loop, there is reading of SR,CR1,CR2 to variables 3) after there goes a breakpoint 4) then last line which writes to DR 2013-04-21T08:41:33 < R2COM> so I run... it reaches breakpoint, shows variables... and meanwhile I see SCK is pulled HIGH, and MOSI pulled LOW... then I press run again, and then it goes through writing to DR, and I see correct toggling on scope 2013-04-21T08:41:34 < R2COM> thats it 2013-04-21T08:51:12 < R2COM> hmm so not sure what exactly is going on yet 2013-04-21T09:10:53 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Ping timeout: 240 seconds] 2013-04-21T09:20:52 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-21T09:24:06 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 248 seconds] 2013-04-21T09:24:44 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Quit: Leaving.] 2013-04-21T09:39:07 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-21T09:54:08 -!- dekar__ [~dekar@212.255.42.204] has joined ##stm32 2013-04-21T09:54:11 -!- mode/##stm32 [+v dekar__] by ChanServ 2013-04-21T09:57:52 -!- dekar_ [~dekar@212.255.47.70] has quit [Ping timeout: 256 seconds] 2013-04-21T10:17:36 -!- zlog [~zlog@ip68-102-203-6.ks.ok.cox.net] has quit [Ping timeout: 264 seconds] 2013-04-21T10:19:30 -!- zlog [~zlog@ip68-102-203-6.ks.ok.cox.net] has joined ##stm32 2013-04-21T10:23:28 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Read error: Operation timed out] 2013-04-21T10:28:52 -!- barthess [~barthess@77.67.244.159] has joined ##stm32 2013-04-21T10:46:19 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-21T10:48:54 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 276 seconds] 2013-04-21T10:59:41 -!- scrts [~quassel@unaffiliated/scrts] has quit [Quit: No Ping reply in 180 seconds.] 2013-04-21T11:00:42 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-21T11:02:42 -!- scrts [~quassel@unaffiliated/scrts] has joined ##stm32 2013-04-21T11:03:14 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-21T11:46:31 * capacitor explodes 2013-04-21T11:47:29 < R2COM> wow that was loud! 2013-04-21T11:47:35 < R2COM> can you do that again 2013-04-21T11:48:58 < Tectu> morning 2013-04-21T11:49:17 < jpa-> morning Tectu 2013-04-21T11:50:02 < Tectu> :) 2013-04-21T11:50:17 -!- daku is now known as DaKu 2013-04-21T11:50:25 < Tectu> jpa-, ever used that freeroute.org thing? is it worth trying? 2013-04-21T11:50:32 < jpa-> never tried 2013-04-21T11:50:33 < Tectu> freerouting.net * 2013-04-21T11:50:50 < jpa-> i don't really like autorouters 2013-04-21T11:54:00 < Tectu> does anyone have a good 3.5mm audio jack for PCB mount available at digikey? 2013-04-21T11:55:34 < Tectu> never mind 2013-04-21T11:55:38 < jpa-> hah, do you expect that most of them are fakes? 2013-04-21T11:57:06 < Tectu> na, I just got confused by a "mid mount" type 2013-04-21T11:57:20 < Tectu> it gets mounted inside the PCB, has three throu hole and two SMD pads -> low profile stuff 2013-04-21T11:57:33 < Tectu> then I thought that digikey may only sell fake jacks 2013-04-21T11:58:53 < capacitor> hi Tectu how are you 2013-04-21T11:59:12 < Tectu> Fine, thanks. How are you? 2013-04-21T11:59:18 < capacitor> quite well 2013-04-21T11:59:34 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-21T11:59:37 < Tectu> jpa-, I wonder if there are any usable/reliable auto routers out there. Afaik the one from diptrace is claimed to be "good" 2013-04-21T12:00:04 < capacitor> get altium mate 2013-04-21T12:00:18 < jpa-> Tectu: expensive ones, sure 2013-04-21T12:00:49 < jpa-> even the free ones are not that bad if you like autorouters 2013-04-21T12:01:10 < jpa-> i don't, i want to layout by hand and to "know my circuit" 2013-04-21T12:01:44 < Tectu> yeah, I can only agree with that 2013-04-21T12:01:58 < Tectu> especially when you use to do HF stuff they become no option at all 2013-04-21T12:05:13 < jpa-> HF is relative 2013-04-21T12:05:37 < jpa-> i bet most of the 2+GHz PC motherboards are partially or completely autorouted 2013-04-21T12:06:44 < jpa-> (heck, the processors themselves are autorouted :) 2013-04-21T12:06:59 < dongs> http://i.imgur.com/87dac.png this was dicktrace autorouted 2013-04-21T12:07:11 < ABLomas> ql 2013-04-21T12:07:18 < dongs> with some manual touchup 2013-04-21T12:07:26 < jpa-> dongs: is that 2 or 4 layers? 2013-04-21T12:07:31 < dongs> 2 of course 2013-04-21T12:08:00 < jpa-> one thing autorouters don't quite manage is passing along the ground connection when there is no dedicated ground plane.. which makes it annoying to do high-speed stuff on 2 layers 2013-04-21T12:08:34 < Tectu> dongs, awesome 2013-04-21T12:08:53 < dongs> duno about awesome but it worked 2013-04-21T12:09:04 < dongs> http://i.imgur.com/8E03B.jpg 2013-04-21T12:09:25 < jpa-> do you have picture of the other side? 2013-04-21T12:11:25 < capacitor> the stm32! 2013-04-21T12:12:24 < Tectu> looks like some japanese ripp-off of the colorduino 2013-04-21T12:12:36 < dongs> hm, I did but looks like i trashed it. sec 2013-04-21T12:12:46 < Tectu> dongs, did diptrace handle the trace width as shown there on his own? 2013-04-21T12:13:21 < jpa-> netclass, probably 2013-04-21T12:13:35 < dongs> ^ 2013-04-21T12:13:43 < dongs> http://i.imgur.com/h4IrDM8.png 2013-04-21T12:14:52 < Tectu> dat arrow 2013-04-21T12:15:04 < capacitor> :D 2013-04-21T12:15:09 < jpa-> yeah.. if one were a perfectionist, the ground could be improved a lot.. but otherwise looks very good for an autorouter 2013-04-21T12:15:10 < Tectu> I must say that looks very well routed 2013-04-21T12:15:20 < Tectu> jpa-, yes, of course, but it's a cheap auto router 2013-04-21T12:15:26 < Tectu> jpa-, I've seen MANY people doing a worse job 2013-04-21T12:15:53 < jpa-> lol if you judge by that, then kicad's autoplacer can do better job than some humans :D 2013-04-21T12:17:26 < dongs> I just didnt feel like manually routing 24 cathodes from drivers 2013-04-21T12:17:42 < dongs> especially for a throwaway test/proto proj 2013-04-21T12:18:28 < Tectu> jpa-, somewhat true 2013-04-21T12:18:39 < dongs> Tectu: colorJEWino didn't even bother connecting proper channels and just connected random R/G/B order as it fit into routing 2013-04-21T12:18:44 < Tectu> dongs, how long did it take to route? 2013-04-21T12:19:17 < dongs> um no idea most proto shit I do quickly because i need to submit them for paneling without much notice usuaslly 2013-04-21T12:19:24 < dongs> or you talking about actual routing by dicktrace? 2013-04-21T12:19:26 < dongs> if so < 1 minute 2013-04-21T12:20:32 < Tectu> huh 2013-04-21T12:20:44 < Tectu> I alway tought such things take hours/days/Weeks 2013-04-21T12:20:48 < dongs> like few hours or something I dunno 2013-04-21T12:20:49 < dongs> no. 2013-04-21T12:20:52 < Tectu> (well, not on such a board) but I'd said one hour 2013-04-21T12:21:06 < Tectu> huh, what's the <1minute then 2013-04-21T12:21:14 < dongs> the actual routing by software? if it takes more than 5 minutes youre doing it wrong 2013-04-21T12:21:21 < dongs> and/or running it under lunix 2013-04-21T12:21:53 -!- DaKu is now known as daku 2013-04-21T12:22:02 -!- barthess [~barthess@77.67.244.159] has quit [Quit: Leaving.] 2013-04-21T12:22:16 < dongs> Tectu: < 1 minute for dicktrace to autoroute it, another hour or so for me to unfuck it and clean it up/pinswap/etc. 2013-04-21T12:28:39 < PaulFertser> I've heard that TopoR is quite a time-saver for routing. 2013-04-21T12:30:45 < dongs> actually have 4L version of that 2013-04-21T12:30:48 < dongs> never got it to do anything useful 2013-04-21T12:31:04 < Tectu> PaulFertser, is that some universal router or for some $$$$$$ solution together with schematics and PCB only? 2013-04-21T12:31:38 < Tectu> PaulFertser, TopoR result: http://upload.wikimedia.org/wikipedia/commons/thumb/f/f3/Topor_board.jpg/521px-Topor_board.jpg 2013-04-21T12:31:40 < Tectu> lol :D 2013-04-21T12:31:49 < PaulFertser> dongs: folks with experience in OrCAD say it's really useful 2013-04-21T12:31:51 < jpa-> why lol? 2013-04-21T12:32:18 < dongs> PaulFertser: yeah, coming from orcad folks, kicad is probably "realyl useful" too 2013-04-21T12:32:21 < jpa-> Tectu: it does have a 45 degree mode if you are curvephobic 2013-04-21T12:32:32 < PaulFertser> The boards look unconventional, that's true. But there's statistics. If you get less vias and shorter trace lengths... 2013-04-21T12:32:39 < PaulFertser> dongs: no, they can't use kicad. 2013-04-21T12:32:40 < dongs> right 2013-04-21T12:32:46 < Tectu> jpa-, are you telling me that you love those free routes? 2013-04-21T12:33:00 < Tectu> PaulFertser, OrCAD is the worst I've ever seen. 2013-04-21T12:33:06 < dongs> maybe ill reinstall it again and route some bga board with it 2013-04-21T12:33:20 < Tectu> what dongs said might be the reason why I like KiCAD somehow (comming from OrCAD) 2013-04-21T12:33:22 < PaulFertser> Tectu: regarding auto-routing? 2013-04-21T12:33:38 < Tectu> PaulFertser, no, regarding everything else (never did autorouting) 2013-04-21T12:34:05 < jpa-> Tectu: i say that they work as good or better than 45 degree routes 2013-04-21T12:34:35 < jpa-> Tectu: if you want to make art, 45 degree routes aren't the optimum either 2013-04-21T12:34:56 < Tectu> jpa-, if you want to make art, don't do hardware design. 2013-04-21T12:34:58 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-21T12:35:07 < jpa-> Tectu: why? 2013-04-21T12:35:46 < Tectu> jpa-, http://upload.wikimedia.org/wikipedia/commons/thumb/4/4e/Topor_bga.gif/738px-Topor_bga.gif 2013-04-21T12:36:02 < Tectu> jpa-, BGA often means some very sensitive shit, not just LED toggling... do you think that this board is "sane"? 2013-04-21T12:36:35 < jpa-> Tectu: by the number of layers, i assume that there are 1 or 2 ground planes also (not shown).. i think it should be fine 2013-04-21T12:36:54 < jpa-> the crossing lines actually have less interference than parallel ones 2013-04-21T12:36:59 < Tectu> http://www.toporouter.com/order.php 2013-04-21T12:37:04 < Tectu> not for home use, I guess :D 2013-04-21T12:37:17 < Tectu> jpa-, that's a poing 2013-04-21T12:37:19 < Tectu> point* 2013-04-21T12:37:28 < dongs> http://hackadaycom.files.wordpress.com/2013/03/board.png 2013-04-21T12:37:30 < Tectu> however, have you ever seen circle routed boards in industry? 2013-04-21T12:37:31 < dongs> Tectu: you cant argue with this 2013-04-21T12:37:43 < jpa-> Tectu: yes 2013-04-21T12:37:45 < Tectu> what da fuk 2013-04-21T12:37:54 < jpa-> dongs: yes that is art in hardware design :) 2013-04-21T12:38:29 < Tectu> reminds me of this: http://4.bp.blogspot.com/-0IvVwo_K0rs/T-VwdBWTaQI/AAAAAAAAAvY/xXJlvpWR5V8/s320/rbc_23b_cropped.jpg 2013-04-21T12:38:54 < Tectu> jpa-, in modern industry boards as well? D: 2013-04-21T12:39:02 < Tectu> jpa-, professional, expensive boards? :D 2013-04-21T12:39:40 < jpa-> Tectu: the reason they are not more common is that many tools make working with freehand routes very difficult 2013-04-21T12:41:08 < Tectu> jpa-, interesting, I've never see it from that point of view 2013-04-21T12:42:08 < Tectu> jpa-, those two pictures are interesting (especially the text next to 'em) http://www.toporouter.com/advantages.php 2013-04-21T12:42:08 < jpa-> and 45 degree is not that bad.. so most just go the easy way and use 45 degree strokes 2013-04-21T12:43:52 < Tectu> holy crap... two layers http://www.toporouter.com/scr/scr8.jpg 2013-04-21T12:48:48 < Robint91> damm the latest coocox ide is CRAP 2013-04-21T13:08:18 < Tectu> Robint91, yeah, that's why I decided not to use any IDE at all anymore 2013-04-21T13:08:22 < Tectu> IDEs are all crap. 2013-04-21T13:08:58 < Thorn> what's a standard refdes for an optocoupler? 2013-04-21T13:09:30 < zyp> like any other IC 2013-04-21T13:20:11 < Tectu> has anyone here ever used the ENC28J60? Is that thing worth anything? 2013-04-21T13:20:25 < Tectu> It seems to be widely used 2013-04-21T13:21:55 < scrts> I've used it, but it was old revision 2013-04-21T13:22:06 < scrts> worked like shit, constantly crashed 2013-04-21T13:22:22 < scrts> but now it seems to be ok with all those hardware filters 2013-04-21T13:22:29 < zyp> seems pretty pointless if you are using F4 2013-04-21T13:22:38 < zyp> since F4 got internal MAC 2013-04-21T13:23:05 < Robint91> Tectu, I miss indexing, auto completion, etc 2013-04-21T13:23:15 < Tectu> Robint91, no need for this 2013-04-21T13:23:37 < Tectu> zyp, sure, but people use some AVR sometimes and I see them there often 2013-04-21T13:25:11 < qyx_> used once 2013-04-21T13:25:38 < qyx_> total crap, errata are nearly longer than datasheet itself 2013-04-21T13:25:39 < Robint91> Tectu, I just work with notepad then? 2013-04-21T13:26:02 < scrts> we use ENC28J60 with F4, since we need two physical interfaces: one management and one data transmission 2013-04-21T13:26:29 < Robint91> scrts, oh? 2013-04-21T13:26:36 < Tectu> Robint91, what ever your favorite editor is. I'm using vi 2013-04-21T13:27:18 < Robint91> scrts, a 2 port switch IC + VLANs (trunking to the F4) ? 2013-04-21T13:29:39 < scrts> can't, client doesn't use VLANs... :| 2013-04-21T13:29:54 < Robint91> but you have two ports 2013-04-21T13:30:11 < Robint91> that are combined into a VLAN trunking to the F4 2013-04-21T13:30:55 < zyp> sounds like more work than using a SPI MAC 2013-04-21T13:31:03 < scrts> well dunno, that was client requirement: two separate hardware ports 2013-04-21T13:31:14 < scrts> no VLANs 2013-04-21T13:31:26 < Robint91> scrts, the client sees no vlans 2013-04-21T13:31:43 < Robint91> only internally in the device you see vlans 2013-04-21T13:31:52 < scrts> oh 2013-04-21T13:31:55 < scrts> hmmm, interesting 2013-04-21T13:32:10 < scrts> You mean take the chip of a switch? 2013-04-21T13:32:12 < zyp> Robint91, so, which switch chip will do that and what does it cost? 2013-04-21T13:32:30 < scrts> yeah, is it cheaper, than the SPI MAC? 2013-04-21T13:32:38 < Robint91> http://www.smsc.com/Products/Ethernet_and_Embedded_Networking/Ethernet_Switches/LAN9313 2013-04-21T13:32:58 < Robint91> scrts, is ith cheaper as SPI + MAC and the PHY? 2013-04-21T13:33:59 < zyp> oh, that one looks pretty nice 2013-04-21T13:34:11 < Robint91> http://www.smsc.com/Products/Ethernet_and_Embedded_Networking/Ethernet_Switches/LAN9303_LAN9303M 2013-04-21T13:34:14 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has quit [Quit: trepidaciousMBR] 2013-04-21T13:34:14 < Robint91> zyp these are cheaper 2013-04-21T13:34:20 < zyp> since includes phy and can do MII towards the F4 2013-04-21T13:34:29 < zyp> do they have one with RMII as well? 2013-04-21T13:34:39 < Robint91> zyp, yep 2013-04-21T13:34:40 < zyp> ah, right 2013-04-21T13:35:23 < Robint91> zyp, 56 pin qfn 2013-04-21T13:35:29 < zyp> $6 on digikey in single quantity 2013-04-21T13:35:33 < zyp> not too bad 2013-04-21T13:35:43 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has joined ##stm32 2013-04-21T13:36:23 < zyp> gonna remember that if I'm ever doing anything of the sort 2013-04-21T13:36:49 < dongs> hacker 2013-04-21T13:36:58 < scrts> I thought VLANs are only possible on the outer side of the PHY 2013-04-21T13:36:59 < dongs> i need to do some ethernet crap soon for a proj 2013-04-21T13:37:08 < dongs> some kinda monitoring crap 2013-04-21T13:37:11 < dongs> I hope i dont have to deal wiht lunix 2013-04-21T13:37:14 < Robint91> scrts, inside a switch 2013-04-21T13:37:28 < zyp> scrts, vlans are really just a header in the ethernet frame 2013-04-21T13:37:39 < scrts> so I have to add VLAN headers in my tcp/ip stack? 2013-04-21T13:37:55 < scrts> the switch will remove them depending on settings I give? 2013-04-21T13:38:01 < zyp> yes 2013-04-21T13:38:04 < scrts> then pass packets to different ports without VLAN stuff? 2013-04-21T13:38:15 < zyp> that's how it usually works 2013-04-21T13:38:25 < scrts> cool, never thought of this, thanks 2013-04-21T13:42:53 < dongs> #stm32-protips 2013-04-21T13:42:56 < dongs> (without Laurenceb 2013-04-21T13:43:27 < dongs> do you think I can do ~40mbit to ethernet on say F4? 2013-04-21T13:43:32 < zyp> heh, it even supports STP 2013-04-21T13:43:36 < dongs> from fsmc 2013-04-21T13:43:37 < Robint91> dongs, raw yes 2013-04-21T13:43:43 < Robint91> dongs, UDP yes 2013-04-21T13:43:44 < dongs> no, not raw 2013-04-21T13:43:46 < dongs> UDP yeah 2013-04-21T13:43:48 < Robint91> dongs, TCP nope 2013-04-21T13:43:56 < dongs> rtp actually 2013-04-21T13:44:01 < dongs> so you think 40 is doable? 2013-04-21T13:44:03 < Robint91> easy 2013-04-21T13:44:04 < scrts> we did 95Mbps on F4 :) 2013-04-21T13:44:07 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-21T13:44:07 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-21T13:44:07 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-21T13:44:08 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-21T13:44:08 < scrts> UDP ofcourse 2013-04-21T13:44:09 < dongs> ok, cool 2013-04-21T13:44:20 < dongs> using lwip? 2013-04-21T13:44:34 < dongs> or just haxed lowlevel shit yourself 2013-04-21T13:44:40 < scrts> lwip 2013-04-21T13:44:47 < scrts> with DMA ofcourse 2013-04-21T13:44:49 < dongs> good to know 2013-04-21T13:44:50 < dongs> yeah 2013-04-21T13:45:19 < zyp> the MAC has no slave mode, it's always using DMA 2013-04-21T13:46:01 < zyp> it has it's own DMA controller 2013-04-21T13:49:50 < scrts> http://www.micrel.com/index.php/en/products/lan-solutions/switches/article/1-ksz8863mll.html 2013-04-21T13:49:59 < scrts> this one seems to be more nice 2013-04-21T13:50:06 < scrts> only LQFP48 2013-04-21T13:51:27 < zyp> about same cost at digikey 2013-04-21T13:53:00 < scrts> yep 2013-04-21T13:53:06 -!- scrts [~quassel@unaffiliated/scrts] has quit [Remote host closed the connection] 2013-04-21T13:53:45 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-21T13:56:15 < Tectu> doing a dev board, should one choose mini USB over micro? I somehow like the micro but most seem to have mini 2013-04-21T13:57:52 < Thorn> mini is obsolete iirc 2013-04-21T13:58:53 < zyp> not mini-b 2013-04-21T13:59:09 < capacitor> wat 2013-04-21T13:59:12 < zyp> but mini-ab is obsolete, so micro should be used for any otg purposes 2013-04-21T13:59:38 < zyp> for device only, it's up to you to choose either mini-b or micro-b 2013-04-21T13:59:42 < capacitor> just use a B mate 2013-04-21T14:00:05 < zyp> well, that's also an option :p 2013-04-21T14:00:17 < capacitor> yeah nothing like the standard thing 2013-04-21T14:00:31 < Tectu> I never got through he mini A/B thing... isn't it just the shape? 2013-04-21T14:00:31 < zyp> except that it's huge as fuck 2013-04-21T14:00:33 < capacitor> i have an abundance of mini-b cables so i'm biased to say mini b 2013-04-21T14:00:44 < Tectu> one has an edge the other a nut or something? 2013-04-21T14:01:15 < zyp> capacitor, I have an abundance of both, and pretty much every consumer item nowadays comes with micro ports 2013-04-21T14:01:47 < capacitor> im an apple so i have iphone cable for my phone and music player 2013-04-21T14:01:55 < zyp> Tectu, both a- and b-plugs fits into ab-sockets, but only b-plugs fits into b-sockets 2013-04-21T14:02:01 < Robint91> mhh 2013-04-21T14:02:11 < Robint91> I use for mobile devices micro 2013-04-21T14:02:18 < Robint91> and for devices that don't move a lot 2013-04-21T14:02:23 < Robint91> the old B type connector 2013-04-21T14:02:31 < zyp> a is the host end, so ab is reserved for otg capable devices 2013-04-21T14:03:12 < zyp> the purpose being that an a-plug doesn't fit into a non-host-capable device 2013-04-21T14:03:12 < qyx_> micro seems to be better from the mechanical point of view 2013-04-21T14:03:20 < zyp> yes 2013-04-21T14:03:37 < Tectu> zyp, but the electrical stuff is the same, just the actual shape of the connector is slightly different, no? 2013-04-21T14:03:45 < zyp> Tectu, yes 2013-04-21T14:04:05 < Tectu> zyp, where's the point of that? 2013-04-21T14:04:16 < zyp> 13:03:11 < zyp> the purpose being that an a-plug doesn't fit into a non-host-capable device 2013-04-21T14:04:51 < Tectu> yes, but that's just firmware stuff, not actually electric or mechanical, no? 2013-04-21T14:05:02 < zyp> I'm talking mechanical now 2013-04-21T14:05:27 < capacitor> how do i buy keil ulink2 2013-04-21T14:05:45 < Tectu> ask dongs, he's our closes sorse insider 2013-04-21T14:06:04 < zyp> micro a is rectangular, micro b has two angled corners 2013-04-21T14:06:10 < capacitor> i noticed some cheap ebay clones 2013-04-21T14:06:36 < zyp> http://upload.wikimedia.org/wikipedia/commons/e/e6/Micro-USB-jacks.jpg 2013-04-21T14:06:38 < capacitor> http://au.mouser.com/ProductDetail/Keil-Tools/ULINK2/?qs=6xtm2vwqiW/b5r%252b2vcGtxQ== 2013-04-21T14:06:43 < capacitor> can i steal one instead 2013-04-21T14:07:08 < zyp> the angled corners make it so that micro a-plugs physically doesn't fit into micro b-sockets 2013-04-21T14:07:17 -!- _BJFreeman [~bjfree@190.sub-75-244-146.myvzw.com] has joined ##stm32 2013-04-21T14:07:28 < capacitor> mouser sells mice 2013-04-21T14:07:30 < Tectu> zyp, but there are ones with two-angle-sides, no? Mini-B here: http://upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Types-usb_th1.svg/220px-Types-usb_th1.svg.png 2013-04-21T14:07:49 < zyp> that's mini 2013-04-21T14:07:50 -!- _BJFreeman is now known as BJfreeman 2013-04-21T14:07:53 < zyp> same situation 2013-04-21T14:08:01 < capacitor> thats a handy diagram Tectu 2013-04-21T14:08:12 < zyp> anyway, anything but mini-b is obsolete, so don't use mini for otg stuff 2013-04-21T14:10:20 < Tectu> zyp, how comes that all dev boards do? 2013-04-21T14:10:22 < Tectu> like olimex 2013-04-21T14:10:36 < zyp> do what? 2013-04-21T14:10:39 < Tectu> I thought olimex is sane... 2013-04-21T14:10:43 < Tectu> they use mini for OTG 2013-04-21T14:11:05 < zyp> well, so does waveshare 2013-04-21T14:11:10 < zyp> doesn't mean it's right. 2013-04-21T14:11:40 < capacitor> i dont get the concern 2013-04-21T14:12:49 -!- scrts [~quassel@unaffiliated/scrts] has joined ##stm32 2013-04-21T14:13:31 < zyp> a major feature of micro over mini is that the wear-parts (springs and stuff) were moved to the plug instead of the socket 2013-04-21T14:13:38 < BJfreeman> the STM32 disco uses mini b for one side and mini a for the other end. 2013-04-21T14:13:50 < zyp> so instead of wearing out the socket you wear out the plug, because a cable is much easier to replace 2013-04-21T14:14:00 < zyp> BJfreeman, no, it does not 2013-04-21T14:14:18 < zyp> the F4 discovery has a mini b for the st-link and a micro ab for the F4 2013-04-21T14:15:56 < capacitor> yeah i has it 2013-04-21T14:16:16 < capacitor> the MB997B 2013-04-21T14:16:31 < capacitor> i've done some awesome mods too 2013-04-21T14:16:37 < zyp> pretty much everybody has it 2013-04-21T14:16:37 < BJfreeman> well some much for the diagrams:P 2013-04-21T14:20:40 < scrts> how much is it worth to take for 4x484pin BGA routing + 8x DDR3 chips + Ethernet PHY PCB design? 2013-04-21T14:21:02 < scrts> hard freelance decisions... :| 2013-04-21T14:22:19 < BJfreeman> used to be priced by the number of traces, ground planes and layers 2013-04-21T14:23:18 < scrts> hmmm, but how can You tell that before the PCB design? the client wants to know if it's worth to do outsourcing 2013-04-21T14:24:23 -!- daisy89 [~bon@p5DDCEE03.dip0.t-ipconnect.de] has joined ##stm32 2013-04-21T14:24:50 < BJfreeman> some comes frm experience, rest is counting pins of components 2013-04-21T14:25:51 < scrts> have You ever did such PCB? 2013-04-21T14:26:12 < BJfreeman> no 2013-04-21T14:26:13 < scrts> I've only done some singe 484BGA plus GMII plus 5x DDR 2013-04-21T14:26:59 < BJfreeman> stopped doing layout for others decades ago 2013-04-21T14:28:17 < Tectu> what's the difference between QFN and LGA? o.O 2013-04-21T14:28:32 < BJfreeman> if the schematic is in a PCB program then run the automatic routing to get an Idea 2013-04-21T14:29:45 < daisy89> Textcu: LGA is like BGA without balls. But mostly larger lands than an BGA. QFN has only contects at the perimeter, beside the ground pad. 2013-04-21T14:30:31 < capacitor> no balls 2013-04-21T14:30:35 < zyp> depends on who you ask really 2013-04-21T14:30:51 -!- SuicideFunky [~randy@185.10.51.188] has quit [Ping timeout: 245 seconds] 2013-04-21T14:30:55 < zyp> LGA and QFN is often used for the same 2013-04-21T14:31:05 < Tectu> daisy89, is LGA better than BGA? o.O 2013-04-21T14:31:13 < Tectu> it seems to be hard to do LGA then 2013-04-21T14:31:41 -!- daisy89 is now known as UweBonnes 2013-04-21T14:31:41 < Tectu> zyp, I'm talking about this: http://www.digikey.com/product-search/en/sensors-transducers/accelerometers/1966355?k=LIS302DL 2013-04-21T14:32:54 < scrts> LGA probably needs a special socket? 2013-04-21T14:33:21 < dongs> wat 2013-04-21T14:33:52 < capacitor> land grid array 2013-04-21T14:34:08 < UweBonnes> Mostly QFN has the contacts somehow accessible at the outside after soldering, these LGA don't have. Just checked on a discovery board. 2013-04-21T14:34:10 < BJfreeman> http://www.robotshop.com/qfn-qfp-tqfp-lqfp-dip-breakout-board-3.html 2013-04-21T14:34:44 -!- Laurenceb__ [~Laurence@host81-159-189-201.range81-159.btcentralplus.com] has joined ##stm32 2013-04-21T14:35:00 < capacitor> welcome Laurenceb__ 2013-04-21T14:35:09 < Laurenceb__> hi 2013-04-21T14:35:20 < Tectu> Laurenceb__, you're line is too long 2013-04-21T14:35:36 -!- Laurenceb__ is now known as Laurenceb_ 2013-04-21T14:35:57 < capacitor> hows the stm32 Laurenceb_ 2013-04-21T14:36:21 < Laurenceb_> unfortunately im writing my PhD thesis atm 2013-04-21T14:36:26 < Laurenceb_> no time for stm32 2013-04-21T14:37:09 <+Steffanx> Tectu, that's not a line. It's a springboard 2013-04-21T14:37:34 < UweBonnes> Tectu: Befor you make an adapter for the LIS302, use a F4Discovery board as adapter :-) 2013-04-21T14:37:37 < capacitor> i am using the keil debugger 2013-04-21T14:37:43 <+Steffanx> ~~~\o/~~~ 2013-04-21T14:37:50 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-21T14:38:04 < Tectu> Steffanx, lol'd 2013-04-21T14:38:25 < Tectu> UweBonnes, I am not doing an adapter, I am supposed to place it on an product PCB ;) 2013-04-21T14:39:43 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Quit: Leaving.] 2013-04-21T14:39:45 < UweBonnes> Well, than ask your board manufacturer. As you can't do visual inspection with that LGA, the manufacturer has yo know his processes. 2013-04-21T14:40:37 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 252 seconds] 2013-04-21T14:41:03 < Tectu> http://www.ebay.com/itm/Alum-15DOF-Biped-Robot-Frame-Kit-Alloy-Clamp-Claw-Mount-for-Arduino-Walk-Dance-/281085624851?pt=US_Radio_Control_Control_Line&hash=item4172024213 2013-04-21T14:41:16 < Tectu> UweBonnes, okay, thanks! 2013-04-21T14:45:12 < Thorn> I need cheap illuminated tact buttons 2013-04-21T14:48:45 < Tectu> huh 2013-04-21T14:48:53 * Tectu check is pocket 2013-04-21T14:49:03 < Tectu> sorry, not today, wrong pants :P 2013-04-21T14:50:52 < zyp> I found I needed a nice way to handle multiple debugger adapters: http://paste.jvnv.net/view/7Xcjc 2013-04-21T14:51:18 < Tectu> zyp, VERY NICE! How did you do that? 2013-04-21T14:51:20 < zyp> just need to add a way to store a comment for each serial now 2013-04-21T14:51:42 < zyp> python of course :p 2013-04-21T14:51:49 < capacitor> big one 2013-04-21T14:51:49 <+Steffanx> 3 bmps :D 2013-04-21T14:51:49 < Tectu> is it hard/hacky? 2013-04-21T14:52:40 < zyp> not very, but it relies on the fact that OS X is using the serial number to construct the name of the device node in /dev/ 2013-04-21T14:52:45 < zyp> http://paste.jvnv.net/view/RSoSN 2013-04-21T14:53:38 -!- capacitor [~capacitor@123-243-139-187.tpgi.com.au] has left ##stm32 [] 2013-04-21T14:55:27 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: ….] 2013-04-21T14:55:46 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-21T14:55:46 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-21T14:55:46 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-21T14:55:49 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-21T14:56:14 < UweBonnes> Changing IRC client ... 2013-04-21T14:56:18 -!- UweBonnes [~bon@p5DDCEE03.dip0.t-ipconnect.de] has left ##stm32 [] 2013-04-21T14:56:44 -!- UweBonnes [~bon@p5DDCEE03.dip0.t-ipconnect.de] has joined ##stm32 2013-04-21T14:59:14 < zyp> it would probably not be too hard to find a way to achieve the same under linux though 2013-04-21T14:59:26 < Tectu> udev magic, I guess 2013-04-21T14:59:54 < zyp> isn't it already making stuff under /dev/by-* 2013-04-21T15:00:35 < Tectu> it is 2013-04-21T15:00:40 < Tectu> by-label, by-UUID and some other, afaik 2013-04-21T15:00:47 < zyp> by-path? 2013-04-21T15:02:18 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-21T15:06:00 < UweBonnes> On my githup blackmagic/sourceforge xc3sprogblackmagic branch, I open the devices via /dev/by-* 2013-04-21T15:09:22 < dongs> https://youtube.com/watch?v=dq6T5BojXc8 retweet 2013-04-21T15:09:27 < Thorn> what /dev/by. I don't have that 2013-04-21T15:09:59 < Tectu> zyp, correctly, by-path 2013-04-21T15:10:05 <+Steffanx> old dongs.. the idea is soooo old 2013-04-21T15:10:11 <+Steffanx> *principle 2013-04-21T15:10:13 < Tectu> dongs, you use twitter? o.O 2013-04-21T15:10:43 < Tectu> this one makes more fun: https://www.youtube.com/watch?v=8_jLpd-_gdY 2013-04-21T15:10:44 <+Steffanx> he retweets from other irc channels 2013-04-21T15:11:11 < UweBonnes> ls -l /dev/serial/by-id/usb-Black_Sphere_Technologies_Black_* 2013-04-21T15:11:11 < UweBonnes> lrwxrwxrwx 1 root root 13 21. Apr 14:10 /dev/serial/by-id/usb-Black_Sphere_Technologies_Black_Magic_Probe__STLINK____Firmware_1.5-00136-g9c95f03-dirty__E2E489E7-if00 -> ../../ttyACM0 2013-04-21T15:11:11 < UweBonnes> lrwxrwxrwx 1 root root 13 21. Apr 14:10 /dev/serial/by-id/usb-Black_Sphere_Technologies_Black_Magic_Probe__STLINK____Firmware_1.5-00136-g9c95f03-dirty__E2E489E7-if02 -> ../../ttyACM1 2013-04-21T15:11:23 < Tectu> 0:50 2013-04-21T15:12:06 <+Steffanx> Why there is "stlink" in that file name UweBonnes ? 2013-04-21T15:13:07 <+Steffanx> oh, you run in on a stlink i guess 2013-04-21T15:13:31 < Tectu> Steffanx, makes somewhat sense, no? :P 2013-04-21T15:13:37 -!- Erlkoenig [~erlkoenig@pptp-212-201-76-42.pptp.stw-bonn.de] has joined ##stm32 2013-04-21T15:13:45 < UweBonnes> Well, it's BMP on a F4-Discovery Board, running on the F103 of that board formally running ST STLINK/// 2013-04-21T15:14:11 < zyp> «formerly», perhaps 2013-04-21T15:14:12 < Erlkoenig> oooh UweBonnes, the one who made the BMP for F4 Disco?? 2013-04-21T15:14:21 < UweBonnes> Yes 2013-04-21T15:14:30 < zyp> the UweBonnes :p 2013-04-21T15:14:48 <+Steffanx> and the zyp 2013-04-21T15:15:06 <+Steffanx> ( .me still wonders how to pronounce zyp ) 2013-04-21T15:15:26 < Erlkoenig> yeay \o/ ... i tried to use it on the F4 of the F4 Disco, configured it to use some other free GPIO pins, but it wouldn't recognize my STM32F3 connected to the pinheaders via SWD... Could the reason be a too fast SWDCLK? 2013-04-21T15:15:53 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Ping timeout: 258 seconds] 2013-04-21T15:15:56 < UweBonnes> Gareth an me are in disagreement about what to put in that string. Gareth only wants "Black_Magic_Probe" ... 2013-04-21T15:16:08 < Erlkoenig> BitMaP 2013-04-21T15:16:11 < PaulFertser> Erlkoenig: was the ground connection between the two boards fine? 2013-04-21T15:16:17 < Erlkoenig> it should, yes 2013-04-21T15:16:24 -!- sterna1 [~Adium@dhcp-180101.eduroam.chalmers.se] has joined ##stm32 2013-04-21T15:16:36 < Erlkoenig> the F3 board even got its power via my SWD connector 2013-04-21T15:17:06 < Erlkoenig> the F3 has a 10MHz Quartz, and the F4 outputs a clock frequency of about ~16MHz on the SWCLK 2013-04-21T15:17:46 < UweBonnes> Erlkoenig: Give me some minutes to try out... 2013-04-21T15:18:50 < Erlkoenig> and btw you can use gpio_set_output_options (TCK_PORT, GPIO_OTYPE_PP, GPIO_OSPEED_50MHZ, TCK_PIN); instead of GPIOC_OSPEEDR &=~0xF30; :-) 2013-04-21T15:18:55 < Erlkoenig> in your platform.c 2013-04-21T15:19:03 < Erlkoenig> ah that would be nice... 2013-04-21T15:19:51 < Erlkoenig> http://games.2g2s.de/elektronik/swd-edges-x10.png this is the SWDIO and SWCLK, on pins C13/E6 where it is more convenient for me 2013-04-21T15:20:59 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-21T15:26:15 -!- Robin_ [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-21T15:26:36 < UweBonnes> Erlkoenig: After running 3 ground wires:(gdb) mon s 2013-04-21T15:26:36 < UweBonnes> Target voltage: ABSENT! 2013-04-21T15:26:36 < UweBonnes> Available Targets: 2013-04-21T15:26:36 < UweBonnes> No. Att Driver 2013-04-21T15:26:36 < UweBonnes> 1 STM32F3xx 2013-04-21T15:27:14 < Erlkoenig> ah, even if the F3's quartz is slower than SWDCLK? 2013-04-21T15:27:23 < UweBonnes> So ground connection is very sensible at that high speed. 2013-04-21T15:27:49 < PaulFertser> UweBonnes: do you mean with "only" two ground wires it didn't work? 2013-04-21T15:27:58 < Erlkoenig> hum. did you just connect the boards or even shield the SWD cable? 2013-04-21T15:28:15 < UweBonnes> Probably BMP needs some means to slow down SWD/JTAG, at least on the >F1 2013-04-21T15:28:26 < Erlkoenig> yeah that would be great :D 2013-04-21T15:28:42 < Erlkoenig> but since all that SWD stuff is bitbanging in software ... o.O 2013-04-21T15:29:04 < Erlkoenig> (it's not like the STM32 have lots of synchroneous interfaces that could do this) 2013-04-21T15:29:14 < UweBonnes> I use femal-to-female wire jumpers on F3/F4 Discovery boards. 2013-04-21T15:29:19 < Thorn> I'd love that feature, maybe I'll add it myself. need to investigate my lpc proglems 2013-04-21T15:29:27 < Thorn> *problems 2013-04-21T15:29:41 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Ping timeout: 258 seconds] 2013-04-21T15:30:11 < UweBonnes> SWD from the F4 to the on-board F1 is fine with that wire jumpers. From board to board the devices is not rcognices until I had multiple ground jumpers. 2013-04-21T15:30:57 < Erlkoenig> hm okay... i made a small hole-grid-breakout for the F4, which has a 6-Pin-Header to connect to the equivalent header on my F3 board, and i currently use selfmade crude cable for that 2013-04-21T15:31:06 < Erlkoenig> without shielding or anything and the one GND line 2013-04-21T15:31:37 < PaulFertser> Should some terminating resistors be used to cope with ringing on that frequency? 2013-04-21T15:31:54 < Erlkoenig> unfortunately i can't modify the F3 board :/ 2013-04-21T15:32:31 -!- Robin_ is now known as Robint91 2013-04-21T15:35:48 < PaulFertser> UweBonnes: is it possible that your STM32F4 port is running faster than native or stlink and thus the bitbanging speed is unusually high? 2013-04-21T15:36:24 < Erlkoenig> it is 10x faster... 2013-04-21T15:37:42 < UweBonnes> Probably for the F4 running at 168 MHz, TCK/SWCK needs to be slowed down a little. 2013-04-21T15:38:21 < PaulFertser> UweBonnes: why not run it with the same clocking as native hardware? 2013-04-21T15:38:41 < Erlkoenig> because the software uses bitbanging and the speed is unpredicable/nondeterministic :D 2013-04-21T15:38:52 < Erlkoenig> i.e. depends on compiler optimizations and stuff 2013-04-21T15:39:18 < UweBonnes> I just duplicated the gpio_get/set(SWCLK_PORT, SWCLK_PIN); commands and a single ground wire is enough. 2013-04-21T15:39:51 < UweBonnes> Paul: GPIO access on devices >F1 is faster per se, as GPIO is on another bbus. 2013-04-21T15:40:22 < Erlkoenig> one might write an alternative swdptap driver using SPI or USART 2013-04-21T15:40:48 < UweBonnes> Erlkoenig: Go ahead! 2013-04-21T15:40:59 < Erlkoenig> would you like it? :D 2013-04-21T15:42:00 < Erlkoenig> i have never used libopencm3 so uhm i'd have to investigate it first :> 2013-04-21T15:44:14 < UweBonnes> Paul: I'd rather selectively slow down GPIO access and not the whole BMP. 2013-04-21T15:44:43 < Erlkoenig> but how, since everything is synchroneous in that softwarE? 2013-04-21T15:45:39 < UweBonnes> And fast GPIO access is fine with good ground connection, so an unconditional slowdown dosn't look to sexy. 2013-04-21T15:48:05 < UweBonnes> Erlkoenig, bitbanging is non-deterministic with regard to the maximum puls times, but minimum pulse times hurt, and there are totally caused by the code. 2013-04-21T15:48:28 < PaulFertser> UweBonnes: yes, but given the way the software is designed, it's probably easier to change the PLL factors runtime. 2013-04-21T15:50:37 < UweBonnes> Paul: If I understand the code right, gpio_set/clear is defined in the platform code, so it may get adapted. Will try now... 2013-04-21T15:52:38 < UweBonnes> Works fine. Will add to f4discovery platform.h. Any objections? 2013-04-21T15:58:20 < UweBonnes> Ping 2013-04-21T16:01:52 < Erlkoenig> UweBonnes: hm right 2013-04-21T16:02:08 < Erlkoenig> sorry for afk, mom caled 2013-04-21T16:02:16 < Thorn> pretty fascinating little project http://www.youtube.com/watch?v=A7HICe0MKB0 2013-04-21T16:02:45 < Erlkoenig> (14:52:38) UweBonnes: Works fine. Will add to f4discovery platform.h. Any objections? <- what exactly did you add, NOP's? 2013-04-21T16:03:12 < UweBonnes> I duplicated the GPIO access 2013-04-21T16:03:24 < UweBonnes> diff --git a/src/platforms/f4discovery/platform.h b/src/platforms/f4discovery/platform.h 2013-04-21T16:03:24 < UweBonnes> index c5aac17..0010ec4 100644 2013-04-21T16:03:24 < UweBonnes> --- a/src/platforms/f4discovery/platform.h 2013-04-21T16:03:24 < UweBonnes> +++ b/src/platforms/f4discovery/platform.h 2013-04-21T16:03:24 < UweBonnes> @@ -193,12 +193,14 @@ void uart_usb_buf_drain(uint8_t ep); 2013-04-21T16:03:24 < UweBonnes> static inline void _gpio_set(u32 gpioport, u16 gpios) 2013-04-21T16:03:24 < UweBonnes> { 2013-04-21T16:03:25 < UweBonnes> GPIO_BSRR(gpioport) = gpios; 2013-04-21T16:03:25 < UweBonnes> + GPIO_BSRR(gpioport) = gpios; 2013-04-21T16:03:26 < UweBonnes> } 2013-04-21T16:03:26 < UweBonnes> #define gpio_set _gpio_set 2013-04-21T16:03:27 < UweBonnes> 2013-04-21T16:03:27 < UweBonnes> static inline void _gpio_clear(u32 gpioport, u16 gpios) 2013-04-21T16:03:28 < UweBonnes> { 2013-04-21T16:06:14 < Erlkoenig> ah okay 2013-04-21T16:06:20 < Erlkoenig> github'd it? 2013-04-21T16:09:22 < UweBonnes> upstream git://github.com/gsmcmullin/blackmagic.git (fetch) branch master 2013-04-21T16:10:29 < Erlkoenig> git-pull'd it 2013-04-21T16:15:18 -!- Laurenceb__ [~Laurence@host86-179-253-11.range86-179.btcentralplus.com] has joined ##stm32 2013-04-21T16:17:14 -!- Laurenceb_ [~Laurence@host81-159-189-201.range81-159.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-21T16:22:28 < UweBonnes> When experimenting with BMP, I oftne have the situation that I have (arm-)gdb running on some ttyACMx, but for some reason(relash, unplug) ttyACM disapperars. 2013-04-21T16:22:46 < UweBonnes> No a "quit" in gdb doesn't work any longer: 2013-04-21T16:23:00 < UweBonnes> gdb) quit 2013-04-21T16:23:00 < UweBonnes> putpkt: write failed: I/O Error. 2013-04-21T16:24:00 < UweBonnes> I can only do Z and kill the gdb process on the command line. Any better way? Any other workaround? 2013-04-21T16:25:03 < UweBonnes> "No" -> "Now" 2013-04-21T16:25:16 < UweBonnes> "z" -> "z" 2013-04-21T16:27:14 < Erlkoenig> ha already saw that problem, too :D 2013-04-21T16:28:51 < Erlkoenig> gdb itself is debugworthy too 2013-04-21T16:29:27 < Laurenceb__> it was written by RMS 2013-04-21T16:39:05 < zyp> well known problem 2013-04-21T16:45:27 < Erlkoenig> meh still 18 MHz 2013-04-21T16:45:46 < UweBonnes> ? 2013-04-21T16:47:17 < Erlkoenig> http://games.2g2s.de/elektronik/swd-too-fast.png 2013-04-21T16:47:31 < Erlkoenig> this was measured on the F3'boards SWD Pinheader 2013-04-21T16:49:33 < UweBonnes> How do you judge "too fast"? Does it fail? Does it perhaps work without scope? 2013-04-21T16:49:50 -!- Laurenceb_ [~Laurence@host86-129-129-124.range86-129.btcentralplus.com] has joined ##stm32 2013-04-21T16:49:53 < Erlkoenig> well the F4's LED morses some error message :D 2013-04-21T16:50:18 < Erlkoenig> i guess because SWCK is too fast... not sure though 2013-04-21T16:51:23 < Erlkoenig> wat wait 2013-04-21T16:51:31 < Erlkoenig> Available Targets: 2013-04-21T16:51:31 < Erlkoenig> No. Att Driver 2013-04-21T16:51:31 < Erlkoenig> 1 STM32F3xx 2013-04-21T16:52:21 < Erlkoenig> (gdb) load 2013-04-21T16:52:21 < Erlkoenig> Loading section .isr_vector, size 0x188 lma 0x8000000 2013-04-21T16:52:21 < Erlkoenig> Load failed 2013-04-21T16:52:22 -!- Laurenceb__ [~Laurence@host86-179-253-11.range86-179.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-21T16:56:02 < Robint91> w00t http://i.imgur.com/IZhsBkX.png https://gist.github.com/anonymous/5429655 2013-04-21T16:56:50 -!- Laurenceb__ [~Laurence@host86-143-185-254.range86-143.btcentralplus.com] has joined ##stm32 2013-04-21T16:59:10 -!- Laurenceb_ [~Laurence@host86-129-129-124.range86-129.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-21T17:00:54 < UweBonnes> Erlkoenig: Sorry, the referewnce above "git://github.com/gsmcmullin/blackmagic.git (fetch) branch master" was wrong. 2013-04-21T17:01:53 < Erlkoenig> hu i just did "git pull" and got the new code 2013-04-21T17:03:54 < UweBonnes> It must be "git clone https://github.com/UweBonnes/blackmagic.git" 2013-04-21T17:04:24 < UweBonnes> I checked and checked out clean and had success flashing: 2013-04-21T17:04:36 < UweBonnes> (gdb) load 2013-04-21T17:04:36 < UweBonnes> Loading section .text, size 0x52d8 lma 0x8000000 2013-04-21T17:04:36 < UweBonnes> Loading section .data, size 0x124 lma 0x80052d8 2013-04-21T17:04:36 < UweBonnes> Start address 0x800006d, load size 21500 2013-04-21T17:04:36 < UweBonnes> Transfer rate: 21 KB/sec, 934 bytes/write. 2013-04-21T17:04:36 < UweBonnes> ( 2013-04-21T17:07:05 < Erlkoenig> :( 2013-04-21T17:09:20 < UweBonnes> Attention: https://github.com/UweBonnes/blackmagic.git used PC4 SWDCK and PC5 SWDIO! 2013-04-21T17:09:22 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 256 seconds] 2013-04-21T17:09:42 < Robint91> Laurenceb__, Laurenceb, http://i.imgur.com/KtifHRZ.png 2013-04-21T17:09:53 < Robint91> 3 psk63 streams from the same F4 2013-04-21T17:10:11 < Erlkoenig> UweBonnes: jup i merged it with my code which uses my custom pins 2013-04-21T17:10:20 < UweBonnes> The pin mapping on Gareths githup collides with the proposed UART connection.. 2013-04-21T17:10:33 < Erlkoenig> UweBonnes: that scope picture was made with that merged code 2013-04-21T17:11:24 < UweBonnes> What scope do you have? 2013-04-21T17:11:40 < Erlkoenig> Owon SDS7102... china quality but it's okay 2013-04-21T17:11:59 < Erlkoenig> enough to tell unconnected pins from SCK pin :> 2013-04-21T17:12:13 < UweBonnes> It's a "real" scope, not a USB one? 2013-04-21T17:12:26 < Erlkoenig> yes a "real" one ^^ 2013-04-21T17:19:23 < Laurenceb__> Robint91: nice work 2013-04-21T17:19:45 < Robint91> Laurenceb__, I think 3 streams is the maximum 2013-04-21T17:20:06 < Robint91> Laurenceb__, I need to check how much time I have left in the interrupt routine 2013-04-21T17:20:12 < Laurenceb__> that fldigi can handle? 2013-04-21T17:20:18 < Laurenceb__> this is with F4? 2013-04-21T17:20:31 < Laurenceb__> surely not ?! 2013-04-21T17:20:46 < Robint91> Laurenceb__, maybe need to change things 2013-04-21T17:20:55 < Laurenceb__> cant you generate lots of PSK and chuck in a DAC DMA buffer? 2013-04-21T17:21:07 < Laurenceb__> id try running chibios or something 2013-04-21T17:21:15 < Robint91> Laurenceb__, I am doing that right now 2013-04-21T17:21:19 < Laurenceb__> have a thread that fills up some sort of buffer 2013-04-21T17:21:20 < Laurenceb__> ok 2013-04-21T17:21:40 < Robint91> I have around 256 sample time to get the signals ready 2013-04-21T17:21:46 < Robint91> I have a 16000 sample rate 2013-04-21T17:24:40 < Laurenceb__> so ~2.68M cycles 2013-04-21T17:24:42 < Laurenceb__> plenty 2013-04-21T17:25:03 < Robint91> I'm going to measure how many cycles I use 2013-04-21T17:25:10 < Laurenceb__> can't you just put the phasors into the IFFT buffer? 2013-04-21T17:25:20 < Laurenceb__> so 256 carriers? 2013-04-21T17:26:01 < Robint91> Laurenceb__, I you do that you need to sync the baudrate with the IFFT 2013-04-21T17:26:28 < Laurenceb__> sure 2013-04-21T17:26:29 < Robint91> Laurenceb__, it isn't handy if you want to do in parallell something like DominoEX or THOR/MFSK 2013-04-21T17:26:29 < Laurenceb__> oh 2013-04-21T17:26:43 < Robint91> also it creates large sidebands 2013-04-21T17:26:50 < Laurenceb__> hmm 2013-04-21T17:27:18 < Laurenceb__> so are you using FFT at all? 2013-04-21T17:27:40 < Robint91> so 2013-04-21T17:27:49 < Robint91> directly sinf 2013-04-21T17:29:39 < Laurenceb__> i see 2013-04-21T17:30:26 < Laurenceb__> you could try some of the more odd modes 2013-04-21T17:31:21 < Robint91> yeah 2013-04-21T17:32:01 < Laurenceb__> thor or something... 2013-04-21T17:32:05 * Laurenceb__ reads manuak 2013-04-21T17:32:07 < Laurenceb__> (l 2013-04-21T17:33:18 < Laurenceb__> http://www.oliviamode.com/ 2013-04-21T17:34:03 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-04-21T17:38:46 < Laurenceb__> http://www.w1hkj.com/FldigiHelp-3.22/MT63.html 2013-04-21T17:38:56 -!- barthess [~barthess@77.67.244.159] has joined ##stm32 2013-04-21T17:42:30 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-21T17:43:53 < scrts> anyone here could help with translation from italian to english? :) 2013-04-21T17:43:53 < Robint91> Laurenceb__, mhh with a timer with a prescaler for 1024 2013-04-21T17:44:06 < Robint91> Laurenceb__, I see a value of 427 2013-04-21T17:44:17 < Robint91> so 427*1024 ? 2013-04-21T17:45:00 < Laurenceb__> yeah 2013-04-21T17:45:17 < Robint91> so a bunch of cycles 2013-04-21T17:45:20 < Robint91> around 500k 2013-04-21T17:49:57 < Robint91> Laurenceb__, those timers run on the 168MHz ? 2013-04-21T17:50:07 < Laurenceb__> hmm 2013-04-21T17:50:11 < Robint91> no 2013-04-21T17:50:16 < Laurenceb__> depends how you set up the AHB 2013-04-21T17:50:25 < Laurenceb__> they can run at the full 168 2013-04-21T17:50:33 < Robint91> those are on the APB 2013-04-21T17:50:37 < Robint91> doesn't matter 2013-04-21T17:51:04 -!- zlog [~zlog@ip68-102-203-6.ks.ok.cox.net] has quit [Remote host closed the connection] 2013-04-21T17:52:20 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2013-04-21T17:54:57 -!- Laurenceb_ [~Laurence@host81-151-161-78.range81-151.btcentralplus.com] has joined ##stm32 2013-04-21T17:55:01 < Robint91> Laurenceb__, 874632 cycles 2013-04-21T17:55:06 < Robint91> Laurenceb_ ^ 2013-04-21T17:55:09 < Laurenceb_> i see 2013-04-21T17:55:37 < Robint91> that is a lot 2013-04-21T17:55:42 -!- zlog [~zlog@ip68-102-203-6.ks.ok.cox.net] has joined ##stm32 2013-04-21T17:55:56 < Laurenceb_> for how many psk channels? 2013-04-21T17:56:14 < Robint91> for 4 2013-04-21T17:56:36 < Laurenceb_> i see 2013-04-21T17:56:47 < Robint91> It take 854 cylces to build each sample for each channel 2013-04-21T17:56:48 < Laurenceb_> can't you precompute the DAC values? 2013-04-21T17:57:00 < Laurenceb_> and load them into buffers 2013-04-21T17:57:16 < Laurenceb_> then swap between buffers according to the phase 2013-04-21T17:57:32 -!- Laurenceb__ [~Laurence@host86-143-185-254.range86-143.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-21T18:01:24 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:2d0d:62d3:b9d2:6a6c] has joined ##stm32 2013-04-21T18:02:53 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Read error: Operation timed out] 2013-04-21T18:07:18 < Robint91> does someone know how long a sinf takes? 2013-04-21T18:10:08 < Robint91> Laurenceb_, this takes 900 cycles https://gist.github.com/anonymous/5429948 2013-04-21T18:11:02 < Laurenceb_> are you sure you are using fpu optimised sinf? 2013-04-21T18:12:35 < Robint91> Laurenceb_, wait 2013-04-21T18:12:40 < Robint91> it take 3200 cycles 2013-04-21T18:12:44 < Robint91> *it takes 2013-04-21T18:13:15 < Robint91> It looks that the FPU unit is off 2013-04-21T18:13:31 < Laurenceb_> doh 2013-04-21T18:13:47 < Robint91> mhh 2013-04-21T18:13:49 < Robint91> or not 2013-04-21T18:14:25 < Laurenceb_> you may be using fpu, but not have fpu optimised math lib 2013-04-21T18:15:54 < Robint91> what is the command to view the assembly 2013-04-21T18:16:02 < Robint91> arm-none-eabi-copy 2013-04-21T18:16:05 < Laurenceb_> arm-none-objdump -D 2013-04-21T18:16:19 < Laurenceb_> arm-none-objdump -D .elf > dis.asm 2013-04-21T18:16:47 < Laurenceb_> arm-none-eabi-objdump -D .elf > dis.asm 2013-04-21T18:16:53 < Laurenceb_> ill get there eventually 2013-04-21T18:17:48 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-21T18:18:08 < Robint91> I see vdiv.f32 2013-04-21T18:18:15 < Robint91> that looks allright 2013-04-21T18:18:47 < Laurenceb_> not necessarily 2013-04-21T18:18:55 < Laurenceb_> thats not from libmath 2013-04-21T18:21:03 < Robint91> __ieee754_rem_pio2f 2013-04-21T18:21:19 < Robint91> is called when sinf executed 2013-04-21T18:23:55 < zyp> do you have a compile log? 2013-04-21T18:29:00 < Robint91> zyp, what do you mean 2013-04-21T18:30:31 < Robint91> this is strange 2013-04-21T18:30:44 < Robint91> I have also a fabs(cosf()) 2013-04-21T18:30:45 < Robint91> function 2013-04-21T18:31:14 < Robint91> It takes on avarage 100 cycles 2013-04-21T18:34:33 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Quit: Leaving.] 2013-04-21T18:34:45 < zyp> Robint91, I want to see the commands that gets executed during compilation 2013-04-21T18:35:14 -!- jv [jv@pilsedu.cz] has quit [Ping timeout: 252 seconds] 2013-04-21T18:35:26 < zyp> because the flags there is what determines which library variant you are using 2013-04-21T18:35:27 < scrts> F4 has FPU afaik, it is still so slow? 2013-04-21T18:35:45 < zyp> scrts, of course it is when you don't use the FPU 2013-04-21T18:35:59 < scrts> and why don't use it? buggy? 2013-04-21T18:37:16 < Robint91> zyp, this command https://gist.github.com/anonymous/5430014 2013-04-21T18:37:48 < zyp> woah, it's doing all at once 2013-04-21T18:38:05 < zyp> looks good though 2013-04-21T18:38:17 < zyp> which compiler toolchain is that? gcc-arm-embedded? 2013-04-21T18:38:44 < Robint91> yeah 2013-04-21T18:38:58 < Robint91> the 4.6 2013-04-21T18:39:06 < zyp> then you should be fine 2013-04-21T18:39:30 < Robint91> mhh 2013-04-21T18:39:45 < Robint91> I changed it from 800k cycles to 140k cycles 2013-04-21T18:40:02 < Robint91> by using the arm_sin_f32 function 2013-04-21T18:40:10 < Robint91> *80K 2013-04-21T18:41:23 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-21T18:42:51 < Robint91> 170k with 4 psk31 channels 2013-04-21T18:43:25 < Robint91> http://i.imgur.com/ftXlofk.png 2013-04-21T18:43:29 < Robint91> the F4 is modulation that 2013-04-21T18:44:55 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has joined ##stm32 2013-04-21T18:45:39 < scrts> so how many SPS do You get? 2013-04-21T18:45:45 < scrts> samples per second :) 2013-04-21T18:52:47 < Robint91> scrts, 16k 2013-04-21T18:52:55 < scrts> cool :> 2013-04-21T18:53:42 -!- UweBonnes [~bon@p5DDCEE03.dip0.t-ipconnect.de] has quit [Quit: epic+tkirc2] 2013-04-21T18:55:22 -!- UweBonnes [~bon@p5DDCEE03.dip0.t-ipconnect.de] has joined ##stm32 2013-04-21T18:55:35 -!- UweBonnes [~bon@p5DDCEE03.dip0.t-ipconnect.de] has quit [Client Quit] 2013-04-21T18:56:24 -!- UweBonnes [~bon@p5DDCEE03.dip0.t-ipconnect.de] has joined ##stm32 2013-04-21T18:56:33 -!- UweBonnes [~bon@p5DDCEE03.dip0.t-ipconnect.de] has quit [Client Quit] 2013-04-21T18:58:25 -!- CRF_Peter [~Peter@193.11.200.145] has joined ##stm32 2013-04-21T18:58:26 -!- UweBonnes [~bon@p5DDCEE03.dip0.t-ipconnect.de] has joined ##stm32 2013-04-21T19:03:00 -!- CRF_Peter [~Peter@193.11.200.145] has quit [Ping timeout: 272 seconds] 2013-04-21T19:07:21 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-21T19:08:24 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-21T19:09:04 -!- MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-21T19:12:49 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-21T19:16:54 < UweBonnes> Erlkoenig: If possible, report success/failure wit regard to the F4 Gpio slowdown 2013-04-21T19:18:13 < Erlkoenig> didn't investigate it further, had to do other things... just got to the "Load failed" error 2013-04-21T19:20:53 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has quit [Ping timeout: 255 seconds] 2013-04-21T19:21:32 < UweBonnes> But with a firmware where GPIO was not slowed down... 2013-04-21T19:22:02 < Erlkoenig> that was with your new firmware which was supposed to slow it down :D 2013-04-21T19:23:07 < UweBonnes> I gave you a wrong pointer first. Only after you had the error, I noticed and send the right adress. 2013-04-21T19:23:32 < Erlkoenig> i had the right address right from the beginning 2013-04-21T19:23:33 < Laurenceb_> arm_sin_f32 <- thats a math lib function? 2013-04-21T19:23:54 < Erlkoenig> git remembers the address you entered in "git clone" and i just pulled from that remembered address 2013-04-21T19:23:59 < Erlkoenig> static inline void _gpio_clear(u32 gpioport, u16 gpios) 2013-04-21T19:23:59 < Erlkoenig> { 2013-04-21T19:23:59 < Erlkoenig> GPIO_BSRR(gpioport) = gpios<<16; 2013-04-21T19:23:59 < Erlkoenig> GPIO_BSRR(gpioport) = gpios<<16; 2013-04-21T19:23:59 < Erlkoenig> } 2013-04-21T19:24:02 < Erlkoenig> this is in my pulled code 2013-04-21T19:26:08 < UweBonnes> I'd be gratefull if you experiment a little further if you find time. Start with adding more repetions of the command. Also check that it works on-board or with multiple ground wires. 2013-04-21T19:26:56 < Erlkoenig> hmm i don't want to flash the ST-Link-F1... just wanted to use the F4 as Debug utility 2013-04-21T19:27:30 -!- CRF_Peter [~Peter@dhcp-191209.eduroam.chalmers.se] has joined ##stm32 2013-04-21T19:27:42 < Erlkoenig> but yes i will test that when i have time, when i have everything wired to test that F3 board, currently doing something on the F4 itself 2013-04-21T19:28:19 < UweBonnes> Similar situation here. 2013-04-21T19:28:40 < Erlkoenig> ooohps my current app tries to write to a flash location :D 2013-04-21T19:29:55 < UweBonnes> B.t.w., does anybbody know a way to send usb packets to a selected endpoint from the command line and read on the commandline also from the command line? 2013-04-21T19:30:16 < Erlkoenig> uh, write a small libusb app for that... :D 2013-04-21T19:30:42 < UweBonnes> Nobody done that before? 2013-04-21T19:30:58 < TitanMKD> UweBonnes USB is an empty world ;) 2013-04-21T19:31:17 < zyp> UweBonnes, I've done it from the python command line a bunch of times 2013-04-21T19:31:36 -!- Laurenceb_ [~Laurence@host81-151-161-78.range81-151.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-21T19:31:41 < UweBonnes> You have the .py file still? 2013-04-21T19:32:03 -!- grummund [~user@unaffiliated/grummund] has quit [Read error: Operation timed out] 2013-04-21T19:32:07 < zyp> when I said command line I meant interactive python 2013-04-21T19:32:16 -!- PT_Dreamer [~quassel@a95-93-159-22.cpe.netcabo.pt] has joined ##stm32 2013-04-21T19:32:20 < zyp> but sure, I have lots of python scripts interacting with usb 2013-04-21T19:32:25 < Erlkoenig> http://games.2g2s.de/git/?p=stm32.git;a=blob;f=pc/rc3/main.c;h=06e6b1517b5ec414e2721db83158d4b3dc094970;hb=96a66c6a30c68d34ed849df5328dfd4685ccefe1 libusb example code 2013-04-21T19:35:36 < zyp> http://paste.jvnv.net/view/hzAjc <- here's some old stuff using pyusb 2013-04-21T19:36:20 < zyp> http://paste.jvnv.net/view/cUcsl <- and same stuff using async mode of python-libusb1 2013-04-21T19:37:00 -!- Steffann [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-21T19:37:03 -!- mode/##stm32 [+v Steffann] by ChanServ 2013-04-21T19:38:29 < zyp> otherwise if you insist on accessing usb devices from the shell I know freebsd exports every endpoint as a device node in /dev :p 2013-04-21T19:39:08 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2013-04-21T19:40:02 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Ping timeout: 246 seconds] 2013-04-21T19:48:59 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-21T19:50:55 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 264 seconds] 2013-04-21T19:52:39 -!- Laurenceb_ [~Laurence@host86-177-58-100.range86-177.btcentralplus.com] has joined ##stm32 2013-04-21T19:57:42 -!- barthess [~barthess@77.67.244.159] has quit [Quit: Leaving.] 2013-04-21T20:00:00 < Laurenceb_> rageeee 2013-04-21T20:00:03 < Laurenceb_> #octave is dead 2013-04-21T20:01:35 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-21T20:03:51 < Robint91> Laurenceb_, lol 2013-04-21T20:08:13 -!- PT_Dreamer_ [~quassel@a95-93-151-152.cpe.netcabo.pt] has joined ##stm32 2013-04-21T20:08:20 -!- MrM0bius [~Joey@194.176.111.31] has joined ##stm32 2013-04-21T20:08:55 -!- PT_Dreamer [~quassel@a95-93-159-22.cpe.netcabo.pt] has quit [Ping timeout: 264 seconds] 2013-04-21T20:09:50 <+Steffann> #octave is even slower than matlab. WHY you use that Laurenceb_ ? 2013-04-21T20:11:11 -!- MrMobius [~Joey@194.176.111.29] has quit [Ping timeout: 246 seconds] 2013-04-21T20:11:50 -!- phantoneD [~destroy@a95-92-85-217.cpe.netcabo.pt] has quit [Ping timeout: 256 seconds] 2013-04-21T20:13:09 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2013-04-21T20:15:28 -!- sterna1 [~Adium@dhcp-180101.eduroam.chalmers.se] has quit [Quit: Leaving.] 2013-04-21T20:18:08 -!- PT_Dreamer_ [~quassel@a95-93-151-152.cpe.netcabo.pt] has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.] 2013-04-21T20:18:17 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has joined ##stm32 2013-04-21T20:26:07 < Laurenceb_> legend is in the wrong place 2013-04-21T20:26:24 < Laurenceb_> "northwest" is printing as "northeast" 2013-04-21T20:27:35 < jpa-> Steffann: it's not that slow unless you do stupid for loops 2013-04-21T20:28:03 <+Steffann> It's still slower than mathlab 2013-04-21T20:28:21 <+Steffann> Sometimes you NEED loops 2013-04-21T20:28:50 <+Steffann> but yeah, that's why i converted something to python + cpython :) 2013-04-21T20:29:25 <+Steffann> Just add some datatypes ( and break python compatibility ) and your app speeds up by 1000 times. 2013-04-21T20:29:33 <+Steffann> -by 2013-04-21T20:30:27 < jpa-> or you might just have used C++ then 2013-04-21T20:30:49 <+Steffann> Yeah, perhaps, but from python to cpython-ish code was easy enough 2013-04-21T20:31:49 <+Steffann> You dont want to see the c code that is generated, lol 2013-04-21T20:40:38 < Tectu> jpa-, any progress on the eInk so far? 2013-04-21T20:46:34 < jpa-> Tectu: just preparing to order the pcb :P 2013-04-21T20:46:40 < jpa-> been a bit busy with work etc. 2013-04-21T20:47:02 <+Steffann> Parrot wants attentions? 2013-04-21T20:47:04 <+Steffann> -s 2013-04-21T20:47:20 < Tectu> jpa-, where do you order? 2013-04-21T20:47:32 < jpa-> seeed 2013-04-21T20:51:02 -!- phantoxeD [~destroy@a95-92-85-217.cpe.netcabo.pt] has joined ##stm32 2013-04-21T20:55:10 < Tectu> jpa-, any experiences with price, quality and lead time? 2013-04-21T20:55:37 <+Steffann> price:ok, quality:ok, lead time: ok for china 2013-04-21T20:56:03 < zyp> quality is so-so 2013-04-21T20:56:13 <+Steffann> quality is ok :P 2013-04-21T20:56:21 < Tectu> the cheapest I could find so far: http://smart-prototyping.com/index.php?route=product/product&product_id=142 2013-04-21T20:59:19 -!- Posterdati [~antani@host230-237-dynamic.20-87-r.retail.telecomitalia.it] has quit [Ping timeout: 264 seconds] 2013-04-21T21:00:26 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has joined ##stm32 2013-04-21T21:03:44 -!- sterna1 [~Adium@dhcp-189128.eduroam.chalmers.se] has joined ##stm32 2013-04-21T21:04:30 < jpa-> Tectu: quality was ok for the one board i have ordered before 2013-04-21T21:04:36 < jpa-> apparently it varies 2013-04-21T21:08:39 -!- MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-21T21:11:23 -!- MrM0bius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-21T21:13:05 -!- Posterdati [~antani@host183-239-dynamic.16-87-r.retail.telecomitalia.it] has joined ##stm32 2013-04-21T21:15:14 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Ping timeout: 246 seconds] 2013-04-21T21:21:37 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-21T21:25:37 <+Steffann> jpa- i dont think that's what varies. I think you don't expect too much from a cheap chinese board house. 2013-04-21T21:26:26 <+Steffann> iirc zyp said his last order was AGES ago. 2013-04-21T21:26:39 <+Steffann> So perhaps it changed over time 2013-04-21T21:27:44 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-21T21:29:29 < Thorn> I ordered from them a couple of times last year, all boards were usable 2013-04-21T21:29:50 <+Steffann> useable for perfectly useable. Just usable sounds a little negative imho 2013-04-21T21:30:03 <+Steffann> -e 2013-04-21T21:30:36 < Thorn> meaning I was able to build them and the devices worked 2013-04-21T21:32:16 < Thorn> one order had significantly sharper silkscreen than the other though 2013-04-21T21:32:37 <+Steffann> but that's not the most important part of a pcb 2013-04-21T21:33:46 < Thorn> it shows that their quality can vary though. hopefully not enough to 2013-04-21T21:34:06 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-21T21:34:07 < Thorn> cause shorts or open circuits 2013-04-21T21:37:46 < jpa-> Steffann: i have seen photos of very crappy boards from seeed 2013-04-21T21:38:07 <+Steffann> i didnt 2013-04-21T21:38:16 < jpa-> actually, i have ordered twice from seeed.. both times all the vias were spot-on 2013-04-21T21:38:22 < jpa-> the silk screen wasn't perfect, but who cares 2013-04-21T21:38:43 < Robint91> I ordered around 10 times form seed 2013-04-21T21:38:50 < Robint91> no problem ever 2013-04-21T21:42:31 < zyp> http://bin.jvnv.net/f/bIChx.jpg <- I wouldn't call this spot on, and silk resolution is pretty shitty 2013-04-21T21:42:59 <+Steffann> Nah, does that really matter for that type of board? 2013-04-21T21:43:04 < zyp> also note mask alignment 2013-04-21T21:43:10 <+Steffann> And I can't care less about the silk 2013-04-21T21:43:25 < zyp> I didn't say it mattered, I said quality is so-so 2013-04-21T21:43:38 < jpa-> yeah, mine is much better 2013-04-21T21:43:50 < zyp> and yes, it was ages ago 2013-04-21T21:44:02 < zyp> probably 2009 2013-04-21T21:44:24 < zyp> ah, yeah 2013-04-21T21:44:26 < zyp> nov 2009 2013-04-21T21:45:41 <+Steffann> Hmm. I remember seeing in the f103 rm you had to connect vbus to PAx for vbus detection. Why i don't see something similar for the l151? 2013-04-21T21:46:01 < zyp> you are wrong 2013-04-21T21:46:17 < zyp> only the otg cores care about vbus 2013-04-21T21:47:25 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-21T21:47:25 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-21T21:47:25 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-21T21:47:28 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-21T21:47:34 <+Steffanx> oh, that was for otg. lol 2013-04-21T21:47:48 <+Steffanx> Why i remember some here told me to connect that 2013-04-21T21:48:56 < jpa-> it's useful on L151 also, if you want to have a notification when the USB is connected 2013-04-21T21:49:10 < jpa-> (though you could detect USB reset also) 2013-04-21T21:49:46 < R2COM> hmmm 2013-04-21T21:49:58 < R2COM> still trying to understand that spi-debug thingy 2013-04-21T21:50:13 -!- Steffann [~Steffanx@unaffiliated/steffanx] has quit [Ping timeout: 240 seconds] 2013-04-21T21:50:37 < R2COM> tried already different combinations and its just weird how come having a break point, or significant delay before writing to DR make it work 2013-04-21T21:51:06 < R2COM> (checking TXE of course didnt work, since TXE=1, but writing to DR right after this check failed when was executed at once without breakpoints) 2013-04-21T21:51:49 <+Steffanx> Actually it was you who said that zyp > 1 year ago. but perhaps i misunderstood 2013-04-21T21:52:00 < zyp> http://bin.jvnv.net/f/E08pl.JPG <- dongboard quality 2013-04-21T21:52:20 <+Steffanx> Yeah, that's 100 times beter. As in perfect 2013-04-21T21:52:52 < R2COM> just via holes are kinda shifted from center 2013-04-21T21:53:00 < zyp> mask and drills are still a bit unaligned 2013-04-21T21:53:06 <+Steffanx> Ah, yeah 2013-04-21T21:53:18 < R2COM> I have similar stuff from time to time with oshpark boards 2013-04-21T21:53:18 < zyp> but silk resolution is on a completely different level :p 2013-04-21T21:53:54 < jpa-> silk resolution is useless :P 2013-04-21T21:54:05 <+Steffanx> Unless you have a silkscreen fetish 2013-04-21T21:54:22 < gxti> jpa-: my last few from oshpark have been hires silk 2013-04-21T21:54:28 < gxti> not sure if that's a 100% thing now or what 2013-04-21T21:54:36 < zyp> hmm, all my oshpark boards are soldered up 2013-04-21T21:55:46 <+Steffanx> http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2012-03-17.html#08:05:13 zyp or you or me misunderstood ( or you talked about otg and i didnt ) 2013-04-21T21:56:40 <+Steffanx> Anyway, It still handy to have it. ( and no i never finished that project.. what a surprise ) 2013-04-21T21:57:08 < zyp> hmm 2013-04-21T21:58:05 < zyp> Steffanx, that was months before I wrote my F1 usb driver, so I only had experience with the OTG core and talked on that basis :p 2013-04-21T21:58:23 <+Steffanx> Nah, you became a year smarter so i'll trust you now :) 2013-04-21T22:00:16 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-21T22:00:16 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-21T22:00:16 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-21T22:02:30 < zyp> ew, this looks fucking nasty 2013-04-21T22:02:36 < zyp> http://bin.jvnv.net/f/TgK0Q.JPG 2013-04-21T22:03:03 <+Steffanx> Nasty as in dusty? 2013-04-21T22:03:10 < zyp> well, yeah 2013-04-21T22:04:22 < zyp> purple mask makes it pretty hard to see where it ends, really 2013-04-21T22:04:56 < zyp> hole alignment seems pretty good, silk resolution is better than that seed board, but not very good 2013-04-21T22:07:12 < zyp> hmm, wonder if I'm able to get a picture of the balls under the bga 2013-04-21T22:10:23 < Tectu> might one help with this? http://pastebin.com/zWu2jLq8 2013-04-21T22:11:56 -!- MrMobius [~Joey@194.176.111.29] has quit [Ping timeout: 246 seconds] 2013-04-21T22:18:02 < zyp> http://bin.jvnv.net/f/1r2uh.JPG http://bin.jvnv.net/f/QYhd6.JPG 2013-04-21T22:18:37 < Tectu> you're a hairy man? 2013-04-21T22:19:02 < zyp> hair? that's way smaller than hair 2013-04-21T22:21:21 < zyp> http://bin.jvnv.net/f/2ZF5L.JPG <- straw of hair for comparison 2013-04-21T22:21:30 <+Steffanx> He needs swiffer Tectu. Give him that on his birthday 2013-04-21T22:21:48 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 276 seconds] 2013-04-21T22:22:51 < Tectu> wow 2013-04-21T22:22:53 < Tectu> impressive 2013-04-21T22:23:02 < Tectu> USB microscope or so? 2013-04-21T22:23:22 < Tectu> also, where did you get a hair at these late hours? 2013-04-21T22:23:34 < Robint91> zyp, is that your plc board? 2013-04-21T22:23:44 < Robint91> *lpc 2013-04-21T22:23:48 < zyp> yep 2013-04-21T22:24:14 < zyp> I'm having fun trying out my new lens now :p 2013-04-21T22:25:15 < Laurenceb_> now you just need a vacuum chamber 2013-04-21T22:25:23 < Laurenceb_> to fill the bottom with epoxy 2013-04-21T22:38:24 -!- Laurenceb__ [~Laurence@host86-171-203-253.range86-171.btcentralplus.com] has joined ##stm32 2013-04-21T22:39:38 < UweBonnes> Zyp: What microscope? Has it a linux viewer? 2013-04-21T22:39:55 < zyp> no microscope, just camera 2013-04-21T22:40:35 < UweBonnes> What camera? 2013-04-21T22:40:42 < zyp> http://en.wikipedia.org/wiki/Canon_EF-S_60mm_f/2.8_Macro_USM_lens <- this lens 2013-04-21T22:40:43 < Laurenceb__> iphone? 2013-04-21T22:41:10 -!- Laurenceb_ [~Laurence@host86-177-58-100.range86-177.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-21T22:41:11 < Laurenceb__> ah 2013-04-21T22:44:20 <+Steffanx> ~~~\\\\\o////~~~ 2013-04-21T22:44:26 <+Steffanx> ~~~~~\o/~~~~ 2013-04-21T22:44:30 <+Steffanx> oops .. sorry for my crap 2013-04-21T22:44:44 <+Steffanx> I just used Laurenceb__'s springboard, again. 2013-04-21T22:44:51 < zyp> ##stm32-drowning 2013-04-21T22:45:21 < Laurenceb__> wtf 2013-04-21T22:45:26 <+Steffanx> Should continue working on my report :( 2013-04-21T22:45:45 * Laurenceb__ is trying to write his thesis 2013-04-21T22:45:56 < Laurenceb__> 2 chapters, 60 pages so far :-S 2013-04-21T22:46:18 <+Steffanx> only 10 pages here, so far. And I only need 10, but i'm not finished yet :( 2013-04-21T22:46:25 < Laurenceb__> lol 2013-04-21T22:46:38 <+Steffanx> 10 pages, incl. fancy images. :D 2013-04-21T22:46:44 <+Steffanx> ( something that is allowed ) 2013-04-21T22:47:37 <+Steffanx> Most thesises are like > 150 pages not? 2013-04-21T22:47:57 <+Steffanx> * theses ? 2013-04-21T22:50:22 < Laurenceb__> mine will be heading towards 300 :-/ 2013-04-21T23:00:28 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-21T23:01:57 < zyp> my bachelor's thesis were 54 pages with appendices and all 2013-04-21T23:02:29 < zyp> 43 pages + 11 pages of appendices 2013-04-21T23:05:44 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 256 seconds] 2013-04-21T23:08:13 < Laurenceb__> yeah that sounds about right 2013-04-21T23:08:17 < Laurenceb__> mine was similar 2013-04-21T23:16:17 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-21T23:25:22 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-21T23:26:09 < Erlkoenig> how can the filter match index of a messagei in the CAN Receive FIFO refer to a filter bank that was not initialized and isn't even activated in the FA1R register?? 2013-04-21T23:28:57 < Erlkoenig> i initialized banks 0 and 1, and the FMI is 56 o.O 2013-04-21T23:30:09 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Client Quit] 2013-04-21T23:39:08 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:2d0d:62d3:b9d2:6a6c] has quit [Quit: Leaving] 2013-04-21T23:46:13 < Erlkoenig> meh, anyone bored here who has an STM32F4 Discovery and a Jumper Wire? :) 2013-04-21T23:46:56 < sterna1> you wanna fry something? 2013-04-21T23:47:11 < sterna1> I've got better stuff for that 2013-04-21T23:47:32 < sterna1> capacitor bank with 300V and lots of F 2013-04-21T23:47:33 < Thorn> Erlkoenig: I've never seen that on a stm32f103 CAN core. is your CAN core the same? 2013-04-21T23:48:03 < Erlkoenig> uhm not entirely, the F4 CAN has 28 Filter Registers 2013-04-21T23:48:13 < Erlkoenig> sterna1: no just debugging ^^ 2013-04-21T23:48:26 < sterna1> ahah, jumper wire 2013-04-21T23:48:30 < sterna1> not jumper cables 2013-04-21T23:48:35 < sterna1> as in for your car 2013-04-21T23:48:59 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-21T23:58:42 < R2COM> ok.. solved my problem with spi.. hehe --- Day changed Mon Apr 22 2013 2013-04-22T00:02:14 < UweBonnes> Erlkoenig: Not bored, but where can I help? 2013-04-22T00:03:09 < Erlkoenig> test something on the F4 Discovery... you speak german, right? 2013-04-22T00:03:47 < UweBonnes> Erlkoenig: Ja! 2013-04-22T00:04:37 < Erlkoenig> http://games.2g2s.de/zeug/fse.elf loaden, aufs F4 flashen, Pins PB12 (links unten) und PD1 (rechts mitte) mit nem jumperwire verbinden, im GDB "break *(0x80001f2)" machen, und bei Auftreten des Breakpoints "info reg" und mir r0 zeigen 2013-04-22T00:05:24 < zyp> is that supposed to do something fun? 2013-04-22T00:05:50 < Erlkoenig> depends on your definition on fun :D 2013-04-22T00:06:15 < Erlkoenig> sends messages from CAN1 to CAN2 indicating state of the black button, and should light the upper LED accordingly... theoretically 2013-04-22T00:06:21 < Erlkoenig> errm, blue button 2013-04-22T00:06:53 < zyp> do you have the can peripherals setup in testing mode so they don't fail on arbitration? 2013-04-22T00:07:13 < Erlkoenig> yup, the transmission & reception works, just the FMI is broken 2013-04-22T00:07:33 < Erlkoenig> the right led (orange?) indicates "invalid" message, i.e. FMI error 2013-04-22T00:08:11 < UweBonnes> Breakpoint 1, 0x080001f2 in CAN1_RX0_IRQHandler.4159 () 2013-04-22T00:08:12 < UweBonnes> (gdb) info reg 2013-04-22T00:08:12 < UweBonnes> r0 0x3801 14337 2013-04-22T00:08:13 < zyp> with testing mode I mean loopback mode on the transmitter 2013-04-22T00:08:38 < Erlkoenig> zyp: mee too ;-D 2013-04-22T00:08:41 < Erlkoenig> UweBonnes: DAMN 2013-04-22T00:08:46 < Erlkoenig> UweBonnes: exactly what i get 2013-04-22T00:10:19 < UweBonnes> Erlkoenig: I addes some CAN driver in the ethernut library. Maybe have a look there. 2013-04-22T00:10:25 < zyp> Erlkoenig, I assume you are aware that CAN1 and CAN2 shares the filter bank? 2013-04-22T00:10:26 < Erlkoenig> UweBonnes: this would mean FMI=56... but Filter 56 is not enabled... as you can verify by reading out FA1R = 0x4000661C which is 3, i.e. only filtes 0,1 activated 2013-04-22T00:10:34 < Erlkoenig> zyp: yes sure 2013-04-22T00:11:27 -!- CRF_Peter [~Peter@dhcp-191209.eduroam.chalmers.se] has quit [Ping timeout: 252 seconds] 2013-04-22T00:13:58 < Erlkoenig> zyp: is there a list of known hardware bugs...? 2013-04-22T00:14:17 < zyp> errata sheet 2013-04-22T00:15:42 < Erlkoenig> hm nothing regarding CAN 2013-04-22T00:16:00 < zyp> hmm 2013-04-22T00:16:15 < zyp> the filter match index chapter in the RM looks pretty confusing 2013-04-22T00:16:45 < Erlkoenig> indeed :D 2013-04-22T00:18:56 -!- barthess [~barthess@77.67.143.8] has joined ##stm32 2013-04-22T00:21:50 < Erlkoenig> funny thing is all other registers look ok, especially data and ID, look good 2013-04-22T00:23:10 <+Steffanx> What about some sleep and a fresh start tomorrow Erlkoenig :P 2013-04-22T00:23:55 <+Steffanx> I like it when i solve bugs when i'm not near my pc :D 2013-04-22T00:24:06 < zyp> hmm, so there are 28 banks, each bank can contain 1, 2 or 4 filters depending on configuration, so you can at most have 112 filters 2013-04-22T00:24:30 < zyp> and they are counted depending on configuration 2013-04-22T00:24:51 < Erlkoenig> yup exactly 2013-04-22T00:25:58 < zyp> I guess implementation-wise it iterates through the filter list, and then FMI gets set to the best match 2013-04-22T00:26:10 < Erlkoenig> my code configures bank 0 to a mask of 0/0, i.e. accept anything ( => FMI 0), and bank 1 to accept STID 25 or 0 ( => FMI 1, 2). but FMI is 56 o.O 2013-04-22T00:27:09 < zyp> what do you have FM1R and FS1R set to? 2013-04-22T00:27:32 < zyp> both to 0? 2013-04-22T00:27:53 < zyp> and FFA1R is also all 0? 2013-04-22T00:29:32 < Erlkoenig> FM1R = 2 ( Bank 1 in List Mode), FS1R = 3 ( => 32bit-Filters), FFA1R = 3 => Filters 0,1 enabled 2013-04-22T00:29:43 < zyp> which peripheral are doing the reception? CAN1 or CAN2? what do you have FMR set to? 2013-04-22T00:29:43 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has quit [Ping timeout: 260 seconds] 2013-04-22T00:29:54 < Erlkoenig> CAN1 does transmission, CAN2 does reception 2013-04-22T00:30:58 < zyp> so CAN2SB in FMR is set to 0? 2013-04-22T00:31:06 < zyp> did you clear FINIT? 2013-04-22T00:31:07 < Erlkoenig> uhoh 2013-04-22T00:31:08 < Erlkoenig> wait 2013-04-22T00:31:31 < zyp> … 2013-04-22T00:31:53 < zyp> I mentioned this earlier 2013-04-22T00:32:04 < zyp> 23:10:25 < zyp> Erlkoenig, I assume you are aware that CAN1 and CAN2 shares the filter bank? 2013-04-22T00:32:31 < zyp> with that I implied that you also were aware of the implications :p 2013-04-22T00:33:48 < Erlkoenig> nooooooooooooooooooooooooooooooooooooooooooooooooooo 2013-04-22T00:34:06 < Erlkoenig> well i already HAD id correct, i.e.CAN2SB = 0 2013-04-22T00:34:17 < Erlkoenig> but then i somehow thought "oh this is wrong" and changed it to 28 2013-04-22T00:34:27 < Erlkoenig> well... apparantly it was right 2013-04-22T00:37:11 -!- barthess [~barthess@77.67.143.8] has quit [Quit: Leaving.] 2013-04-22T00:37:15 < Erlkoenig> i even changed to comment accordingly >.< ... 2013-04-22T00:40:35 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925200146.dsl.bell.ca] has joined ##stm32 2013-04-22T00:40:36 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925200146.dsl.bell.ca] has quit [Changing host] 2013-04-22T00:40:36 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-04-22T00:51:33 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-22T00:52:54 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Client Quit] 2013-04-22T00:52:59 -!- UweBonnes [~bon@p5DDCEE03.dip0.t-ipconnect.de] has left ##stm32 [] 2013-04-22T00:56:06 <+Steffanx> Robint91 awake? 2013-04-22T00:56:43 < Robint91> Steffanx, yeah 2013-04-22T00:59:45 <+Steffanx> nah, maybe too off topic for this channel. I will google first :P 2013-04-22T00:59:57 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-22T00:59:57 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-22T00:59:57 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-22T01:02:32 < Robint91> Steffanx, lol 2013-04-22T01:02:36 < Robint91> Steffanx, ask? 2013-04-22T01:06:57 <+Steffanx> Really, nevermind :) 2013-04-22T01:08:08 < Robint91> lol 2013-04-22T01:08:33 <+Steffanx> it was a too easy to answer question anyway 2013-04-22T01:13:19 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-22T01:17:44 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-22T01:19:42 < Laurenceb__> DERKA DERKA 2013-04-22T01:23:50 < Erlkoenig> well thanks guys for your help... too late to try out the BMP stuff (slower clock) now, maybe will do that in the next days. gn8 2013-04-22T01:23:52 -!- Erlkoenig [~erlkoenig@pptp-212-201-76-42.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-22T01:24:29 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-22T01:26:23 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Quit: Leaving] 2013-04-22T01:31:52 -!- capacitor [~capacitor@123-243-139-187.tpgi.com.au] has joined ##stm32 2013-04-22T01:36:05 < Tectu> does anyone know if the library paths in kicad are project-wise or global? 2013-04-22T01:45:55 < R2COM> global 2013-04-22T01:46:05 < R2COM> its all contained in /shared folder 2013-04-22T01:46:28 < Tectu> thanks 2013-04-22T01:46:35 < R2COM> so if you give someone some project, he has to have all symbols and footrpints in his /shared folder as you do 2013-04-22T01:46:41 < Tectu> :< 2013-04-22T01:46:58 < R2COM> yeah it sucks 2013-04-22T01:47:04 < Tectu> somebody should introduce project-wise library paths to kicad 2013-04-22T01:47:13 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-22T01:47:22 < R2COM> noone gives much shit to free stuff 2013-04-22T01:48:58 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-22T01:49:10 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-04-22T01:49:14 < Tectu> R2COM, are you dongs brother/sister/father/mother/cousin ? 2013-04-22T01:51:11 < capacitor> hi Tectu 2013-04-22T01:51:25 * R2COM shorts capacitor 2013-04-22T01:51:31 * capacitor discharges 2013-04-22T01:51:35 < Tectu> hello capacitor 2013-04-22T01:51:37 < Tectu> wtf :D 2013-04-22T01:51:40 < Tectu> nice one 2013-04-22T01:51:47 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Quit: Ik ga weg] 2013-04-22T01:53:36 < zyp> library objects doesn't get copied to the project? 2013-04-22T01:54:15 < R2COM> no as far as I remember 2013-04-22T01:54:36 < zyp> in eagle, whenever you use a library object, it gets copied to the schematic and board files, so anybody can open the files 2013-04-22T01:54:57 < R2COM> maybe there is a way, not sure, i'v been sharing many kicad projects with people, and I had to zip and give them my /shared folder with components otherwise they couldnt see a shit 2013-04-22T01:55:32 < Thorn> dicktrace saves components & patterns in project files 2013-04-22T01:55:43 < zyp> sounds like a nice way to break your schematics by modifying library objects 2013-04-22T01:55:54 < zyp> (the kicad way) 2013-04-22T01:55:57 < Thorn> you can even re-import them into libraries 2013-04-22T01:56:41 < zyp> in eagle you have to explicitly ask for a library object you've used to be updated if you changed the library 2013-04-22T01:56:47 < R2COM> http://www.kicad-pcb.org/display/KICAD/Note+about+portability+of+kicad+project+files 2013-04-22T01:57:33 < R2COM> so you need to share .lib and .mod files too 2013-04-22T01:57:35 < R2COM> which are components 2013-04-22T01:58:14 < R2COM> anyhow, i dont give much shit to kicad, its not my main pcb tool, its just i play around with it sometimes to make some simple stuff 2013-04-22T01:59:19 < R2COM> and...hmm..according to that page it should work if you zip project, and all components are get into .mod and .lib files of project name... heh... never worked for me, maybe newer version does it, I dont know. 2013-04-22T02:00:00 < Tectu> there are -cache.lib and -cache.mod which are automatically created 2013-04-22T02:00:12 < Tectu> so you can open and share projects with no prolems. 2013-04-22T02:00:14 < Tectu> problems. 2013-04-22T02:00:31 < R2COM> well, try it then, maybe it works good now 2013-04-22T02:00:51 < Tectu> k 2013-04-22T02:00:51 < Tectu> cu 2013-04-22T02:00:55 < Tectu> and thanks 2013-04-22T02:03:44 -!- Laurenceb__ [~Laurence@host86-171-203-253.range86-171.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-22T02:14:11 -!- BusError_ [~michel@host109-149-65-240.range109-149.btcentralplus.com] has joined ##stm32 2013-04-22T02:16:21 -!- BusError [~michel@host217-44-87-213.range217-44.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2013-04-22T02:33:51 -!- CoolBear [~hightower@ti0069a380-0800.bb.online.no] has quit [Read error: Operation timed out] 2013-04-22T02:37:10 -!- inca [~inca@cpe-71-64-109-226.neo.res.rr.com] has quit [Quit: zzzz] 2013-04-22T02:42:08 -!- CoolBear [~hightower@ti0069a380-0800.bb.online.no] has joined ##stm32 2013-04-22T02:43:54 < zippe1> http://www.85linda.com 2013-04-22T02:44:58 < capacitor> porn? 2013-04-22T02:46:04 -!- sterna1 [~Adium@dhcp-189128.eduroam.chalmers.se] has quit [Quit: Leaving.] 2013-04-22T02:46:08 < zyp> I don't think zippe1 is the kind of person that would spam porn links like that 2013-04-22T02:46:35 < zyp> and judging by the link I suspect it was meant for another window 2013-04-22T02:47:31 < GargantuaSauce> 1.25M for a 2 bedroom house... 2013-04-22T02:47:39 < capacitor> yeah it definitely didn't get me off 2013-04-22T02:48:15 < capacitor> maybe if i master the stm32 i could afford a nice place like that 2013-04-22T02:49:36 < zippe1> Gah, sorry, mischan 2013-04-22T02:49:50 < zippe1> And that's fairly cheap for SF 2013-04-22T02:50:12 < capacitor> guess i'm not moving to SF then 2013-04-22T03:00:42 -!- capacitor [~capacitor@123-243-139-187.tpgi.com.au] has left ##stm32 [] 2013-04-22T03:01:21 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-22T03:11:28 < dongs> sup blogs 2013-04-22T03:12:06 < dongs> lol @ 85linda 2013-04-22T03:12:08 < dongs> what a shitplace 2013-04-22T03:13:25 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-22T03:22:06 < emeb_mac> looking at 85linda I'm glad I don't live in the bay area. 2013-04-22T03:22:24 < emeb_mac> Nice looking, but tiny and $$$. 2013-04-22T03:22:31 < dongs> no shit 2013-04-22T03:22:43 < dongs> also: built in 1949 2013-04-22T03:22:47 < dongs> shit's ready to fucking fall apart 2013-04-22T03:22:50 < dongs> at the next quake 2013-04-22T03:22:53 < emeb_mac> for that kind of money you could buy a friggin' palace here. 2013-04-22T03:23:20 < dongs> does 1.2m get you all of the land too? 2013-04-22T03:23:27 < emeb_mac> Oh yeah. 2013-04-22T03:23:28 < dongs> (dunno how that shit is done in u.s., in jp its separate) 2013-04-22T03:23:45 < emeb_mac> in us it's all bundled in the one price. 2013-04-22T03:24:15 < dongs> well thats a r elief. someone wiht enough money could just buy that and tear the shitty house down. 2013-04-22T03:24:17 < emeb_mac> unless you're buying a building that's on leased land - like on nat'l park or indian res. 2013-04-22T03:24:29 < emeb_mac> a lot of folks do tear-downs. 2013-04-22T03:24:39 < dongs> here you can be owning a house 2013-04-22T03:24:42 < dongs> and land be someone elses 2013-04-22T03:24:49 < dongs> and that someone else can come in and tel lyou to fuck off any moment 2013-04-22T03:24:54 < dongs> and you just pack shit and leave 2013-04-22T03:24:54 < emeb_mac> but local ordinances sometimes prohibit teardowns - to keep historical flavor. 2013-04-22T03:25:10 < emeb_mac> that sux 2013-04-22T03:25:17 < emeb_mac> I'd never buy a place like that. 2013-04-22T03:25:19 < gxti> there are also condos where you own part of the building but the land is shared. not rented though and nobody can tell you to leave. 2013-04-22T03:25:57 < emeb_mac> slightly better deal, but then condo. 2013-04-22T03:26:00 < gxti> well, they probably can due to HOA shit but that's different 2013-04-22T03:26:05 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-22T03:26:16 < emeb_mac> yeah - HOAs. blech 2013-04-22T03:26:47 < emeb_mac> ours is a PITA - always complaining about stupid stuff 2013-04-22T03:26:51 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-22T03:27:21 < gxti> my lease is up this summer, getting the itch to buy a house maybe 2013-04-22T03:31:52 -!- flop|2 [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-22T03:32:53 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Ping timeout: 246 seconds] 2013-04-22T03:33:50 -!- flop|2 [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Client Quit] 2013-04-22T03:35:12 < dongs> homo owners 2013-04-22T03:36:40 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 256 seconds] 2013-04-22T03:39:38 -!- CoolBear [~hightower@ti0069a380-0800.bb.online.no] has quit [Read error: Operation timed out] 2013-04-22T03:49:05 -!- CoolBear [~hightower@ti0069a380-0800.bb.online.no] has joined ##stm32 2013-04-22T04:43:37 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Quit: Leaving] 2013-04-22T04:44:22 < dongs> what the fuck is this analog trash 2013-04-22T04:44:44 < dongs> VCC -> R -> Diode ( --|>|-- ) -> VCC pin on IC 2013-04-22T04:44:49 < dongs> whats the purpose of R + diode? 2013-04-22T04:45:04 < R2COM> limit current 2013-04-22T04:47:10 < dongs> well R sure but diode? 2013-04-22T04:47:19 < dongs> doesnt that drop voltage? or what 2013-04-22T04:47:27 < R2COM> that does drop voltage 2013-04-22T04:47:54 < R2COM> is it led? 2013-04-22T04:48:24 < dongs> no, sec its fet driver 2013-04-22T04:48:34 < dongs> http://www.fairchildsemi.com/ds/FA/FAN7888.pdf 2013-04-22T04:48:36 < dongs> page 2 2013-04-22T04:48:40 < dongs> in the 'reocmmended schema' 2013-04-22T04:48:46 < dongs> well if youcan call it that 2013-04-22T04:48:52 < dongs> worst fucking reference schematic ever 2013-04-22T04:49:19 < R2COM> oh well 2013-04-22T04:49:30 < R2COM> fet driver... 2013-04-22T04:49:38 < dongs> see the shit going to each Vb1/2/3 pin? 2013-04-22T04:49:40 < R2COM> thats probably to limit the possible back current 2013-04-22T04:49:45 < R2COM> yes 2013-04-22T04:50:13 < dongs> i wonder how relevant that is for say < 5A loads 2013-04-22T04:50:45 < R2COM> A is not what is responsible mainly 2013-04-22T04:51:00 < R2COM> its speed and just the way how it layed out and everything 2013-04-22T04:51:04 -!- Viper168 [~Viper@node248.19.251.72.1dial.com] has joined ##stm32 2013-04-22T04:51:04 -!- Viper168 [~Viper@node248.19.251.72.1dial.com] has quit [Changing host] 2013-04-22T04:51:04 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-22T04:51:30 < R2COM> higher frequency of switching the more relevant it is 2013-04-22T04:51:38 < dongs> ah 2013-04-22T04:52:21 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Read error: Connection reset by peer] 2013-04-22T04:52:53 < R2COM> I used similar stuff long time ago dont remember exactly what 2013-04-22T04:52:58 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-22T04:53:13 < R2COM> with 6 heavy ass mosfets 2013-04-22T04:53:19 < dongs> apparently 3 phase predrivers are basically nonexistent 2013-04-22T04:53:27 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Read error: Connection reset by peer] 2013-04-22T04:53:43 < dongs> there's like 4 different models by fairchild/IR/TI(natsmi) and thats it 2013-04-22T04:53:56 < dongs> oh, and one by allegro 2013-04-22T04:54:14 < R2COM> one can build it himself too actually 2013-04-22T04:54:18 < dongs> oh sure 2013-04-22T04:54:21 < dongs> but thats what im trying to avoid 2013-04-22T04:54:35 < dongs> i cna lso use 3 separate drivers like IR2101 or whatever 2013-04-22T04:54:40 < dongs> point is avoiding todo that 2013-04-22T04:55:07 -!- Viper168 [~Viper@node248.19.251.72.1dial.com] has joined ##stm32 2013-04-22T04:55:07 -!- Viper168 [~Viper@node248.19.251.72.1dial.com] has quit [Changing host] 2013-04-22T04:55:07 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-22T04:55:19 < dongs> like 2101's will need a boost diode+cap per chip 2013-04-22T04:55:43 < R2COM> make sure your driver has built in hardware dead-time insertion, so that you dont fuckup the transistors/drivers with wrong timing in your code 2013-04-22T04:55:54 < dongs> this one does, cheap 2101s dont 2013-04-22T04:56:04 < dongs> but i was just gonna use TIM1 for motor contorl 2013-04-22T04:56:08 < dongs> which has deadtime stuff too 2013-04-22T04:56:18 < R2COM> ok 2013-04-22T04:56:20 < dongs> well, driver doing it as well also helps 2013-04-22T04:56:30 < dongs> incase i fuck up timer setup ;d 2013-04-22T05:39:48 < zippe1> Hah, you're not tearing shit down in SF without more money than god 2013-04-22T05:40:15 < zippe1> Most complete rebuilds keep three walls standing to avoid new construction permit issues 2013-04-22T05:41:48 < dongs> heh 2013-04-22T05:42:03 < dongs> why? whats the big deal 2013-04-22T05:55:40 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has joined ##stm32 2013-04-22T06:09:26 < zippe1> Permits very hard to get / time consuming 2013-04-22T06:32:09 -!- BJfreeman [~bjfree@190.sub-75-244-146.myvzw.com] has quit [Quit: had a good time] 2013-04-22T06:44:45 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-22T06:44:53 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-22T06:50:35 -!- ohama [ohama@cicolina.org] has quit [Ping timeout: 252 seconds] 2013-04-22T06:53:09 -!- ohama [ohama@cicolina.org] has joined ##stm32 2013-04-22T07:12:03 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-22T07:15:27 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Ping timeout: 276 seconds] 2013-04-22T07:39:37 -!- R2COM1 [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-22T07:41:11 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 252 seconds] 2013-04-22T07:52:26 -!- R2COM1 is now known as R2COM 2013-04-22T07:56:24 < R2COM> thinking to use cpld to multiplex many SPI outputs from stm32 2013-04-22T07:56:50 < R2COM> one spi ----> to many spi's 2013-04-22T07:59:07 < zippe1> To what end? 2013-04-22T07:59:18 < zippe1> Normally you use one SPI and lots of chipselects 2013-04-22T07:59:36 < R2COM> yes, but thing is then one clock has to be connected physically to other clocks 2013-04-22T07:59:54 < R2COM> which kinda messes up things for a higher speed 2013-04-22T08:00:15 < R2COM> its better to run one connection from one pin without messing it to pin of another chip 2013-04-22T08:00:39 < R2COM> (if it would be rf design related stuff I'd as always use splitter of course... but its not needed here) 2013-04-22T08:01:16 < R2COM> also it relaxes pins from stm32 2013-04-22T08:01:26 < R2COM> for example if I want to control 16 devices 2013-04-22T08:01:43 < R2COM> then from stm32 I have my clk,mosi,miso etc... and only 4 lines which decode 16 devices 2013-04-22T08:01:47 < R2COM> all those lines go to cheapo cpld 2013-04-22T08:01:59 < R2COM> and cpld does the work of individual connect to many devices 2013-04-22T08:02:50 < zippe1> er, it's quite common to run the SPI clock to many devices 2013-04-22T08:03:09 < R2COM> yes 2013-04-22T08:03:12 < zippe1> 16 is certainly pushing it a bit, depending on your clock rate, but not unreasonable 2013-04-22T08:03:33 < R2COM> well not all 16 have to be configured at same time 2013-04-22T08:03:35 < R2COM> one by one 2013-04-22T08:05:46 < GargantuaSauce> there's this amazing new innovation in digital electronics called a buffer 2013-04-22T08:05:57 < R2COM> well that too yea 2013-04-22T08:06:33 < R2COM> but they usually cost more 2013-04-22T08:06:48 < R2COM> cheapo 1.4$ cpld will do just as good for this application 2013-04-22T08:07:50 < R2COM> and also many other things if I want.. 2013-04-22T08:14:12 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-22T08:24:47 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-22T08:27:18 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-22T08:49:35 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-22T08:51:18 < jpa-> R2COM: you could just put a few resistors for termination on the clock and perhaps route it linearly without branches 2013-04-22T08:51:33 < jpa-> R2COM: or use logic buffers 2013-04-22T08:51:49 < jpa-> but yeah, cplds are cheap :P 2013-04-22T09:00:53 < R2COM> I used it already recently again with stm32 2013-04-22T09:01:16 < R2COM> and multiple PWM (like 16 channels multiplexing + input control signal from RC receiver as a control) 2013-04-22T09:08:49 < dongs> pretty sure a dedicated clock buffer is about same price as cpld 2013-04-22T09:08:52 < dongs> without the need to program it 2013-04-22T09:08:55 < dongs> same goes for 4:16 decoder 2013-04-22T09:11:25 < R2COM> sure but why so many chips... 2013-04-22T09:11:29 < R2COM> when you can use one 2013-04-22T09:12:10 < R2COM> "ASSMANN electronic components" lol 2013-04-22T09:15:06 < dongs> yeah 2013-04-22T09:15:09 < dongs> i buy usb cables from them 2013-04-22T09:28:56 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-04-22T09:42:41 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-04-22T09:52:54 -!- pelrun [~James@203-206-187-234.perm.iinet.net.au] has joined ##stm32 2013-04-22T09:53:06 -!- dekar_ [~dekar@212.255.226.115] has joined ##stm32 2013-04-22T09:53:06 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-04-22T09:56:38 -!- dekar__ [~dekar@212.255.42.204] has quit [Read error: Operation timed out] 2013-04-22T09:57:56 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-04-22T10:03:01 -!- gxti [~gxti@ada.partiallystapled.com] has quit [Ping timeout: 248 seconds] 2013-04-22T10:08:56 -!- gxti [~gxti@ada.partiallystapled.com] has joined ##stm32 2013-04-22T10:41:43 -!- Mobyfab [~Mobyfab@80.239.168.84] has joined ##stm32 2013-04-22T10:46:06 -!- sterna1 [~Adium@dhcp-184066.eduroam.chalmers.se] has joined ##stm32 2013-04-22T10:53:24 < jpa-> i got hardfault with INVSTATE - but the stacked PC value points to the middle of a 32-bit instruction (rsbs r0, r0, #1) 2013-04-22T10:53:55 < jpa-> does this mean that something has jumped to a totally crazy address, or is it normal that the stacked PC on exception may be in the middle of an instruction? 2013-04-22T10:54:08 -!- CRF_Peter [~Peter@dhcp-178019.eduroam.chalmers.se] has joined ##stm32 2013-04-22T10:59:41 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has quit [Quit: trepidaciousMBR] 2013-04-22T11:01:57 < pelrun> jpa-, what do you mean by 'middle of the instruction'? If it's just +1 then that's probably because the lsb of the program counter is actually the thumb flag. 2013-04-22T11:03:25 -!- CRF_Peter [~Peter@dhcp-178019.eduroam.chalmers.se] has quit [Quit: Leaving] 2013-04-22T11:03:34 -!- CRF_Peter [~Peter@dhcp-178019.eduroam.chalmers.se] has joined ##stm32 2013-04-22T11:10:25 < zyp> yes 2013-04-22T11:10:40 < zyp> though, INVSTATE is usually caused by that bit being 0 2013-04-22T11:12:22 < jpa-> pelrun: its +2 2013-04-22T11:12:41 < jpa-> hmm.. it's right after bl.. maybe something corrupts the address on the stack 2013-04-22T11:13:03 < zyp> jpa-, so the LSB is 0? 2013-04-22T11:13:06 < jpa-> yes 2013-04-22T11:13:11 < zyp> there's your problem 2013-04-22T11:13:18 < jpa-> so invstate is actually the return from the subroutine.. yeah 2013-04-22T11:13:34 < jpa-> now who is corrupting my stack?!? :( 2013-04-22T11:13:38 < zyp> not me 2013-04-22T11:13:53 < pelrun> I can neither confirm nor deny my involvement 2013-04-22T11:25:42 < R2COM> I do 2013-04-22T11:25:50 < R2COM> I shorted all the shit there, now go figure.. 2013-04-22T11:26:03 < R2COM> err wait stack its software :P 2013-04-22T11:27:57 -!- capacitor [~capacitor@123-243-139-187.tpgi.com.au] has joined ##stm32 2013-04-22T11:31:48 -!- UweBonnes [~bon@hertz.ikp.physik.tu-darmstadt.de] has joined ##stm32 2013-04-22T11:37:34 < zyp> hmm 2013-04-22T11:37:40 < UweBonnes> Morning! 2013-04-22T11:37:52 < zyp> every time I learn something about avr32 I think about how cortex-m solves that better 2013-04-22T11:37:55 < zyp> morning 2013-04-22T11:38:44 < dongs> haha 2013-04-22T11:43:57 < zyp> coworker: «hey, I figured out what caused the panic, it was an «unrecoverable exception»» 2013-04-22T11:44:47 < zyp> «unrecoverable exception» appear to just be avr32ish for hard fault, and still don't tell anything about the reason for it 2013-04-22T11:45:05 < zyp> I was hoping for something like the CFSR output 2013-04-22T11:46:21 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-22T11:47:20 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-22T11:47:23 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-22T11:48:50 -!- pelrun [~James@203-206-187-234.perm.iinet.net.au] has quit [Ping timeout: 246 seconds] 2013-04-22T11:49:17 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-04-22T11:51:43 -!- capacitor [~capacitor@123-243-139-187.tpgi.com.au] has quit [Quit: ChatZilla 0.9.90 [Firefox 20.0.1/20130409194949]] 2013-04-22T12:12:25 -!- UweBonnes [~bon@hertz.ikp.physik.tu-darmstadt.de] has quit [Quit: epic+tkirc2] 2013-04-22T12:28:32 -!- UweBonnes [~bon@hertz.ikp.physik.tu-darmstadt.de] has joined ##stm32 2013-04-22T12:36:23 -!- _BJFreeman [~bjfree@232.sub-75-233-246.myvzw.com] has joined ##stm32 2013-04-22T12:37:21 -!- _BJFreeman is now known as BJfreeman 2013-04-22T12:43:43 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-22T12:51:31 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-22T12:53:35 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 260 seconds] 2013-04-22T12:59:22 -!- Laurenceb__ [~Laurence@host86-179-84-117.range86-179.btcentralplus.com] has joined ##stm32 2013-04-22T13:02:41 -!- Count_Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-04-22T13:06:11 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Ping timeout: 246 seconds] 2013-04-22T13:17:24 -!- Laurenceb__ [~Laurence@host86-179-84-117.range86-179.btcentralplus.com] has quit [Ping timeout: 272 seconds] 2013-04-22T13:35:58 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has quit [Read error: Connection reset by peer] 2013-04-22T13:36:04 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2013-04-22T13:59:34 -!- _BJFreeman [~bjfree@232.sub-75-233-246.myvzw.com] has joined ##stm32 2013-04-22T14:00:34 -!- BJfreeman [~bjfree@232.sub-75-233-246.myvzw.com] has quit [Ping timeout: 256 seconds] 2013-04-22T14:04:30 -!- MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-22T14:14:22 -!- _BJFreeman is now known as BJfreeman 2013-04-22T14:17:14 -!- daku is now known as DaKu 2013-04-22T14:24:54 -!- Erlkoenig [~erlkoenig@gw-2s00.inf.fh-bonn-rhein-sieg.de] has joined ##stm32 2013-04-22T14:40:44 -!- zlog [~zlog@ip68-102-203-6.ks.ok.cox.net] has quit [Remote host closed the connection] 2013-04-22T14:43:44 -!- zlog [~zlog@ip68-102-203-6.ks.ok.cox.net] has joined ##stm32 2013-04-22T14:44:36 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-22T14:47:37 < Laurenceb> dead in here 2013-04-22T14:47:49 < jpa-> why did you kill everyone? 2013-04-22T14:51:38 < Laurenceb> cuz im physio 2013-04-22T14:53:11 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-22T14:53:26 < Robint91> hi all 2013-04-22T15:02:33 < Laurenceb> http://www.theregister.co.uk/2013/04/22/tor_japan_police_ban/ 2013-04-22T15:02:43 < Laurenceb> "The hacker then led the NPA a merry dance, luring them to an island near Tokyo where they captured a cat carrying a memory stick in its collar containing the source code for the virus" 2013-04-22T15:02:46 < Laurenceb> i lolled 2013-04-22T15:03:15 -!- MrM0bius [~Joey@91.192.66.231] has joined ##stm32 2013-04-22T15:05:53 -!- MrMobius [~Joey@194.176.111.29] has quit [Ping timeout: 246 seconds] 2013-04-22T15:28:59 < dongs> old 2013-04-22T15:34:42 < Erlkoenig> http://games.2g2s.de/?page_id=370 wanna participate? :D 2013-04-22T15:38:18 < Laurenceb> "ST-Link No description neccessary." 2013-04-22T15:38:20 < Laurenceb> i lolled 2013-04-22T15:38:50 < Erlkoenig> huehue 2013-04-22T15:40:47 < Erlkoenig> gtg 2013-04-22T15:40:53 -!- Erlkoenig [~erlkoenig@gw-2s00.inf.fh-bonn-rhein-sieg.de] has quit [Quit: Leaving.] 2013-04-22T16:03:28 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-22T16:05:12 -!- UweBonnes [~bon@hertz.ikp.physik.tu-darmstadt.de] has quit [Quit: Hmmm. EPIC4-2.10 (769) has another bug. Go figure...] 2013-04-22T16:06:26 -!- MrM0bius [~Joey@91.192.66.231] has quit [Ping timeout: 246 seconds] 2013-04-22T16:09:42 -!- UweBonnes [~bon@hertz.ikp.physik.tu-darmstadt.de] has joined ##stm32 2013-04-22T16:13:47 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 246 seconds] 2013-04-22T16:14:39 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-22T16:25:01 < Thorn> what do I use to drive a 800x480 (or maybe even larger) tft panel? lpc4000 with an lcd controller or an fpga? both options will require sdram 2013-04-22T16:27:20 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 256 seconds] 2013-04-22T16:28:01 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-22T16:45:23 -!- BJfreeman [~bjfree@232.sub-75-233-246.myvzw.com] has quit [Ping timeout: 252 seconds] 2013-04-22T16:49:33 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 240 seconds] 2013-04-22T16:50:33 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-22T16:53:13 < jpa-> Thorn: or STM32F427 with sdram.. or dedicated controller chip 2013-04-22T16:53:24 < Laurenceb> is anyone stocking it yet? 2013-04-22T16:53:28 < zyp> you mean F429 2013-04-22T16:53:31 < jpa-> oh well 2013-04-22T16:53:45 < jpa-> Thorn: if it is a one-off project, i would just buy a TFT module with built-in framebuffer controller 2013-04-22T16:55:05 < UweBonnes> If you mean "buy", then F4x9 is not for you as teh chips are not in production yet. 2013-04-22T16:56:08 < jpa-> too bad 2013-04-22T16:56:26 < Robint91> has someone tried to get a driver into windows update? 2013-04-22T16:57:13 < UweBonnes> No me. 2013-04-22T16:57:38 < UweBonnes> Did anyboy use usbtool (from v-bus) to read/send a bulk enpoint? 2013-04-22T17:03:41 -!- MrM0bius [~Joey@194.176.111.31] has joined ##stm32 2013-04-22T17:04:01 < Laurenceb> i use this thing called linux 2013-04-22T17:04:06 < Laurenceb> it solves these issues 2013-04-22T17:04:48 < UweBonnes> Laurence: Do you know my issues? 2013-04-22T17:05:08 < Laurenceb> /trolling 2013-04-22T17:05:32 < Robint91> Laurenceb, I'm thinking to become a USB member next year 2013-04-22T17:06:38 -!- MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-22T17:08:22 < Thorn> controller chips I've seen don't do double buffering (although I'm not sure if I can do that with a microcontroller) 2013-04-22T17:10:40 < jpa-> sure you can 2013-04-22T17:10:49 < jpa-> if F429 existed, it could do it :) 2013-04-22T17:11:15 < jpa-> what kind of content do you intend to render? 2013-04-22T17:11:22 < UweBonnes> STM32 claims doubke buffering in the datasheet/ reference manual 2013-04-22T17:11:37 < Thorn> the LPC40xx LCD controller uses DMA from external RAM, maybe if you reprogram DMA on each frame you can double buffer 2013-04-22T17:11:45 < UweBonnes> Argh: You mean double buffering in video and not usb... 2013-04-22T17:11:50 < jpa-> Thorn: indeed 2013-04-22T17:14:42 < Thorn> content is mostly HMI screens with black background, text and line art but I want it to be pretty universal 2013-04-22T17:16:26 < jpa-> i have found that double buffering is rarely so critical 2013-04-22T17:17:01 < jpa-> mainly if you need to render highly dynamic content with a GUI toolkit that insists on immediate mode drawing 2013-04-22T17:17:16 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-04-22T17:18:10 < Thorn> what's the alternative, draw everything during the blanking interval (or how it's called in tft)? 2013-04-22T17:18:46 < jpa-> write pixels in linear order, only write each pixel once for each frame 2013-04-22T17:19:10 < jpa-> i.e. if you are going to display red text on blue background, don't draw blue background first and red text then 2013-04-22T17:19:45 < Thorn> ah, "just in time rendering"? 2013-04-22T17:19:52 < jpa-> kind of 2013-04-22T17:20:14 < jpa-> equivalent to "display lists" in opengl etc.. or postscript, for that matter 2013-04-22T17:20:39 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has left ##stm32 [] 2013-04-22T17:20:56 < jpa-> may require somewhat more CPU time, but requires less bandwidth between display and CPU so it may actually be faster 2013-04-22T17:21:27 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-22T17:21:35 < jpa-> (of course, there is still somewhat of a lack of good open-source embedded GUI toolkits, and most of them are immediate mode anyway) 2013-04-22T17:22:07 < Thorn> I don't think I'm going to use a 3rd party GUI library 2013-04-22T17:22:30 < jpa-> then implementing display lists is a viable option 2013-04-22T17:22:50 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-22T17:22:50 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-22T17:22:50 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-22T17:22:53 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-22T17:24:37 < Thorn> so the drawing loop would be like this? for x in 0...799 { for y in 0..479 { for prim in primitives_to_draw { pixel = prim.draw_at_pixel_position(x, y); } } } 2013-04-22T17:25:15 < jpa-> rather uint16_t buffer[480]; for .. prim.render(x, buffer); 2013-04-22T17:25:27 < Laurenceb> http://uk.farnell.com/jsp/search/productdetail.jsp?sku=2291620 2013-04-22T17:25:33 < jpa-> to reduce the function call overhead 2013-04-22T17:26:09 < jpa-> Thorn: i'm doing that here https://github.com/PetteriAimonen/dso-quad-logic/blob/master/main.cc#L246 2013-04-22T17:26:44 < Thorn> ah I now remember a discussion in this channel a lnog time ago 2013-04-22T17:28:43 < Thorn> okay got it, thanks 2013-04-22T17:29:40 < jpa-> it can still cause tearing, though; but using vsync can solve even that 2013-04-22T17:31:09 < Thorn> I wonder how viable it is to write to SDRAM while the DMA is reading from it on behalf of the LCD controller. hopefully it's not flooding the bus (pixel clock should be ~20MHz) 2013-04-22T17:32:34 < jpa-> i think the LPC4xxx's SDRAM buffers should handle it quite nicely.. i.e. it always reads a row from sdram (16 bytes IIRC?) and then rest of the requests go to the buffer until the next memory row is needed 2013-04-22T17:32:53 < zyp> yep 2013-04-22T17:33:29 < jpa-> so only 1.2 MHz memory requests.. with each taking a few clock cycles, though 2013-04-22T17:33:52 < zyp> depending on which bus width you are running 2013-04-22T17:34:01 < jpa-> yep 2013-04-22T17:34:07 < jpa-> depends on pixel format also, of course 2013-04-22T17:34:24 < jpa-> and actually probably you have atleast 16 bits, maybe 24 or 32 2013-04-22T17:34:41 < Thorn> bus and pixel width will both probably be 16 bits 2013-04-22T17:35:03 < Thorn> (sdram data bus width) 2013-04-22T17:35:42 < jpa-> so in fact 20MHz sdram bus transfers.. yeah, may be a bit tight 2013-04-22T17:40:15 < Thorn> I kind of hope it reads more than one byte per sdram transfer 2013-04-22T17:40:28 < jpa-> of course, it reads 16 bytes 2013-04-22T17:40:44 < jpa-> but still needs 1 clock cycle to get the 16 bit pixel 2013-04-22T17:41:16 < jpa-> so you are anyway taking up 20 million clock cycles per second.. and then add all overhead of arbitration, refresh and selecting the address 2013-04-22T17:52:42 < Thorn> okay, reference manual time 2013-04-22T18:03:57 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-22T18:06:50 -!- MrM0bius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-22T18:16:24 -!- sterna1 [~Adium@dhcp-184066.eduroam.chalmers.se] has quit [Read error: Connection reset by peer] 2013-04-22T18:16:32 -!- sterna1 [~Adium@dhcp-184066.eduroam.chalmers.se] has joined ##stm32 2013-04-22T18:20:57 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-22T18:53:53 -!- _BJFreeman [~bjfree@141.sub-75-233-255.myvzw.com] has joined ##stm32 2013-04-22T18:55:13 -!- _BJFreeman is now known as BJfreeman 2013-04-22T19:04:15 -!- MrM0bius [~Joey@91.192.66.230] has joined ##stm32 2013-04-22T19:07:02 -!- MrMobius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-22T19:07:52 < dongs> hm 2013-04-22T19:12:33 <+Steffanx> Yes 2013-04-22T19:14:02 < jpa-> no 2013-04-22T19:18:59 <+Steffanx> about that vbus detection from yesterday. How would you do that jpa-? Detect reset or go for vbus detection 2013-04-22T19:19:07 <+Steffanx> ( by using some fancy exti or so ) 2013-04-22T19:20:46 < qyx_> thunderstorm going \o/ 2013-04-22T19:20:55 < qyx_> vlf antenna prepared 2013-04-22T19:21:41 <+Steffanx> What's the plan qyx_ ? 2013-04-22T19:21:52 <+Steffanx> Try to get frankenstein alive? 2013-04-22T19:22:31 < qyx_> hooked to f107, trying to get some waveforms generated by lightning 2013-04-22T19:23:09 < jpa-> Steffanx: i have done usb reset detection in the past.. now I put VBUS to IO pin in my newest project.. both work 2013-04-22T19:23:20 < jpa-> VBUS on IO pin is easier 2013-04-22T19:23:30 <+Steffanx> Configured to generated an interrupt? 2013-04-22T19:23:49 < dongs> Steffanx: just feed vbus into a 5V tolerant pin lol!! 2013-04-22T19:24:01 <+Steffanx> Yeah, why not dongs :) 2013-04-22T19:25:20 < jpa-> dongs: except 5V tolerant pins are no longer 5V tolerant when Vdd is off :) 2013-04-22T19:25:30 < jpa-> Steffanx: if you want an interrupt, sure 2013-04-22T19:25:39 <+Steffanx> Doh, of course. That's not really an option for me 2013-04-22T19:25:45 < jpa-> Steffanx: i often just poll - no-one cares if USB wakes up 100ms late 2013-04-22T19:26:24 <+Steffanx> I cant guarantee the uc is powered while connected to usb 2013-04-22T19:26:30 < jpa-> (of course if you do hardwired pull-up, then you need to enumerate immediately) 2013-04-22T19:26:35 < jpa-> Steffanx: put a resistor divider then 2013-04-22T19:27:06 < dongs> zippe1: so i got 200 boards with that overvoltage circuit in them 2013-04-22T19:27:08 < dongs> worked well :) 2013-04-22T19:27:18 <+Steffanx> "(of course if you do hardwired pull-up, then you need to enumerate immediately)" <= im really not into usb, so uh? 2013-04-22T19:27:32 < dongs> yanno 2013-04-22T19:27:36 < dongs> if you have 1.5k to vcc 2013-04-22T19:27:39 < dongs> and not through gpio 2013-04-22T19:27:41 < dongs> so its always pulled up 2013-04-22T19:27:43 <+Steffanx> Yes, i know what part. 2013-04-22T19:27:49 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-22T19:27:51 < dongs> so as soon as usb is plugged in 2013-04-22T19:27:54 < dongs> the shit expects it to enumerate 2013-04-22T19:28:01 < jpa-> Steffanx: just use the built-in pull-up on STM32L1 (if that was what you are using), even if zyp tells you it's out of spec 2013-04-22T19:28:22 <+Steffanx> Now i have an issue. Trust you ore zyp. 2013-04-22T19:28:23 <+Steffanx> -e 2013-04-22T19:28:48 < jpa-> you can also do dongsway and put external resistor on gpio 2013-04-22T19:30:19 <+Steffanx> Ok thanks. I know what i have to known 2013-04-22T19:30:21 <+Steffanx> -n 2013-04-22T19:30:24 <+Steffanx> meh 2013-04-22T19:37:14 < gxti> but do you know what you don't have to know? 2013-04-22T19:37:36 < jpa-> and would you like to know what you don't want to know? 2013-04-22T19:38:21 <+Steffanx> Don't scare me with logic please. 2013-04-22T19:41:34 -!- barthess [~barthess@77.67.185.71] has joined ##stm32 2013-04-22T19:48:38 < gxti> can i scare you with science? 2013-04-22T19:49:23 <+Steffanx> That kind of logic is more philosophy .. scary shit. 2013-04-22T19:54:36 < zyp> controllable pullup is only required if you need to signal a soft detach from software 2013-04-22T19:55:29 <+Steffanx> So not "of course if you do hardwired pull-up, then you need to enumerate immediately" ? 2013-04-22T19:55:30 < jpa-> or to delay enumeration 2013-04-22T19:55:34 < zyp> like mentioned, a permanent pullup would cause the host to expect your device to be ready to enumerate as soon as it's plugged in 2013-04-22T19:56:11 < zyp> if you are not ready at that point, you would like to be in a soft detach state 2013-04-22T19:56:42 <+Steffanx> using the gpio.. 2013-04-22T19:56:57 < zyp> and if you reset your usb stack while attached (along with the rest of your system) you need to signal a detach and reattach 2013-04-22T19:57:25 < zyp> or if you need to reenumerate as something different (like changing from dfu runtime to dfu functional) 2013-04-22T19:57:59 < zyp> the cheap way is just hooking the high-side of the pullup to a gpio 2013-04-22T19:58:15 < zyp> then it won't be enabled until you set the gpio to output high 2013-04-22T19:58:29 < zyp> that's how bmp does it 2013-04-22T19:58:38 < jpa-> even cheaper is to use the internal pull-up where it exists :) 2013-04-22T19:58:43 <+Steffanx> cheap is good enough. 2013-04-22T19:59:24 <+Steffanx> i'll use an external resistor and pay you the 0.000001$ as well jpa- 2013-04-22T19:59:54 < zyp> the emeb-solution is using a fet to create a normally connected GPIO that can be disconnected by software, but the purpose of that is to let code you don't control (i.e. the rom dfu bootloader) enumerate properly even without controlling it 2013-04-22T20:00:13 < zyp> but unless you want to use the rom bootloader, you don't have to care about that 2013-04-22T20:00:26 < Robint91> mhh 2013-04-22T20:00:39 < Robint91> I just use a GPIO for the USB pull up resistor 2013-04-22T20:00:50 < zyp> and any other solutions are just unnecessarily complicated and achieves nothing that aren't solved by these two solutions 2013-04-22T20:01:18 < gxti> does the builtin pullup actually cause issues? 2013-04-22T20:01:40 < zyp> in L1? 2013-04-22T20:01:41 < jpa-> haven't seen any problems, but it wouldn't pass USB certification for sure 2013-04-22T20:01:56 < zyp> IIRC it's around 0.9k, but should be 1.5k 2013-04-22T20:02:03 < zyp> errata sheet recommends not using it 2013-04-22T20:02:26 < gxti> but the rom bootloader doesn't give you that option, yes? 2013-04-22T20:02:35 < jpa-> no usb bootloader on L1 anyway 2013-04-22T20:02:57 < UweBonnes> Does anybody know source for a STM32 USB device, using libopencm3 _not_ using CDCACM with litlle bit complex layout? 2013-04-22T20:02:58 < zyp> rom bootloader is mostly an F3 thing 2013-04-22T20:03:07 < jpa-> F4 also? 2013-04-22T20:03:18 < zyp> jpa-, not relevant, different usb core 2013-04-22T20:03:23 < UweBonnes> ROM Bootloader is for anything > F103 2013-04-22T20:03:26 < zyp> with proper internal pullups 2013-04-22T20:03:45 < jpa-> zyp: oh well :) 2013-04-22T20:04:02 < zyp> UweBonnes, no, it's not 2013-04-22T20:04:20 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-22T20:04:24 < jpa-> UweBonnes: huh, why do you need such? 2013-04-22T20:04:53 < UweBonnes> I try to rewrite some device for STM32 2013-04-22T20:05:01 < zyp> UweBonnes, what are you really asking about? 2013-04-22T20:07:00 < UweBonnes> I ask about usage of libopencm3/usb for non CDCACM devices. 2013-04-22T20:07:28 < zyp> bmp is probably the most complex usb example you can find for libopencm3, and it has interfaces that are not ACM, in addition to the two ACM interfaces 2013-04-22T20:07:35 -!- MrM0bius [~Joey@91.192.66.230] has quit [Ping timeout: 246 seconds] 2013-04-22T20:07:53 < zyp> what more do you need? 2013-04-22T20:07:57 < UweBonnes> BMP uses CDCACM and DFU. But DFU ist trivial, as it only uses controll transfers. 2013-04-22T20:08:30 < zyp> don't forget about the plain bulk interface for swo 2013-04-22T20:08:51 < UweBonnes> I need to set up 2 in and 2 out bulk endpoints for s single interface. 2013-04-22T20:09:09 < zyp> then just do it? 2013-04-22T20:09:20 < zyp> standard class or plain? 2013-04-22T20:09:41 < zyp> do you know usb descriptors? 2013-04-22T20:09:57 < UweBonnes> I had the devices enumerat just like the original device, but behaviour e is strange. 2013-04-22T20:10:15 < UweBonnes> Yes, I know the usb descriptors. 2013-04-22T20:10:19 < zyp> how so? 2013-04-22T20:10:54 < zyp> did you check that you made an exact copy of the descriptors? 2013-04-22T20:11:02 < UweBonnes> Callback happens only on the first OUT Endpoint and only once... 2013-04-22T20:11:31 < UweBonnes> I diffed lsusb -v output with no relevant difference. 2013-04-22T20:12:13 < zyp> right, so it's not about descriptors but traffic handling 2013-04-22T20:13:08 < zyp> do you have a trace of the usb traffic? 2013-04-22T20:14:31 < UweBonnes> No, I don't have the device. But some docs. The device is the 8devices usb2can device, using a STR750. STR750 firmware is available, also Linux socketcan driver. 2013-04-22T20:15:09 < zyp> I'm talking about your device 2013-04-22T20:16:00 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Ping timeout: 260 seconds] 2013-04-22T20:16:50 < UweBonnes> Well, there is not much traffic yet. I try to send to endpoints with usbtool from v-usb, I have usbmon output in one console and a breakpoint on the callback functions. 2013-04-22T20:17:45 -!- Mobyfab [~Mobyfab@80.239.168.84] has quit [Quit: Leaving.] 2013-04-22T20:18:10 < zyp> of course it's not much traffic if you are failing on the second transfer, I just wanted to know how it's failing 2013-04-22T20:18:29 < jpa-> indeed.. raw packet trace could tell something 2013-04-22T20:18:33 < jpa-> usbmon, not so much 2013-04-22T20:18:52 < UweBonnes> Well, usbtool claims to have send the package, but callback is not reached. 2013-04-22T20:19:29 < zyp> get a usb analyzer :p 2013-04-22T20:19:53 < jpa-> it could either 1) not send it, or 2) the device could be NAKing it (i.e. no transfer has been set up), or 3) the device could receive and ack it and just lose it for some reason 2013-04-22T20:20:42 < UweBonnes> Judging from usbmon output, I think the package is lost. 2013-04-22T20:21:17 < UweBonnes> And the other OUT endpoint callback is never reached, 2013-04-22T20:22:14 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has joined ##stm32 2013-04-22T20:22:37 < UweBonnes> So know working code doing something similar would be helpfull. 2013-04-22T20:23:30 < zyp> can't help you there, I'm not using libopencm3 for my own stuff 2013-04-22T20:27:11 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has quit [Ping timeout: 252 seconds] 2013-04-22T20:29:07 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has joined ##stm32 2013-04-22T20:36:01 < UweBonnes> Bye 2013-04-22T20:36:06 -!- UweBonnes [~bon@hertz.ikp.physik.tu-darmstadt.de] has left ##stm32 [] 2013-04-22T20:47:45 -!- alexn [~alexn@93.104.205.194] has quit [Quit: Leaving] 2013-04-22T20:54:33 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 256 seconds] 2013-04-22T20:56:59 -!- ds2 [noinf@netblock-66-245-251-24.dslextreme.com] has joined ##stm32 2013-04-22T21:03:18 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-22T21:04:33 -!- MrM0bius [~Joey@91.192.66.230] has joined ##stm32 2013-04-22T21:07:26 -!- MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-22T21:10:28 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2013-04-22T21:10:28 -!- dfletcher_ [~fletch@drupal.org/user/72475/view] has joined ##stm32 2013-04-22T21:10:30 -!- dfletcher_ is now known as dfletcher 2013-04-22T21:26:28 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:7c30:d732:6289:d0a2] has joined ##stm32 2013-04-22T21:30:53 -!- MrMobius [~Joey@91.192.66.231] has joined ##stm32 2013-04-22T21:32:38 -!- MrM0bius [~Joey@91.192.66.230] has quit [Ping timeout: 246 seconds] 2013-04-22T21:34:34 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Ping timeout: 272 seconds] 2013-04-22T21:42:37 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-22T21:46:36 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: and like that, he's gone] 2013-04-22T21:52:17 -!- bk128 [~bk@unaffiliated/bk128] has joined ##stm32 2013-04-22T21:52:56 -!- MrMobius [~Joey@91.192.66.231] has quit [Ping timeout: 246 seconds] 2013-04-22T21:53:08 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-22T21:59:26 < bk128> can someone tell me what I'm doing wrong with strlen in my printStringLCD method? it's for a stm32f303 connected to a character lcd http://pastie.org/7699046 2013-04-22T22:05:55 -!- DLPeterson [~hazelnuss@c-71-198-192-33.hsd1.ca.comcast.net] has joined ##stm32 2013-04-22T22:06:36 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has quit [Ping timeout: 276 seconds] 2013-04-22T22:09:09 < jpa-> bk128: no need to cast to const char *, for one.. but what kind of problem do you get? 2013-04-22T22:09:32 < Mobyfab> bk128, you are calling printChar instead of printCharLCD in your function 2013-04-22T22:14:05 -!- PT_Dreamer [~quassel@109.48.128.185] has joined ##stm32 2013-04-22T22:23:01 -!- Ranewen [a135b3e2@gateway/web/freenode/ip.161.53.179.226] has joined ##stm32 2013-04-22T22:26:56 < bk128> jpa-: Mobyfab: thanks, I actually just got it :) 2013-04-22T22:27:18 < Mobyfab> :) 2013-04-22T22:27:47 < bk128> also had to loop through with "for(int i = 0; text[i] != '\0'; i++) {" 2013-04-22T22:28:08 -!- Erlkoenig [~erlkoenig@pptp-212-201-76-101.pptp.stw-bonn.de] has joined ##stm32 2013-04-22T22:28:58 < Mobyfab> this is basically how strlen counts 2013-04-22T22:29:27 -!- PT_Dreamer [~quassel@109.48.128.185] has quit [Ping timeout: 260 seconds] 2013-04-22T22:34:02 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has joined ##stm32 2013-04-22T22:35:17 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 255 seconds] 2013-04-22T22:35:17 < Tectu> zyp, Robint91, the library path of kiCad is totally project-wise and not global. Works like a charm without hacks 2013-04-22T22:35:25 < Tectu> so relative paths work nice 2013-04-22T22:35:36 < zyp> ok 2013-04-22T22:37:40 < emeb> dokay 2013-04-22T22:40:20 -!- Laurenceb__ [~Laurence@host86-179-84-117.range86-179.btcentralplus.com] has joined ##stm32 2013-04-22T22:42:45 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-22T22:43:19 -!- barthess [~barthess@77.67.185.71] has quit [Quit: Leaving.] 2013-04-22T22:45:24 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-22T22:45:24 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-22T22:45:24 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-22T22:51:27 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 252 seconds] 2013-04-22T22:53:11 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-22T22:56:18 -!- Ranewen [a135b3e2@gateway/web/freenode/ip.161.53.179.226] has quit [Ping timeout: 245 seconds] 2013-04-22T23:02:14 -!- MrMobius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-22T23:04:57 < Laurenceb__> http://hackaday.com/2013/04/22/connect-a-retina-display-to-a-regular-computer/ 2013-04-22T23:05:03 < Laurenceb__> dongs got copied 2013-04-22T23:09:20 < zyp> except it's pretty ghetto :p 2013-04-22T23:14:49 < Mobyfab> Openttd on a retina display... -_- 2013-04-22T23:23:16 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-22T23:27:10 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-22T23:29:58 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has joined ##stm32 2013-04-22T23:35:08 -!- MrMobius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-22T23:38:43 < Tectu> let's but GFX on it 2013-04-22T23:39:50 < Tectu> wait what? 2013-04-22T23:39:50 < Tectu> wtf? 2013-04-22T23:39:51 < Tectu> 55$ ? 2013-04-22T23:39:53 < Tectu> WTF? 2013-04-22T23:47:04 < Mobyfab> what what in my butt, what what in my butt 2013-04-22T23:47:16 < Mobyfab> might be a little too big :) 2013-04-22T23:47:24 < Mobyfab> gotta go, good evening 2013-04-22T23:47:27 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:7c30:d732:6289:d0a2] has quit [Quit: Leaving] 2013-04-22T23:55:51 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has quit [Ping timeout: 245 seconds] 2013-04-22T23:59:05 -!- CRF_Peter [~Peter@dhcp-178019.eduroam.chalmers.se] has quit [Ping timeout: 252 seconds] --- Day changed Tue Apr 23 2013 2013-04-23T00:00:28 < karlp> I tell you what, the biggest difference on the l100 is its price is much cheaper 2013-04-23T00:11:17 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-23T00:13:30 -!- DaKu is now known as daku 2013-04-23T00:20:38 < karlp> now then, wasn't there some trick to have gdb know how to do things like p /x RCC_APB1ENR ? 2013-04-23T00:20:47 < karlp> I thought it was just adding -ggdb3 to the cflags? 2013-04-23T00:22:00 -!- Laurenceb_ [~Laurence@host81-159-191-139.range81-159.btcentralplus.com] has joined ##stm32 2013-04-23T00:24:56 -!- Laurenceb__ [~Laurence@host86-179-84-117.range86-179.btcentralplus.com] has quit [Ping timeout: 272 seconds] 2013-04-23T00:26:45 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-23T00:27:42 -!- Laurenceb_ [~Laurence@host81-159-191-139.range81-159.btcentralplus.com] has quit [Ping timeout: 252 seconds] 2013-04-23T00:34:26 < ds2> hmmm 2013-04-23T00:36:50 -!- Erlkoenig [~erlkoenig@pptp-212-201-76-101.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-23T00:45:42 < karlp> R2COM: hey, you mentioned you fixed your spi1 vs spi2 problems, but I didnt' see what the fix was? 2013-04-23T00:46:12 < R2COM> karlp: I just basically had to *wait* before sending data, right after enabling clock and peripheral 2013-04-23T00:46:21 < karlp> but it worked on spi1? 2013-04-23T00:46:51 < R2COM> spi2 2013-04-23T00:48:01 < karlp> I've got a problem with spi tx working, but not rx. 2013-04-23T00:48:18 < karlp> scope seemed to show miso only blipping low, not actually going low properly. 2013-04-23T00:49:39 < R2COM> I'd make sure first that I have solid delay after spi is enabled, before working with it, and then start debugging from there 2013-04-23T00:50:06 < R2COM> (or step with debugger up to that point, because thats what I experienced too..it worked in debugger mode) 2013-04-23T00:50:13 < karlp> same code works on the f1, I suspect something with the gpio setup 2013-04-23T00:50:19 < karlp> only major difference from f1 to l1 2013-04-23T00:59:43 -!- CRF_Peter [~Peter@193.11.200.145] has joined ##stm32 2013-04-23T01:07:43 -!- MrM0bius [~Joey@194.176.111.133] has joined ##stm32 2013-04-23T01:08:24 < karlp> stupid output port speed stuff 2013-04-23T01:08:26 < karlp> how did I not see that 2013-04-23T01:08:28 < karlp> works now 2013-04-23T01:09:29 -!- CRF_Peter [~Peter@193.11.200.145] has quit [Ping timeout: 252 seconds] 2013-04-23T01:10:20 -!- MrMobius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-23T01:12:15 <+Steffanx> heh karlp 2013-04-23T01:12:24 <+Steffanx> A classic :) 2013-04-23T01:17:07 -!- Netsplit *.net <-> *.split quits: Count_Niedar, HTT-Bird 2013-04-23T01:17:36 < Robint91> Steffanx, http://tweakers.net/nieuws/88661/nederlandse-rechter-verbiedt-verkoop-microfoononderdeel-htc-one.html 2013-04-23T01:17:40 < Robint91> Steffanx, WHAT? 2013-04-23T01:17:55 <+Steffanx> You see what i see on my screen? 2013-04-23T01:18:02 <+Steffanx> I just read that article 10 sec ago 2013-04-23T01:18:09 -!- Netsplit over, joins: HTT-Bird, Count_Niedar 2013-04-23T01:18:17 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 252 seconds] 2013-04-23T01:19:01 <+Steffanx> Hmpf, prolific and driver support. The *perfect* combination.. NOT 2013-04-23T01:20:09 <+Steffanx> I try to play around with this receiver, dl-fdgi and stuff, but the rs232 converter i have is... a prolific one :( 2013-04-23T01:20:19 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: ….] 2013-04-23T01:20:37 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-23T01:20:37 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-23T01:20:37 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-23T01:20:38 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-23T01:21:08 <+Steffanx> Why they didn't give it a usb connection 2013-04-23T01:25:59 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Read error: Connection reset by peer] 2013-04-23T01:42:15 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-23T01:44:04 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Client Quit] 2013-04-23T02:01:24 -!- sterna1 [~Adium@dhcp-184066.eduroam.chalmers.se] has quit [Quit: Leaving.] 2013-04-23T02:07:59 -!- MrMobius [~Joey@194.176.111.133] has joined ##stm32 2013-04-23T02:10:53 -!- MrM0bius [~Joey@194.176.111.133] has quit [Ping timeout: 246 seconds] 2013-04-23T02:11:21 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: ….] 2013-04-23T02:11:55 -!- Netsplit *.net <-> *.split quits: Count_Niedar, HTT-Bird 2013-04-23T02:12:47 -!- Netsplit over, joins: HTT-Bird, Count_Niedar 2013-04-23T02:12:47 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-23T02:12:47 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-23T02:12:47 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-23T02:12:49 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-23T02:17:38 < karlp> output port defaults to only 400khz on l1, instead of 2mhz 2013-04-23T02:25:18 < gxti> ha 2013-04-23T02:25:56 < karlp> seemed to have more of an impact on miso, but whatever, works now 2013-04-23T02:40:32 < dongs> http://1.bp.blogspot.com/-2ddnqc1uGqM/UXRoOT9r06I/AAAAAAAAAko/TjqMPgKEiQw/s1600/pcb.jpg < lool 2013-04-23T02:52:12 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has quit [Ping timeout: 260 seconds] 2013-04-23T02:53:13 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has joined ##stm32 2013-04-23T02:54:52 -!- DLPeterson [~hazelnuss@c-71-198-192-33.hsd1.ca.comcast.net] has quit [Quit: leaving] 2013-04-23T02:56:46 < emeb> kludge! 2013-04-23T02:57:12 <+Steffanx> Looks like some nice home made pcb job to me.. 2013-04-23T02:58:46 < ds2> looks pretty oxide free 2013-04-23T03:01:11 < emeb> just means that the board is newly cleaned. 2013-04-23T03:08:48 -!- MrM0bius [~Joey@91.192.66.230] has joined ##stm32 2013-04-23T03:08:57 < ds2> I was referring to the sanding marks ;) 2013-04-23T03:09:43 < emeb> ya - me too. probably just steel wool from cleaning the etch resist. 2013-04-23T03:09:46 < ds2> emeb: you familiar with IQ sampling and SSB demod from that? 2013-04-23T03:09:53 < emeb> ds2: oh yeah. 2013-04-23T03:10:09 < ds2> emeb: do demod SSB with a IQ signal, do I still need a hilbert filter? 2013-04-23T03:10:17 < ds2> I see references to ones with and without it 2013-04-23T03:10:30 < emeb> ds2: if your signal is already complex you don't need a hilbert transform 2013-04-23T03:10:42 < emeb> hilbert gives you I/Q from real. 2013-04-23T03:10:55 < ds2> what I some places have is: 2013-04-23T03:11:05 -!- MrMobius [~Joey@194.176.111.133] has quit [Ping timeout: 246 seconds] 2013-04-23T03:11:17 < ds2> signal -I/Q sampling paths with a quad signal, one path goes through a hilbert filter. the result is then demod'ed 2013-04-23T03:11:38 < ds2> I thought once I sample with a quad LO, I can just do I+Q or I-Q for USB/LSB 2013-04-23T03:11:41 < ds2> am I wrong? 2013-04-23T03:12:00 < emeb> ds2: if you're using a quadrature LO then you don't need a hilbert. 2013-04-23T03:12:06 < ds2> 'k thanks 2013-04-23T03:12:35 < emeb> hilbert is only needed if you start with a real-only and don't use a quadrature LO. 2013-04-23T03:12:57 < ds2> trying to get some idea of which way is up since the PSoC3/5's can do some of this with just a few clicks of the mouse 2013-04-23T03:13:11 < emeb> sounds fun 2013-04-23T03:13:12 < ds2> that's my undersatnding but some sources say otherwise 2013-04-23T03:13:21 < ds2> the 3's and 5's include a mini DSP engine 2013-04-23T03:13:42 < emeb> cool. I should look that up. 2013-04-23T03:14:02 < ds2> and it has samples and PLL's. so I figure I can generate a quad signal and go from there 2013-04-23T03:14:17 < ds2> has dual samplers 2013-04-23T03:15:43 < emeb> you talking about the Digital Filter Blocks? 2013-04-23T03:15:51 < ds2> yeah 2013-04-23T03:16:01 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-23T03:16:03 < ds2> the DFB has its own assembly language 2013-04-23T03:16:19 < emeb> looks like a tiny state machine + math. 2013-04-23T03:16:29 < ds2> yeah 2013-04-23T03:16:42 < ds2> along with some constant memory 2013-04-23T03:17:03 < emeb> hmm - Cypress website appears borked 2013-04-23T03:17:15 < emeb> "Internal Server Error" every time I try to get to datasheets. 2013-04-23T03:17:20 < ds2> heheh 2013-04-23T03:21:00 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-23T03:25:14 -!- Netsplit *.net <-> *.split quits: Count_Niedar, HTT-Bird 2013-04-23T03:30:11 -!- Count_Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-04-23T03:30:11 -!- HTT-Bird [~Birdz0r@unaffiliated/htt-bird] has joined ##stm32 2013-04-23T03:38:39 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has quit [Read error: Connection reset by peer] 2013-04-23T03:41:55 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-23T03:48:12 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has joined ##stm32 2013-04-23T04:08:22 -!- MrMobius [~Joey@91.192.66.230] has joined ##stm32 2013-04-23T04:11:38 -!- MrM0bius [~Joey@91.192.66.230] has quit [Ping timeout: 246 seconds] 2013-04-23T04:12:30 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-23T04:38:04 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-04-23T04:57:55 -!- bk128 [~bk@unaffiliated/bk128] has quit [Quit: bk128] 2013-04-23T04:58:27 -!- bk128 [~bk@unaffiliated/bk128] has joined ##stm32 2013-04-23T04:58:44 -!- bk128 [~bk@unaffiliated/bk128] has quit [Client Quit] 2013-04-23T05:01:32 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-23T05:04:31 -!- flop|2 [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-23T05:05:53 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Ping timeout: 246 seconds] 2013-04-23T05:08:36 -!- MrM0bius [~Joey@194.176.111.31] has joined ##stm32 2013-04-23T05:09:23 -!- flop|2 [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Ping timeout: 246 seconds] 2013-04-23T05:11:29 -!- MrMobius [~Joey@91.192.66.230] has quit [Ping timeout: 246 seconds] 2013-04-23T05:18:46 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-23T05:20:51 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-23T05:29:26 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-04-23T05:43:15 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-23T05:49:18 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 264 seconds] 2013-04-23T06:08:58 -!- MrMobius [~Joey@194.176.111.133] has joined ##stm32 2013-04-23T06:11:41 -!- MrM0bius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-23T06:13:09 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Ping timeout: 248 seconds] 2013-04-23T06:22:23 -!- n00b750 [~me@66.49.221.158] has quit [Ping timeout: 255 seconds] 2013-04-23T06:23:31 -!- n00b750 [~me@66.49.221.158] has joined ##stm32 2013-04-23T06:31:23 -!- BJfreeman [~bjfree@141.sub-75-233-255.myvzw.com] has quit [Quit: had a good time] 2013-04-23T06:37:41 -!- DLPeterson [~hazelnuss@c-71-198-192-33.hsd1.ca.comcast.net] has joined ##stm32 2013-04-23T06:46:20 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-23T06:46:30 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-23T07:09:05 -!- MrM0bius [~Joey@194.176.111.133] has joined ##stm32 2013-04-23T07:12:14 -!- MrMobius [~Joey@194.176.111.133] has quit [Ping timeout: 246 seconds] 2013-04-23T07:38:31 -!- DLPeterson [~hazelnuss@c-71-198-192-33.hsd1.ca.comcast.net] has quit [Quit: leaving] 2013-04-23T08:02:51 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-23T08:09:20 -!- MrMobius [~Joey@194.176.111.136] has joined ##stm32 2013-04-23T08:12:26 -!- MrM0bius [~Joey@194.176.111.133] has quit [Ping timeout: 246 seconds] 2013-04-23T08:32:57 -!- talsit [~talsit@061196237171.cidr.odn.ne.jp] has joined ##stm32 2013-04-23T08:58:53 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-23T09:02:34 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-04-23T09:05:32 -!- dfletcher [~fletch@drupal.org/user/72475/view] has quit [Ping timeout: 260 seconds] 2013-04-23T09:07:07 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-23T09:09:36 -!- MrM0bius [~Joey@91.192.66.230] has joined ##stm32 2013-04-23T09:12:38 -!- MrMobius [~Joey@194.176.111.136] has quit [Ping timeout: 246 seconds] 2013-04-23T09:29:46 < Tectu> does anyone have an idea how to create an easy to build, does-not-need-to-be-accurate LC lowpass filter which is electronically variable? 2013-04-23T09:29:54 < Tectu> frequency range from 10 to 100MHz or something like that 2013-04-23T09:31:14 < R2COM> have an array of filters 2013-04-23T09:31:46 < Tectu> I tought about doing an LC-Filter with varcaps 2013-04-23T09:32:04 < R2COM> you asked easy, here is easy... now you talking about different stuff 2013-04-23T09:32:44 < Tectu> how are varcaps not easy? 2013-04-23T09:32:55 < R2COM> ... 2013-04-23T09:33:01 < R2COM> then wtf you even asking this question here? 2013-04-23T09:33:59 < Tectu> Because some people in here are smart, have good ideas and a little experience in HF/RF 2013-04-23T09:34:19 < R2COM> lol ok 2013-04-23T09:34:24 < Tectu> nobody forced you to answer it :P 2013-04-23T09:35:20 < Tectu> I mean you never "wtf" ask why Laurenceb posts images of grand parents touching the boobs of teenagers eihter, no? 2013-04-23T09:35:21 < Thorn> make another winding on the inductor and run DC through it to control core saturation lol 2013-04-23T09:35:24 < Tectu> either* 2013-04-23T09:35:35 < Tectu> Thorn, lol wut, did you ever do that? 2013-04-23T09:35:42 < R2COM> i dont know i dont monitor this chan 24/7 2013-04-23T09:35:58 < Tectu> heh 2013-04-23T09:36:30 < Thorn> no I haven't 2013-04-23T09:43:45 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-04-23T09:48:48 < jpa-> Tectu: if it does not need to be accurate, using a bank of filters is reasonable 2013-04-23T09:49:25 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2013-04-23T09:49:25 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2013-04-23T09:49:25 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-04-23T09:50:50 < jpa-> Tectu: also you could probably just switch the C with N-channel FETs.. but yeah, varcaps is also an option, if you don't need DC 2013-04-23T09:52:10 < Tectu> jpa-, using varcaps with DC is no problem at all 2013-04-23T09:52:11 < jpa-> (oh well, easy enough even with DC) 2013-04-23T09:52:24 -!- dekar [~dekar@212.255.228.15] has joined ##stm32 2013-04-23T09:52:27 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-23T09:52:31 < Tectu> you simply make a capacitive voltage divider as in-> 100nF and then the varcap in series so you have the DC decoupled from the actual filter line 2013-04-23T09:52:31 < qyx_> there is no F3 with ethernet? 2013-04-23T09:52:56 < Tectu> jpa-, multiple filter banks as in having more than one and switch them on/off by relays or so? 2013-04-23T09:53:10 < R2COM> (12:37:23 AM) R2COM: have an array of filters 2013-04-23T09:53:27 < jpa-> Tectu: relays is a bit overkill 2013-04-23T09:54:02 < Tectu> jpa-, FETs to bypass the filters? 2013-04-23T09:54:12 < jpa-> or to enable them by connecting the C to ground 2013-04-23T09:54:16 < Tectu> R2COM, I never said you're idea is wrong/bad ;) 2013-04-23T09:54:25 < Tectu> jpa-, that's a fancy idea! 2013-04-23T09:54:50 < jpa-> but varicaps doesn't sound bad either, i have never used them myself though 2013-04-23T09:56:05 -!- dekar_ [~dekar@212.255.226.115] has quit [Ping timeout: 248 seconds] 2013-04-23T09:56:14 < Tectu> jpa-, the problem is that they require quite high voltages... as in 28VDC and stuff 2013-04-23T09:56:22 < Tectu> it's bad when you're a 3.3V guy :) 2013-04-23T09:57:12 < jpa-> right 2013-04-23T09:58:50 -!- baird [~cjb@ppp121-44-243-128.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-23T10:00:13 < zyp> qyx_, no, use F4 if you need that 2013-04-23T10:01:19 < jpa-> (or use some RS232/SPI interfaced ethernet module) 2013-04-23T10:03:59 < qyx_> zyp: yep, but i also want analog comparators and these nice adc's 2013-04-23T10:05:13 < qyx_> ok, F4 :( 2013-04-23T10:05:31 < Tectu> you're like the PhD guys here "trololol, I have such a big knowledge of embedded systems - Yeah, I want that F4, it hast a shit load of performance, WHAAAAT? It needs 100mA? no, we need something for very low power applications which runs with a coin cell, but with the performance of the F4" 2013-04-23T10:07:48 < qyx_> i just need to build analog frontend with eth connectivity, not that unusual requirement 2013-04-23T10:07:54 < jpa-> something like http://fi.farnell.com/lantronix/xp1001001-04r/module-serial-to-ethernet-xport/dp/2115259 is not too bad 2013-04-23T10:08:29 < qyx_> for that cost i could put there both f303 and f107 :) 2013-04-23T10:09:04 < jpa-> and spend two weeks to design the code for both of them :) 2013-04-23T10:09:09 < qyx_> or just F4 with discrete comparators and pga 2013-04-23T10:09:19 < Tectu> jpa-, that's an interesting thing 2013-04-23T10:09:58 -!- MrMobius [~Joey@91.192.66.230] has joined ##stm32 2013-04-23T10:12:50 -!- MrM0bius [~Joey@91.192.66.230] has quit [Ping timeout: 246 seconds] 2013-04-23T10:13:51 < dongs> http://www.ebay.com/itm/121046986828 attn Laurenceb 2013-04-23T10:18:27 -!- gsmcmullin [~gareth@c-76-21-106-184.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 2013-04-23T10:20:16 -!- _BJFreeman [~bjfree@140.sub-75-196-72.myvzw.com] has joined ##stm32 2013-04-23T10:20:55 -!- _BJFreeman is now known as BJfreeman 2013-04-23T10:25:13 -!- BJfreeman [~bjfree@140.sub-75-196-72.myvzw.com] has quit [Read error: Connection reset by peer] 2013-04-23T10:25:27 -!- _BJFreeman [~bjfree@140.sub-75-196-72.myvzw.com] has joined ##stm32 2013-04-23T10:25:52 -!- _BJFreeman is now known as BJfreeman 2013-04-23T10:35:25 -!- gsmcmullin [~gareth@c-76-21-106-184.hsd1.ca.comcast.net] has joined ##stm32 2013-04-23T10:38:12 -!- sterna1 [~Adium@194.17.253.121] has joined ##stm32 2013-04-23T10:44:50 < R2COM> strange 2013-04-23T10:45:12 < BJfreeman> you could say that :P 2013-04-23T10:52:32 -!- Mobyfab [~Mobyfab@80.239.168.84] has joined ##stm32 2013-04-23T11:00:11 -!- Count_Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Read error: Connection reset by peer] 2013-04-23T11:00:28 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-04-23T11:05:41 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-04-23T11:10:14 -!- MrMobius [~Joey@91.192.66.230] has quit [Ping timeout: 246 seconds] 2013-04-23T11:12:46 -!- MrMobius [~Joey@194.176.111.133] has joined ##stm32 2013-04-23T11:15:01 -!- MrM0bius [~Joey@194.176.111.136] has joined ##stm32 2013-04-23T11:16:53 -!- MrMobius [~Joey@194.176.111.133] has quit [Ping timeout: 246 seconds] 2013-04-23T11:22:50 -!- MrM0bius [~Joey@194.176.111.136] has quit [Ping timeout: 246 seconds] 2013-04-23T11:24:51 -!- pelrun [~James@123-243-159-164.static.tpgi.com.au] has joined ##stm32 2013-04-23T11:27:51 < baird> ohshit! Another site is trumping Hackaday for lame projects: http://www.43oh.com/2013/04/switchpad-launchpad-gender-changer/ 2013-04-23T11:28:50 < jpa-> don't worry, hackaday will reblog it when the news gets old 2013-04-23T11:29:43 -!- MrMobius [~Joey@194.176.111.136] has joined ##stm32 2013-04-23T11:30:04 < dongs> oh but look 2013-04-23T11:30:11 < dongs> its made by hackkitten 2013-04-23T11:30:33 < jpa-> uh, how so? 2013-04-23T11:30:55 < dongs> https://youtube.com/watch?v=ZUYM25UDOg0 look theres some femail creature doing it 2013-04-23T11:31:20 < jpa-> it's unrelated video and that's not hackkitten :D 2013-04-23T11:31:25 < dongs> oh sorry 2013-04-23T11:31:47 < jpa-> (that one's actually female, i think ;) 2013-04-23T11:33:00 < dongs> just as hideous as hackkitten & co 2013-04-23T11:33:08 < baird> The tard thing is...the Lauchpad comes with unsoldered headers, both male and female. (I've always used the female) 2013-04-23T11:33:24 < dongs> no 2013-04-23T11:33:29 < dongs> well msp430 one i dunno 2013-04-23T11:33:36 < dongs> the LM4F shit came wiht stuff soldered 2013-04-23T11:33:49 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-23T11:33:57 < pelrun> yeah, my launchpads were fully soldered 2013-04-23T11:34:07 < pelrun> so this isn't a completely stupid project 2013-04-23T11:34:26 < baird> That's the original LP both the blog and video are waving around.. 2013-04-23T11:34:46 -!- sterna1 [~Adium@194.17.253.121] has quit [Read error: Operation timed out] 2013-04-23T11:35:08 < baird> Cool, that means I can flog the ?6 unused LPs I've got on eBay as -rare- 2013-04-23T11:38:57 < baird> Noticed: YT comments will use a person's first name if they're female... geeeeee. 2013-04-23T11:45:09 -!- LeelooMinai_ [~leeloo@198-84-185-212.cpe.teksavvy.com] has joined ##stm32 2013-04-23T11:45:29 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has quit [Ping timeout: 255 seconds] 2013-04-23T11:51:10 < jpa-> dongs: http://emerythacks.blogspot.com/2013/04/connecting-ipad-retina-lcd-to-pc.html lol this guy has much more professional pcb than you! ;) 2013-04-23T11:51:54 < dongs> jpa-: aw 2013-04-23T11:51:54 < dongs> saw 2013-04-23T11:51:58 < dongs> old news. 2013-04-23T11:52:05 < dongs> lol @ homemade drilled trash for 2ghz signals 2013-04-23T11:52:13 < dongs> super pro 2013-04-23T11:52:27 < dongs> too lazy to sign up at wankblogs or I could use it to advertise my shit 2013-04-23T11:52:44 < dongs> actually, ill do it 2013-04-23T11:52:47 < dongs> and just link to the imgur 2013-04-23T11:54:39 < jon1012> someone seen that ? just crap or useful ? http://www.aliexpress.com/item/Desktop-Pick-and-Place-Machine-SMT-0402-TM220A/738560605.html#anchor-full-item-description 2013-04-23T11:55:20 < dongs> blogged 2013-04-23T11:55:26 < dongs> jpa-: garbage 2013-04-23T11:55:28 < dongs> err 2013-04-23T11:55:30 < dongs> jon1012: garbage 2013-04-23T11:55:41 < dongs> no vision on pickup/place = fail fail fail fail fail fail 2013-04-23T11:56:11 < dongs> it might be a good base if you want to HACK and rewrite software/firmware from scratch and add vision, otherwise no. 2013-04-23T11:57:16 < jon1012> ok, vision is madatory ? 2013-04-23T11:57:30 < jon1012> (I'm a beginner at this :) it's just that I'm making too much board by hand these days) 2013-04-23T11:57:30 < dongs> i would say so 2013-04-23T11:57:33 < dongs> unless you like wasting time 2013-04-23T11:57:42 < dongs> to align picked up parts against head/known reference 2013-04-23T11:57:50 < jon1012> ok 2013-04-23T11:58:15 < dongs> even 0603 tape resistors have like 0.1mm of clearance around edges, so the pickup could be not straight 2013-04-23T11:58:19 < dongs> 0805 caps and shit is worse. 2013-04-23T11:58:29 < dongs> you need to rotate the part twice at least in the head to get alignment 2013-04-23T11:58:46 < dongs> plus can measure its height/thickness at same time to confirm its right part picked up and not empty air 2013-04-23T12:01:00 < jon1012> ok 2013-04-23T12:03:00 < zyp> better get one which is controlled by VB 2013-04-23T12:03:15 < jon1012> but there aren't in this price range, no ? 2013-04-23T12:06:49 -!- sterna1 [~Adium@dhcp-191166.eduroam.chalmers.se] has joined ##stm32 2013-04-23T12:09:58 -!- sterna2 [~Adium@dhcp-191166.eduroam.chalmers.se] has joined ##stm32 2013-04-23T12:09:59 -!- sterna1 [~Adium@dhcp-191166.eduroam.chalmers.se] has quit [Read error: Connection reset by peer] 2013-04-23T12:10:45 < dongs> zyp: yea man ;d 2013-04-23T12:11:08 < dongs> jon1012: generally you will waste more time doing it with a machine in that price range than just paying someone to do it 2013-04-23T12:12:29 < pelrun> jon1012, dangerous prototypes has a video up about that machine 2013-04-23T12:12:41 < pelrun> it's "okay" for small-scale stuff 2013-04-23T12:13:05 < zyp> depending on the word «small» 2013-04-23T12:13:14 < pelrun> but yeah, you end up relying on solder surface tension to correct alignment 2013-04-23T12:15:11 -!- MrM0bius [~Joey@194.176.111.136] has joined ##stm32 2013-04-23T12:15:29 < pelrun> wonder what state openpnp is at now 2013-04-23T12:15:33 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 240 seconds] 2013-04-23T12:18:29 -!- MrMobius [~Joey@194.176.111.136] has quit [Ping timeout: 246 seconds] 2013-04-23T12:18:41 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-23T12:21:48 -!- UweBonnes [~bon@hertz.ikp.physik.tu-darmstadt.de] has joined ##stm32 2013-04-23T12:26:22 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-04-23T12:26:44 -!- dekar [~dekar@212.255.228.15] has quit [Quit: This computer has gone to sleep] 2013-04-23T12:29:45 < dongs> pelrun: probably disaster as usual 2013-04-23T12:30:12 < dongs> http://buildyourcnc.com/PickandPlaceMachineTheredFrog.aspx look at this disaster 2013-04-23T12:30:26 < dongs> esp video 2013-04-23T12:30:28 < dongs> u g h 2013-04-23T12:33:15 < jpa-> pelrun: if you rely on surface tension, you'll get trouble with any fine-pitch ic.. like if a 0.5mm TQFP is more than 0.25mm misaligned, surface tension usually just makes it worse 2013-04-23T12:34:25 -!- yawniek_ [~yannick@178-82-40-89.dynamic.hispeed.ch] has joined ##stm32 2013-04-23T12:39:42 < karlp> dongs: you got a reply about your dongport adaptor. but they ignored the ghetto comments, just asked about price 2013-04-23T12:39:51 < dongs> ahah 2013-04-23T12:40:09 < dongs> wtf 2013-04-23T12:40:15 < dongs> 15 profile views since i posted that shit 2013-04-23T12:40:20 < dongs> i havent got a single one since 2009 2013-04-23T12:40:31 < karlp> retina display !!11! 2013-04-23T12:40:32 < dongs> time to monetize tarduino.cc 2013-04-23T12:40:34 < karlp> it's the shitz 2013-04-23T12:43:53 < pelrun> jpa-, I didn't say it was a satisfactory solution 2013-04-23T12:44:03 < pelrun> definitely restricted to larger parts 2013-04-23T12:50:25 < jon1012> mmh, I could use that pick and place for all but mcu and pick/place the mcu myself 2013-04-23T12:50:38 < jon1012> as what is slow is all the capacitors, resistors, etc 2013-04-23T12:53:46 < dongs> that wont make it much faster 2013-04-23T12:55:05 < dongs> http://bcas.tv/paste/results/15XoQL66.html 2013-04-23T13:02:58 -!- CRF_Peter [~Peter@dhcp-181232.eduroam.chalmers.se] has joined ##stm32 2013-04-23T13:04:31 -!- talsit [~talsit@061196237171.cidr.odn.ne.jp] has quit [Quit: Leaving.] 2013-04-23T13:05:13 < jon1012> dongs, "pay first, then we send" :) 2013-04-23T13:05:37 < dongs> i aint sending shit to africa 2013-04-23T13:08:09 < dongs> haha http://www.techcentral.co.za/botswana-tv-move-draws-fire/39048/ 2013-04-23T13:11:41 < dongs> ^ attn zyp 2013-04-23T13:15:17 -!- MrMobius [~Joey@194.176.111.133] has joined ##stm32 2013-04-23T13:17:22 < karlp> any comment on any actual real differences between dvbt and isdb dongs? 2013-04-23T13:17:34 < dongs> karlp: yeah, ISDB fucking sucks 2013-04-23T13:17:41 < dongs> expensive dead tech 2013-04-23T13:17:53 < dongs> the only countires that 'adopted' it are worthless 3rd world slave countries 2013-04-23T13:17:57 < dongs> and there was probably dick sucking involved 2013-04-23T13:18:12 < karlp> that was what I _suspected_ :) 2013-04-23T13:18:20 -!- MrM0bius [~Joey@194.176.111.136] has quit [Ping timeout: 246 seconds] 2013-04-23T13:18:25 < karlp> I was just curious if there was any bits that could be claimed to have been "better" 2013-04-23T13:18:30 < dongs> no 2013-04-23T13:18:35 < dongs> it had marginal improvements over DVB-T 2013-04-23T13:18:39 < dongs> but none of them are used 2013-04-23T13:18:52 < dongs> DVB-T2 blows it away 2013-04-23T13:18:57 < dongs> in every aspect 2013-04-23T13:19:33 < dongs> T2 can do something like 60mbit on 8mhz channel 2013-04-23T13:19:36 < dongs> ISDB can barely do 23~ish 2013-04-23T13:20:03 < karlp> +5 informative 2013-04-23T13:20:06 < karlp> takk 2013-04-23T13:20:42 < dongs> mobile stuff is also trash, you get like 384kbit channel for video + audio 2013-04-23T13:20:54 < dongs> so in japan its like 15fps h264 @ 320x240 2013-04-23T13:21:03 < dongs> at least brazil did it at 30fps 2013-04-23T13:21:13 < dongs> and bitrate is something like 128k or something ridiculous 2013-04-23T13:21:23 < dongs> but you waste 1 segment (out of 13), so you cant use it for proper HD broadcast. 2013-04-23T13:22:23 < dongs> 2013-04-23T13:23:40 < scrts> DVB-T can do 32Mbps max 2013-04-23T13:24:05 < scrts> DVB-T2 gives really nearly 2 times more? 2013-04-23T13:24:27 < dongs> 50mbit at 256qam + 5/6 code 2013-04-23T13:24:30 < scrts> e.g. DVB-C ~50Mbps 2013-04-23T13:24:56 < dongs> but also very useful rates at 64qam 2013-04-23T13:24:58 < scrts> yeah, something like DVB-C then 2013-04-23T13:24:59 < dongs> that isdb cant touch 2013-04-23T13:25:12 < dongs> i.e. 33mbit at 3/4 2013-04-23T13:35:50 -!- BJfreeman [~bjfree@140.sub-75-196-72.myvzw.com] has quit [Ping timeout: 252 seconds] 2013-04-23T13:36:45 -!- _BJFreeman [~bjfree@140.sub-75-196-72.myvzw.com] has joined ##stm32 2013-04-23T13:37:13 -!- _BJFreeman is now known as BJfreeman 2013-04-23T13:53:27 -!- dekar [~dekar@dslb-088-069-159-220.pools.arcor-ip.net] has joined ##stm32 2013-04-23T13:53:28 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-23T13:54:44 < Laurenceb> hmf 2013-04-23T13:54:48 < Laurenceb> studpid dsp problems 2013-04-23T13:55:00 < jpa-> fix 'em 2013-04-23T13:55:11 < Laurenceb> so i have three signals, they contain noise + signal of interest 2013-04-23T13:55:26 < Laurenceb> i want to find the amplitude of the signal in each channel 2013-04-23T13:55:35 < Laurenceb> so i just correlate the channels 2013-04-23T13:55:43 -!- BJfreeman [~bjfree@140.sub-75-196-72.myvzw.com] has quit [Quit: had a good time] 2013-04-23T13:56:04 < Laurenceb> but... if i correlate 1 with 2 and 3 I can only find relative amplitudes 2013-04-23T13:56:32 < Laurenceb> if i autocorrelate channel 1, im going to correlate the noise with itself too 2013-04-23T13:56:36 < jpa-> do you know the original signal or its amplitude? 2013-04-23T13:56:43 < Laurenceb> no 2013-04-23T13:56:48 < jpa-> then you cannot solve it 2013-04-23T13:56:52 < Laurenceb> lol 2013-04-23T13:57:17 < jpa-> or well, you want the output amplitudes in absolute terms? 2013-04-23T13:57:27 < Laurenceb> no, in relative terms 2013-04-23T13:57:31 < jpa-> relative to what? 2013-04-23T13:57:37 < Laurenceb> the first channel 2013-04-23T13:57:53 < jpa-> but you already got that? 2013-04-23T13:58:26 < Laurenceb> not exactly 2013-04-23T13:58:45 < Laurenceb> i found E(channel1.*channel2) 2013-04-23T13:58:47 < Laurenceb> and so on 2013-04-23T13:59:24 < Laurenceb> i don't know amplitude in channel1 2013-04-23T13:59:48 < jpa-> hmm.. true 2013-04-23T13:59:48 < Laurenceb> hmm 2013-04-23T14:00:03 < Laurenceb> if there some technique involving other correlations? 2013-04-23T14:00:06 < jpa-> maybe if you correlate 2 and 3 together.. could it be possible to solve there? 2013-04-23T14:00:12 < Laurenceb> maybe 2013-04-23T14:00:19 < Laurenceb> thats what im wondering 2013-04-23T14:00:36 < jpa-> then you would know x * y, y * z and z * x.. and you want y / x and z / x 2013-04-23T14:00:48 < Laurenceb> cov in matlab outputs a matrix of terms... 2013-04-23T14:01:22 < Tectu> matlab matrix indexes begin with 1 2013-04-23T14:01:23 < jpa-> z / x = (z * y) / (x * y) 2013-04-23T14:01:43 < jpa-> y / x = (z * y) / (x * z) 2013-04-23T14:03:06 < jpa-> so 3 relative to 2 = correlation(3, 2) / correlation(1, 2) etc. 2013-04-23T14:03:13 < jpa-> er, 3 relative to 1 2013-04-23T14:04:59 -!- phantoxeD [~destroy@a95-92-85-217.cpe.netcabo.pt] has quit [Ping timeout: 255 seconds] 2013-04-23T14:05:48 < Laurenceb> ah yeah 2013-04-23T14:05:50 < Laurenceb> thanks 2013-04-23T14:06:18 * jpa- excels at basic algebra 2013-04-23T14:06:25 < Laurenceb> lolz 2013-04-23T14:06:52 * Laurenceb was actually distracted making troll posters of uni professors 2013-04-23T14:07:11 < Laurenceb> going up around faculty now... 2013-04-23T14:07:24 < jpa-> good thing that irc is my distraction 2013-04-23T14:11:00 < Laurenceb> attempted to troll... got trolled by gimp user interface 2013-04-23T14:11:34 -!- jef79m is now known as 65MAASZEV 2013-04-23T14:14:28 -!- 65MAASZEV is now known as Guest 2013-04-23T14:14:28 -!- Guest is now known as 65MAASZEV 2013-04-23T14:15:29 -!- MrM0bius [~Joey@194.176.111.133] has joined ##stm32 2013-04-23T14:18:32 -!- MrMobius [~Joey@194.176.111.133] has quit [Ping timeout: 246 seconds] 2013-04-23T14:19:20 -!- 65MAASZEV is now known as jef79m 2013-04-23T14:22:00 < Laurenceb> http://i.imgur.com/oL8pdtF.png 2013-04-23T14:24:28 < Laurenceb> ^guy who is obsessed with accelerometers 2013-04-23T14:25:59 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: to sleep, perchance to dream] 2013-04-23T14:35:23 < baird> Foodblag: http://i.imgur.com/MQtCE8a.jpg (YABBIE WANT TO LIIVVEEEEE!) .. http://i.imgur.com/n1efrKr.jpg .. Today's lunch. 2013-04-23T14:37:20 < Thorn> you are a horrible person. it says so in the file. 2013-04-23T15:10:37 -!- flop|2 [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-23T15:12:26 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Ping timeout: 246 seconds] 2013-04-23T15:16:25 -!- MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-23T15:18:44 -!- MrM0bius [~Joey@194.176.111.133] has quit [Ping timeout: 246 seconds] 2013-04-23T15:20:05 < dongs> http://usb.brando.com/3-digits-combination-usb-flash-drive-security-lock_p01117c062d015.html 2013-04-23T15:20:12 < dongs> attn 2013-04-23T15:26:24 -!- phantoxeD [~destroy@a95-92-85-217.cpe.netcabo.pt] has joined ##stm32 2013-04-23T15:33:45 < inca> dongs: 3 digits takes a human being how long to roll through? 2013-04-23T15:34:56 < jpa-> an hour 2013-04-23T15:35:46 < Laurenceb> haha 2013-04-23T15:35:50 < Laurenceb> i lolled 2013-04-23T15:37:13 < dongs> http://usb.brando.com/usb-time-bomb-alarm-clock_p03083c035d015.html 2013-04-23T15:37:14 < dongs> holy shit 2013-04-23T15:37:17 < dongs> ordering asap 2013-04-23T15:37:27 < Laurenceb> haha 2013-04-23T15:46:11 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-23T15:50:36 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 252 seconds] 2013-04-23T15:51:09 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-23T15:52:37 < Tectu> anyone ever did microstripping? 2013-04-23T15:54:06 < Laurenceb> is that like where you strip for micropayments? 2013-04-23T15:54:12 < Laurenceb> on stickam ? 2013-04-23T15:55:18 < jpa-> maybe it has something to do with the size of the exposed parts 2013-04-23T15:55:38 < Laurenceb> it would in Tectus case 2013-04-23T15:55:40 < jpa-> i mean, if you expose a narrow trace on a PCB for example 2013-04-23T15:56:38 < Laurenceb> never heard it called that before 2013-04-23T15:57:12 -!- phantoxeD [~destroy@a95-92-85-217.cpe.netcabo.pt] has quit [Ping timeout: 264 seconds] 2013-04-23T15:58:37 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has quit [Quit: zzzz] 2013-04-23T15:59:07 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-23T16:03:28 < Tectu> zlog, logs 2013-04-23T16:03:29 < zlog> Tectu: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2013-04-23.html 2013-04-23T16:04:10 < Tectu> guys guys guys.... 2013-04-23T16:05:17 < jpa-> you expected to find girls in that log? 2013-04-23T16:05:38 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Quit: trepidaciousMBR] 2013-04-23T16:06:34 -!- CRF_Peter [~Peter@dhcp-181232.eduroam.chalmers.se] has quit [Ping timeout: 256 seconds] 2013-04-23T16:10:14 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-04-23T16:12:28 -!- CRF_Peter [~Peter@dhcp-181232.eduroam.chalmers.se] has joined ##stm32 2013-04-23T16:15:59 -!- MrM0bius [~Joey@194.176.111.139] has joined ##stm32 2013-04-23T16:17:12 -!- phantoxeD [~destroy@a95-92-85-217.cpe.netcabo.pt] has joined ##stm32 2013-04-23T16:18:35 -!- MrMobius [~Joey@194.176.111.29] has quit [Ping timeout: 246 seconds] 2013-04-23T16:18:36 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Read error: Connection reset by peer] 2013-04-23T16:19:12 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-04-23T16:24:49 < zyp> Tectu, sure 2013-04-23T16:25:56 < zyp> Tectu, so, you want to make a microstrip of some impedance? 2013-04-23T16:28:19 < Tectu> zyp, exactly 2013-04-23T16:29:26 < zyp> and? 2013-04-23T16:29:47 < Tectu> any experiences? 2013-04-23T16:29:57 < jpa-> Tectu: choose a thin PCB subtrate if you only have 2 layer 2013-04-23T16:30:12 < jpa-> then just plug in the numbers and use the correct width of trace 2013-04-23T16:30:13 < zyp> I was about to say you likely want 4 layers :p 2013-04-23T16:30:29 < Tectu> will be tricky when it should be added on the main PCB which is an FR4 with 1.6mm 2013-04-23T16:30:30 < jpa-> likely yeah.. a ground plane under the conductor is a must 2013-04-23T16:30:55 < Tectu> the best would be to sandwich it or what? 2013-04-23T16:30:59 < zyp> trace width increases with distance from ground plane 2013-04-23T16:31:02 < jpa-> hmm.. you might be able to use that planar alternative, where the conductors are side by side.. 2013-04-23T16:31:04 < Tectu> sandwich in between two grounds 2013-04-23T16:31:10 < zyp> no 2013-04-23T16:31:18 < zyp> a microstrip is per definition not sandwiched 2013-04-23T16:31:20 < jpa-> Tectu: microstrip is exposed on one side 2013-04-23T16:31:25 < Tectu> oh, okay 2013-04-23T16:31:32 < jpa-> Tectu: but you can have other geometries as long as you use different formulas 2013-04-23T16:31:34 < zyp> sandwiched signal lines are called stripline 2013-04-23T16:31:46 < jpa-> Tectu: parallel plate waveguide might work better for a 2-layer board 2013-04-23T16:32:07 < Tectu> it looks like you guys do this every day?! 2013-04-23T16:32:20 < jpa-> or hmm.. parallel plate waveguide is still not exactly what i mean 2013-04-23T16:32:44 < zyp> Tectu, by the way, how long will it be? 2013-04-23T16:32:45 < jpa-> Tectu: never done this, i just appear convincing :) 2013-04-23T16:32:55 < zyp> as in, will it be long enough that you have to care? :p 2013-04-23T16:33:19 -!- daku is now known as DaKu 2013-04-23T16:33:21 < Tectu> zyp, I think 50mm are long enough to care 2013-04-23T16:33:26 < zyp> yes 2013-04-23T16:33:43 < jpa-> Tectu: ah, coplanar waveguide: http://www.microwaves101.com/encyclopedia/coplanarwaveguide.cfm 2013-04-23T16:33:46 < UweBonnes> What frequency do you care about? 2013-04-23T16:33:55 < Tectu> DC to 100M 2013-04-23T16:34:22 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-23T16:34:53 < karlp> monitor ALLL the things 2013-04-23T16:35:52 < zyp> jpa-, how is that different from a stripline? 2013-04-23T16:36:16 < jpa-> zyp: because all is on one layer, you can make the gap thinner 2013-04-23T16:36:37 < jpa-> so it may be easier to get required impedance on 2-layer boards 2013-04-23T16:36:44 < UweBonnes> 100 MHz is 3 meter in air and about 2 meter in FR4. So 50 mm is quite short at 100 MHz. Do you really need the impedance control? 2013-04-23T16:37:16 < UweBonnes> For 1.6 mm FR4, expects needed trace width sevela mm wide. 2013-04-23T16:37:35 < zyp> yeah 2013-04-23T16:38:10 < zyp> if you want to do it proper, you should really do 4 layer 2013-04-23T16:38:14 < Tectu> 2meters? how do you get that? 2013-04-23T16:38:42 < jpa-> c / 100MHz 2013-04-23T16:38:49 < jpa-> and then add some fuzz factor of 0.7 2013-04-23T16:39:03 < Tectu> c? capacity of the FR4? 2013-04-23T16:39:06 < Tectu> ah 2013-04-23T16:39:08 < jpa-> c as in speed of light 2013-04-23T16:39:08 < Tectu> no 2013-04-23T16:39:09 < Tectu> never mind 2013-04-23T16:39:12 < Tectu> yes, sorry >.< 2013-04-23T16:39:23 < Tectu> I wanted to know the 0.7 2013-04-23T16:40:11 < jpa-> it's the group velocity or whatever.. it can be calculated from the permeability etc. of the FR4 2013-04-23T16:40:26 < jpa-> but 0.7 is close enough 2013-04-23T16:40:55 < jpa-> hmph... i just ordered a beaglebone last week.. now they go and release beaglebone black for cheaper price with more features 2013-04-23T16:41:19 < zyp> time to order another! 2013-04-23T16:42:06 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 245 seconds] 2013-04-23T16:42:31 < UweBonnes> Look at the demo download http://www.awrcorp.com/products/optional-products/tx-line-transmission-line-calculator 2013-04-23T16:43:05 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-23T16:43:53 < UweBonnes> But think again if you can accept the errors if you don't so a transmission line. 2013-04-23T16:45:01 < zyp> yeah, 50mm might not be so long at those frequencies 2013-04-23T16:45:16 < zyp> I'm used to thinking in GHz when it comes to striplines :p 2013-04-23T16:45:40 < UweBonnes> At GHz, FR4 also tends to get lossy. 2013-04-23T16:46:13 < zyp> like everything else? :p 2013-04-23T16:47:15 < UweBonnes> Teflon and like materials are much better. Look at Rogers naterials. 2013-04-23T16:50:56 < Robint91> I can do S-parameters 2013-04-23T16:51:01 < Robint91> my life is complete 2013-04-23T16:52:47 < jpa-> Robint91: but have you been enlightened by the smith chart? 2013-04-23T16:53:00 < Robint91> jpa-, yes 2013-04-23T16:53:52 < Robint91> jpa-, I use those charts for my zen exercises 2013-04-23T16:53:55 < Robint91> dialy 2013-04-23T16:54:05 < Robint91> *daily 2013-04-23T16:56:51 < Tectu> well, thanks guys 2013-04-23T16:58:07 < Robint91> Tectu, learn S-parameters 2013-04-23T16:58:20 < Robint91> Tectu, and your life will be complete 2013-04-23T16:58:22 < Tectu> Robint91, I know S parameters 2013-04-23T16:58:28 < baird> Neo: "I know S-parameters" Morpheous: "Show me." 2013-04-23T16:58:38 < Tectu> lol 2013-04-23T17:07:42 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Quit: trepidaciousMBR] 2013-04-23T17:14:01 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has left ##stm32 [] 2013-04-23T17:16:08 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-23T17:16:30 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-23T17:19:08 -!- MrM0bius [~Joey@194.176.111.139] has quit [Ping timeout: 246 seconds] 2013-04-23T17:19:40 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-23T17:19:43 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-23T17:30:22 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-04-23T17:31:18 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Client Quit] 2013-04-23T17:35:19 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-04-23T17:37:34 -!- inca [~inca@192.5.110.4] has joined ##stm32 2013-04-23T17:48:15 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-04-23T17:49:34 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-23T18:00:00 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-23T18:01:28 -!- baird [~cjb@ppp121-44-243-128.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-04-23T18:16:46 -!- MrM0bius [~Joey@194.176.111.29] has joined ##stm32 2013-04-23T18:19:20 -!- MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-23T18:23:11 < karlp> hmm, new pcbs form oshpark aren't as beautiful as last time 2013-04-23T18:23:20 <+Steffanx> photos? 2013-04-23T18:23:36 < karlp> not yet, only just picked them up :) 2013-04-23T18:23:59 < karlp> still fine, just not as beautiful as often 2013-04-23T18:24:12 < karlp> silksscreen is nice high res, but a bit offset and has some fading 2013-04-23T18:24:48 < karlp> drill/copper registration is fine though so no complaints 2013-04-23T18:45:32 -!- _BJFreeman [~bjfree@197.sub-75-233-84.myvzw.com] has joined ##stm32 2013-04-23T18:46:15 -!- _BJFreeman is now known as BJfreeman 2013-04-23T18:51:08 < emeb> I noticed some significant diagonal aliasing in the OSHpark silkscreen on some runs. It varies though. 2013-04-23T18:54:48 <+Steffanx> oh, silk screen issues. Not something i really care about 2013-04-23T18:55:30 < emeb> yeah - nits in the big picture. 2013-04-23T18:55:38 < emeb> still - may speak to overall quality? 2013-04-23T18:55:42 < Laurenceb> thats not "digital" 2013-04-23T18:55:49 < Laurenceb> its the sort of screen they use 2013-04-23T18:56:06 < Laurenceb> small holes in a mesh 2013-04-23T18:56:29 < emeb> actual silkscreen? 2013-04-23T18:56:45 < Laurenceb> yes 2013-04-23T18:56:47 < emeb> with photosensitized resist defining the active areas? 2013-04-23T18:56:53 < Laurenceb> yes 2013-04-23T18:57:15 < emeb> hmmm. seems impractical for a high-volume PCB outfit 2013-04-23T18:57:32 < Laurenceb> its good for large quantity 2013-04-23T18:57:50 < Laurenceb> some people use the kit for lower volume as they have it in the shop 2013-04-23T18:58:04 < emeb> I guess. 2013-04-23T18:58:28 < Laurenceb> but the screen material has to be chucked after each panel is done 2013-04-23T18:58:29 < emeb> BatchPCB doesn't have the issue, so it must be peculiar to the shop that OSHpark uses. 2013-04-23T18:58:39 < Laurenceb> yeah, theres other methods 2013-04-23T18:58:41 < emeb> right - so gets $$$ 2013-04-23T18:59:02 < Laurenceb> compared to FR4, screen is cheap 2013-04-23T18:59:47 < emeb> I guess that means OSHpark is using a small shop with outdated equipment. 2013-04-23T19:00:02 < emeb> since the ones I know about use a direct-write process. 2013-04-23T19:00:40 < Laurenceb> http://www.eziscreen.com/products/stencilpro/hires.html 2013-04-23T19:00:47 < Laurenceb> that sort of material 2013-04-23T19:02:02 < Laurenceb> the stuff dongs uses is probably direct printing 2013-04-23T19:02:26 < Laurenceb> stuff where you can see largish artefacts is probably screen 2013-04-23T19:04:21 < karlp> well, it's substantially better than it was with the first ones I got 18months ago or so 2013-04-23T19:04:24 < karlp> hang on, I think I have a pic now. 2013-04-23T19:06:00 < izzy84075> Silkscreen's the only issue I've had with OSHPark. Only done a few sets of fairly simple boards with them, but they've always come out working. 2013-04-23T19:07:09 < karlp> yeah, it's kinda odd, some places the silk has been cut around footprints, othertimes not 2013-04-23T19:10:21 < karlp> https://22ui6wr8-tweak.pagekite.me/ 2013-04-23T19:11:06 < Laurenceb> looks silkscreened to me 2013-04-23T19:11:35 < karlp> it has a weird rotational? artifact on the QFP 2013-04-23T19:14:22 < izzy84075> All of them have the rotation thing. 2013-04-23T19:14:36 < izzy84075> Can see it on the USB port, too. 2013-04-23T19:16:00 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: to sleep, perchance to dream] 2013-04-23T19:16:23 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 246 seconds] 2013-04-23T19:16:36 -!- MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-23T19:19:27 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-04-23T19:19:28 < izzy84075> https://www.dropbox.com/s/lefxgycxx7k9qwd/2013-03-11%2014.07.48.jpg Hadn't noticed it before, but it looks like mine has the rotation thing, too. SV1 and the chip in the upper left(Which I just noticed isn't labeled) have it... 2013-04-23T19:19:53 -!- MrM0bius [~Joey@194.176.111.29] has quit [Ping timeout: 246 seconds] 2013-04-23T19:20:42 < Laurenceb> i dont see it 2013-04-23T19:20:51 < Laurenceb> clockwise or counterclockwise? 2013-04-23T19:21:19 < izzy84075> His is clockwise, mine is counterclockwise. 2013-04-23T19:21:34 < Laurenceb> oh yeah 2013-04-23T19:21:37 < Laurenceb> maybe slight 2013-04-23T19:21:55 < Laurenceb> maybe its actual silkscreen again 2013-04-23T19:21:58 < izzy84075> Yeah. Not too bad, but it'll bug me now that I've noticed it. 2013-04-23T19:22:08 < Laurenceb> lol 2013-04-23T19:22:26 < emeb> don't tell him about how crappy his MP3s sound. :P 2013-04-23T19:22:50 < Laurenceb> oxygen free copper monster cable will clean it up 2013-04-23T19:22:57 < izzy84075> Heh. 2013-04-23T19:37:23 < talsit> or a coat hanger 2013-04-23T19:39:51 < karlp> hehe, I remember some of the early demos of vdsl/lre 2013-04-23T19:39:56 -!- inca [~inca@192.5.110.4] has quit [Quit: zzzz] 2013-04-23T19:40:06 < karlp> using coat hangers and barbed wire fences for the "twisted pair" 2013-04-23T19:40:21 < karlp> to show how good the signal conditioning was to still get megabit speeds 2013-04-23T19:40:34 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has joined ##stm32 2013-04-23T19:41:43 < HTT-Bird> karlp: :D 2013-04-23T19:44:13 -!- phantoxeD [~destroy@a95-92-85-217.cpe.netcabo.pt] has quit [Ping timeout: 240 seconds] 2013-04-23T19:46:37 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-23T19:51:02 -!- Steffann [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-23T19:51:02 -!- Steffann [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-23T19:51:02 -!- Steffann [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-23T19:51:05 -!- mode/##stm32 [+v Steffann] by ChanServ 2013-04-23T19:52:46 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Read error: Operation timed out] 2013-04-23T20:02:53 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-23T20:02:56 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-23T20:04:08 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has quit [Ping timeout: 252 seconds] 2013-04-23T20:05:15 -!- Steffann [~Steffanx@unaffiliated/steffanx] has quit [Ping timeout: 252 seconds] 2013-04-23T20:10:18 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Quit: trepidaciousMBR] 2013-04-23T20:13:19 -!- bsdfox_ [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-04-23T20:13:33 -!- phantoxeD [~destroy@a95-92-85-217.cpe.netcabo.pt] has joined ##stm32 2013-04-23T20:15:43 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-23T20:16:51 -!- MrM0bius [~Joey@194.176.111.29] has joined ##stm32 2013-04-23T20:17:02 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 252 seconds] 2013-04-23T20:18:59 -!- barthess [~barthess@77.67.216.167] has joined ##stm32 2013-04-23T20:19:00 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 252 seconds] 2013-04-23T20:19:44 -!- MrMobius [~Joey@194.176.111.29] has quit [Ping timeout: 246 seconds] 2013-04-23T20:39:17 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has joined ##stm32 2013-04-23T20:42:52 -!- UweBonnes [~bon@hertz.ikp.physik.tu-darmstadt.de] has quit [Quit: epic+tkirc2] 2013-04-23T20:51:43 -!- inca [~inca@192.5.110.4] has joined ##stm32 2013-04-23T21:00:43 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Quit: Leaving.] 2013-04-23T21:02:28 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-23T21:11:35 -!- fergusnoble [fergusnobl@repl.esden.net] has quit [Quit: ZNC - http://znc.sourceforge.net] 2013-04-23T21:11:35 -!- esden [esden@repl.esden.net] has quit [Quit: ZNC - http://znc.sourceforge.net] 2013-04-23T21:13:18 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Quit: Quitte] 2013-04-23T21:13:50 -!- fergusnoble [fergusnobl@repl.esden.net] has joined ##stm32 2013-04-23T21:13:57 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-04-23T21:17:23 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-23T21:18:52 -!- esden [esden@repl.esden.net] has joined ##stm32 2013-04-23T21:20:17 -!- MrM0bius [~Joey@194.176.111.29] has quit [Ping timeout: 246 seconds] 2013-04-23T21:20:59 -!- Erlkoenig [~erlkoenig@pptp-212-201-71-225.pptp.stw-bonn.de] has joined ##stm32 2013-04-23T21:26:06 -!- dekar [~dekar@dslb-088-069-159-220.pools.arcor-ip.net] has quit [Ping timeout: 252 seconds] 2013-04-23T21:27:42 -!- Erlkoenig [~erlkoenig@pptp-212-201-71-225.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-23T21:30:54 -!- Erlkoenig [~erlkoenig@pptp-212-201-75-200.pptp.stw-bonn.de] has joined ##stm32 2013-04-23T21:31:00 -!- zetaz [~arno@150.25.114.78.rev.sfr.net] has joined ##stm32 2013-04-23T21:38:00 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 264 seconds] 2013-04-23T21:42:06 -!- phantoxeD [~destroy@a95-92-85-217.cpe.netcabo.pt] has quit [Ping timeout: 264 seconds] 2013-04-23T21:46:41 -!- Ranewen [a135b3e2@gateway/web/freenode/ip.161.53.179.226] has joined ##stm32 2013-04-23T21:49:51 -!- PT_Dreamer [~quassel@109.48.125.77] has joined ##stm32 2013-04-23T22:00:06 -!- daisy99 [~bon@p5DE4433A.dip0.t-ipconnect.de] has joined ##stm32 2013-04-23T22:01:10 -!- claude is now known as Claude 2013-04-23T22:06:39 -!- PT_Dreamer [~quassel@109.48.125.77] has quit [Ping timeout: 252 seconds] 2013-04-23T22:09:38 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has joined ##stm32 2013-04-23T22:10:22 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-23T22:17:17 -!- MrM0bius [~Joey@194.176.111.31] has joined ##stm32 2013-04-23T22:17:26 -!- pelrun [~James@123-243-159-164.static.tpgi.com.au] has quit [Ping timeout: 256 seconds] 2013-04-23T22:17:53 -!- barthess [~barthess@77.67.216.167] has quit [Quit: Leaving.] 2013-04-23T22:20:29 -!- MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-23T22:20:50 -!- dekar [~dekar@212.255.228.15] has joined ##stm32 2013-04-23T22:20:53 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-23T22:25:53 -!- Ranewen [a135b3e2@gateway/web/freenode/ip.161.53.179.226] has quit [Ping timeout: 245 seconds] 2013-04-23T22:26:20 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-23T22:31:00 -!- Mobyfab_ [Mobyfab@2a01:e35:8a10:c580:48b6:581c:10f2:1203] has joined ##stm32 2013-04-23T22:32:04 -!- dekar_ [~dekar@212.255.19.146] has joined ##stm32 2013-04-23T22:32:04 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-04-23T22:33:39 < gsmcmullin> Has anyone tried the semihosting/hostio support in BMP yet? I'd like to merge this to master if it's not giving anyone any trouble. 2013-04-23T22:35:09 < daisy99> Not yet. 2013-04-23T22:35:30 -!- Laurenceb_ [~Laurence@host86-129-128-215.range86-129.btcentralplus.com] has joined ##stm32 2013-04-23T22:35:39 -!- dekar [~dekar@212.255.228.15] has quit [Ping timeout: 268 seconds] 2013-04-23T22:35:48 < daisy99> I still don't understand the concept fully. 2013-04-23T22:36:17 < PaulFertser> daisy99: easy: your firmware on stm32 calls printf/scanf/fopen/etc but operations actually happen on your host PC. 2013-04-23T22:37:36 -!- Laurenceb__ [~Laurence@host81-159-190-220.range81-159.btcentralplus.com] has joined ##stm32 2013-04-23T22:37:57 < PaulFertser> btw, i've tested semihosting with stlink+openocd today, works ok, but it doesn't use gdb HostIO so if OpenOCD would be running on another host a gdb user might get annoyed. 2013-04-23T22:38:29 < daisy99> What happens to the application if the debugger is not present. Will the printf() cause an exception, hang or will silently fail? 2013-04-23T22:38:55 < PaulFertser> daisy99: breakpoint exception WDGG_Handler would get called. 2013-04-23T22:39:48 < PaulFertser> WWDG_IRQHandler 2013-04-23T22:40:09 -!- daisy99 is now known as UweBonnes 2013-04-23T22:40:22 -!- Laurenceb_ [~Laurence@host86-129-128-215.range86-129.btcentralplus.com] has quit [Ping timeout: 258 seconds] 2013-04-23T22:41:09 < Erlkoenig> Watchdog?? o.O 2013-04-23T22:41:32 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 256 seconds] 2013-04-23T22:42:15 < PaulFertser> That's just how the first default handler is called in ST's startup. 2013-04-23T22:43:37 < Erlkoenig> yes so you don't actually get a watchdog interrupt :D 2013-04-23T22:45:24 -!- Claude is now known as claude 2013-04-23T22:47:54 < jpa-> UweBonnes: i like to think it more like an interface to call host IO routines from target 2013-04-23T22:48:28 < jpa-> UweBonnes: like "write 'foobar' to 'stdout' on host" 2013-04-23T22:48:52 < jpa-> so depending on the software on the target, you could represent it as stdout there, or just another way to write debug output 2013-04-23T22:50:54 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Quit: leaving] 2013-04-23T22:51:20 < karlp> is there anything called "hosting" rather than semihosting? 2013-04-23T22:51:29 < gsmcmullin> PaulFertser: I think the way we're doing is better. I prefer to have GDB do as much as possible rather than reinvent GDB parts in the server, and then they go to the wrong place, or whatever. 2013-04-23T22:52:02 < gsmcmullin> karlp: Call it what you will, ARM calls it semihosting, GDB calls it host I/O. 2013-04-23T22:53:06 < karlp> was just curious about the "semi" part :) 2013-04-23T22:53:11 < PaulFertser> gsmcmullin: agreed 2013-04-23T22:53:16 < Laurenceb__> woof woof 2013-04-23T22:59:48 < Thorn> karlp: I guess 'hosting' would be using a simulator 2013-04-23T23:00:41 < UweBonnes> So a program using semihosting for output would _not_ run with the debugger detached? 2013-04-23T23:01:54 < gsmcmullin> UweBonnes: You could handle the debug trap in firmware on the target if you wanted to. 2013-04-23T23:02:18 < gsmcmullin> It would be quite simple to just make it do nothing. 2013-04-23T23:02:18 < Laurenceb__> is this SWD ? 2013-04-23T23:03:06 < karlp> or jtag, this isn't using the swo stuff as I understand it 2013-04-23T23:03:15 < Laurenceb__> i see 2013-04-23T23:03:24 < karlp> bleh, these cp2102 dongles both have the same serial number 2013-04-23T23:03:39 < Laurenceb__> cp2102 pwns 2013-04-23T23:03:54 < Laurenceb__> it can actually run of split rails without frying 2013-04-23T23:04:16 < UweBonnes> But handling the debug trap will need some stack cleanup, probably not for the faint hearted? 2013-04-23T23:04:22 < Laurenceb__> self powered device can fry an FTDI 2013-04-23T23:05:57 < PaulFertser> UweBonnes: it's possible to have two different targets in a Makefile: debug and non-debug for those who doesn't want to do the stack cleanup. 2013-04-23T23:07:14 < PaulFertser> That said, Cortex M-3 Programming Manual doesn't really explain me what "Debug state" exactly means and how one might handle it. 2013-04-23T23:09:23 < PaulFertser> ARMv7M Reference Manual is better, talks about Debug Event, well, ok... 2013-04-23T23:10:27 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-23T23:12:22 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-23T23:15:57 < Thorn> http://www.frantone.com/creampuff-plus.html $499.00. look at the PCBs. 2013-04-23T23:16:35 < gxti> that's how you get that awesome sound 2013-04-23T23:16:59 < Thorn> it's the oxygen free copper? 2013-04-23T23:17:06 < gxti> no, hand-soldered by bearded hippies 2013-04-23T23:17:07 < Thorn> so oxygen is green colored 2013-04-23T23:17:29 -!- MrMobius [~Joey@91.192.66.231] has joined ##stm32 2013-04-23T23:19:53 < Thorn> the hippie is female btw 2013-04-23T23:20:03 < gxti> precisely 2013-04-23T23:20:20 -!- MrM0bius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-23T23:21:29 -!- Mobyfab_ [Mobyfab@2a01:e35:8a10:c580:48b6:581c:10f2:1203] has quit [Quit: Leaving] 2013-04-23T23:22:18 < Thorn> how can you sell something like that and then sleep at night anyway 2013-04-23T23:24:13 < gxti> easily 2013-04-23T23:25:19 < gxti> if someone will pay for it then the price is right 2013-04-23T23:25:51 < gxti> *especially* when it comes to artists 2013-04-23T23:25:56 < Thorn> I mean the expected reliability 2013-04-23T23:28:55 < gxti> it's getting stepped on but it ain't flying to the moon 2013-04-23T23:30:31 -!- zetaz [~arno@150.25.114.78.rev.sfr.net] has left ##stm32 [] 2013-04-23T23:35:47 < ntfreak> PaulFertser: the current OpenOCD semi-hosting implementation was written before gdb host-io was available. we do have a pending patch to add host-io support however. 2013-04-23T23:36:14 < PT_Dreamer> http://www.hobbyking.com/hobbyking/store/__37577__Dension_WiFi_RC_Receiver_System_FPV_for_your_iPhone_iPod_iPad_and_Android.html 2013-04-23T23:36:17 < PT_Dreamer> arm9 on there 2013-04-23T23:41:13 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-04-23T23:41:31 < gsmcmullin> ntfreak: GDB host IO has been around for years. I had a GDB stub using it in about 2007. 2013-04-23T23:48:53 -!- Erlkoenig [~erlkoenig@pptp-212-201-75-200.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-23T23:51:40 < PaulFertser> ntfreak: i can't see it on Gerrit though. 2013-04-23T23:56:01 < ntfreak> gsmcmullin: guess it has been longer than I thought. last time I worked on it there were a few issues between mainline gdb and codesourcery. these seem to be fixed now. 2013-04-23T23:59:43 < gsmcmullin> ntfreak: I've never used codesourcery. I was using FSF GDB, I think 6.7, but memory may fail me. --- Day changed Wed Apr 24 2013 2013-04-24T00:17:44 -!- MrM0bius [~Joey@194.176.111.31] has joined ##stm32 2013-04-24T00:18:01 -!- DaKu is now known as daku 2013-04-24T00:20:32 -!- MrMobius [~Joey@91.192.66.231] has quit [Ping timeout: 246 seconds] 2013-04-24T00:28:34 -!- CRF_Peter [~Peter@dhcp-181232.eduroam.chalmers.se] has quit [Ping timeout: 256 seconds] 2013-04-24T00:34:28 -!- sterna2 [~Adium@dhcp-191166.eduroam.chalmers.se] has quit [Quit: Leaving.] 2013-04-24T00:36:31 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has quit [Ping timeout: 258 seconds] 2013-04-24T00:46:17 -!- resset [~pillot@v194.c2.dhosting.pl] has quit [Ping timeout: 252 seconds] 2013-04-24T00:46:25 -!- resset [~pillot@v194.c2.dhosting.pl] has joined ##stm32 2013-04-24T00:47:21 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-24T00:51:00 -!- ohama [ohama@cicolina.org] has quit [Ping timeout: 256 seconds] 2013-04-24T00:58:18 -!- ohama [ohama@cicolina.org] has joined ##stm32 2013-04-24T01:04:43 < Laurenceb__> does anyone actually sell eMMC 2013-04-24T01:05:36 < zyp> nah, they just give it away 2013-04-24T01:06:27 < Laurenceb__> lol 2013-04-24T01:06:39 < Laurenceb__> can't see anything on digikey etc 2013-04-24T01:07:03 < zyp> hmm, everything at digikey seems to be non-stock 2013-04-24T01:07:13 < Laurenceb__> yeah, same at mouser 2013-04-24T01:07:26 < Laurenceb__> beaglebone seems to have eMMC from somewhere... 2013-04-24T01:08:26 < zyp> sure 2013-04-24T01:09:15 < zyp> but when you are TI you just call up the emmc manufacturers and ask for a quote 2013-04-24T01:10:06 < Laurenceb__> ouch the schematic 2013-04-24T01:10:11 < Laurenceb__> a million NC pinsd 2013-04-24T01:12:27 < zyp> yeah, I remember that from dongs' emmc design 2013-04-24T01:12:48 < zyp> he posted some pics once 2013-04-24T01:13:10 < Laurenceb__> think i wont bother 2013-04-24T01:13:31 < Laurenceb__> MMC holder are a bit annoying... 2013-04-24T01:13:36 < Laurenceb__> but MMC is cheap 2013-04-24T01:13:48 * Laurenceb__ zzz 2013-04-24T01:17:54 -!- UweBonnes [~bon@p5DE4433A.dip0.t-ipconnect.de] has quit [Quit: epic+tkirc2] 2013-04-24T01:17:56 -!- MrMobius [~Joey@194.176.111.137] has joined ##stm32 2013-04-24T01:20:12 -!- Laurenceb__ [~Laurence@host81-159-190-220.range81-159.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-24T01:21:05 -!- MrM0bius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-24T01:34:08 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-24T01:45:57 -!- capacitor [~capacitor@123-243-139-187.tpgi.com.au] has joined ##stm32 2013-04-24T01:48:34 -!- LeelooMinai_ [~leeloo@198-84-185-212.cpe.teksavvy.com] has quit [] 2013-04-24T01:48:54 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has joined ##stm32 2013-04-24T02:06:16 -!- capacitor [~capacitor@123-243-139-187.tpgi.com.au] has left ##stm32 [] 2013-04-24T02:08:01 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-24T02:14:42 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Quit: Ik ga weg] 2013-04-24T02:18:09 -!- MrM0bius [~Joey@194.176.111.31] has joined ##stm32 2013-04-24T02:21:17 -!- MrMobius [~Joey@194.176.111.137] has quit [Ping timeout: 246 seconds] 2013-04-24T02:29:11 * ds2 bangs head on desk 2013-04-24T02:44:32 < emeb> ow 2013-04-24T02:47:09 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has joined ##stm32 2013-04-24T02:55:40 -!- MrM0bius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-24T03:14:54 < ds2> you'd think that if someone is looking at a eval board, they'd be interested in the chips it is showing off 2013-04-24T03:16:22 < emeb> nah - keep 'em all secret. 2013-04-24T03:20:38 -!- MrMobius [~Joey@194.176.111.138] has joined ##stm32 2013-04-24T03:24:23 -!- MrM0bius [~Joey@194.176.111.31] has joined ##stm32 2013-04-24T03:26:44 -!- MrMobius [~Joey@194.176.111.138] has quit [Ping timeout: 246 seconds] 2013-04-24T03:27:05 < ds2> this NFC discovery is interesting 2013-04-24T03:28:53 < karlp> I'm looking forward to hearing your experiences :) 2013-04-24T03:29:22 < ds2> which part? 2013-04-24T03:29:48 < ds2> jellybean seems to be very stingie with powering the NFC port whereas ICS just lets it run 2013-04-24T03:32:59 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-24T03:43:16 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-24T03:49:45 < ds2> NFC energy harvesting is pretty neat 2013-04-24T03:59:15 < R2COM> if SSM=1,SSI=1 shouldnt NSS be pulled up? if its configured as spi master? 2013-04-24T04:13:21 < dongs> whoever asked about ISDB shit before, http://www.broadbandtvnews.com/2010/11/02/dvb-t-far-superior-to-isdb-dvb-t2-beats-them-both/ 2013-04-24T04:14:37 < dongs> karlp i think. 2013-04-24T04:19:17 -!- phantoxeD [~destroy@a95-92-85-217.cpe.netcabo.pt] has joined ##stm32 2013-04-24T04:24:25 -!- MrMobius [~Joey@194.176.111.137] has joined ##stm32 2013-04-24T04:27:38 -!- MrM0bius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-24T04:43:11 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-04-24T04:45:13 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 240 seconds] 2013-04-24T04:48:57 < dongs> are thre any chips that go from ZeroIF to 2.4ghz with 6-8mhz channel bandwidth? 2013-04-24T04:49:10 < dongs> whats wifitrash channel bandwidth? less than 6 right? 2013-04-24T05:06:15 < inca> why are my chibios spi threads not happy 2013-04-24T05:07:18 < inca> hmm… I fed them… watered them… maybe that's where I went wrong 2013-04-24T05:11:55 < GargantuaSauce> it's like 20MHz dongs 2013-04-24T05:11:55 < inca> maybe I don't have NSS 2013-04-24T05:14:11 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Ping timeout: 246 seconds] 2013-04-24T05:24:37 -!- MrM0bius [~Joey@194.176.111.31] has joined ##stm32 2013-04-24T05:25:15 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-24T05:25:23 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Excess Flood] 2013-04-24T05:27:29 -!- MrMobius [~Joey@194.176.111.137] has quit [Ping timeout: 246 seconds] 2013-04-24T05:30:15 < qyx_> dongs: b 5MHz, g 20MHz, 2013-04-24T05:30:34 < GargantuaSauce> n is up to 40 i think 2013-04-24T05:30:39 < qyx_> yep 2013-04-24T05:31:01 < qyx_> also turbo a/g could be 40MHz, it is chipset dependent 2013-04-24T05:31:06 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-24T05:31:23 < GargantuaSauce> if you find a viable sdr solution that can do wifi tell me because i will be all over that shit 2013-04-24T05:33:24 < dongs> no i only need 8mhz 2013-04-24T05:34:31 < GargantuaSauce> oh you were wondering about appropriating wifi hardware 2013-04-24T05:34:35 < dongs> yes 2013-04-24T05:34:55 < dongs> teh radio part specifically 2013-04-24T05:35:03 < dongs> i already have something that outputs baseband/iq stuff 2013-04-24T05:35:14 < dongs> so it cant have any wifi-specific smarts 2013-04-24T05:56:21 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-24T06:04:47 -!- BJfreeman [~bjfree@197.sub-75-233-84.myvzw.com] has quit [Quit: had a good time] 2013-04-24T06:07:48 < R2COM> strange 2013-04-24T06:07:53 < R2COM> SSOE=1 2013-04-24T06:07:59 < R2COM> in amster config 2013-04-24T06:08:06 < R2COM> but NSS is still not pulled up 2013-04-24T06:08:17 < R2COM> tried with configuration with SSM=1,SSI=1 as well 2013-04-24T06:08:23 < R2COM> NSS pin is just always low 2013-04-24T06:08:44 < R2COM> (however, if hooked to a scope, i can see proper SCK toggling and proper byte appearing on MOSI pin) 2013-04-24T06:10:22 < dongs> um 2013-04-24T06:10:27 < dongs> in master mode NSS doesnt do shit 2013-04-24T06:10:30 < dongs> what are yo uexpecting? 2013-04-24T06:10:46 < dongs> all NSS stuff is *only* for slave mode as far as im remembering 2013-04-24T06:11:05 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-24T06:11:24 < dongs> what exactly do you expect NSS to do in master anyway? 2013-04-24T06:11:33 < dongs> you can just gpio it and use it as chipselect for one of devices. 2013-04-24T06:14:04 < inca> dongs: yeah, I think I am making this more complex than it needs to be 2013-04-24T06:14:21 < inca> oh wait 2013-04-24T06:14:55 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-24T06:14:55 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-24T06:14:55 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-24T06:16:20 < R2COM> I am expecting it to be always high, and automatically go low during transmission of data to some slave (my stm32 is master) 2013-04-24T06:16:27 < dongs> um 2013-04-24T06:16:30 < dongs> no, it wont do that. 2013-04-24T06:16:35 < R2COM> hmmm 2013-04-24T06:16:46 < dongs> that doesnt even make sense 2013-04-24T06:16:50 < dongs> if you have more than one spi device 2013-04-24T06:16:57 < dongs> how doyyou suppose which cs should go low? 2013-04-24T06:17:08 < dongs> just set it as gpio and toggle it yourself 2013-04-24T06:17:08 < R2COM> right now question is not how many i have, lets say i have one device 2013-04-24T06:18:05 < gxti> and more importantly how does it know when to release it 2013-04-24T06:18:13 < R2COM> I'm trying to figure out how to make it so that i dont have to toggle myself 2013-04-24T06:18:29 < dongs> you DO have to toggle yourself 2013-04-24T06:18:32 < gxti> some microchip parts have a 'framed spi' mode where it drives low around each byte but that's not for standard spi 2013-04-24T06:19:11 < dongs> R2COM: every spi master i did, i toggle it manually as regular GPIO 2013-04-24T06:20:37 -!- Tectu [tectu@irc.ipv6.kunsmann.eu] has quit [Ping timeout: 264 seconds] 2013-04-24T06:20:58 < R2COM> yeah but then what would be the point of having that SSOE there!! 2013-04-24T06:21:36 < R2COM> gxti: it is actually a "standard"... 2013-04-24T06:22:12 < gxti> it might be *a* standard but it's not "standard spi" as in the protocol required for things that just say "spi" on them 2013-04-24T06:22:32 < gxti> normal stuff requires cs to stay low for the entire transaction 2013-04-24T06:22:34 < R2COM> yes but then what is purpose of SSOE ? 2013-04-24T06:22:40 -!- baird [~cjb@ppp121-44-243-128.lns20.syd7.internode.on.net] has joined ##stm32 2013-04-24T06:22:43 < gxti> reading 2013-04-24T06:23:26 < R2COM> some parts actually have also SSOE thingy, and that shit does exactly what I described (pull SS pin low during transmission, and pull it high when its over) 2013-04-24T06:23:39 < GargantuaSauce> NSS output enabled (SSM = 0, SSOE = 1) 2013-04-24T06:23:39 < GargantuaSauce> This configuration is used only when the device operates in master mode. The 2013-04-24T06:23:39 < GargantuaSauce> NSS signal is driven low when the master starts the communication and is kept 2013-04-24T06:23:39 < GargantuaSauce> low until the SPI is disabled. 2013-04-24T06:24:53 -!- MrMobius [~Joey@91.192.66.231] has joined ##stm32 2013-04-24T06:24:54 < R2COM> in that case... it looks like I have to enable/disable SPI before each time I want to transmit 2013-04-24T06:25:15 < GargantuaSauce> or just toggle it as a gpio 2013-04-24T06:25:21 < gxti> it's unlikely to save you the 4 cycles necessary to bang it 2013-04-24T06:25:32 < R2COM> I hate to toggle shit when theres a way to do it in automated way 2013-04-24T06:25:32 < gxti> or however many it takes 2013-04-24T06:25:43 < GargantuaSauce> write a damn function 2013-04-24T06:25:47 < gxti> well if such a feature exists, you would have to tell it how big your transaction is 2013-04-24T06:25:49 < GargantuaSauce> then call the function 2013-04-24T06:25:52 < gxti> because it can't just guess 2013-04-24T06:26:44 -!- Tectu [tectu@irc.ipv6.kunsmann.eu] has joined ##stm32 2013-04-24T06:26:57 < gxti> so i don't know what exactly you would consider a win there 2013-04-24T06:27:21 < GargantuaSauce> nobody wins in software development 2013-04-24T06:27:25 < dongs> R2COM: what would you describe as "transmission" 2013-04-24T06:27:29 < R2COM> so basically it would be something like: have a function, when function is called it sets SPE=1, then sends the shit, then checks if spi peripheral is not busy, then finishes, sets SPE=0, exists, then NSS should be pulled high 2013-04-24T06:27:32 < dongs> SPI has no "length" register 2013-04-24T06:27:41 -!- MrM0bius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-24T06:27:43 < dongs> so how would it even know when to pull master low/high 2013-04-24T06:27:49 < dongs> YOU determine the framing 2013-04-24T06:27:49 < R2COM> in general I would described it as byte send 2013-04-24T06:27:54 < dongs> i wouldnt 2013-04-24T06:28:05 < dongs> i have used devices that need like 3 bytes written to the m 2013-04-24T06:28:09 < dongs> in a single CS 2013-04-24T06:28:11 < dongs> or else they dont work 2013-04-24T06:28:16 < gxti> i've done a few spi things and none were byte-sized (hurr) 2013-04-24T06:28:19 < dongs> i.e. if you cs byte cs byte cs byte etc. 2013-04-24T06:28:26 < dongs> it will not work 2013-04-24T06:28:30 < dongs> has to be cs byte byte byte cs 2013-04-24T06:28:41 < R2COM> yes it all depends on slave chips afterall 2013-04-24T06:28:49 < dongs> right, so you have no way to configure this 2013-04-24T06:28:49 < dongs> on master 2013-04-24T06:29:23 < dongs> i mean IF you used DMA 2013-04-24T06:29:31 < dongs> and IF spi had some way to check DMA buffer size etc.. 2013-04-24T06:29:35 < dongs> but thats way too specific 2013-04-24T06:29:47 < dongs> so tl;dr version: set it as gpio and toggle as needed 2013-04-24T06:30:10 < dongs> all NSS settings refer to slave mode 2013-04-24T06:30:21 < dongs> at least all the ones i ever looked at 2013-04-24T06:31:01 < gxti> looks like it's for some multi-master scenario 2013-04-24T06:31:10 < gxti> which doesn't make a lot of sense but whatever 2013-04-24T06:32:53 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-04-24T06:34:09 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-04-24T06:38:02 < R2COM> and by the way 2013-04-24T06:38:12 < R2COM> hm 2013-04-24T06:39:56 < R2COM> ok 2013-04-24T06:39:59 < R2COM> by the way 2013-04-24T06:40:22 < R2COM> when SSM=0,SSOE=1, there is no transaction, it does not work UNLESS i hook up vdd wire to NSS pin 2013-04-24T06:40:43 < GargantuaSauce> are you saying the reference manual is lying 2013-04-24T06:41:01 < GargantuaSauce> or do you have it configured in slave mode or some shit 2013-04-24T06:41:01 < R2COM> I am saying what I observe right now from my test 2013-04-24T06:41:07 < R2COM> no 2013-04-24T06:41:08 < R2COM> MSTR=1 2013-04-24T06:41:17 < R2COM> SSM=0,SSI=0 2013-04-24T06:41:18 < R2COM> SSOE=1 2013-04-24T06:41:31 < R2COM> and I sending a byte out 2013-04-24T06:41:41 < R2COM> and i cant see shit on MOSI/SCK on scope 2013-04-24T06:41:54 < R2COM> but.. when in similar configuration, i pull vdd wire to NSS pin, i can see it 2013-04-24T06:43:32 < R2COM> and in that case i dont see nss pulled low of course. 2013-04-24T06:43:54 < R2COM> so just basically saying that your setup you showed is not a "solution" 2013-04-24T06:44:26 < GargantuaSauce> all i did was paste the manual 2013-04-24T06:44:33 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-24T06:44:38 < GargantuaSauce> my real suggestion is fuck that and toggle it as a gpio 2013-04-24T06:44:42 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-24T06:44:47 < gxti> ^ 2013-04-24T06:44:59 < GargantuaSauce> because that is what everyone in here including myself has had success with 2013-04-24T06:45:09 < gxti> you have now spent more time thinking about this than the cumulative cycle savings from a nonexistent solution to this non-problem 2013-04-24T06:53:41 < upgrdman> anyone here heard of the lab pro-51 mcu dev board? next semester im taking a class on assembly, and im told its the board we will use. a damn 8051 board, and they want over $100 for it. 2013-04-24T06:56:51 < GargantuaSauce> i'd be more inclined to complain that they're using 8051 to teach assembly 2013-04-24T07:07:25 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-24T07:10:04 < ds2> 8051's are not dead 2013-04-24T07:10:21 < ds2> PSoC3's are 8051, Silab makes them by the ton, STM8's are 8051s 2013-04-24T07:10:58 < GargantuaSauce> no they're not dead they're astonishingly pervasive 2013-04-24T07:11:17 < GargantuaSauce> pretty sure they're actually the most popular ipcore 2013-04-24T07:11:36 < dongs> STM8s are NOT 80512. 2013-04-24T07:11:43 < dongs> STM8 is ST7 or someshit core 2013-04-24T07:11:48 < ds2> really? 2013-04-24T07:11:48 < dongs> nothing to do with 8051 at all 2013-04-24T07:11:50 < dongs> yes 2013-04-24T07:11:55 < ds2> what is the 8051 core ST has? 2013-04-24T07:12:05 < dongs> not sure, but STM8 isn't it. 2013-04-24T07:12:19 < ds2> ok 2013-04-24T07:12:31 < ds2> but 8051's seems to show up in FPGAs a lot 2013-04-24T07:14:24 < dongs> http://www.keil.com/dd/chips/STMicroelectronics/8051.htm 2013-04-24T07:14:36 < dongs> looks liek some crap they maybe bought off NEC? 2013-04-24T07:14:43 < dongs> it doesnt look they have any current stuff withi t though 2013-04-24T07:15:29 < ds2> oh 2013-04-24T07:16:16 < GargantuaSauce> i think i have some cypress usb peripherals kicking around that are 8051 based 2013-04-24T07:16:23 < dongs> yes the FX1/FX2 2013-04-24T07:16:24 < GargantuaSauce> all sorts of random crap uses it 2013-04-24T07:16:30 < dongs> FX3 switched to arm9 though 2013-04-24T07:17:14 < GargantuaSauce> anyway i'd say from a PEDAGOGICAL standpoint it'd make more sense to use something more modern and von neumann 2013-04-24T07:17:48 < ds2> isn't the FX2's 68K? 2013-04-24T07:18:18 < dongs> hell no 2013-04-24T07:18:22 < dongs> ezusb fx2? 2013-04-24T07:18:23 < dongs> its 8051 2013-04-24T07:18:37 < dongs> with external memory interface (on 100pin chip) 2013-04-24T07:18:53 < dongs> runs at 48mhz if i rmeember 2013-04-24T07:19:05 < GargantuaSauce> nordic's SoC stuff is also 2013-04-24T07:19:55 < ds2> they had a USB thing that is 68K. it did USB 2.0 HS 2013-04-24T07:20:10 < dongs> fx2 is usb 2.0 hs. 2013-04-24T07:20:13 < dongs> never heard of one wiht 68k in it 2013-04-24T07:20:18 < dongs> you mightbe thinking freescale 2013-04-24T07:20:30 < dongs> that would make more sense since htey own 68k IP now 2013-04-24T07:20:32 < dongs> from whoever 2013-04-24T07:20:52 < ds2> no, I had someone ask me to quote a project for it 2013-04-24T07:21:10 < ds2> this was years ago 2013-04-24T07:24:32 < dongs> i can only imagine youre confusing the CY7C68013 (part number for 8051 EZ-USB FX2) with the fact that it has 68 in teh name 2013-04-24T07:25:06 -!- MrM0bius [~Joey@91.192.66.231] has joined ##stm32 2013-04-24T07:25:07 < dongs> i used cypress shit back wehn they were called anchorchips 2013-04-24T07:25:14 < dongs> and it never had a 68k proc in them 2013-04-24T07:27:53 -!- MrMobius [~Joey@91.192.66.231] has quit [Ping timeout: 246 seconds] 2013-04-24T07:39:54 -!- R2COM1 [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-24T07:43:07 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 264 seconds] 2013-04-24T08:14:57 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-24T08:26:04 -!- MrMobius [~Joey@91.192.66.231] has joined ##stm32 2013-04-24T08:26:19 < baird> Yet Another Cortex smallboard... http://au.element14.com/cypress-semiconductor/cy8ckit-042/cy8c42-psoc-4-pioneer-kit-eval/dp/2311054 2013-04-24T08:28:26 -!- MrM0bius [~Joey@91.192.66.231] has quit [Ping timeout: 246 seconds] 2013-04-24T08:29:03 < ds2> that's a M0 2013-04-24T08:29:05 < ds2> how much is that? 2013-04-24T08:30:49 < ds2> is that site in AU$ or US$? 2013-04-24T08:31:02 < baird> $32.. but with moar Arduino headers. 2013-04-24T08:31:24 < baird> AUD, which is almost the same exchage at the moment. 2013-04-24T08:31:29 < ds2> Ohhhh 2013-04-24T08:31:41 < ds2> I am tempted 2013-04-24T08:32:56 < ds2> n/m... preorder 2013-04-24T08:33:01 < baird> E14 have finally got the RPi.A in Australia. I'm going through and selling what else I want to hoard. 2013-04-24T08:33:11 < baird> *and buying 2013-04-24T08:40:00 -!- R2COM1 is now known as R2COm 2013-04-24T08:40:07 -!- R2COm is now known as R2COM 2013-04-24T08:47:28 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-24T08:58:49 < R2COM> by the way 2013-04-24T08:59:36 < R2COM> reason I was messing around with that NSS pin today was the fact that some chip I am planning to work with, I think requires its slave select pin going UP right after transfer 2013-04-24T08:59:52 < R2COM> and some people here said, "just use GPIO" 2013-04-24T08:59:53 < R2COM> well 2013-04-24T09:00:18 < R2COM> sure, but with gpio it would be I imagine a bit hard to control exact amount of time at which i need to pull it out 2013-04-24T09:00:24 < R2COM> s/out/up 2013-04-24T09:00:40 < R2COM> because, lets say I put some byte in SPI DR register... 2013-04-24T09:01:03 < R2COM> I am not much in control of when exactly it would be shifted out 2013-04-24T09:01:08 < jpa-> are you sure it requires that? 2013-04-24T09:01:15 < R2COM> let me show something 2013-04-24T09:02:33 < R2COM> http://i.imgur.com/EV9flrf.jpg 2013-04-24T09:02:42 < R2COM> LE *is* like slave select 2013-04-24T09:02:56 < R2COM> that chip planned to be a slave, and my stm32 a master 2013-04-24T09:03:02 < jpa-> but those are just minimum times 2013-04-24T09:03:06 < jpa-> there are no maximum times 2013-04-24T09:03:51 < R2COM> in my understanding it was: if t7 has minimum value, then it might not be acceptable that t7 never occurs (i.e. its always/or during very long time LOW after transfer) 2013-04-24T09:04:11 < jpa-> you can wait in a while loop on TXE = 1 && BSY = 0 and then do the toggling of the GPIO 2013-04-24T09:04:53 < R2COM> but what about time between: loop broken--------GPIO asserted 2013-04-24T09:05:06 < R2COM> t6 2013-04-24T09:05:11 < R2COM> and well no constraint on it... 2013-04-24T09:05:22 < R2COM> so it might work then 2013-04-24T09:05:31 < jpa-> as long as it is 10 nanoseconds minimum, it will work 2013-04-24T09:05:32 < R2COM> (i mean no max constraint on it) 2013-04-24T09:05:56 < R2COM> I mean, minimum... but if I do it later..it looks like not a problem 2013-04-24T09:07:48 < R2COM> so... before starting transfer just pull GPIO low... then TXE check, pull up, and even if it happens later, should be no problem 2013-04-24T09:08:08 < jpa-> remember to check both TXE and BSY 2013-04-24T09:08:17 < R2COM> damnit but I am still not kind of satisfied! I cannot believe that this SSOE in stm32 is for no purpose! 2013-04-24T09:08:38 < R2COM> I mean isnt there really a way to get this pull-low-during-transmit shit being done automatically? 2013-04-24T09:08:45 < R2COM> I know I can do GPIO 2013-04-24T09:08:48 < jpa-> you can put the wire on the NSS pin so that you can try out the NSS and tear your hair out 2013-04-24T09:08:52 < R2COM> but just for curiosity 2013-04-24T09:09:08 < R2COM> why tear hair out 2013-04-24T09:09:26 < R2COM> I tried wire-to-NSS already, it did not work 2013-04-24T09:09:28 < jpa-> one problem with NSS is to how to get it to switch in proper places when doing multi-byte transfers 2013-04-24T09:09:47 < R2COM> multi, or even single 2013-04-24T09:09:48 < R2COM> right? 2013-04-24T09:09:54 < jpa-> the NSS is more for slave mode anyway 2013-04-24T09:10:04 < R2COM> hmmmmmm 2013-04-24T09:25:50 -!- MrM0bius [~Joey@194.176.111.31] has joined ##stm32 2013-04-24T09:28:17 -!- MrMobius [~Joey@91.192.66.231] has quit [Ping timeout: 246 seconds] 2013-04-24T09:44:03 < R2COM> checked it 2013-04-24T09:44:08 < R2COM> so if i check TXE and BSY 2013-04-24T09:44:19 < R2COM> and after that pull SS with GPIO up 2013-04-24T09:44:39 < R2COM> on scope I see it goes up right on the first byte transmitted... not AFTER last 2013-04-24T09:44:40 < R2COM> lol 2013-04-24T09:44:43 < R2COM> i.e. too fast 2013-04-24T09:45:15 < R2COM> I'll have to adjust it to make it work right.... and that was a reason I was looking for a possible smarter automatic handling of such shit 2013-04-24T09:45:27 < R2COM> screw that GPIO gang banging shit 2013-04-24T09:48:58 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-04-24T09:59:42 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-24T10:04:39 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-24T10:04:41 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-24T10:05:19 -!- PaulFertser [paul@2001:470:26:54b:250:70ff:fee7:41ec] has quit [Ping timeout: 264 seconds] 2013-04-24T10:05:39 -!- PaulFertser [paul@2001:470:26:54b:250:70ff:fee7:41ec] has joined ##stm32 2013-04-24T10:10:04 -!- sterna1 [~Adium@dhcp-176254.eduroam.chalmers.se] has joined ##stm32 2013-04-24T10:18:32 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2013-04-24T10:18:58 < Thorn> R2COM: how are you checking TXE and BSY? while(!TXE || BSY) ;; ? 2013-04-24T10:20:01 < R2COM> yes 2013-04-24T10:20:06 < R2COM> something like that 2013-04-24T10:20:20 < Thorn> || or &&? 2013-04-24T10:20:41 < R2COM> well TXE=1 means empty, BSY=1 means busy, so i check them appropriately 2013-04-24T10:20:54 < zyp> why not just wait for RXNE? 2013-04-24T10:21:04 < R2COM> I am not receiving anything 2013-04-24T10:21:29 < zyp> of course you are, SPI is always receiving while sending 2013-04-24T10:21:45 < R2COM> that thing, yes 2013-04-24T10:22:19 < dongs> R2COM: whaaaaaaaaaat 2013-04-24T10:22:24 < zyp> and you haven't received anything until you have sent anything, so waiting for RXNE to see when sending is finished makes sense 2013-04-24T10:22:30 < dongs> R2COM: SS going low timing doesnt matter as long as its before spi clock/send starts 2013-04-24T10:22:50 < dongs> < R2COM> on scope I see it goes up right on the first byte transmitted... not AFTER last 2013-04-24T10:22:52 < dongs> oh i see 2013-04-24T10:22:56 < dongs> youre failing because you arent waiting for end of transfer 2013-04-24T10:23:47 < Thorn> I had that problem too. made for a fun 7-seg display 2013-04-24T10:24:37 < jpa-> maybe there was some fun stuff about BSY 2013-04-24T10:24:51 < jpa-> RXNE may work better indeed, but make sure that you read DR to clear it then 2013-04-24T10:25:02 < Thorn> solved it by waiting for RXNE, receiving data, then waiting for BSY to clear 2013-04-24T10:25:42 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-24T10:29:11 -!- MrM0bius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-24T10:37:29 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-24T10:40:24 -!- esden [esden@repl.esden.net] has quit [Ping timeout: 264 seconds] 2013-04-24T10:41:04 < R2COM> ok it worked that way 2013-04-24T10:41:22 < R2COM> wait for RXNE, then read DR, then check BSY, then pull GPIO NSS pin UP 2013-04-24T10:42:27 -!- esden [esden@repl.esden.net] has joined ##stm32 2013-04-24T10:42:41 < R2COM> it pulls up after approximately 430ns after SCK pulls and stays up. 2013-04-24T10:42:48 < R2COM> so that works I guess. 2013-04-24T10:43:15 < R2COM> but I still would like that shit to happen automatically like I described before 2013-04-24T10:44:01 < jpa-> sure you would 2013-04-24T10:44:12 < jpa-> you could maybe do it in the SPI RX interrupt 2013-04-24T10:44:54 < Thorn> cyclone V with a hard ARM core + your own SPI IP 2013-04-24T10:45:13 < jpa-> dma bitbang! 2013-04-24T10:45:28 < jpa-> oh oh i know 2013-04-24T10:45:42 < jpa-> SPI RX channel triggering DMA to write BSRR to set the GPIO! 2013-04-24T10:46:19 < jpa-> or if you need the clear also, it could write CR1 to start a one-short timer that will set and clear the GPIO! 2013-04-24T10:46:48 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-04-24T10:47:11 < dongs> lol 2013-04-24T10:47:29 < R2COM> nah 2013-04-24T10:47:39 < R2COM> but I'll have probably cpld to multiplex 16 spi's 2013-04-24T10:47:45 < R2COM> +buffers too 2013-04-24T10:47:54 < dongs> doing clear in SPI DMA TX interrupt sounds good 2013-04-24T10:48:03 < dongs> and you can low right before writing 2013-04-24T10:48:07 < dongs> then its more or less auto 2013-04-24T10:48:16 < dongs> no busywaiting involved. 2013-04-24T10:48:47 < R2COM> still some sort of waiting involved I guess because of itnerrupts 2013-04-24T10:48:56 < R2COM> "effective" waiting 2013-04-24T10:49:04 < dongs> ? 2013-04-24T10:49:05 < dongs> no 2013-04-24T10:49:19 < jpa-> well overhead, sure 2013-04-24T10:49:20 < dongs> dma txe will trigger when its done 2013-04-24T10:49:34 < dongs> it might actually trigger early 2013-04-24T10:49:36 < dongs> i dont know 2013-04-24T10:49:38 < jpa-> 24 cycles per interrupt or something 2013-04-24T10:49:43 < dongs> yea, omg 2013-04-24T10:49:56 < jpa-> but if you do it with DMA, you get rid of even that 2013-04-24T10:50:03 < jpa-> (directly, not with interrupt) 2013-04-24T10:50:04 < R2COM> takes less cycles for whole shift register to pass all data probably 2013-04-24T10:50:26 < R2COM> ok 2013-04-24T10:50:49 < jpa-> but what are you going to do in the meanwhile anyway? 2013-04-24T10:51:16 < jpa-> context switch takes upwards of 100 cycles, so if you are doing small transfers there is no time for you to do anything else inbetween 2013-04-24T10:52:07 < R2COM> exactly 2013-04-24T10:53:42 < jpa-> so are you really that tight on time? 2013-04-24T10:54:13 < R2COM> not actually 2013-04-24T10:54:41 < R2COM> just wanted more nice solution, what i have so far works well for what I want 2013-04-24T10:54:58 < jpa-> a simple solution *is* a nice solution 2013-04-24T10:55:06 < R2COM> yes 2013-04-24T11:21:24 -!- pelrun [~James@203-206-187-234.perm.iinet.net.au] has joined ##stm32 2013-04-24T11:25:28 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Quit: Leaving] 2013-04-24T11:26:02 -!- MrM0bius [~Joey@91.192.66.231] has joined ##stm32 2013-04-24T11:29:02 -!- MrMobius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-24T11:31:55 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-04-24T11:44:25 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-24T11:50:15 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Read error: Connection reset by peer] 2013-04-24T11:50:35 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-04-24T12:04:31 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-04-24T12:09:15 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-24T12:26:11 -!- MrMobius [~Joey@194.176.111.136] has joined ##stm32 2013-04-24T12:29:13 -!- MrM0bius [~Joey@91.192.66.231] has quit [Ping timeout: 246 seconds] 2013-04-24T12:31:48 < zyp> hmm, I wonder what the best way to handle a bunch of switches split across multiple boards will be 2013-04-24T12:32:04 < zyp> like 25 boards with up to four switches each 2013-04-24T12:34:59 -!- Laurenceb__ [~Laurence@host81-159-190-220.range81-159.btcentralplus.com] has joined ##stm32 2013-04-24T12:35:49 < zyp> I2C will probably be too slow, a shift register may work, but I'm not sure how well fanning out clock and latch to 25 chips will work 2013-04-24T12:36:15 < zyp> hmm 2013-04-24T12:37:18 < zyp> or since the boards will be mounted in a 5x5 fashion, doing a traditional key scan matrix like either 10x10 or 20x5 could work 2013-04-24T12:38:32 < baird> It's in pre-order atm, but the "$55" Beaglebone board is listed too. 2013-04-24T12:39:07 < baird> They're the mob whose market of $100-$150 Linuxable boards collapsed when the RPi came out. :) 2013-04-24T12:42:06 < zyp> jpa- mentioned it yesterday 2013-04-24T12:42:42 < baird> D'oh. Mischanneled that. 2013-04-24T13:02:38 -!- Laurenceb__ [~Laurence@host81-159-190-220.range81-159.btcentralplus.com] has quit [Ping timeout: 245 seconds] 2013-04-24T13:25:49 < Thorn> "For example, if I physically put my Arduino boards in a waterproof package and in the pouring rain, will those Arduino boards have some EM noises?" http://electronics.stackexchange.com/questions/66787/how-strong-are-the-arduino-boards-relating-to-interference-robustness 2013-04-24T13:26:08 < Thorn> is there some physical mechanism I'm not aware of? 2013-04-24T13:26:24 -!- MrM0bius [~Joey@91.192.66.232] has joined ##stm32 2013-04-24T13:29:26 -!- MrMobius [~Joey@194.176.111.136] has quit [Ping timeout: 246 seconds] 2013-04-24T13:34:24 < dongs> arduino boards 2013-04-24T13:34:26 < dongs> yessssssssssssss 2013-04-24T13:38:17 < zyp> fucking C 2013-04-24T13:38:20 < zyp> error: initializer element is not constant 2013-04-24T13:38:32 < zyp> it's a fucking const int, how is it any less constant than a literal? 2013-04-24T13:39:15 < Thorn> as in const int a = 3; int b = a; ? 2013-04-24T13:40:02 < zyp> yes, except that b is a struct which takes a as initializer for one of the elements 2013-04-24T13:41:53 < zyp> I guess this bullshit is the reason C developers like using macros for constants 2013-04-24T13:43:28 < zyp> actually, even assigning it to an int like that breaks it 2013-04-24T13:44:02 < jpa-> zyp: I2C too slow for a 100 switches? 2013-04-24T13:46:41 < zyp> hmm 2013-04-24T13:47:15 < zyp> jpa-, I need low latency 2013-04-24T13:47:21 < jpa-> how low? 2013-04-24T13:47:53 < zyp> HID-device-low 2013-04-24T13:48:07 < jpa-> so 10ms should be ok? 2013-04-24T13:49:12 < zyp> preferably I'd like to keep it below 1ms, so it can run at full FS speed 2013-04-24T13:50:16 < zyp> anyway, I figure a 10x10 scan matrix will do just fine 2013-04-24T13:50:34 < zyp> with diodes so multiple buttons can be detected at once 2013-04-24T13:50:59 < jpa-> a bit annoying to wire it maybe 2013-04-24T13:51:48 < zyp> not really, the boards will sit in a 5x5 matrix 2013-04-24T13:52:00 < Thorn> debouncing will add >1ms anyway 2013-04-24T13:52:09 < zyp> so I'll just run two wires per row and two wires per col 2013-04-24T13:52:30 < dongs> wu 2013-04-24T13:52:33 < dongs> zyp, paste code 2013-04-24T13:52:46 < jpa-> code for what? :D 2013-04-24T13:52:54 < zyp> dongs, see the one Thorn mentioned 2013-04-24T13:52:57 < dongs> are you talki nabout faggot shit like int fag = 5; char foo[fag];? 2013-04-24T13:52:59 < jpa-> ah, const int 2013-04-24T13:53:07 < zyp> no 2013-04-24T13:53:09 < jpa-> zyp: i assume this is in global context 2013-04-24T13:53:14 < zyp> jpa-, yes 2013-04-24T13:53:17 < jpa-> indeed. 2013-04-24T13:53:34 < zyp> in C++ it's perfectly fine 2013-04-24T13:53:45 < jpa-> that's just the way it works.. not sure why, but C++ is different in this respect 2013-04-24T13:53:48 < Thorn> dongs: that shit is in c99 and c++14 iinm. 2013-04-24T13:54:03 < dongs> c++ is for lazy faggots 2013-04-24T13:54:09 < dongs> who dont wanna declare vars at start of scope 2013-04-24T13:54:13 < zyp> I tried C99, still not allowed 2013-04-24T13:54:19 < Thorn> assembly ftw 2013-04-24T13:54:27 < jpa-> dongs: this is global scope 2013-04-24T13:54:34 < zyp> dongs, well, I'm lazy 2013-04-24T13:54:38 < dongs> just sayin 2013-04-24T13:54:43 < dongs> so your avrturd32 is C? 2013-04-24T13:54:47 < zyp> yes 2013-04-24T13:55:23 < dongs> ^^ 2013-04-24T14:06:36 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-24T14:06:39 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-24T14:08:15 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-24T14:11:00 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 264 seconds] 2013-04-24T14:21:38 < Thorn> I've been waiting for something like this http://electronics.stackexchange.com/questions/66785/what-there-was-before-arduino 2013-04-24T14:21:58 < karlp> I know I'm late to the party, but fuck that NSS pin right off if you're normal master. only seems to be for multimaster shit and being a slave 2013-04-24T14:22:08 < karlp> gpio ftw, as everyone else said 2013-04-24T14:26:37 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-24T14:29:38 -!- MrM0bius [~Joey@91.192.66.232] has quit [Ping timeout: 246 seconds] 2013-04-24T14:30:44 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Read error: Connection reset by peer] 2013-04-24T14:40:57 -!- pelrun [~James@203-206-187-234.perm.iinet.net.au] has quit [Ping timeout: 252 seconds] 2013-04-24T14:48:11 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 260 seconds] 2013-04-24T14:48:59 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-24T14:54:51 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-24T14:54:54 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-24T14:56:37 < Laurenceb> wtf 'murica 2013-04-24T14:56:53 < Laurenceb> they want me to work from 8am to 6pm 2013-04-24T14:57:30 <+Steffanx> 'they' ? 2013-04-24T14:57:47 < Laurenceb> ill be doing some work over there soon... 2013-04-24T14:58:02 <+Steffanx> you wont get your greencard 2013-04-24T14:58:04 < Laurenceb> working hours: 8am to 6pm O_o 2013-04-24T14:58:21 <+Steffanx> modern slavery .. 2013-04-24T14:58:37 < baird> Complain to the Uni-- oh, America. :P 2013-04-24T15:05:01 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 2013-04-24T15:05:15 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-24T15:10:07 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 260 seconds] 2013-04-24T15:10:27 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-24T15:15:11 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 255 seconds] 2013-04-24T15:15:41 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-24T15:16:46 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-24T15:26:57 -!- MrM0bius [~Joey@194.176.111.136] has joined ##stm32 2013-04-24T15:29:50 -!- MrMobius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-24T15:31:59 -!- CRF_Peter [~Peter@dhcp-184210.eduroam.chalmers.se] has joined ##stm32 2013-04-24T15:35:08 < Tectu> doing .gif now: http://chibios-gfx.com/blog 2013-04-24T15:36:50 <+Steffanx> you made that Tectu ? 2013-04-24T15:36:55 <+Steffanx> *wrote 2013-04-24T15:37:07 < Tectu> the crappy blog post? yes, on my smartphone 2013-04-24T15:37:11 < Tectu> too much crap? 2013-04-24T15:37:12 <+Steffanx> the code 2013-04-24T15:37:22 < Tectu> read the god damn blog post 2013-04-24T15:37:30 < Tectu> especially the second paragraph 2013-04-24T15:37:41 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 255 seconds] 2013-04-24T15:37:43 <+Steffanx> oh lol 2013-04-24T15:37:57 <+Steffanx> but WHY his name isnt in the file itself? 2013-04-24T15:38:18 < Tectu> currently I'm the only copyright holder 2013-04-24T15:38:32 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-24T15:38:54 <+Steffanx> So all the codes belongs to Tectu D: 2013-04-24T15:39:50 < Tectu> like all the monies in real life 2013-04-24T15:39:56 < Tectu> you're all slaves of the swiss banks 2013-04-24T15:40:00 < Tectu> muahahahaha 2013-04-24T15:42:26 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-04-24T15:47:07 <+Steffanx> It's something i would atleast expect Tectu .. my name in the copyright part of tha file :P 2013-04-24T15:47:11 <+Steffanx> ( when i write something ) 2013-04-24T15:47:34 < Tectu> Steffanx, totally understanding 2013-04-24T15:47:39 < Tectu> Steffanx, it was an agreement between him and me 2013-04-24T15:47:46 <+Steffanx> You get paid for that lib?! 2013-04-24T15:47:53 < Tectu> have to go afk 2013-04-24T15:47:57 < Tectu> later 2013-04-24T15:48:53 < Tectu> hmm.. the 3.5mm jack on the F4 discovery boards seems to be shielded. is that correct? 2013-04-24T15:49:11 <+Steffanx> Ask again when you're back :P 2013-04-24T15:49:23 < Tectu> lol 2013-04-24T15:49:28 < Tectu> well payed sir, well played 2013-04-24T15:49:57 < Tectu> played* >.< 2013-04-24T15:54:09 -!- dekar_ [~dekar@212.255.19.146] has quit [Quit: This computer has gone to sleep] 2013-04-24T15:55:20 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has joined ##stm32 2013-04-24T16:03:26 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 252 seconds] 2013-04-24T16:08:00 < Laurenceb> but... does it have frame tear? 2013-04-24T16:09:01 < Laurenceb> http://downloads.element14.com/beaglebone/?isRedirect=true 2013-04-24T16:09:24 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-24T16:10:27 <+Steffanx> that table, lol Laurenceb 2013-04-24T16:10:43 <+Steffanx> Higher performance vs AM3358, 720MHZ :D 2013-04-24T16:10:56 < karlp> yeah, I liked that 2013-04-24T16:11:05 < karlp> "select your country" --> nope. not allowed 2013-04-24T16:11:14 < Laurenceb> failland 2013-04-24T16:11:24 < karlp> niceland! 2013-04-24T16:11:24 <+Steffanx> is not even in the list karlp ? 2013-04-24T16:11:31 < karlp> nope 2013-04-24T16:11:44 < karlp> it's ok, farnell never lists iceland 2013-04-24T16:11:48 < karlp> it's "export" or "other regions" 2013-04-24T16:11:59 < karlp> that is a substantially better rpice though isn't it. 2013-04-24T16:12:17 < karlp> what really changed to get the price that much lower? or is just more heavily subsidised now? 2013-04-24T16:12:45 <+Steffanx> its like twice as low. Really rpi competion now i guess 2013-04-24T16:13:08 < karlp> "technical datasheet" listed on farnell/e14 still links to the "preliminary! NOT FOR DISCLOSURE" document :) 2013-04-24T16:13:40 < karlp> which says 800mhz vs 1gig 2013-04-24T16:13:56 <+Steffanx> oops, fail 2013-04-24T16:14:23 <+Steffanx> the beaglebone didn't have hmdi, did it? 2013-04-24T16:14:40 < karlp> don't think so. 2013-04-24T16:14:50 < karlp> they took off the onboard jtag debugger stuff 2013-04-24T16:15:09 <+Steffanx> And a normal power jacket.. 2013-04-24T16:15:18 <+Steffanx> ( compared to the fancy rpi ) 2013-04-24T16:15:57 < Laurenceb> also comes with a power supply 2013-04-24T16:16:32 < karlp> not according to the datahseet 2013-04-24T16:16:46 < Laurenceb> i was reading slashdot... :P 2013-04-24T16:16:56 < karlp> I'm totally ok with expecting power via uUSB 2013-04-24T16:17:08 -!- sterna2 [~Adium@dhcp-186182.eduroam.chalmers.se] has joined ##stm32 2013-04-24T16:17:12 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 2013-04-24T16:17:37 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-24T16:18:01 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Remote host closed the connection] 2013-04-24T16:18:20 < baird> It's got maybe two whole GPIO pins over the RPi.. 2013-04-24T16:18:31 < Laurenceb> wut 2013-04-24T16:18:39 < Laurenceb> s/two/two thousand 2013-04-24T16:19:27 < baird> The PDF I read last night mentioned ?10 .. Checking.. 2013-04-24T16:19:50 <+Steffanx> It lists many more baird 2013-04-24T16:20:09 <+Steffanx> From gpio 1 to 31 2013-04-24T16:20:10 <+Steffanx> or so 2013-04-24T16:20:29 <+Steffanx> nevermind 2013-04-24T16:20:31 <+Steffanx> that's not it 2013-04-24T16:20:38 -!- sterna1 [~Adium@dhcp-176254.eduroam.chalmers.se] has quit [Ping timeout: 268 seconds] 2013-04-24T16:21:38 < karlp> page 49 in the pdf 2013-04-24T16:22:41 < baird> Hmm. "There may be 10 less GPIO pins available"-- ah, misparsed that. 2013-04-24T16:22:47 < baird> (..10 fewer gpio) 2013-04-24T16:23:13 <+Steffanx> oh, heh 2013-04-24T16:23:25 < jpa-> the external memory interface of the beaglebone is nice 2013-04-24T16:23:32 < jpa-> for hooking TFT screens, FPGA's or whatever 2013-04-24T16:23:54 < karlp> though as they say, on the black, a lot of that's gone because it's used for the emmc 2013-04-24T16:24:05 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-24T16:24:06 -!- Luggi09 [~luke@cnh195149223242.pppoe.surfer.cnh.at] has quit [Ping timeout: 264 seconds] 2013-04-24T16:24:12 < zyp> can't it be multiplexed? 2013-04-24T16:24:26 < jpa-> the external memory interface is gone on the black? 2013-04-24T16:25:02 < karlp> "GPMC bus may not be accessible from the expansion headers in some cases 2013-04-24T16:25:16 < karlp> "If eMMC is not used, signals can be used via expansion if eMMC is held 2013-04-24T16:25:16 < karlp> in reset 2013-04-24T16:25:16 < jpa-> "some cases" :D 2013-04-24T16:25:30 < karlp> so, good luck. 2013-04-24T16:25:47 <+Steffanx> in the case of using emmc .. 2013-04-24T16:25:52 < jpa-> maybe it was better that i got the old beaglebone anyway :) 2013-04-24T16:25:55 <+Steffanx> that looks like the only "some" case 2013-04-24T16:25:59 < karlp> which is the 2gig rootfs for most people. 2013-04-24T16:26:16 < jpa-> well inserting a SD card is not that bad 2013-04-24T16:26:25 < jpa-> even though it is probably slower 2013-04-24T16:26:35 < zyp> just use a ramdisk, load from emmc, then put it in reset? :p 2013-04-24T16:26:40 <+Steffanx> lol 2013-04-24T16:26:55 < baird> What I really want is a linux smallboard that's good on power (<100mA load, ?5mA idle), even if it's like 8MHz clock.. 2013-04-24T16:27:01 -!- MrMobius [~Joey@194.176.111.138] has joined ##stm32 2013-04-24T16:27:18 < zyp> weird that it can't be multiplexed with some sort of chip select mechanism though 2013-04-24T16:27:27 -!- Luggi09 [~luke@cnh195149223242.pppoe.surfer.cnh.at] has joined ##stm32 2013-04-24T16:27:41 < zyp> baird, then just grab any board and clock it down? 2013-04-24T16:27:52 < jpa-> baird: carambola could get close, or gumstix 2013-04-24T16:28:03 < karlp> carambola2 is cheaper and lower power too. 2013-04-24T16:28:09 < karlp> hooray for technology 2013-04-24T16:28:09 < zyp> dynamic power usage is pretty linear with clock frequency after all 2013-04-24T16:28:11 * Laurenceb looks 2013-04-24T16:28:31 < karlp> ethernet and wifi are the big power suckers for lots of small boards 2013-04-24T16:28:59 < karlp> 2013-04-24T16:29:38 < Laurenceb> carambola 2 looks nice 2013-04-24T16:29:49 < Laurenceb> but not much of a processor 2013-04-24T16:30:02 -!- MrM0bius [~Joey@194.176.111.136] has quit [Ping timeout: 246 seconds] 2013-04-24T16:30:20 < jpa-> i wish realtime linux would get more realtime 2013-04-24T16:30:37 < Laurenceb> Size 28 by 38 mm 2013-04-24T16:30:40 < Laurenceb> crazy 2013-04-24T16:30:58 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 245 seconds] 2013-04-24T16:31:03 < Laurenceb> anyone know if the wifi is bocumented? 2013-04-24T16:31:07 < Laurenceb> *documented 2013-04-24T16:31:55 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-24T16:32:18 < baird> Atheros chipset.. that was my thought too.. 2013-04-24T16:32:49 < Laurenceb> might work for my personnel monitoring idea... 2013-04-24T16:32:57 < Laurenceb> if the wifi can be haxored 2013-04-24T16:33:40 -!- Luggi09 [~luke@cnh195149223242.pppoe.surfer.cnh.at] has quit [Ping timeout: 256 seconds] 2013-04-24T16:35:50 -!- Luggi09 [~luke@cnh195149223242.pppoe.surfer.cnh.at] has joined ##stm32 2013-04-24T16:37:29 < Laurenceb> 19.00€ , nice 2013-04-24T16:38:30 < karlp> Laurenceb: carambola(2) run openwrt, so you've got the regular kernel wifi drivers 2013-04-24T16:38:57 < karlp> depends how much processoryou want, it's more than what's on lots of current and older home routers 2013-04-24T16:39:09 < Laurenceb> yeah but i want low level hardware timestamps 2013-04-24T16:39:29 < karlp> well, you have the source to the full kernel drivers 2013-04-24T16:39:47 < Laurenceb> oh 2013-04-24T16:40:08 < karlp> atheros is one of the better ones for having proper/full wifi support. 2013-04-24T16:48:28 < baird> What I remember about atheros wifi was binary-blobs or FOSS drivers that couldn't monitor.. 2013-04-24T16:48:49 -!- dekar [~dekar@studpool-wlan-75-203.fs.fbi.h-da.de] has joined ##stm32 2013-04-24T16:48:52 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-24T16:52:13 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: to sleep, perchance to dream] 2013-04-24T16:56:16 < scrts> carambola2 is at least better than carambola1 regarding wifi 2013-04-24T17:01:34 -!- alexn [~alexn@93.104.205.194] has quit [Quit: Leaving] 2013-04-24T17:20:55 -!- _BJFreeman [~bjfree@56.sub-75-196-33.myvzw.com] has joined ##stm32 2013-04-24T17:21:18 -!- _BJFreeman is now known as BJfreeman 2013-04-24T17:22:46 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-24T17:24:05 < Laurenceb> Laurenceb: I hope to see more whitespace and more readable code from you next time you post any. 2013-04-24T17:24:13 < Laurenceb> I'm still traumatised by that experience. 2013-04-24T17:24:29 < Laurenceb> oops 2013-04-24T17:24:39 < Laurenceb> seems i need to improve me code 2013-04-24T17:24:49 < Thorn> or submit it to IOCCC 2013-04-24T17:27:17 -!- MrM0bius [~Joey@91.192.66.231] has joined ##stm32 2013-04-24T17:29:55 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-24T17:30:14 -!- MrMobius [~Joey@194.176.111.138] has quit [Ping timeout: 246 seconds] 2013-04-24T18:00:20 -!- dekar [~dekar@studpool-wlan-75-203.fs.fbi.h-da.de] has quit [Quit: This computer has gone to sleep] 2013-04-24T18:05:59 -!- baird [~cjb@ppp121-44-243-128.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-04-24T18:06:09 -!- inca [~inca@192.5.110.4] has quit [Quit: zzzz] 2013-04-24T18:15:19 <+Steffanx> Laurenceb what where who? 2013-04-24T18:27:34 -!- MrMobius [~Joey@194.176.111.136] has joined ##stm32 2013-04-24T18:30:26 -!- MrM0bius [~Joey@91.192.66.231] has quit [Ping timeout: 246 seconds] 2013-04-24T18:33:18 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 252 seconds] 2013-04-24T18:49:15 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2013-04-24T18:54:10 -!- dekar [~dekar@212.255.19.146] has joined ##stm32 2013-04-24T18:54:12 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-24T18:55:08 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-04-24T18:55:17 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has joined ##stm32 2013-04-24T19:17:52 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has left ##stm32 [] 2013-04-24T19:23:19 <+Steffanx> Laurenceb your rf guy into yagi antennes? 2013-04-24T19:23:34 <+Steffanx> *our 2013-04-24T19:27:45 -!- MrM0bius [~Joey@91.192.66.231] has joined ##stm32 2013-04-24T19:30:38 -!- MrMobius [~Joey@194.176.111.136] has quit [Ping timeout: 246 seconds] 2013-04-24T19:33:39 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-24T19:41:45 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-24T19:45:24 -!- _BJFreeman [~bjfree@52.sub-75-196-18.myvzw.com] has joined ##stm32 2013-04-24T19:46:40 -!- BJfreeman [~bjfree@56.sub-75-196-33.myvzw.com] has quit [Ping timeout: 272 seconds] 2013-04-24T19:46:46 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Read error: Operation timed out] 2013-04-24T19:52:13 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has joined ##stm32 2013-04-24T19:59:03 < Tectu> http://www.huffingtonpost.co.uk/2013/04/24/mars-rover-penis-nasa_n_3144656.html 2013-04-24T19:59:09 < Tectu> attn Laurenceb, dongs 2013-04-24T20:00:33 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Ping timeout: 245 seconds] 2013-04-24T20:04:15 -!- _BJFreeman is now known as BJfreeman 2013-04-24T20:04:34 < gxti> crappost detected 2013-04-24T20:09:48 -!- barthess [~barthess@178.154.45.53] has joined ##stm32 2013-04-24T20:14:18 -!- MrMobius [~Joey@91.192.66.232] has joined ##stm32 2013-04-24T20:16:50 -!- MrM0bius [~Joey@91.192.66.231] has quit [Ping timeout: 246 seconds] 2013-04-24T20:16:57 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-24T20:20:49 < inca> gxti: what, just because it's not boobies, it isn't art? 2013-04-24T20:21:48 -!- CRF_Peter [~Peter@dhcp-184210.eduroam.chalmers.se] has quit [Ping timeout: 264 seconds] 2013-04-24T20:23:18 < gxti> boobies, art, and shitty blog posts about something that looks vaguely like a penis are all things that have nothing to do with stm32 2013-04-24T20:25:19 < R2COM> maybe there was stm32 used in rover, and due to a bug it started drawing penises 2013-04-24T20:25:31 < inca> see, now we're on topic 2013-04-24T20:25:40 < gxti> proceed 2013-04-24T20:25:40 -!- CRF_Peter [~Peter@dhcp-184210.eduroam.chalmers.se] has joined ##stm32 2013-04-24T20:25:59 < inca> R2COM: most definited due to the awesome documentation for all ST's ARM products 2013-04-24T20:26:04 < gxti> despite the implication that anyone at nasa would be dumb enough to use stm32 for a space mission 2013-04-24T20:26:12 < inca> haha 2013-04-24T20:26:29 < inca> good call 2013-04-24T20:27:58 -!- UweBonnes [~bon@p5DDCC578.dip0.t-ipconnect.de] has joined ##stm32 2013-04-24T20:28:44 < R2COM> sure, it cant be used there 2013-04-24T20:29:01 < R2COM> its not radiation hardened 2013-04-24T20:30:35 < R2COM> but I saw already some chips made for space incorporating arm core, cant just remember where 2013-04-24T20:45:03 -!- Mobyfab [~Mobyfab@80.239.168.84] has quit [Quit: Leaving.] 2013-04-24T20:48:06 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has joined ##stm32 2013-04-24T20:54:14 < inca> ironically, the STM camera board does not have a photo on dk http://www.digikey.com/product-detail/en/STM32F4DIS-CAM/497-13546-ND/3878237 2013-04-24T20:55:22 < UweBonnes> Look at Farnell website. 2013-04-24T20:56:07 < inca> UweBonnes, Hello! 2013-04-24T20:58:40 < inca> UweBonnes: once I finish integrating for this project I intend to get back onto the Blackmagic Probe on F4 discovery board… I feel like kernel/bootloader development is ideal on such a device, particularly for integration with the powerful ARM CoreSight features, like DAP 2013-04-24T21:03:05 -!- daku is now known as DaKu 2013-04-24T21:04:01 < UweBonnes> inca: If you modify a Discovery Board according to http://embdev.net/articles/STM_Discovery_as_Black_Magic_Probe, please let me know success/failure. 2013-04-24T21:06:44 < inca> UweBonnes: I have done it on the F4 Discovery board, though it was tricky to do without the STLink/V2 to directly modify the option bytes for read/write protect. I could not get dfu-util or openocd or texane's stlink to clear the protection flags correctly after a botched (my fault) Blackmagic Probe bootloader flash 2013-04-24T21:08:38 < inca> UweBonnes: btw, I believe the Reserved solder-bridges are the best way to go for 100% of the time, as it is easy to just connect the F103 to the SWD pins for the F4 for targeted development in that direction, and it keeps the SWD pins of the F103 exposed for targeted development of the monitoring processor 2013-04-24T21:09:01 < inca> double the fun =) 2013-04-24T21:12:10 < UweBonnes> BMP now can erase the protection, so the task should be easier now. dfu-dfuse is a must however 2013-04-24T21:12:29 -!- DaKu is now known as daku 2013-04-24T21:12:29 < gsmcmullin> inca: Great that you eventually got it working. We've now removed the bootloader altogether on the f4 and made the protection option on the f1 builds. 2013-04-24T21:13:14 < inca> because the f1 has no rom bootloader, right? 2013-04-24T21:13:27 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has quit [Ping timeout: 276 seconds] 2013-04-24T21:13:45 < gsmcmullin> inca: The rom bootloader doesn't support USB. 2013-04-24T21:13:55 < inca> oh, I get you. right right. 2013-04-24T21:14:20 -!- MrM0bius [~Joey@194.176.111.31] has joined ##stm32 2013-04-24T21:14:38 < gsmcmullin> UweBonnes: Thanks for your effort on that, and being here to help people out if they have problems with their st-link hacking. 2013-04-24T21:14:39 < inca> What are you plans for the future regarding the ARM debugging tools, such as DAP? 2013-04-24T21:16:10 < gsmcmullin> inca: If ARM's tools make this redundant, I'll stop working on it. If they suck, I'll ignore them. 2013-04-24T21:17:23 -!- MrMobius [~Joey@91.192.66.232] has quit [Ping timeout: 246 seconds] 2013-04-24T21:21:48 < inca> I have been using ChibiOS, which has inspired me to pursue an old hobby for interactive in-application development 2013-04-24T21:22:38 < inca> gsmcmullin: It is unlikely that ARM will make BMP redundant, though they tend to design fancy hardware that no one can figure out how to build development tools for... 2013-04-24T21:24:30 < inca> http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0314h/Babdadfc.html 2013-04-24T21:24:58 < gsmcmullin> inca: If I did it it can't be too bad. IMO we have great tools for ARM. 2013-04-24T21:25:14 < inca> gsmcmullin: present company excluded. =) 2013-04-24T21:26:30 < gsmcmullin> inca: You keep pointing me at these docs. This is all implemented in BMP. 2013-04-24T21:26:31 < inca> For instance, the DAPBUS might be an interesting target to expose over SWD (if it's not already) via the gdb or similar server… I am sure this has all been done before but I am having trouble finding the classic examples for this type of thing 2013-04-24T21:26:51 < inca> Ok, how do I get to it with gdb? 2013-04-24T21:29:27 < gsmcmullin> inca: Now you make me go read it =) What is DAPBUS? 2013-04-24T21:29:36 < zippe1> inca: when you say "such as DAP", what do you think you mean? 2013-04-24T21:29:38 -!- PT_Dreamer [~quassel@a95-93-159-22.cpe.netcabo.pt] has joined ##stm32 2013-04-24T21:30:12 < inca> zippe1: I think I mean having programmatic access to the internals of the ARM processor 2013-04-24T21:30:45 < gsmcmullin> I understood as ADIv5 described, never heard of DAPBUS before though. 2013-04-24T21:31:24 < inca> gsmcmullin: I think it is just an extension of the debugging to other pins (remapping) perhaps 2013-04-24T21:32:18 < zippe1> inca: I think you need to do a bunch more reading first. 2013-04-24T21:32:41 < zippe1> inca: because what you're saying doesn't make any sense 2013-04-24T21:32:54 < zippe1> inca: and I say this as someone that works with this stuff on a daily basis 2013-04-24T21:33:25 < UweBonnes> Gareth: There was a patch regarding the UART at higher speeds. Did you notice it? 2013-04-24T21:33:48 < inca> zippe1: great, tell me how a debugger is not programmatically accessing the internals of the ARM processor… then feel free to recommend some good reading on the architectures around here. 2013-04-24T21:34:00 < inca> =) 2013-04-24T21:34:02 < gsmcmullin> UweBonnes: No. I didn't see it. I though I merged your patches. 2013-04-24T21:34:14 < UweBonnes> It was not from me. 2013-04-24T21:34:29 < zippe1> inca: I mean that "programmatically accessing the internals of the ARM processor" doesn't actually mean anything concrete in this context 2013-04-24T21:34:43 < zippe1> inca: "the internals" is uselessly nonspecific 2013-04-24T21:34:57 < inca> zippe1: ok, I will specify. In-application development. 2013-04-24T21:34:59 < zippe1> "programmatically" is one of those words that people that run PowerPoint use 2013-04-24T21:35:03 < gsmcmullin> UweBonnes: Who from? Where? 2013-04-24T21:35:12 < zippe1> "the ARM processor" … which ARM processor? 2013-04-24T21:35:27 < UweBonnes> But I have problems to retrieve. I will look harder and resent to you. 2013-04-24T21:35:28 < inca> Let's say the ones without an MMU for now 2013-04-24T21:35:40 < zippe1> inca: "in-application development" is something I'd expect to see on your website main page, or in a Hacker News headline. 2013-04-24T21:35:54 < zippe1> inca: it still doesn't mean anything specific enough to have a conversation about 2013-04-24T21:37:30 < inca> zippe1: it is an old interest of mine, which I can see some ability to execute on through the ARM architecture, current available hardware (both legacy and off-the-shelf), and my recent experiences with ChibiOS 2013-04-24T21:37:59 < zippe1> inca: perhaps if you were to describe a specific instance of "interactive in-application development" in terms of steps the developer might perform, that would lead somewhere. 2013-04-24T21:38:12 < Thorn> what's "in-application development"? something you could do in common lisp? 2013-04-24T21:38:14 < inca> zippe1: have you heard of Bret Victor? 2013-04-24T21:38:19 < inca> Thorn: sure. 2013-04-24T21:38:22 < Thorn> i.e. altering code as it runs? 2013-04-24T21:38:31 < inca> Thorn: yes. 2013-04-24T21:38:53 < inca> All good debuggers do it 2013-04-24T21:38:55 < zippe1> inca: have you heard of Carmen Sandiego? 2013-04-24T21:39:14 < zippe1> inca: that is a mistaken assumption 2013-04-24T21:39:19 < inca> zippe1: I'm being serious. But hey... 2013-04-24T21:39:25 < inca> it's a yes or no question 2013-04-24T21:39:26 < gxti> seriously mystifying 2013-04-24T21:39:34 < zippe1> inca: many "good debuggers" work correctly in the absence of writable text 2013-04-24T21:39:46 < inca> sure… but they aren't great debuggers 2013-04-24T21:39:50 < gxti> ... 2013-04-24T21:39:58 < inca> it's the 21st century 2013-04-24T21:40:12 < inca> we are talking about developing debuggers 2013-04-24T21:40:12 < zippe1> inca: yes, and there's a lot of code in ROM and read-only memory out there 2013-04-24T21:40:21 < zyp> inca, I'm inclined to suggest that you are full of shit 2013-04-24T21:40:30 < inca> zyp: haha, gee thanks 2013-04-24T21:40:31 < zippe1> inca: I'm talking about real systems, and real software development. 2013-04-24T21:40:34 < gxti> i'm going to be more generous and suggest that maybe he just doesn't really have a point 2013-04-24T21:40:51 < inca> I'm going to say that you all don't really give a shit 2013-04-24T21:41:11 < inca> cling to your b0rked tools 2013-04-24T21:41:24 -!- PT_Dreamer [~quassel@a95-93-159-22.cpe.netcabo.pt] has quit [Ping timeout: 276 seconds] 2013-04-24T21:41:30 < zippe1> inca: I have been listening to people making vague statements about how wonderful things would be "if only" for the last quarter of a century 2013-04-24T21:41:39 < inca> zippe1: and have they been me? 2013-04-24T21:41:56 < inca> you failed to answer my question which gives me context for how to explain myself 2013-04-24T21:42:06 < inca> we cannot communicate if you only feel the need to ridicule 2013-04-24T21:42:13 < zippe1> inca: which question? "Where is Carmen Sandiego"? 2013-04-24T21:42:16 < inca> yes 2013-04-24T21:42:19 < inca> Bret Victor 2013-04-24T21:42:24 < inca> do you know of him? 2013-04-24T21:42:37 < gsmcmullin> inca: Read ARMv7 ARM (DDI0403D) and ADIv5 (IHI0031A). These will explain enough of what you can and can't do. If you have questions come back and ask. 2013-04-24T21:42:56 < inca> gsmcmullin: thank you for the citations. I'll do that. 2013-04-24T21:43:07 < zippe1> inca: I fail to see how namedropping is relevant in this context, or whether knowing someone with a given Anglo name has anything to do with your failure to comprehend how modern embedded software is built and debugged 2013-04-24T21:43:58 < zippe1> inca: if you're using him as a placeholder for a specific technique or approach, then perhaps you could just go ahead and name it 2013-04-24T21:45:04 < inca> zippe1: I wish to communicate, not argue pedagogy or semantics of dialectic conversations. Your lack of good faith prohibits transmission of information. I will not make a point for you to mock. 2013-04-24T21:45:24 < gsmcmullin> zippe1: Is the DAPBUS anything I should be interested in? It looks like an exposed internal port of the ADIv5 DP for implementors to add their own APs. Is that correct? 2013-04-24T21:47:26 < gsmcmullin> inca: You're not making yourself any friends here. We're the people you're going to ask for help when you screw it up, remember. 2013-04-24T21:48:32 < zippe1> inca: You haven't placed any faith in me yet; you're asking me to extend you credit and I'm telling you your bona fides don't warrant the credit. 2013-04-24T21:49:27 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has joined ##stm32 2013-04-24T21:50:19 < inca> zippe1: it's a two way street. I have no idea what you have accomplished with your life or what your are capable of, nor do I presume to judge any of that. However, I do have an idea about a potential future for embedded engineering, if you'd like to hear about it, perhaps research Bret Victor a little bit and come back to me. Otherwise we can drop this whole thing and just pretend I never said anything which caught your attention. 2013-04-24T21:50:26 < zippe1> inca: DAPBUS is an implementation detail, it's not software-visible 2013-04-24T21:50:46 < gxti> sounds like more semantics to me 2013-04-24T21:50:54 < inca> semantics? 2013-04-24T21:51:28 < inca> http://vimeo.com/36579366 2013-04-24T21:51:50 < inca> Watch this video, skim it, read about… don't care 2013-04-24T21:52:24 < zippe1> inca: in a 'big' system, the DAP interfaces with the debug port on the processor(s) via APB. To reduce gate count, there's a shortcut implementation for v7m systems where the DAP bolts directly onto the side of the processor and you drop the APB. 2013-04-24T21:52:40 < gxti> see, now you actually posted a thing 2013-04-24T21:52:43 < zippe1> inca: in general, this saves you a PL301 and a bunch of clock tree powert. 2013-04-24T21:52:49 < gxti> before you were just yelling at each other about how much you don't care 2013-04-24T21:53:18 < gxti> and if there's one thing i really don't care about, it's how much other people don't care (irony intended) 2013-04-24T21:53:24 < zippe1> inca: from the debugger's perspective, it's still an AP and there's still just one device (the M3) on it. 2013-04-24T21:54:04 < zippe1> So, to answer your question about "should you care", I guess I have to ask, "are you an ARM licensee?" 2013-04-24T21:54:05 < inca> Is there any way to scrape data off the APB outside of the debugger? 2013-04-24T21:54:21 < zippe1> What do you mean by "scrape data off the APB outside of the debugger"? 2013-04-24T21:54:56 < zippe1> Which APB? What does "scrape" mean? 2013-04-24T21:54:59 < inca> Nevermind, I think I understand what you said 2013-04-24T21:55:07 < zippe1> Data doesn't accumulate on a bus like bugs on a windshield. 2013-04-24T21:55:28 < zippe1> If you mean "can you observe data in transit over the bus", the general answer is "no" 2013-04-24T21:55:34 < inca> Anyway, gsmcmullin gave me some homework to do. Let me educate myself a bit more before I ask potentially silly questions. 2013-04-24T21:56:00 < inca> I'll let you know if something isn't making sense. 2013-04-24T21:56:03 < inca> Deal? 2013-04-24T21:56:07 < zippe1> If you're interested in observability, you want to focus on the ETM and CTI 2013-04-24T21:56:34 < inca> I hadn't heard of CTI. I will look into it. 2013-04-24T21:56:37 < zyp> from what I read, inca is saying «I want to access the debug registers from my code» 2013-04-24T21:56:53 < zippe1> If you are interested in fix-and-continue behaviour, don't get your hopes up about the ROM patcher; most vendors implement at most 1-2 of them. 2013-04-24T21:57:03 < zippe1> Many don't implement it at all. 2013-04-24T21:57:54 < zippe1> Most of the ones that make sense are visible. Some of the things (like, say, pushing opcodes into the pipeline) obviously aren't. 2013-04-24T21:58:06 < inca> I apologize for the general vagueness. My approach to most of my projects these days is with the lens of data-flow 2013-04-24T21:58:26 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:528:6d97:86d5:6f2] has joined ##stm32 2013-04-24T21:59:22 < inca> So in my trying to understand these systems, the ARM ones, I try to break it down in terms of data and how it moves through the system. 2013-04-24T21:59:24 < zippe1> Yes, well, assuming that a given methodology applies uniformly is fine as long as you're OK with failing at everything that your chosen methodology is bad for. 2013-04-24T21:59:44 < zippe1> I'm generally a fan of horse first, then cart, for what it's worth. 2013-04-24T22:00:12 < inca> Fair enough. 2013-04-24T22:00:17 < zippe1> Though I won't look a nonlinear solution in the face if it gets the job done. 8) 2013-04-24T22:01:07 < inca> hah… yeah, I hear that. Thank you for the information… time to integrate one last SPI FLASH chip and start a release cycle. Cheers 2013-04-24T22:08:21 < Thorn> btw, the CCSDS telemetry/telecommand standard provides a memory management service that allows uplinking patches directly to memory by address (both main computer and all others). no idea if code memory is included and what rules there are about overwriting a running software image 2013-04-24T22:09:02 < inca> Thorn: That's pretty neat 2013-04-24T22:09:13 -!- Laurenceb__ [~Laurence@host81-159-190-220.range81-159.btcentralplus.com] has joined ##stm32 2013-04-24T22:11:55 < Thorn> there's a separate "large data transfer service" that apparently can also be used for software updates 2013-04-24T22:14:13 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-24T22:14:27 -!- MrMobius [~Joey@194.176.111.136] has joined ##stm32 2013-04-24T22:15:31 < Tectu> interesting day... 2013-04-24T22:15:36 < Tectu> my back hurts and my ass burns 2013-04-24T22:15:40 < Tectu> and I don't know why 2013-04-24T22:17:35 -!- MrM0bius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-24T22:18:15 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Read error: Connection reset by peer] 2013-04-24T22:18:34 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2013-04-24T22:30:48 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 276 seconds] 2013-04-24T22:33:20 -!- barthess [~barthess@178.154.45.53] has quit [Quit: Leaving.] 2013-04-24T22:47:53 < Tectu> is there a PLL calculator tool to get the N, M, P values etc? 2013-04-24T22:48:10 < Tectu> one forgot Q 2013-04-24T22:49:32 < zyp> do you really need a calculator? 2013-04-24T22:49:43 < UweBonnes> There is some windows tool. 2013-04-24T22:49:55 < gxti> zyp: when you add in the stm32-specific constraints, yes 2013-04-24T22:50:06 < zyp> just use whatever factor to divide your crystal down to 2MHz, then multiply it by 168MHz, then divide it by 2 2013-04-24T22:50:10 < gxti> i have yet to write one but i probably eventually will 2013-04-24T22:50:17 < R2COM> Silabs gives nice tool which calculates all shit for their chips, including pwm, spi speed etc, uart, pll, just everything 2013-04-24T22:50:28 < Tectu> zyp, I am not sure anymore what P/Q is for 2013-04-24T22:50:30 < R2COM> not for st i guess.. 2013-04-24T22:50:48 < Tectu> zyp, so let's say I have a 25MHz crystal, should I divide by 25 or is that "insane"? 2013-04-24T22:51:00 < gxti> bonus points if it can use multiple PLLs to get weird fractions 2013-04-24T22:51:00 < UweBonnes> Do you want some special frequency with some special quarz? 2013-04-24T22:51:01 < Tectu> is it recommended to always divide down to 1MHz? 2013-04-24T22:51:23 < Tectu> UweBonnes, well, I want to get my F407ZGT (which is capable of 168MHz) go as fast as I can with my 25MHz crystal 2013-04-24T22:51:38 < gxti> Tectu: you have to divide it to the allowed range in the datasheet, depends on which chip and which PLL 2013-04-24T22:51:49 < Tectu> datasheet, the magic word! 2013-04-24T22:52:07 < Tectu> I've never bothered with the PLL so far, to be honest -.- 2013-04-24T22:52:10 < gxti> f105-f107 has PLL1 takes like 2-5 and PLL2 is 1-2 or 2-3 or something like that 2013-04-24T22:52:23 < UweBonnes> As I understand , dived to 2 MHz for jitter reasons 2013-04-24T22:52:42 < UweBonnes> But 25 MHz is a bad starting point for 2 MHz. 2013-04-24T22:53:01 < Tectu> hehe 2013-04-24T22:53:24 < R2COM> theres block diagram of frequency and pll related stuff in ref. man. 2013-04-24T22:54:24 < gxti> in my current project i want to use any cheap tcxo depending on what's on digikey to get the highest frequency reasonable, using 28mhz to get 72mhz is ... interesting. especially when jitter sort of matters. 2013-04-24T22:54:44 < gxti> so being able to get 'close' in one step would also be a nice feature for a calculator 2013-04-24T22:57:16 -!- alexn_ [~alexn@93.104.205.194] has joined ##stm32 2013-04-24T23:00:36 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Ping timeout: 252 seconds] 2013-04-24T23:00:58 -!- alexn_ [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-04-24T23:07:38 < qyx_> Tectu: you have 25MHz for F1? 2013-04-24T23:08:10 < Tectu> qyx_, F4 2013-04-24T23:08:17 < Tectu> qyx_, and I am reading the datasheet, maybe I should read the RM 2013-04-24T23:08:20 < Tectu> not finding what I need 2013-04-24T23:11:01 < qyx_> i use 25MHz, pll1_prediv=5 (now you have 5MHz), pll1_mul=9 (now you have 45MHz), pll2_prediv=5 (now you have 9MHz), pll2_mul=8 (now you have 72MHz) 2013-04-24T23:14:09 < Tectu> hm 2013-04-24T23:14:12 < UweBonnes> In NutOs, I have #elif defined(MCU_STM32F4) 2013-04-24T23:14:13 < UweBonnes> #if (PLLCLK_IN > 3999999) && (PLLCLK_IN < 26000001) && ((PLLCLK_IN % 2000000L) == 0) 2013-04-24T23:14:13 < UweBonnes> #define PLLM (PLLCLK_IN/2000000) 2013-04-24T23:14:13 < UweBonnes> #define PLLN ((336/2) << _BI32(RCC_PLLCFGR_PLLN_0)) 2013-04-24T23:14:13 < UweBonnes> #define PLLP ((2/2-1) << _BI32(RCC_PLLCFGR_PLLP_0)) 2013-04-24T23:14:13 < UweBonnes> #define PLLQ (7 << _BI32(RCC_PLLCFGR_PLLQ_0)) 2013-04-24T23:14:14 < UweBonnes> #define NUT_FLASH_LATENCY FLASH_ACR_LATENCY_5WS 2013-04-24T23:14:14 < UweBonnes> /* Select regulator voltage output Scale 1 mode*/ 2013-04-24T23:14:14 < UweBonnes> RCC->APB1ENR |= RCC_APB1ENR_PWREN; 2013-04-24T23:14:14 < UweBonnes> PWR->CR |= PWR_CR_VOS; 2013-04-24T23:14:16 < UweBonnes> #elif ((PLLCLK_IN > 1999999) && (PLLCLK_IN < 26000001) && ((PLLCLK_IN % 1000000L) == 0)) 2013-04-24T23:14:16 < UweBonnes> #define PLLM (PLLCLK_IN/1000000) 2013-04-24T23:14:17 < UweBonnes> #define PLLN ((336/1) << _BI32(RCC_PLLCFGR_PLLN_0)) 2013-04-24T23:14:17 < UweBonnes> #define PLLP ((2/2-1) << _BI32(RCC_PLLCFGR_PLLP_0)) 2013-04-24T23:14:41 -!- MrM0bius [~Joey@194.176.111.136] has joined ##stm32 2013-04-24T23:15:47 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-24T23:17:47 -!- MrMobius [~Joey@194.176.111.136] has quit [Ping timeout: 246 seconds] 2013-04-24T23:19:01 < Tectu> so what... reading the reference manual, the division can only be 2013-04-24T23:19:02 < Tectu> 00: PLLP = 2 2013-04-24T23:19:02 < Tectu> 01: PLLP = 4 2013-04-24T23:19:02 < Tectu> 10: PLLP = 6 2013-04-24T23:19:03 < Tectu> 11: PLLP = 8 2013-04-24T23:19:08 < Tectu> how am I supposed to use 25MHz then? 2013-04-24T23:20:40 < qyx_> just get some example eg. from chibios for a board with ethernet 2013-04-24T23:20:43 < UweBonnes> You divide down to 1 MHz, multiply to 336 Mhz and divide down to 168 Mhz for the main clock 2013-04-24T23:20:50 < qyx_> p407 for example 2013-04-24T23:24:35 < Tectu> qyx_, am ah working on the p407 -.- 2013-04-24T23:24:42 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 264 seconds] 2013-04-24T23:25:00 < Tectu> qyx_, there are the board files, but I am struggling wiht the mcuconf.h. As far as I can tell there is none which works on the 25MHz crystal? 2013-04-24T23:25:11 < Tectu> am am getting errors about the PLL min/max frequencies 2013-04-24T23:25:31 < gxti> is it a chip with multiple PLLs? 2013-04-24T23:25:35 < Tectu> UweBonnes, how am I supposed to divide 25MHz down to 1MHz when I just have 2, 4, 6 and 8 as divider? 2013-04-24T23:25:39 < gxti> chibios headers are stupid and try to validate parameters for PLLs that are not on 2013-04-24T23:25:49 < Tectu> gxti, two, but one is only for the I2S 2013-04-24T23:26:06 < Tectu> gxti, the chibios header does the right thing because I copied the PLL settings from the discovery board :P 2013-04-24T23:26:10 < gxti> ok 2013-04-24T23:26:15 < Tectu> since I cannot find any for a 25MHz input 2013-04-24T23:26:23 < gxti> well yeah 2013-04-24T23:26:25 < gxti> you changed the input 2013-04-24T23:26:26 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-24T23:26:35 < gxti> so now pll2 is out of spec 2013-04-24T23:26:52 < gxti> which line is it actually failing on? 2013-04-24T23:26:54 < qyx_> just see what are the values for p407 2013-04-24T23:27:01 < qyx_> it has 25MHz 2013-04-24T23:27:13 < qyx_> p107 also works 2013-04-24T23:27:24 < qyx_> but thats for different mcu 2013-04-24T23:28:04 < Tectu> I got these out of the olimex examples for the P407: http://pastie.org/7711105 2013-04-24T23:28:16 < UweBonnes> Well, 25/25 is 1 MHz. And PLLM may be 2... 63. Where is the problem. 2013-04-24T23:28:23 < Tectu> but I am very confused by the M value... the RM says it can only be 2, 4, 6 or 8 2013-04-24T23:28:33 < Tectu> at least as I understand it 2013-04-24T23:28:57 < Tectu> I am missunderstanding the RM 2013-04-24T23:29:00 < Tectu> and I don't know why :P 2013-04-24T23:29:22 < UweBonnes> What RM are you talking about? RM0090? 2013-04-24T23:29:30 < Tectu> yes 2013-04-24T23:29:40 < Tectu> page 126 2013-04-24T23:29:57 < Tectu> right on top, bit 17:16 2013-04-24T23:30:00 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:528:6d97:86d5:6f2] has quit [Quit: Leaving] 2013-04-24T23:30:26 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 256 seconds] 2013-04-24T23:30:40 < UweBonnes> Thats PLLP, a dividon factor after the PLL. 2013-04-24T23:31:05 < Tectu> -.- 2013-04-24T23:31:50 < Tectu> how can a single person be so stupid? 2013-04-24T23:32:42 < Tectu> I'm sorry for the trouble 2013-04-24T23:32:47 < qyx_> better than two persons 2013-04-24T23:33:06 < UweBonnes> Nothing to worry. 2013-04-24T23:35:06 < Tectu> ;) 2013-04-24T23:47:13 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-24T23:51:00 < Tectu> when having the boot pins set to system memory, I can flash via JTAG etc, but I cannot run it, right? 2013-04-24T23:51:13 < Tectu> I am having that olimex P407 board here and it has so a lot of peripherial that JTAG makes some issues 2013-04-24T23:52:21 < gxti> it should still be mapped, just not at address 0 2013-04-24T23:52:44 < Tectu> what's the sane way to run it then? 2013-04-24T23:52:48 < Tectu> run
? 2013-04-24T23:53:06 < gxti> first you have to relink your application with the correct address, if you haven't already 2013-04-24T23:53:26 < Tectu> I bet I didn't 2013-04-24T23:53:32 < gxti> using a linker script? 2013-04-24T23:55:07 < Tectu> yes (Chibios crap) --- Day changed Thu Apr 25 2013 2013-04-25T00:01:04 < UweBonnes> Even with system memeoy active, you can run code compiled at 0x08000000. Just enable SYSCFG and if SYSCFG_MEMRMP is not 0 set SYSCFG_MEMRMP to 0 and do a corereset 2013-04-25T00:03:42 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-25T00:03:42 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-25T00:03:42 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-25T00:08:16 < gxti> Tectu: should be ok, check that in the MEMORY{} section at the top it says flash: org = 0x08000000 2013-04-25T00:08:23 < gxti> not 0x00000000 2013-04-25T00:08:37 < gxti> i'm pretty sure that's the default 2013-04-25T00:11:02 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-25T00:14:55 -!- MrMobius [~Joey@194.176.111.136] has joined ##stm32 2013-04-25T00:17:59 -!- MrM0bius [~Joey@194.176.111.136] has quit [Ping timeout: 246 seconds] 2013-04-25T00:19:23 -!- MrMobius [~Joey@194.176.111.136] has quit [Ping timeout: 246 seconds] 2013-04-25T00:39:10 < UweBonnes> Good night! 2013-04-25T00:39:13 -!- UweBonnes [~bon@p5DDCC578.dip0.t-ipconnect.de] has quit [Quit: epic+tkirc2] 2013-04-25T00:44:03 -!- BJfreeman [~bjfree@52.sub-75-196-18.myvzw.com] has quit [Quit: had a good time] 2013-04-25T00:44:40 -!- CRF_Peter [~Peter@dhcp-184210.eduroam.chalmers.se] has quit [Ping timeout: 256 seconds] 2013-04-25T00:59:09 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2013-04-25T01:08:24 -!- sterna2 [~Adium@dhcp-186182.eduroam.chalmers.se] has quit [Quit: Leaving.] 2013-04-25T01:13:38 -!- mcollenberg [~mcollenbe@g230239166.adsl.alicedsl.de] has joined ##stm32 2013-04-25T01:19:38 < emeb> Heh - BatchPCB sold to OSHpark. 2013-04-25T01:22:51 < Laurenceb__> wtf 2013-04-25T01:23:02 < Laurenceb__> i didn't see that coming 2013-04-25T01:25:24 <+Steffanx> heh 2013-04-25T01:25:32 <+Steffanx> Not that i ever used batchpcb 2013-04-25T01:25:42 <+Steffanx> I think it's even the first time i see their website 2013-04-25T01:27:41 < emeb> I started out on BatchPCB - have quite a few designs there. 2013-04-25T01:27:49 < emeb> But haven't used them in more than a year. 2013-04-25T01:32:33 -!- mcollenberg [~mcollenbe@g230239166.adsl.alicedsl.de] has quit [Ping timeout: 268 seconds] 2013-04-25T01:34:45 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-25T01:36:32 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Ping timeout: 256 seconds] 2013-04-25T01:38:44 -!- flop|2 [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 2013-04-25T01:39:02 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-25T01:40:15 -!- Laurenceb__ [~Laurence@host81-159-190-220.range81-159.btcentralplus.com] has quit [Ping timeout: 258 seconds] 2013-04-25T01:44:24 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-25T01:44:38 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has left ##stm32 [] 2013-04-25T01:58:36 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Remote host closed the connection] 2013-04-25T01:59:58 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2013-04-25T02:00:23 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Excess Flood] 2013-04-25T02:02:26 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-25T02:19:57 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Remote host closed the connection] 2013-04-25T02:21:13 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2013-04-25T02:29:02 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has quit [Ping timeout: 252 seconds] 2013-04-25T02:48:27 -!- _BJFreeman [~bjfree@52.sub-75-196-18.myvzw.com] has joined ##stm32 2013-04-25T02:50:06 -!- _BJFreeman is now known as BJFreeman 2013-04-25T02:52:47 < dongs> sup blogosphere 2013-04-25T02:54:40 < BrainDamage> relevant for dongs: http://www.androidpolice.com/2013/04/23/nsfw-taint-wrangler-is-a-gross-perverse-horrible-game-that-will-probably-be-pulled-before-you-finish-reading-this-article/ 2013-04-25T03:08:39 -!- Simon-- [~sim@2606:6a00:0:28:5604:a6ff:fe02:702b] has quit [Quit: reboot] 2013-04-25T03:10:38 -!- Simon-- [~sim@2606:6a00:0:28:5604:a6ff:fe02:702b] has joined ##stm32 2013-04-25T03:53:15 -!- BJFreeman [~bjfree@52.sub-75-196-18.myvzw.com] has quit [Read error: Connection reset by peer] 2013-04-25T03:56:07 -!- _BJFreeman [~bjfree@52.sub-75-196-18.myvzw.com] has joined ##stm32 2013-04-25T03:56:56 -!- _BJFreeman is now known as BJFreeman 2013-04-25T04:01:27 -!- phantoxeD [~destroy@a95-92-85-217.cpe.netcabo.pt] has quit [] 2013-04-25T04:05:35 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Quit: is actually client based] 2013-04-25T04:06:29 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925200146.dsl.bell.ca] has joined ##stm32 2013-04-25T04:06:29 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925200146.dsl.bell.ca] has quit [Changing host] 2013-04-25T04:06:29 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-04-25T04:18:17 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-04-25T04:28:13 -!- phantoxeD [~destroy@a95-92-85-217.cpe.netcabo.pt] has joined ##stm32 2013-04-25T04:41:50 -!- baird [~cjb@ppp121-44-104-161.lns20.syd6.internode.on.net] has joined ##stm32 2013-04-25T04:53:01 < upgrdman> lol 2013-04-25T04:54:26 < Bird|lappy> http://avherald.com/h?article=46137c04&opt=0 2013-04-25T04:56:55 < upgrdman> wut 2013-04-25T04:57:04 < upgrdman> hows it not blown off 2013-04-25T04:57:37 < gxti> very strong glue 2013-04-25T04:58:06 < Bird|lappy> it's an illustration :) but a good one nonetheless <3 2013-04-25T05:08:35 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 255 seconds] 2013-04-25T05:14:32 < dongs> http://bcas.tv/paste/results/gK8B0a68.html 2013-04-25T05:14:38 < dongs> any idea what this is 2013-04-25T05:14:47 < dongs> i mean the relation between left/right 2013-04-25T05:15:06 < dongs> is it logn or what 2013-04-25T05:19:01 < GargantuaSauce> 2^((x-2)*4+1) 2013-04-25T05:19:28 < dongs> are you srs or trolling 2013-04-25T05:20:04 < dongs> not quite 2013-04-25T05:20:30 < dongs> http://bcas.tv/paste/results/o2V3Fq87.html 2013-04-25T05:20:30 < dongs> is ytours 2013-04-25T05:23:39 < gxti> it's as close as you're going to get i suspect 2013-04-25T05:23:46 < GargantuaSauce> durr 2013-04-25T05:24:05 < BrainDamage> you could get better 2013-04-25T05:24:11 < BrainDamage> but you'll need a long polynomial 2013-04-25T05:24:39 < BrainDamage> just throw it in a fitting program 2013-04-25T05:24:47 < gxti> "With four parameters I can fit an elephant, and with five I can make him wiggle his trunk." 2013-04-25T05:24:50 < GargantuaSauce> where's mathematica when you need it 2013-04-25T05:25:07 < dongs> wolframalpha? 2013-04-25T05:25:12 < dongs> i dunno how to enter that trash into it 2013-04-25T05:25:37 < dongs> http://www.wolframalpha.com/input/?i=%5B2%2C2.8%2C4%2C8%2C16%2C32%2C64%2C128%2C256%2C512%2C768%2C1024%2C1536%2C2048%2C3072%2C4096%2C8196%5D 2013-04-25T05:25:41 < dongs> i got this far 2013-04-25T05:25:44 < dongs> lol 2013-04-25T05:26:41 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Ping timeout: 246 seconds] 2013-04-25T05:32:19 < BrainDamage> x=[2;2.1;2.25;2.5;2.75;3;3.25;3.5;3.75;4;4.25;4.5;4.75;5;5.25;5.5;6] 2013-04-25T05:32:19 < BrainDamage> y=[2.000001192;2.800000429;4;8;16;32;64;128;256;512;768;1024;1536;2048;3072;4096;8196] 2013-04-25T05:32:35 < BrainDamage> plot(x,y) gives something like an exp 2013-04-25T05:32:54 < BrainDamage> sec that I'll fit a spline to that 2013-04-25T05:33:12 < R2COM> *matlab* 2013-04-25T05:33:38 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-25T05:34:10 < dongs> also 1 0.007812505 2013-04-25T05:37:47 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Excess Flood] 2013-04-25T05:42:38 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-25T05:45:34 < BrainDamage> working works 2013-04-25T05:45:39 < BrainDamage> it has a shitload of coefficients >_> 2013-04-25T05:45:46 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-25T05:49:52 < GargantuaSauce> the 8196 is fucking with my head 2013-04-25T05:51:33 < BrainDamage> http://pastebin.ca/2365991 2013-04-25T05:51:47 < BrainDamage> the polynomial has a reaaaaally weird bend 2013-04-25T05:52:21 < GargantuaSauce> yeah i can't help but think there's a discontinuity at 4 2013-04-25T05:53:58 < GargantuaSauce> some background would be nice 2013-04-25T05:55:14 < BrainDamage> http://imgur.com/ZAJqBVF,NEAtEnc#0 2013-04-25T05:55:40 < BrainDamage> spline vs polynomial 2013-04-25T05:55:49 < BrainDamage> the one with the bend is the polynomial 2013-04-25T05:55:52 < dongs> hmm 2013-04-25T05:57:15 < GargantuaSauce> is the like....a floor or an integer divide somewhere in there 2013-04-25T05:57:32 < dongs> i dont know the original formula which is what im trying to figrue out 2013-04-25T05:57:45 < dongs> im pretty sure all calc is in floats 2013-04-25T05:58:11 < dongs> and i wont be able to test origianl shit for another 4 hours or so today 2013-04-25T05:58:23 < dongs> yeah, the right side isn't int, its also float 2013-04-25T05:58:33 < dongs> it just using those nice numbers on left ends up with nice numbers on the right 2013-04-25T05:58:42 < dongs> but it can be stuff like 2000.234234 or wahtever for right side too 2013-04-25T05:59:05 < dongs> argh, and 6 IS 8192 sorry. 2013-04-25T06:00:20 -!- TeknoJuce01 [~TeknoJuce@bas1-london15-2925200146.dsl.bell.ca] has joined ##stm32 2013-04-25T06:03:42 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 264 seconds] 2013-04-25T06:04:32 -!- MrMobius [~Joey@91.192.66.230] has joined ##stm32 2013-04-25T06:06:29 < GargantuaSauce> well my final answer is ¯\_(ツ)_/¯ 2013-04-25T06:06:48 < dongs> haha 2013-04-25T06:23:16 -!- NotRandom [Random@gateway/web/cgi-irc/kiwiirc.com/x-wibwhpwhopkugysv] has joined ##stm32 2013-04-25T06:23:47 < upgrdman> i saw ツ in a schematic a while ago (japanese or chinese i think) and lol'd 2013-04-25T06:24:08 < upgrdman> i thought "oh shit, its a real character in some language" 2013-04-25T06:24:28 < NotRandom> This is your friendly neighborhood Data Sniffer. Y'all should really remove your logs from the google search results 2013-04-25T06:25:12 < NotRandom> Your logs are just sitting there open on the net. http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/ 2013-04-25T06:25:16 < GargantuaSauce> what if i want the whole world to know i'm yet another moron on freenode 2013-04-25T06:25:57 < NotRandom> Just your friendly neighbor hood Data Miner trying to find more info on a Adapter board for the iPad 3 Panel :X 2013-04-25T06:27:17 < NotRandom> It's Dongs' fault.-----> 2013-04-25T06:27:34 < NotRandom> Anyways TTFN 2013-04-25T06:27:35 < upgrdman> dongs == tom? 2013-04-25T06:27:50 -!- NotRandom [Random@gateway/web/cgi-irc/kiwiirc.com/x-wibwhpwhopkugysv] has quit [Client Quit] 2013-04-25T06:30:25 < dongs> what 2013-04-25T06:30:47 < dongs> haha 2013-04-25T06:30:50 < dongs> LOL 2013-04-25T06:33:02 < gxti> information wants to be free 2013-04-25T06:33:20 < gxti> or something 2013-04-25T06:43:29 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-25T06:43:39 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-25T06:46:44 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-04-25T06:47:00 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has quit [Ping timeout: 252 seconds] 2013-04-25T06:49:59 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Ping timeout: 246 seconds] 2013-04-25T06:58:18 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-25T07:02:56 -!- MrMobius [~Joey@91.192.66.230] has quit [Ping timeout: 246 seconds] 2013-04-25T07:16:18 -!- talsit [~talsit@061196237171.cidr.odn.ne.jp] has joined ##stm32 2013-04-25T07:20:25 < dongs> http://www.tarduino.cc/2013/04/the-open-sores-mentality.html 2013-04-25T07:32:09 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-25T07:39:57 -!- R2COM1 [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-25T07:43:13 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 240 seconds] 2013-04-25T07:46:40 < baird> He blogged! 2013-04-25T07:47:00 -!- R2COM1 is now known as R2COM 2013-04-25T07:47:38 < GargantuaSauce> bloggers gonna blog 2013-04-25T07:47:58 < GargantuaSauce> i should start blogging again 2013-04-25T07:49:19 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Excess Flood] 2013-04-25T07:49:39 < dongs> on de.su? 2013-04-25T07:50:57 < R2COM> i never blog 2013-04-25T07:52:13 < GargantuaSauce> no that domain is strictly for stupid pictures with no index 2013-04-25T07:52:49 < GargantuaSauce> http://workman-industries.net 2013-04-25T07:53:38 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-25T07:53:52 < GargantuaSauce> i fully expect to be the subject of your derision for one thing on there or another 2013-04-25T07:54:13 < dongs> haha 2013-04-25T07:54:31 < dongs> you stole my color scheme from tarduino.cc 2013-04-25T07:55:21 < R2COM> gadget/shitget/beagle/and similar shit how much is there such stuff on internet 2013-04-25T07:56:24 < R2COM> most of the stuff I can notice is some sort of microcontroller related 2013-04-25T07:56:50 -!- talsit [~talsit@061196237171.cidr.odn.ne.jp] has quit [Ping timeout: 252 seconds] 2013-04-25T07:57:21 < R2COM> duino! haha 2013-04-25T07:57:40 < R2COM> and why italian flag on that board 2013-04-25T07:57:41 < R2COM> heh 2013-04-25T07:58:14 < R2COM> anyhow, back to work. 2013-04-25T07:58:15 -!- BJFreeman [~bjfree@52.sub-75-196-18.myvzw.com] has quit [Ping timeout: 276 seconds] 2013-04-25T07:58:32 < dongs> cuz tarduino trash is "made in italy" 2013-04-25T07:58:32 -!- _BJFreeman [~bjfree@203.sub-75-244-131.myvzw.com] has joined ##stm32 2013-04-25T07:58:33 < dongs> except its not 2013-04-25T07:58:53 < R2COM> heh 2013-04-25T07:59:01 -!- _BJFreeman [~bjfree@203.sub-75-244-131.myvzw.com] has quit [Client Quit] 2013-04-25T07:59:23 < R2COM> they should use it in Ferrari ECU then 2013-04-25T07:59:48 < R2COM> you think it would kill its value or increase 2013-04-25T08:03:30 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-25T08:11:00 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 264 seconds] 2013-04-25T08:14:43 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-25T08:17:09 -!- talsit [~talsit@061196237171.cidr.odn.ne.jp] has joined ##stm32 2013-04-25T09:02:11 -!- Count_Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-04-25T09:04:43 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Ping timeout: 256 seconds] 2013-04-25T09:29:04 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-04-25T09:29:27 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-04-25T09:40:54 -!- dekar_ [~dekar@212.255.242.50] has joined ##stm32 2013-04-25T09:40:57 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-04-25T09:44:39 -!- dekar [~dekar@212.255.19.146] has quit [Ping timeout: 252 seconds] 2013-04-25T09:48:04 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-25T09:58:12 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-04-25T10:14:06 -!- mcollenberg [~mcollenbe@ppp-82-135-90-237.dynamic.mnet-online.de] has joined ##stm32 2013-04-25T10:17:23 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Read error: Connection reset by peer] 2013-04-25T10:25:10 -!- mcollenberg [~mcollenbe@ppp-82-135-90-237.dynamic.mnet-online.de] has quit [Quit: Verlassend] 2013-04-25T10:25:17 -!- mcollenberg [~mcollenbe@ppp-82-135-90-237.dynamic.mnet-online.de] has joined ##stm32 2013-04-25T10:26:06 -!- mcollenber [~mcollenbe@ppp-82-135-90-237.dynamic.mnet-online.de] has joined ##stm32 2013-04-25T10:26:33 -!- mcollenber [~mcollenbe@ppp-82-135-90-237.dynamic.mnet-online.de] has quit [Client Quit] 2013-04-25T10:27:18 -!- sterna1 [~Adium@d83-183-118-166.cust.tele2.se] has joined ##stm32 2013-04-25T10:29:51 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: and like that, he's gone] 2013-04-25T10:30:11 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-25T10:30:18 -!- mcollenberg [~mcollenbe@ppp-82-135-90-237.dynamic.mnet-online.de] has quit [Ping timeout: 256 seconds] 2013-04-25T10:32:28 -!- mcollenberg [~mcollenbe@ppp-82-135-90-237.dynamic.mnet-online.de] has joined ##stm32 2013-04-25T10:33:26 -!- solid_liq [~solidly@unaffiliated/solidliq] has quit [Quit: leaving] 2013-04-25T10:54:18 -!- Laurenceb__ [~Laurence@host81-159-190-220.range81-159.btcentralplus.com] has joined ##stm32 2013-04-25T11:02:18 -!- _BJFreeman [~bjfree@149.sub-75-233-148.myvzw.com] has joined ##stm32 2013-04-25T11:02:41 -!- _BJFreeman is now known as BJFreeman 2013-04-25T11:04:21 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-25T11:06:42 < Tectu> qyx_, are you there? 2013-04-25T11:09:09 < qyx_> yep 2013-04-25T11:10:23 < Tectu> qyx_, took a look at the LT6200 2013-04-25T11:10:27 < Tectu> slewrate is low as fuck 2013-04-25T11:10:33 < Tectu> 450V/µs 2013-04-25T11:10:46 < Tectu> currently having 3kV/µs 2013-04-25T11:10:53 < Tectu> way better for rectangular waveforms :P 2013-04-25T11:11:45 < qyx_> true, but last time i was looking for low noise, small f and high gain 2013-04-25T11:12:52 < Tectu> f 2013-04-25T11:12:52 < Tectu> ? 2013-04-25T11:14:02 < qyx_> freq 2013-04-25T11:14:11 < qyx_> i meant low frequency 2013-04-25T11:14:16 < Tectu> aah 2013-04-25T11:23:19 -!- Laurenceb__ [~Laurence@host81-159-190-220.range81-159.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-25T11:43:24 -!- PaulFertser [paul@2001:470:26:54b:250:70ff:fee7:41ec] has quit [Ping timeout: 264 seconds] 2013-04-25T12:01:59 -!- _BJFreeman [~bjfree@149.sub-75-233-148.myvzw.com] has joined ##stm32 2013-04-25T12:03:22 -!- timemob [~dongs@149.110.131.180.west.global.crust-r.net] has joined ##stm32 2013-04-25T12:03:47 -!- BJFreeman [~bjfree@149.sub-75-233-148.myvzw.com] has quit [Ping timeout: 252 seconds] 2013-04-25T12:04:37 -!- _BJFreeman is now known as BJFreeman 2013-04-25T12:07:28 -!- Mobyfab [~Mobyfab@80.239.168.84] has joined ##stm32 2013-04-25T12:19:43 -!- t1memob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-25T12:22:32 -!- timemob [~dongs@149.110.131.180.west.global.crust-r.net] has quit [Ping timeout: 256 seconds] 2013-04-25T12:30:57 -!- talsit [~talsit@061196237171.cidr.odn.ne.jp] has quit [Quit: Leaving.] 2013-04-25T12:35:03 -!- UweBonnes [~bon@hertz.ikp.physik.tu-darmstadt.de] has joined ##stm32 2013-04-25T12:41:14 -!- baird [~cjb@ppp121-44-104-161.lns20.syd6.internode.on.net] has left ##stm32 ["Konversation terminated!"] 2013-04-25T12:44:59 -!- sterna2 [~Adium@d83-183-118-166.cust.tele2.se] has joined ##stm32 2013-04-25T12:45:47 -!- sterna1 [~Adium@d83-183-118-166.cust.tele2.se] has quit [Ping timeout: 255 seconds] 2013-04-25T12:47:36 -!- t1memob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 258 seconds] 2013-04-25T12:50:56 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-25T12:51:02 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Client Quit] 2013-04-25T12:51:05 -!- capacitor [~capacitor@123-243-139-187.tpgi.com.au] has joined ##stm32 2013-04-25T12:53:00 -!- bsdfox_ [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 264 seconds] 2013-04-25T12:53:32 < Laurenceb> .95nV/√Hz 2013-04-25T12:53:34 < Laurenceb> holy shit 2013-04-25T12:54:03 < capacitor> thats a nice specification 2013-04-25T12:54:23 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-04-25T12:54:28 < Laurenceb> but it eats a ton of curent 2013-04-25T12:54:39 < capacitor> what is this device you speak of 2013-04-25T12:55:06 < Laurenceb> LT6200-10 2013-04-25T12:55:20 < capacitor> ah the linear tech 2013-04-25T12:55:20 < Laurenceb> and a ton of input current noise 2013-04-25T12:55:51 < Laurenceb> hmm http://cds.linear.com/images/product/1781_app_1.jpg 2013-04-25T12:56:04 * Laurenceb needs a good photodiode amplifier 2013-04-25T12:57:25 < Laurenceb> http://www.maximintegrated.com/datasheet/index.mvp/id/3085 2013-04-25T12:57:30 < Laurenceb> im using that at the moment 2013-04-25T12:58:19 < Laurenceb> 4.5nV and 0.5fA with 2.2mA current consumption 2013-04-25T12:58:30 < jpa-> Laurenceb: what about MTI04? 2013-04-25T12:59:16 < Laurenceb> 5v device? 2013-04-25T12:59:42 < jpa-> 3 to 5 2013-04-25T12:59:54 < Laurenceb> link to datasheet? 2013-04-25T13:00:12 < jpa-> http://www.majantys.com/var/fr/storage/original/application/61833d38e6ab6da927f84b74c5abbd95.pdf 2013-04-25T13:00:33 < jpa-> i would think a transimpedance amplifier would be the best for photodiodes 2013-04-25T13:01:21 < jpa-> i.e. current input, voltage output 2013-04-25T13:01:24 < Laurenceb> eww 2013-04-25T13:01:29 < Laurenceb> horrible huge package 2013-04-25T13:01:42 < Laurenceb> bet it has poor noise specs too 2013-04-25T13:01:49 -!- BJFreeman [~bjfree@149.sub-75-233-148.myvzw.com] has quit [Quit: had a good time] 2013-04-25T13:03:21 < jpa-> been quite good for reading low light levels in a work project.. but i cannot give any number for the noise 2013-04-25T13:03:45 < jpa-> how many bits of precision are you aiming for? 2013-04-25T13:03:54 < Laurenceb> 17 2013-04-25T13:04:01 < Laurenceb> for each carrier 2013-04-25T13:04:18 < Laurenceb> i have 7 carriers clustered around 11KHz 2013-04-25T13:05:00 < Laurenceb> oh and im limited to about 10mA for each illumination LED, and the attenuation is about 10^5 times 2013-04-25T13:05:29 < jpa-> so very low light levels on the photo diodes? 2013-04-25T13:05:43 < Laurenceb> yes 2013-04-25T13:06:40 < jpa-> i would say to try some transimpedance amplifier like that.. because in our project, that MTI04 gave results that were 100x better than the normal opamp-based thing we had before (though the opamp wasn't carefully selected either) 2013-04-25T13:06:52 < UweBonnes> Laurenceb: Use a BF862 as impedance trasnformer. Voltage noise is <1 nV/√Hz and current noise is very small. 2013-04-25T13:07:20 < Laurenceb> well 2013-04-25T13:07:33 < Laurenceb> for a photodiode, current noise is the most important 2013-04-25T13:07:50 < Laurenceb> but voltage noise across the junction capacitance gives rise to current noise 2013-04-25T13:08:27 < Laurenceb> my existing setup is around the shot noise limit, so i will probably leave it as is 2013-04-25T13:10:47 < UweBonnes> The BF862 has also a very low shot noise corber frequency 2013-04-25T13:11:19 < Laurenceb> hmm 2013-04-25T13:11:38 < Laurenceb> i should probably spice some of this stuff... 2013-04-25T13:11:53 < Laurenceb> i was thinking of a charge integrating detector 2013-04-25T13:11:59 < UweBonnes> Linear uses the BF862 in some of their applications 2013-04-25T13:12:07 < Laurenceb> using the junction capacitance - like a CMOS pixel 2013-04-25T13:12:10 < jpa-> Laurenceb: btw, have you thought about using a multi-color sensor with filters? http://www.mazet.de/en/english-documents/english/data-sheets/mmcs6cs-1/download 2013-04-25T13:12:19 < Laurenceb> jpa-: facepalm 2013-04-25T13:12:33 < Laurenceb> all that stuff is orders of magnitude off what im doing 2013-04-25T13:12:44 < Laurenceb> this is a challenging noise problem 2013-04-25T13:12:52 < jpa-> have fun then 2013-04-25T13:12:56 < Laurenceb> :P 2013-04-25T13:14:05 < UweBonnes> We use BF862 for out charge sensitive amplifiers. They als also on the mars rover, in the moessbauer spectrometer therr. 2013-04-25T13:14:29 < Laurenceb> hah wow 2013-04-25T13:14:33 < Laurenceb> didnt know that one 2013-04-25T13:15:00 < Laurenceb> so, like -> http://cds.linear.com/images/product/1781_app_1.jpg 2013-04-25T13:15:02 < Laurenceb> ? 2013-04-25T13:16:11 < UweBonnes> Well, our charge sensitive amplifiers are fully discrete, as we often also need a fast timing output. 2013-04-25T13:16:13 < Laurenceb> so, there is a high current through the 1k resistor, so only a little thermal noise, and low impact of inpuit current noise 2013-04-25T13:16:16 < Laurenceb> i see 2013-04-25T13:16:35 < Laurenceb> hmm 2013-04-25T13:16:57 < Laurenceb> LT6200 input voltage noise is <1nV/sqrt(Hz), yet 1K thermal noise will be higher 2013-04-25T13:16:58 < Laurenceb> wtf 2013-04-25T13:17:08 < Laurenceb> seems pointless to use that opamp there 2013-04-25T13:17:34 < UweBonnes> It all depends on your detector capacitance. Use parallel JFETs if capacitance is high. 2013-04-25T13:17:41 -!- dekar_ [~dekar@212.255.242.50] has quit [Quit: This computer has gone to sleep] 2013-04-25T13:18:26 < UweBonnes> The JFET has no voltage gain, so you need a fast and low noise post amplifier. 2013-04-25T13:19:02 < Laurenceb> i see 2013-04-25T13:19:36 < Laurenceb> ok, so is the 1k resistor thermal noise even relevant? 2013-04-25T13:20:28 < UweBonnes> The 1K is shortenedb by the JFET output impedance, so it is not fully relevant 2013-04-25T13:20:43 < Laurenceb> "1.5nV/sqrt(Hz) photodiode amplifier" <- is that the resulting voltage noise across the photodiode? 2013-04-25T13:20:44 < Laurenceb> i see 2013-04-25T13:21:49 < Laurenceb> so principal noise sources are voltage noise across diode junction capacitance, and BF862 input current noise? 2013-04-25T13:21:54 < UweBonnes> Again, paralleled JFETs help, and so does more current 2013-04-25T13:22:01 < Laurenceb> right 2013-04-25T13:23:40 < UweBonnes> And the Op-Amp contribution 2013-04-25T13:24:10 < Laurenceb> thats the first noise source right? 2013-04-25T13:24:19 < Laurenceb> "voltage noise across diode junction capacitance" ? 2013-04-25T13:24:47 < UweBonnes> But for such low level measurements, also a lot of other things are important: Shielding, grounding, etc 2013-04-25T13:24:54 < Laurenceb> yeah 2013-04-25T13:25:00 < UweBonnes> Don't forget the contribution of RF 2013-04-25T13:25:05 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-25T13:25:59 < Laurenceb> think I'll stick with my existing design, max4477 is good enough to get to approx the shot noise level, and whole frontend is ~3ma @3.3v 2013-04-25T13:26:33 < UweBonnes> The concept of "Good enough!" 2013-04-25T13:26:52 -!- sterna2 [~Adium@d83-183-118-166.cust.tele2.se] has quit [Quit: Leaving.] 2013-04-25T13:27:25 < Laurenceb> yeah, but from the point of view of battery life, much better 2013-04-25T13:27:45 < dongs> ur a battery life 2013-04-25T13:38:48 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has joined ##stm32 2013-04-25T13:42:23 -!- PaulFertser [paul@2001:470:26:54b:250:70ff:fee7:41ec] has joined ##stm32 2013-04-25T13:48:08 < Laurenceb> ur a troll 2013-04-25T13:49:11 < UweBonnes> PaulFertser: Hello! There was a patch from somebody regarding the (BMP) UART at high speed from some weeks ago. However I don't find it. Do you have a reference? 2013-04-25T13:51:08 < PaulFertser> UweBonnes: http://sourceforge.net/mailarchive/forum.php?thread_name=CAHUOoFbkdZ=EZ+n9A1E3RJo6ZbOTYxNNhz82+cr_An-yg1CoqQ@mail.gmail.com&forum_name=blackmagicdebug-devel ? 2013-04-25T13:52:43 -!- sterna1 [~Adium@dhcp-177218.eduroam.chalmers.se] has joined ##stm32 2013-04-25T13:53:43 < UweBonnes> Thanks. Must have been selective blindness. 2013-04-25T13:54:15 < Laurenceb> http://sourceforge.net/mailarchive/forum.php?thread_name=CAL8qUbo5R%3DzMkDSMo3%2B7rNta8JEKMi-k%3DyNP1F%2Bw7y07g358hw%40mail.gmail.com&forum_name=blackmagicdebug-devel 2013-04-25T13:54:19 < Laurenceb> interesting 2013-04-25T13:54:58 < Laurenceb> so how does that work? stdin and stdout is piped to GDB terminal session? 2013-04-25T13:55:55 < Laurenceb> " We suspect a bug in GDB, but need to investigate further." lol RMS 2013-04-25T13:57:31 < UweBonnes> We discussed allready yesterday about that. For me the crucial point is how to implement the needed cleanup in the exception handler when gdb is detached. I don't like the idea of a debaug and non-debug build 2013-04-25T14:02:00 < Laurenceb> so how does smihosting work with gdb? 2013-04-25T14:02:03 < Laurenceb> *semi 2013-04-25T14:02:20 < Laurenceb> stdout and stdin redirected the gdb terminal? 2013-04-25T14:10:55 < PaulFertser> Laurenceb: yes, by default (if the uC app is not closing 0/1/2 descriptors) they're attached to the gdb terminal. 2013-04-25T14:12:29 < PaulFertser> Laurenceb: but you can also just fopen arbitrary file and do read/writes. Or even run abritrary commands on host with system (but only the return code is available, without stdin/stdout piping). I think if one creates a named fifo manually then he can fopen it on uC and do "ls > mypipe" :) 2013-04-25T14:13:36 < PaulFertser> Laurenceb: with current OpenOCD semihosting calls go to OpenOCD's stdin/stdout. 2013-04-25T14:15:17 < Laurenceb> nice 2013-04-25T14:15:45 < Laurenceb> so i could sudo rm -rf 2013-04-25T14:15:50 < Laurenceb> :P 2013-04-25T14:19:43 < PaulFertser> Laurenceb: isn't it the same when you debug a local native app? 2013-04-25T14:21:26 -!- donigs_ [~no@bcas.tv] has joined ##stm32 2013-04-25T14:21:36 < dongs> waht teh fuck 2013-04-25T14:21:57 < capacitor> kcuf het thaw 2013-04-25T14:21:58 -!- donigs_ is now known as dongle 2013-04-25T14:22:02 -!- qyx__ [~qyx@krtko.org] has joined ##stm32 2013-04-25T14:27:24 -!- capacitor is now known as capacitors 2013-04-25T14:29:19 -!- Netsplit *.net <-> *.split quits: yawniek_, qyx_, donigs, gnomad, ds2 2013-04-25T14:29:32 -!- Netsplit over, joins: gnomad 2013-04-25T14:29:47 -!- Netsplit over, joins: yawniek_ 2013-04-25T14:40:43 -!- dekar [~dekar@dslb-088-069-135-152.pools.arcor-ip.net] has joined ##stm32 2013-04-25T14:40:47 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-25T14:53:36 < Laurenceb> http://www.thesun.co.uk/sol/homepage/news/2758794/Library-ban-for-very-smelly-man.html 2013-04-25T14:53:42 < Laurenceb> irc user spotted irl 2013-04-25T14:55:35 < rigid> lol 2013-04-25T14:55:45 < rigid> sun again... 2013-04-25T14:57:06 < capacitors> http://d24w6bsrhbeh9d.cloudfront.net/photo/4021918_700b.jpg 2013-04-25T15:05:35 -!- sterna2 [~Adium@dhcp-185058.eduroam.chalmers.se] has joined ##stm32 2013-04-25T15:06:21 * Laurenceb read "Wigston Manga Library" 2013-04-25T15:07:10 < capacitors> i think his woman has a defective nose 2013-04-25T15:07:29 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has quit [Ping timeout: 256 seconds] 2013-04-25T15:08:33 -!- sterna1 [~Adium@dhcp-177218.eduroam.chalmers.se] has quit [Ping timeout: 240 seconds] 2013-04-25T15:08:37 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Quit: Leaving] 2013-04-25T15:16:47 < Laurenceb> lol @ hentai page on wikipeado 2013-04-25T15:17:27 < Laurenceb> talk: "I found a different image which I think suitably demonstrates the artistic style of hentai without being unduly shocking to those who come across the page unawares" 2013-04-25T15:19:36 < capacitors> ughh 2013-04-25T15:22:21 -!- sterna1 [~Adium@dhcp-185058.eduroam.chalmers.se] has joined ##stm32 2013-04-25T15:22:22 -!- sterna2 [~Adium@dhcp-185058.eduroam.chalmers.se] has quit [Read error: Connection reset by peer] 2013-04-25T15:24:38 -!- sterna2 [~Adium@dhcp-177218.eduroam.chalmers.se] has joined ##stm32 2013-04-25T15:26:55 -!- sterna1 [~Adium@dhcp-185058.eduroam.chalmers.se] has quit [Ping timeout: 246 seconds] 2013-04-25T15:30:06 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-25T15:32:39 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 260 seconds] 2013-04-25T15:33:17 -!- PT_Dreamer [~quassel@a95-93-159-22.cpe.netcabo.pt] has joined ##stm32 2013-04-25T15:35:47 -!- sterna1 [~Adium@dhcp-177218.eduroam.chalmers.se] has joined ##stm32 2013-04-25T15:35:47 -!- sterna2 [~Adium@dhcp-177218.eduroam.chalmers.se] has quit [Read error: Connection reset by peer] 2013-04-25T15:36:12 -!- sterna1 [~Adium@dhcp-177218.eduroam.chalmers.se] has quit [Read error: Connection reset by peer] 2013-04-25T15:36:16 -!- sterna2 [~Adium@dhcp-177218.eduroam.chalmers.se] has joined ##stm32 2013-04-25T15:39:54 < inca> dongs: what flash utility do you use to flash the F103's with > 64 kB of data? 2013-04-25T15:40:46 < dongs> same, stm flash loader demo shit 2013-04-25T15:41:01 < dongs> you just choose 128k map 2013-04-25T15:41:01 < dongs> and it happily flashes. 2013-04-25T15:41:18 < PaulFertser> inca: and OpenOCD allows to overwrite flash memory size too. 2013-04-25T15:42:10 < inca> PaulFertser: I still have not been able to use openocd -program successfully 2013-04-25T15:42:25 < inca> at least, not with STLink/V2 2013-04-25T15:42:43 < PaulFertser> inca: with openocd you can just connect via gdb and use "load". I did that yesterday with stm32f4discovery, worked just fine. 2013-04-25T15:42:55 < inca> gdb works… sometimes 2013-04-25T15:43:09 < inca> a lot of the time there are weird flash errors 2013-04-25T15:43:14 < inca> and it randomly gives up 2013-04-25T15:43:32 -!- PT_Dreamer [~quassel@a95-93-159-22.cpe.netcabo.pt] has quit [Ping timeout: 255 seconds] 2013-04-25T15:43:37 < UweBonnes> inca: What about BMP? 2013-04-25T15:43:40 < inca> resetting everything, system, openocd, and gdb often gets it to work 2013-04-25T15:44:19 < PaulFertser> inca: strange, for me it works nicely, have you tried bugreporting? 2013-04-25T15:44:20 < UweBonnes> No need to start openocd with a zillion of config file. 2013-04-25T15:44:21 < inca> UweBonnes: I have not yet been able to use BMP for my production system… though since you're around it might be worth a try right now 2013-04-25T15:45:11 < inca> PaulFertser: I am going say with some definity that it is my faultly jimtcl config files, as UB mentioned, which is the actual problem 2013-04-25T15:45:19 < PaulFertser> UweBonnes: i started openocd with openocd -c 'source [find board/stm32f4discovery.cfg]' and that's all, no need for config file at all. 2013-04-25T15:45:52 < inca> PaulFertser: what about using stm32f4 as a STLink/V2 and not a target? 2013-04-25T15:46:09 < inca> what about the f103 as target instead of a link? 2013-04-25T15:46:32 < inca> I find the whole convention of the openocd config files to be troublesome 2013-04-25T15:46:38 < UweBonnes> PaulFertser: What can openocd do that BMP doesn't do (yet)? 2013-04-25T15:46:52 < zyp> thread awareness 2013-04-25T15:47:00 < PaulFertser> inca: then it would be 2 lines (the first choosing jtag adapter, the second choosing the target) instead of just one, come on. 2013-04-25T15:47:42 < PaulFertser> UweBonnes: lots of different other processors, not just STM32's. 2013-04-25T15:47:55 < inca> PaulFertser: sorry. I do intend to work with Spen to resolve the lower hanging fruit stuff 2013-04-25T15:47:59 < zyp> PaulFertser, BMP is not stm32-specific 2013-04-25T15:48:19 < dongs> turd awareness 2013-04-25T15:48:41 < UweBonnes> zyp: But support for anything else than STM32 still needs work... 2013-04-25T15:48:45 < PaulFertser> zyp: well, it's almost is, i know it's not strictly specific to stm32. 2013-04-25T15:49:35 < zyp> UweBonnes, apart from flashing it works with anything 2013-04-25T15:49:53 < zyp> it's just the flash drivers that are vendor specific 2013-04-25T15:50:12 < PaulFertser> zyp: hm, will it work for debugging an ARM9 target (i can try on i.MX25) out of the box? 2013-04-25T15:50:17 < dongs> but does it work wiht avr32?? 2013-04-25T15:52:09 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-04-25T15:54:23 -!- qyx__ is now known as qyx_ 2013-04-25T15:54:35 < inca> okay, F4 discovery board with BMP on the F103 is fired up… Solder Bridges 3,5,7,9 are clear and 2,4,6,8 are set. Connecting SWD from CN3 (ST-LINK) to my F107 development board 2013-04-25T15:54:50 < inca> jumper hack time =) 2013-04-25T15:56:04 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-25T15:56:05 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-25T15:56:05 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-25T15:56:08 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-25T15:56:08 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has joined ##stm32 2013-04-25T15:58:21 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 268 seconds] 2013-04-25T15:58:33 < UweBonnes> inca: I think you use it the wrong way round. 2013-04-25T15:58:55 < inca> UweBonnes: is the F4 the link/debugger? 2013-04-25T15:59:10 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-25T15:59:47 < UweBonnes> What did you flash? f4Discovery/F407 or F4discovery/F103? 2013-04-25T16:00:09 < inca> I have flashed both 2013-04-25T16:00:31 < UweBonnes> And you want to debug some external device? 2013-04-25T16:00:42 < inca> F103 with the stlink PROBE_HOST and F407 with the f4discovery 2013-04-25T16:00:45 < inca> yes 2013-04-25T16:01:03 < inca> I want to debug a separate F107 target 2013-04-25T16:01:09 < inca> over SWD 2013-04-25T16:01:50 < UweBonnes> So either use the F4 with the pins proposed, or revert the changes withe the default/reserved jumpers and use CN2/SWD. 2013-04-25T16:02:11 < UweBonnes> CN3 is only to access F4discovery/F103? 2013-04-25T16:02:57 < inca> UweBonnes: I think I understand what you are saying… let me double check my schematic and notes. 2013-04-25T16:04:04 < UweBonnes> The solder bridges on sb3/5 and sb7/9 are a mean toi still access f4Discovery/F407 via 4discovery/F103 while CN3 still provides access to 4discovery/F103 2013-04-25T16:07:34 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 2013-04-25T16:07:41 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-25T16:08:22 < inca> UweBonnes: Another way to access the f4Discovery/F407 via 4Discovery/F103 is to connect T_JTCK (SWD, Pin 2) to PA14 and T_JTMS (SWD, Pin 4) to PA13. This configuration requires SB11 and SB12 to be enabled. 2013-04-25T16:09:22 < UweBonnes> Maybe, but with the solder changes reverted, you can follow the procedure given for the original ST-Link 2013-04-25T16:10:05 < inca> Right. 2013-04-25T16:10:32 < UweBonnes> Another option might be to remove JP1, so the F407 is unpowered and shouldn't interfere with external SWD 2013-04-25T16:11:46 < inca> I have played with that a bit, I think that is why I tried something difference than the sb3/5 sb7/9 trick, because the F4 was affecting the F103's ability to run BMP 2013-04-25T16:12:00 < inca> while JP1 was off 2013-04-25T16:12:48 < inca> so I pulled JP1 and the F103 now blinks the green light… going to try and get it connected to the F107 target 2013-04-25T16:14:02 < UweBonnes> There are few reasons to reflash the bootloader, so revert the changes and work as described for the ST-Link. 2013-04-25T16:15:20 < UweBonnes> Having JP1 off, the unpowered SWD pins of the F407 might still affect the signals. That' not a clean solution. 2013-04-25T16:15:38 < inca> Yeah, VDD is cut from 3V 2013-04-25T16:15:42 -!- _BJFreeman [~bjfree@200.sub-75-233-213.myvzw.com] has joined ##stm32 2013-04-25T16:16:15 -!- _BJFreeman is now known as BJFreeman 2013-04-25T16:16:45 < inca> Okay, so I am to flash the latest PROBE_HOST = stlink from your github repo? 2013-04-25T16:17:19 < inca> onto the F4Discovery/F103 2013-04-25T16:17:27 < UweBonnes> I changed the section"Test, erase and reflash" on http://embdev.net/articles/STM_Discovery_as_Black_Magic_Probe. Let me know if things are clearer now 2013-04-25T16:18:13 < UweBonnes> Gareth's tree now contains all my changes, beside the raw_jtag access. So try wit Gareth recent tree. 2013-04-25T16:18:45 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 276 seconds] 2013-04-25T16:18:54 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-25T16:21:06 -!- dongle is now known as dongie 2013-04-25T16:21:31 < inca> Okay, I see that SB3/5 connects T_JTCK and TCK/SWCLK (PA14 of F4). SB7/9 connects T_JTMS and TMS/SWDIO (PA13). 2013-04-25T16:22:23 < inca> I don't understand why SB3,5,7,9 (Default jumpers) must be in place to use SWD as STLink/V2 via the F4Discovery/F103 2013-04-25T16:22:34 * PaulFertser wonders how RTC registers pretending to be a BCD calendar (on stm32l15x) might be any better than a plain old RTC seconds counter capable of using standard POSIX time 2013-04-25T16:23:08 < inca> Since CN3 (ST-LINK) must be empty to use SWD, which basically means all the Default SB3,5,7,9 are disconnected anyway 2013-04-25T16:24:46 < inca> PaulFertser: Maybe so we don't have to toggle the decimal output option for that data field? =) 2013-04-25T16:25:47 < UweBonnes> inca: I scrached my head also for some times about the jumpers. 2013-04-25T16:26:28 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 256 seconds] 2013-04-25T16:26:34 < PaulFertser> inca: i do not understand it. I need a calendar, if i have time i can feed it to mktime or strftime or whatever and it'll work just as expected with newlib. So why do you need to bother with bcd and additional conversion layer? 2013-04-25T16:26:48 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-25T16:27:14 < UweBonnes> PaulFertser: Perhaps to have no need for newlib and such? 2013-04-25T16:27:39 < inca> PaulFertser: Abstraction becomes obstruction at a certain point… 2013-04-25T16:28:12 < PaulFertser> But why someone would want to run /that/ bare-metal? 2013-04-25T16:28:26 < inca> UweBonnes: I am fetching the new source and configuring for PROBE_HOST = stlink 2013-04-25T16:28:46 < PaulFertser> inca: should be without spaces 2013-04-25T16:29:30 < UweBonnes> It's some intelectual challange to flash the right firmware to the right device in the right state. And Paul has a valid hint. 2013-04-25T16:29:33 < inca> PaulFertser: Thanks for checking =) 2013-04-25T16:29:43 < inca> hahaha 2013-04-25T16:30:05 < inca> I actually have the BMP makefile output a timestamp and what device it was configured for 2013-04-25T16:30:25 < inca> git is a wonderful tool. 2013-04-25T16:32:07 < UweBonnes> PaulFertser: Yes, it's a pity that the STM32 RTC doesn't provide a register counting pure seconds. 2013-04-25T16:32:49 < PaulFertser> UweBonnes: stm32f10x does, but newer parts somehow prefer the calendar. I could understand it being useful 20 years ago, but why they're doing it now? 2013-04-25T16:33:10 < UweBonnes> inca: Send that change to Gareth! 2013-04-25T16:34:23 < inca> I was afraid it would distract him from bmp 2013-04-25T16:34:53 < UweBonnes> He survived mys distraction and errors ;-) 2013-04-25T16:35:22 < inca> basically, change the targets blackmagic -> blackmagic_$(BUILDDATE)_$(PROBE_HOST) 2013-04-25T16:36:26 < UweBonnes> Nice idea. Please bug Gareth. But perhaps use the GIT tag instead of BULDDATE 2013-04-25T16:37:30 < inca> might be more informative… though I am not sure how to do GIT tag in makefile, especially with some kind of dirty bit 2013-04-25T16:37:56 < Laurenceb> : yeah its really annoying 2013-04-25T16:38:11 < Laurenceb> with F1 RTC you can just set it to unix time/gps time.. whatever 2013-04-25T16:39:22 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-25T16:39:57 < PaulFertser> Laurenceb: great, so i'm not mad if you agree with me. It seems like ST's engineers are somewhat nuts, that still surprises me how they manage to get the nice results... 2013-04-25T16:40:16 < Laurenceb> yeah - i don't understand their reasoning 2013-04-25T16:40:24 < Laurenceb> and it meant more work for them.. wtf 2013-04-25T16:40:38 < capacitors> i am stm32 idiot 2013-04-25T16:40:46 < zyp> Laurenceb, instancing core x is more work than instancing core y how? 2013-04-25T16:40:54 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 264 seconds] 2013-04-25T16:41:24 < PaulFertser> btw, am i missing it or stm32l really doesn't provide means to get an RTC interrupt once a second? 2013-04-25T16:41:26 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-25T16:41:34 < Laurenceb> well, providing you have the new core... 2013-04-25T16:42:35 < Laurenceb> but yeah, its probably an IP core that was sold to managers who were taken in my marketing BS 2013-04-25T16:42:52 < Laurenceb> "more features == good" 2013-04-25T16:43:59 -!- sterna1 [~Adium@dhcp-177218.eduroam.chalmers.se] has joined ##stm32 2013-04-25T16:43:59 -!- sterna2 [~Adium@dhcp-177218.eduroam.chalmers.se] has quit [Read error: Connection reset by peer] 2013-04-25T16:47:46 < dongie> U R THE CORE 2013-04-25T16:47:53 < capacitors> lol 2013-04-25T16:48:02 < dongie> i connected to my F103 and it says r1p1, i thought F103 was like r1p0 2013-04-25T16:48:03 < capacitors> this channel is a bit crazy sometimes 2013-04-25T16:48:07 < dongie> did they upgrade cortex -m core or wat 2013-04-25T16:48:25 < capacitors> lol i'm in your stm32 upgrading your coarz 2013-04-25T16:48:25 < dongie> mAybe its T EH Chaina CLone1!111 2013-04-25T16:48:32 < dongie> rolfr 2013-04-25T16:48:33 < UweBonnes> w.r.t. the RTC: What about using a RTC interrtupt evert second to count up a 32 bit variable. 2013-04-25T16:48:43 < dongie> who is this australian faggot 2013-04-25T16:48:49 < dongie> he is NEW 2013-04-25T16:49:07 < zyp> UweBonnes, you could just use a normal timer if that was the point 2013-04-25T16:49:28 < zyp> UweBonnes, the point of the rtc is that it can run on vbat while the rest of the system is turned off 2013-04-25T16:49:47 < capacitors> lol 2013-04-25T16:50:13 < UweBonnes> Zyp: If you are in some low power mode, the normal interrupt won't work 2013-04-25T16:50:14 < PaulFertser> UweBonnes: but is there RTC interrupt event second at all present on those "calendar RTC" cores? 2013-04-25T16:50:37 < zyp> UweBonnes, well, duh, that's what I just said. 2013-04-25T16:50:44 < Laurenceb> you can set an ALARM 2013-04-25T16:51:32 < dongie> zyp: http://www.youtube.com/watch?v=DaDpTTTrFLg ur ulink/me dongle in action 2013-04-25T16:51:32 < UweBonnes> But all that if ugly work around for something that was better before... 2013-04-25T16:52:13 < zyp> dongie, cool 2013-04-25T16:52:14 < Laurenceb> omg 2013-04-25T16:52:17 < Laurenceb> JEWSTAR 2013-04-25T16:52:21 < dongie> WHAR 2013-04-25T16:52:22 < dongie> oh 2013-04-25T16:52:23 < dongie> right 2013-04-25T16:52:35 < Laurenceb> lolz 2013-04-25T16:53:15 * Laurenceb is bored :( 2013-04-25T16:53:26 < capacitors> beer 2013-04-25T16:53:33 < Laurenceb> hmm good plan 2013-04-25T16:53:57 < UweBonnes> But while we are at brain damage: Did anybody follow the Texas instrument LM3S NRDD and Stellaris rename to Tiva thing? 2013-04-25T16:54:12 < zyp> Tiva? 2013-04-25T16:54:12 < capacitors> uh 2013-04-25T16:54:40 < UweBonnes> And did anybody accept the licens needed to down;oad datasheets for the Infineon XMC4? 2013-04-25T16:54:54 < capacitors> 777 2013-04-25T16:55:13 < dongie> UweBonnes: saw it, barely cared since stellaris sucked anyway. 2013-04-25T16:55:57 -!- capacitors [~capacitor@123-243-139-187.tpgi.com.au] has quit [Quit: ChatZilla 0.9.90 [Firefox 20.0.1/20130409194949]] 2013-04-25T16:56:42 < inca> UweBonnes: I just noticed your second discovery board is the F3 2013-04-25T16:57:38 <+Steffanx> UweBonnes, yeah.. wonderful change 2013-04-25T16:57:45 < dongie> trying to find my hdd motor 2013-04-25T16:57:54 < PaulFertser> Laurenceb: yes, but i need an ALARM for other purposes, i'd need to reconfigure it before entering deep sleep then. 2013-04-25T16:58:03 < Laurenceb> hmm 2013-04-25T16:58:13 < Laurenceb> can't you impliment the other alarm in software? 2013-04-25T16:58:21 < Laurenceb> stare a variable in BBRAM 2013-04-25T16:58:34 < Laurenceb> *store 2013-04-25T16:58:52 < UweBonnes> PaulFertser: So probably the only way is to decode BCD into UTC seconds and then use newlib functions. 2013-04-25T16:58:55 < dongie> Laurenceb is all about staring 2013-04-25T16:59:35 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 255 seconds] 2013-04-25T17:00:09 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-25T17:00:43 < PaulFertser> UweBonnes: http://paste.debian.net/228/ yes, not much of a hassle but meh 2013-04-25T17:05:28 < inca> well… texane stlink write flash failed… let's try OpenOCD gdb 2013-04-25T17:05:41 < dongie> inca: y u still opensores?? 2013-04-25T17:05:49 < dongie> inca: http://www.tarduino.cc/2013/04/the-open-sores-mentality.html 2013-04-25T17:06:15 < inca> dongie: cause UweBonnes is here today =) 2013-04-25T17:06:47 <+Steffanx> Whoa, blogging on tarduino.cc L:S 2013-04-25T17:06:54 < dongie> Steffanx: i kno rite 2013-04-25T17:07:03 <+Steffanx> posted by timmy .. :S 2013-04-25T17:07:17 < dongie> ohh i should change my blogger name to dongie 2013-04-25T17:07:24 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-04-25T17:07:54 < inca> openocd's gdb flash fun: Error erasing flash with vFlashErase packet 2013-04-25T17:08:14 < dongie> wasnt that your error befofrer 2013-04-25T17:09:39 <+Steffanx> Whats the point of the permanent parker dongie ? To show the size? 2013-04-25T17:09:45 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-25T17:10:40 < dongie> Steffanx: cuz they're rare in japan :( 2013-04-25T17:10:45 < dongie> SO IM LIKE PROUD OF IT 2013-04-25T17:11:18 <+Steffanx> Not sure if serious, but .. 2013-04-25T17:11:43 < UweBonnes> inca: Error erasing flash with vFlashErase packet means there is some protection 2013-04-25T17:12:13 < Laurenceb> ooh blogz on the ipanel 2013-04-25T17:12:44 < inca> UweBonnes: Is there an open source way to clear option bytes over SWD STLink/V2? 2013-04-25T17:12:51 * inca boots windows 2013-04-25T17:13:24 < UweBonnes> I ran STM ST-Link windows program in a hacked vertsion of wine. 2013-04-25T17:13:28 <+Steffanx> You should make one that can be used over usb dongs. No free dp ports here :( 2013-04-25T17:13:41 < inca> haha… that's hardly OSS =) 2013-04-25T17:13:44 < Laurenceb> fail 2013-04-25T17:13:51 < inca> so, in other words, not at the moment 2013-04-25T17:13:52 < Laurenceb> usb has nothing like enoug bandwidth 2013-04-25T17:14:12 <+Steffanx> Not for te entire screen perhaps 2013-04-25T17:14:24 < inca> I might hack texane's stlink flasher to clear F1xx option bytes for fun 2013-04-25T17:14:35 < Laurenceb> might as well make it a arduino shield 2013-04-25T17:14:41 <+Steffanx> My eyes aren't good enough for small-ish pixels anyway Laurenceb 2013-04-25T17:14:51 <+Steffanx> *tiny-ish 2013-04-25T17:15:07 < UweBonnes> Inca: Flash F4 with BMP and connect to the on-board F103 to clean fuses 2013-04-25T17:15:49 -!- sterna2 [~Adium@dhcp-185190.eduroam.chalmers.se] has joined ##stm32 2013-04-25T17:16:04 < inca> I have a commercial STLink/V2 and the windoze software… I just would like to eventually be able to clear fuses via OSS on the STLink/V2 2013-04-25T17:16:13 < inca> well, by using the STLink/V2 2013-04-25T17:16:13 < gxti> dongie: don't quit your day job 2013-04-25T17:18:44 < dongie> gxti: wut 2013-04-25T17:18:56 -!- sterna1 [~Adium@dhcp-177218.eduroam.chalmers.se] has quit [Ping timeout: 252 seconds] 2013-04-25T17:20:30 < inca> option bytes cleared 2013-04-25T17:20:53 < inca> had to short SB10 briefly, but it worked 2013-04-25T17:21:47 < dongie> gxti: ????? 2013-04-25T17:22:00 < inca> BMP_DFU is written via texane's st-flash util 2013-04-25T17:22:14 < gxti> dongie: i don't think you have a future in pro blogging 2013-04-25T17:22:58 < dongie> gxti: loool 2013-04-25T17:23:05 < inca> reset device, green light flashes. ID 1d50:6017 OpenMoko, Inc. 2013-04-25T17:25:42 -!- sterna1 [~Adium@dhcp-177218.eduroam.chalmers.se] has joined ##stm32 2013-04-25T17:28:23 -!- sterna2 [~Adium@dhcp-185190.eduroam.chalmers.se] has quit [Ping timeout: 255 seconds] 2013-04-25T17:29:28 < gxti> nice mouser, click a link on one of there promo emails and get a http password prompt for "http://sharepoint" 2013-04-25T17:29:48 < gxti> .. did i just misuse "there"? unacceptable 2013-04-25T17:30:59 < gxti> i guess maybe it was trying to open something internal here at work, would have been more amusing if they actually had a sharepoint it was trying to open 2013-04-25T17:31:21 <+Steffanx> uh :S 2013-04-25T17:32:12 < inca> dfu-util -a 0 -s 0x08002000 -D blackmagic.bin 2013-04-25T17:32:16 < inca> looks good 2013-04-25T17:32:44 < inca> hmm 2013-04-25T17:32:56 < inca> usb ID did not increment to 6018 2013-04-25T17:33:24 < inca> looks like it is still in dfu bootloader 2013-04-25T17:33:46 < UweBonnes> Reset! 2013-04-25T17:34:03 < UweBonnes> Or use -s0x08000000:leqave argument 2013-04-25T17:34:48 < inca> trying :leave 2013-04-25T17:35:40 < inca> interesting 2013-04-25T17:36:21 < inca> the F4Discovery/F103 never leaves the bootloader unless VDD is present (i.e. JP1 is connected) 2013-04-25T17:36:59 < inca> Why does it need VDD? 2013-04-25T17:37:18 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-25T17:37:27 < inca> board VDD that is, which is split from 3V which is still gets 2013-04-25T17:37:38 < inca> which the F103 still gets* 2013-04-25T17:37:57 < UweBonnes> The User button is powered with F4/VDD. A pressed User buttom is "force bootloader" 2013-04-25T17:37:59 < karlp> PaulFertser: https://github.com/karlp/libopencm3/blob/l1/examples/stm32/l1/stm32l-discovery/button-irq-printf-lowpower/main.c has the 32l doing rtc wakeup once per second 2013-04-25T17:38:05 -!- sterna2 [~Adium@dhcp-185190.eduroam.chalmers.se] has joined ##stm32 2013-04-25T17:38:27 < inca> MCO? 2013-04-25T17:39:13 < UweBonnes> BMP stlink/swlink unconditionally enabled 8 MHz output on PA8(MCO) 2013-04-25T17:41:50 -!- sterna1 [~Adium@dhcp-177218.eduroam.chalmers.se] has quit [Ping timeout: 256 seconds] 2013-04-25T17:41:52 < inca> The only pins I see that leave the ST_LINK page aside for the SWD stuff for the F4 is MCO… so if JP1 is removed and VDD absent, how could MCO stop the F103 from loading the full program… unless maybe it affects the boot pins 2013-04-25T17:41:54 < inca> hmm 2013-04-25T17:41:57 < inca> BOOT0/1 2013-04-25T17:42:13 < inca> both appear to be grounded 2013-04-25T17:43:38 < inca> the grounds can be played with via JP2 and JP3 2013-04-25T17:44:35 < UweBonnes> Inca: BMP F103 senses F4/NRST. If NRST is pressed or F4/VDD is not available, BMP F103 starts the bootloader to allow reflash even with a beserque application 2013-04-25T17:45:17 < inca> Ah! That is good to know 2013-04-25T17:45:31 < UweBonnes> And written in the docs. 2013-04-25T17:46:32 < inca> fair enough 2013-04-25T17:46:56 < inca> okay, bmp is running and up, time to flash things 2013-04-25T17:48:06 <+Steffanx> inca you did it in your own time or time of your boss? :) 2013-04-25T17:48:13 <+Steffanx> ( just curious ) 2013-04-25T17:48:22 < inca> Steffanx: this is all on my own time 2013-04-25T17:48:53 <+Steffanx> ok, then i wont say anything 2013-04-25T17:49:12 < inca> consider it an investment in my future sanity 2013-04-25T17:50:00 < inca> hokay… pins are jumpered to target… let's connect gdbs 2013-04-25T17:50:17 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has quit [Ping timeout: 252 seconds] 2013-04-25T17:53:05 < inca> UweBonnes: when gdb loses sync with usb cdc device, how do you exit? I usually have to kill gdb 2013-04-25T17:53:39 < UweBonnes> I don't know any other way than to kill. 2013-04-25T17:53:47 < inca> k 2013-04-25T17:54:01 < karlp> hrm, batchpcb/oshpark now says free shipping worldwide. 2013-04-25T17:54:14 < karlp> should have waited til this week to get pcbs made 2013-04-25T17:54:53 < inca> swdp_scan is failing 2013-04-25T17:55:35 < inca> checking pinouts 2013-04-25T17:56:08 < UweBonnes> Please double check. And check that SB changes are reverted. 2013-04-25T17:57:42 < inca> UweBonnes: I have not reverted SB's yet. Will do that after I double check that this really can't work (e.g. booting bmp with JP1 on, then removing it once loaded, etc.) 2013-04-25T17:58:05 < UweBonnes> So first check on-board SWD to the F4 2013-04-25T17:58:16 < PaulFertser> inca: and make good ground connection to your target too. 2013-04-25T17:58:31 < inca> hmm 2013-04-25T18:01:57 < inca> ok, without changing from Reserved SB's, patching (T_JTCK) CN2.2 to F4.PA14 and and (T_JTMS) CN2.4 to F4.PA13 2013-04-25T18:03:06 < inca> Found the F4 with swdp_scan 2013-04-25T18:04:49 < inca> attaches… things look good 2013-04-25T18:05:06 < inca> going to try looking at the target F107 now 2013-04-25T18:05:22 < inca> perhaps with a more solid ground and double checking SWD jumper cable 2013-04-25T18:05:52 < UweBonnes> Inca: You need to revert SB changes to go off-board. 2013-04-25T18:07:26 < inca> If the provided documentation from ST about the F4Discovery board is correct regarding the schematic, I believe it is possible to use CN2 (SWD) without reverting the solder bridges 2013-04-25T18:07:44 < inca> If the schematic is a lie, then I will accept that it cannot be done =) 2013-04-25T18:07:53 < inca> or perhaps I read something wrong 2013-04-25T18:09:53 < UweBonnes> At least you need to remove the solder bridge SB3/5 and SB7/9/. But then you can't do on-baord connections\ 2013-04-25T18:10:48 < inca> SB3/5 and SB7/9 are off. The only ones I have outside of default spec are the reserved SB2,4,6,8 2013-04-25T18:13:09 < UweBonnes> Look at T_JTCK and SWD. With SB3 removed, it is dangling. 2013-04-25T18:14:00 < UweBonnes> No. wrong. It is connected to F103PB13. 2013-04-25T18:14:42 < UweBonnes> Try again with more gound wire from board to board 2013-04-25T18:26:45 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-25T18:27:04 < inca> UweBonnes: success! 2013-04-25T18:27:27 < UweBonnes> What was the magic applied? 2013-04-25T18:27:57 < inca> my connection was inverted vertically as applied to the 20 pin JTAG header =P 2013-04-25T18:28:59 < inca> there are some caveats… NRST and SWO have not been fully tested yet, though if NRST is connected and JP1 disconnected, it will drain the remote VDD 2013-04-25T18:29:20 < inca> though it will still find the target if the power supply is beefy enough 2013-04-25T18:29:32 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Quit: Leaving.] 2013-04-25T18:29:56 < inca> so it is TCK, TMS, and a good ground 2013-04-25T18:29:58 < UweBonnes> But that's the same problem with original STM ST-Link 2013-04-25T18:30:02 < inca> right 2013-04-25T18:30:09 < inca> so leave JP1 on 2013-04-25T18:30:25 < inca> F4 will run off on it's own, that's ok 2013-04-25T18:30:56 < inca> so long as CN3 is open 2013-04-25T18:31:03 < inca> awesome =) 2013-04-25T18:31:48 < inca> does BMP take advantage of NRST and SWO? 2013-04-25T18:32:30 < inca> I suppose I can look at the reference design 2013-04-25T18:32:48 < gxti> inca: NRST is wired but not presently used (which is unfortunate). SWO support was just added this month. 2013-04-25T18:33:13 < zyp> this month? it has been present for over a year 2013-04-25T18:33:28 < gxti> oh, there was something before the semihosting? 2013-04-25T18:33:37 < zyp> SWO is not related to semihosting at all 2013-04-25T18:33:39 < inca> I'd imagine the NRST should be an easy GPIO fix 2013-04-25T18:33:45 < gxti> ok, what can you do with it 2013-04-25T18:33:57 < zyp> gxti, https://github.com/gsmcmullin/magictpa 2013-04-25T18:33:58 < UweBonnes> gxti: There is no SWO on BMP/Discovery yet. Different pins need different code. 2013-04-25T18:34:30 < inca> so SWO does ITM 2013-04-25T18:34:56 < zyp> SWO is for trace, yes 2013-04-25T18:35:17 < inca> it might break the 64 kB size thing for F103s… can't wait to try and flash it beyond 64 kB 2013-04-25T18:35:48 < UweBonnes> Inca: remove nanolob and you will hit the limit. 2013-04-25T18:36:24 < inca> Q4 2012 gcc-arm-embedded also blows the limit in either case 2013-04-25T18:36:29 < zyp> inca, you mean F103x8? 2013-04-25T18:36:55 < UweBonnes> But SWO needs a manchester decoder and BMP native implements it for the T1/T2 inputs of a timer. BMP/St-Link only connects to T3/T4. 2013-04-25T18:37:10 < inca> zyp: yeah, apparently dongs has had some success (statistically maybe significant quantities) flashing beyond 64 kB 2013-04-25T18:38:00 < zyp> well, BMP won't complain about attempting that 2013-04-25T18:38:17 < zyp> BMP treats all F1 variants as the largest one 2013-04-25T18:38:31 < inca> neat 2013-04-25T18:38:33 < UweBonnes> And BMP on anything > F103 has not enough USB endpoints for SWO 2013-04-25T18:39:05 < inca> so that is the reason to stick with F103? Interesting... 2013-04-25T18:39:20 < zyp> that's not entirely true 2013-04-25T18:39:46 < zyp> just don't waste real endpoints on the ACM interrupt endpoints that aren't used anyway and you'll be fine 2013-04-25T18:40:26 < UweBonnes> The unused endpoint have remarks that not providing them caused grief on Mac and Linux. 2013-04-25T18:40:53 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-04-25T18:40:56 < zyp> UweBonnes, sure, but just put numbers in there that doesn't exist in hardware 2013-04-25T18:41:21 < inca> hmm… so the TODO list: Manchester from T1/T2 to T3/T4 Timers for ST-Link port of BMP to get SWO/ITM support. 2013-04-25T18:42:49 < UweBonnes> Well, as I understand Gareth, he is not to fond with SWO/ITM and think's about other solutions. 2013-04-25T18:43:14 < zyp> why not just get a real BMP if you are going to play with advanced features? 2013-04-25T18:43:16 < inca> what are the other soutions for trace? kernel support? 2013-04-25T18:43:30 < zyp> what do you need to trace? 2013-04-25T18:43:35 < inca> sex appeal 2013-04-25T18:43:48 < zyp> huh? 2013-04-25T18:43:52 < inca> hah 2013-04-25T18:44:04 < inca> just for the intellectual challenge? 2013-04-25T18:44:08 < UweBonnes> There is a parallel trace. 2013-04-25T18:45:26 < zyp> UweBonnes, forget about it, you need more than a microcontroller to keep up with that output :p 2013-04-25T18:45:47 < inca> what about the F407? 2013-04-25T18:45:53 < inca> what kind of bandwidth? 2013-04-25T18:46:13 < UweBonnes> Gareth though about some programmable device. 2013-04-25T18:46:21 < inca> are you talking about ETM? 2013-04-25T18:46:36 < zyp> ETM provides full execution trace 2013-04-25T18:47:21 < inca> what is the parallel trace called in ARM-speak? 2013-04-25T18:47:27 < dongie> etm 2013-04-25T18:47:29 < zyp> ETM. 2013-04-25T18:47:32 < inca> ok 2013-04-25T18:47:50 < inca> http://infocenter.arm.com/help/topic/com.arm.doc.ddi0337g/DDI0337G_cortex_m3_r2p0_trm.pdf 2013-04-25T18:48:12 < inca> Ch14 ETM 2013-04-25T18:48:52 < zyp> actually, ETM is also driving SWO (also called SWV) 2013-04-25T18:48:58 < zyp> see page 14-3 2013-04-25T18:49:08 < zyp> TRACEDATA is the parallel trace 2013-04-25T18:49:53 < inca> 24 byte fifo… looking for clock speed 2013-04-25T18:50:10 < inca> is it just f_PCLK? 2013-04-25T18:50:42 < zyp> nah 2013-04-25T18:51:27 < zyp> hmm, looks like it's a slave 2013-04-25T18:51:46 < zyp> then maybe it's useable even at lower speeds 2013-04-25T18:52:14 < zyp> though, unlike SWO it's usually not readily available on common devboards 2013-04-25T18:52:51 < inca> right… it might be worth a shot on the dual chipped devboards, like F4 Discovery 2013-04-25T18:53:47 < inca> hmm… where are the TRACE* lines for F4... 2013-04-25T18:54:00 < UweBonnes> The datasheet will tell... 2013-04-25T18:54:12 < inca> indexing... 2013-04-25T18:57:02 < inca> PE2:6 2013-04-25T18:58:48 < Thorn> how do you calculate a transistor loaded with a current source? it's essentially two current sources in series 2013-04-25T19:13:12 < UweBonnes> What do you want to calculate? 2013-04-25T19:15:25 < zyp> loaded? 2013-04-25T19:19:53 < inca> UweBonnes: is there a headless way to flash via BMP? like textane's st-flash utility 2013-04-25T19:20:59 -!- dekar [~dekar@dslb-088-069-135-152.pools.arcor-ip.net] has quit [Quit: This computer has gone to sleep] 2013-04-25T19:21:37 < Thorn> inca: arm-none-eabi-gdb -ex "set confirm off" -ex "target extended-remote \\\\.\\COM27" -ex "mon swdp_scan" -ex "attach 1" -ex "load" -ex "run" image.elf 2013-04-25T19:24:53 < Thorn> zyp: e.g. this differential pair is loaded with a current mirror http://upload.wikimedia.org/wikipedia/en/7/70/Long-tailed-pair.gif 2013-04-25T19:26:03 < UweBonnes> inca: Look at the tools Gareth provides. 2013-04-25T19:29:30 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has joined ##stm32 2013-04-25T19:32:47 < zippe1> inca: ETM is the block inside the SoC that captures trace 2013-04-25T19:33:03 < zippe1> TRACESWO is the usual way you get trace data out 2013-04-25T19:33:09 < zippe1> (for the small chips) 2013-04-25T19:33:11 < zippe1> There are other ways 2013-04-25T19:33:29 < zippe1> zyp: "full execution trace" is a bit misleading 2013-04-25T19:33:51 < zippe1> You can usually reconstruct code flow from the trace output assuming you also have a copy of the code 2013-04-25T19:38:07 < jpa-> it would scarcely be realistic to get details of every instruction out on a single wire bus when the CPU is running full speed, right? 2013-04-25T19:38:26 < gxti> with a sufficiently fast wire 2013-04-25T19:38:28 < gxti> :P 2013-04-25T19:38:42 < zippe1> Depends on the SoC implementation 2013-04-25T19:38:45 < jpa-> yeah, but it would have to be like 16x more than the CPU clock speed 2013-04-25T19:39:03 < zippe1> If you put a pile of fast SRAM in the ETM then you can send instruction traces to it for a while 2013-04-25T19:39:05 < gxti> fine, differential pair. at 10gbit. 2013-04-25T19:39:15 < inca> thanks for the context info, zippe1. 2013-04-25T19:39:18 < zippe1> Then either freeze the core while something drains it, or disable the trigger 2013-04-25T19:39:27 < zippe1> This is where the CTI comes in 2013-04-25T19:39:44 < zippe1> You can use it to trigger tracing based on an event 2013-04-25T19:40:02 < zippe1> In the STM32 context, you are stuck with the relatively simple v7m trace architecture 2013-04-25T19:40:10 < zippe1> That gets you exceptions + periodic PC tracing 2013-04-25T19:40:18 < zippe1> plus software-generated traces 2013-04-25T19:40:50 < zippe1> Other cores can generate lots more info, e.g. branch-taken flags, etc. 2013-04-25T19:40:53 < Thorn> the ETM trace interface in stm32 is 4 data lines + clock iirc 2013-04-25T19:41:08 -!- mcollenberg [~mcollenbe@ppp-82-135-90-237.dynamic.mnet-online.de] has quit [Ping timeout: 256 seconds] 2013-04-25T19:41:16 < zippe1> The v7m stuff is ITM based 2013-04-25T19:41:24 < gsmcmullin> zippe1: That much we can do with the ITM. Do the bigger devices with ETM not get you branch trace? 2013-04-25T19:41:50 < zippe1> gsmcmullin: that's the branch-taken part 2013-04-25T19:42:10 < zippe1> And it's why you need the code 2013-04-25T19:42:20 < Thorn> see cortex debug + ETM connector http://infocenter.arm.com/help/topic/com.arm.doc.faqs/attached/13634/cortex_debug_connectors.pdf 2013-04-25T19:42:41 < Thorn> I think that's full instruction trace, I've seen trace logs on the net 2013-04-25T19:42:47 < gsmcmullin> Yeah, I got that. But is it not in the bigger v7m devices? 2013-04-25T19:44:24 < zippe1> I haven't actually looked… sec 2013-04-25T19:45:35 < zippe1> Looks like the F4 at least has the ETM 2013-04-25T19:46:07 < zippe1> so scratch what I said above about "stuck with" 2013-04-25T19:46:33 < Thorn> rm0008 31.15 page 1066 - ETM, 31.17 page 1070 - TPIU with trace pins, 2013-04-25T19:47:57 < zippe1> Yeah, I was just looking at the TPIU config, but I cant' find the FIFO size 2013-04-25T19:48:13 < Thorn> ETM also has triggers (clock and data match) 2013-04-25T19:48:23 < Thorn> *data address match 2013-04-25T19:49:55 < Thorn> also looks like the SWO 1-pin interface and the 5-pin one do the same thing, only with different line coding and speed 2013-04-25T19:50:21 < Thorn> I assumed the first one was for the ITM and the second for ETM 2013-04-25T19:50:26 < inca> If the fifo is the same size as ETM preset, then 26 bytes. http://infocenter.arm.com/help/topic/com.arm.doc.ddi0337g/DDI0337G_cortex_m3_r2p0_trm.pdf 2013-04-25T19:50:51 < zippe1> Thorn: by my understanding the TPIU merges both streams 2013-04-25T19:51:12 -!- barthess [~barthess@178.154.5.134] has joined ##stm32 2013-04-25T19:52:48 < zippe1> inca: I must be blind, where are you seeing that number? 2013-04-25T19:53:12 < inca> 14-9 2013-04-25T19:53:33 < inca> Table 14-7, just before section 14.3.1 2013-04-25T19:53:48 < inca> shit 2013-04-25T19:53:55 < inca> I typoed, it's 24 bytes 2013-04-25T19:57:48 < zippe1> Got it, that's in the ETM which is fine 2013-04-25T19:58:00 < Thorn> wth. TRM rev. r2p0 is 410 pages and 19 chapters long. r2p1 is 137 pages, 11 chapters. 2013-04-25T19:58:18 < zippe1> The M4 TRM doesn't mention the ETM at all, and only discusses the super-cheapo TPIU 2013-04-25T19:59:08 < gsmcmullin> zippe1: Half the fun is figuring out what's documented where. 2013-04-25T20:01:12 < zippe1> Fun, you say? 2013-04-25T20:02:15 < gsmcmullin> The trace stuff is particularly bad. 2013-04-25T20:02:22 < zippe1> inca: a good start would be to work out which SoC implements the "big" TPIU, which board mounts it and brings all the right signals out, and which debugger you can afford that handles parallel trace output. 2013-04-25T20:02:33 < zippe1> inca: that last part may get expensive 2013-04-25T20:02:53 < inca> zippe1: what is the bandiwdth needed? 2013-04-25T20:02:55 < zippe1> gsmcmullin: I really need to sit down with BM and ITM and get a working configuration 2013-04-25T20:03:29 < zippe1> inca: for full-rate trace you could easily go as high as one 48-bit packet per instruction retired 2013-04-25T20:03:31 < gsmcmullin> zippe1: It's just a proof of concept. 2013-04-25T20:03:55 < zippe1> inca: M4 does ~1 ipc, so 168 * 48 bps 2013-04-25T20:04:01 < zippe1> er, Mbps 2013-04-25T20:04:46 < zippe1> inca: about a gigabyte a second 2013-04-25T20:04:48 < inca> zippe1: as per gsmcmullin, can we slow it down at first? I have an openlogic sniffer which may be able to dump a slower speed pin trace from the F4 on F4Discovery board 2013-04-25T20:05:21 < zippe1> inca: a good start would be what I was just blathering about; leave the ETM off and just use the ITM to capture a lower-rate trace stream 2013-04-25T20:05:41 < Thorn> j-link pro is $800 minimum 2013-04-25T20:05:52 < gsmcmullin> That much we have in BMP now, but only at really low data rates. 2013-04-25T20:06:05 < zippe1> OLS actually has the potential to be a pretty good trace capture device, especially if you can hack the FPGA 2013-04-25T20:06:14 < gsmcmullin> You can. 2013-04-25T20:06:36 < gsmcmullin> A good project may be to write a protocol decoder for sigrok to decode the trace stream from the OLS. 2013-04-25T20:06:40 < dongs> < Thorn> j-link pro is $800 minimum 2013-04-25T20:06:43 < dongs> worth every $ 2013-04-25T20:07:00 < gsmcmullin> (or other logic analyser) 2013-04-25T20:07:02 < Thorn> every 800 of them? 2013-04-25T20:07:07 < dongs> yeah. 2013-04-25T20:07:49 < jpa-> gsmcmullin: or maybe just some cheap FPGA board? 2013-04-25T20:08:10 < gsmcmullin> The OLS is just a cheap FPGA board. 2013-04-25T20:08:13 < jpa-> true 2013-04-25T20:08:15 < Thorn> OLS is a really cheap board with buffered IO 2013-04-25T20:08:38 < Thorn> but the fpga is rather weak iirc 2013-04-25T20:08:44 < jpa-> wasn't it just CPLD? 2013-04-25T20:08:57 < Thorn> no, spartan-3e I think 2013-04-25T20:09:02 < gsmcmullin> It's a Xilinx Spartan 3E 2013-04-25T20:09:22 < gsmcmullin> Sorry thorn, beat me to it :) 2013-04-25T20:10:12 < Thorn> mine is in a shoebox somewhere. never really used. unlike the saleae clone 2013-04-25T20:10:40 -!- BJFreeman [~bjfree@200.sub-75-233-213.myvzw.com] has quit [Quit: had a good time] 2013-04-25T20:10:53 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Ping timeout: 240 seconds] 2013-04-25T20:16:33 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has joined ##stm32 2013-04-25T20:17:23 < inca> Well, I was toying with the idea of a general purpose IO expander over DisplayPort/Thunderbolt 2013-04-25T20:18:23 < inca> 4x PCIe should be able to handle the bandwidth and timing requirements 2013-04-25T20:21:26 < Thorn> I've had 3 EP3C25E144C8N in the cart for a month now. need to figure out what to do with them. maybe start a usb + cortex trace analyzer project after all 2013-04-25T20:22:13 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has quit [Ping timeout: 240 seconds] 2013-04-25T20:23:13 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-25T20:23:53 < inca> OLS is pretty neat. I have it here and have been looking for an excuse to hook it up. 2013-04-25T20:24:09 < inca> 32 channels, 72+ MHz capture rate... 2013-04-25T20:24:28 < inca> that's some good bandwidth =) 2013-04-25T20:24:37 < inca> at least for a shallow memory capture 2013-04-25T20:27:09 < Tectu> I'm alone at home - no one's here but me, what to do? 2013-04-25T20:27:22 < inca> Tectu: hack naked? 2013-04-25T20:27:37 < Tectu> maybe I should do something that I don't do anyways all the time? 2013-04-25T20:27:42 < inca> haha 2013-04-25T20:27:56 < Tectu> AH! I could hack with clothes on! 2013-04-25T20:28:43 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has joined ##stm32 2013-04-25T20:29:10 < inca> get ETM working with BMP on F4Discovery with OLS to pick up the 4 bit TRACE data lines 2013-04-25T20:29:15 < inca> proof of concept, of course =) 2013-04-25T20:29:47 < gsmcmullin> inca: Just BMP on the F4 discovery would be a good start. You've spent a week that project already. 2013-04-25T20:30:12 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Ping timeout: 264 seconds] 2013-04-25T20:30:52 < inca> gsmcmullin: my approach to learning may seem a bit odd, but total immersion for me comes with dreaming about the future as much as breaking every tutorial along the way 2013-04-25T20:31:12 <+Steffanx> gsmcmullin more than a week, for sure 2013-04-25T20:31:24 < inca> besides, it's not like I was spending my billable hours on it. I have deliverables, too, you know. =P 2013-04-25T20:31:25 < Tectu> gsmcmullin, huh? I tought the BMP works on the F4 "out of the box"? 2013-04-25T20:31:45 < inca> Tectu: that's the joke. I found ways to break it =) 2013-04-25T20:31:50 < Tectu> lol 2013-04-25T20:32:46 < gsmcmullin> Tectu: inca's not using a BMP with the f4 discovery, he's converting his f4 discovery into a BMP. 2013-04-25T20:33:22 < inca> Tectu: http://embdev.net/articles/STM_Discovery_as_Black_Magic_Probe 2013-04-25T20:33:32 < UweBonnes> Bye 2013-04-25T20:33:35 -!- UweBonnes [~bon@hertz.ikp.physik.tu-darmstadt.de] has quit [Quit: epic+tkirc2] 2013-04-25T20:33:53 -!- ds2 [noinf@netblock-66-245-251-24.dslextreme.com] has joined ##stm32 2013-04-25T20:33:59 < Tectu> inca, know that one 2013-04-25T20:36:22 < inca> So I have optimized UweBonnes hacking instructions to moving 4 solder bridges 2013-04-25T20:36:42 < inca> all access is still there with F2F jumper cables 2013-04-25T20:37:47 < inca> F103->F407, F103 as STLink/V2, STLink->F103, STLink->F407, and so on 2013-04-25T20:41:33 -!- CRF_Peter [~Peter@dhcp-185142.eduroam.chalmers.se] has joined ##stm32 2013-04-25T20:42:16 -!- _BJFreeman [~bjfree@105.sub-75-233-77.myvzw.com] has joined ##stm32 2013-04-25T20:42:39 -!- _BJFreeman is now known as BJFreeman 2013-04-25T20:43:01 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-25T20:43:18 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has quit [Ping timeout: 264 seconds] 2013-04-25T20:49:08 -!- PT_Dreamer [~quassel@a95-93-159-22.cpe.netcabo.pt] has joined ##stm32 2013-04-25T20:56:35 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has quit [Read error: Connection reset by peer] 2013-04-25T20:56:43 < barthess> hi folks. What c/c++ matrix library you could recommend to use in MCU? eigen looks promising 2013-04-25T20:57:17 < jpa-> barthess: i have looked into it, and didn't find a suitable one 2013-04-25T20:57:33 < jpa-> but it was mostly because i couldn't use GPL'd (nor LGPL'd) code 2013-04-25T20:58:19 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has joined ##stm32 2013-04-25T20:58:34 < jpa-> (for fixed point stuff i have my own, libfixmatrix, but this was on F4 so i was looking towards using floats) 2013-04-25T20:59:39 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-25T20:59:51 < jpa-> barthess: one very annoying thing about the C++ libraries is that they invariably include .. and if you use libstdc++, that will include locales.. and that, will bloat binary by 200+ kB 2013-04-25T20:59:58 < barthess> I am looking for floating point ones 2013-04-25T21:00:26 < jpa-> uclibc++ and eigen might work if you are ok with the licenses 2013-04-25T21:00:43 < barthess> jpa-: what about? http://www.robertnz.net/nm_intro.htm 2013-04-25T21:01:15 < jpa-> i think i looked into that one as well 2013-04-25T21:02:11 < jpa-> ah, exceptions.. that is another annoyance 2013-04-25T21:03:07 < BrainDamage> c++ stdlib assumes there's an os in quite few places 2013-04-25T21:03:25 -!- PT_Dreamer_ [~quassel@a95-93-159-22.cpe.netcabo.pt] has joined ##stm32 2013-04-25T21:03:46 -!- PT_Dreamer [~quassel@a95-93-159-22.cpe.netcabo.pt] has quit [Ping timeout: 245 seconds] 2013-04-25T21:04:15 < jpa-> BrainDamage: i even had a reasonably posix-compliant OS (NuttX).. but still it is quite a pain to compile any big C++ library for cortex-m4 2013-04-25T21:18:44 -!- PT_Dreamer_ [~quassel@a95-93-159-22.cpe.netcabo.pt] has quit [Ping timeout: 252 seconds] 2013-04-25T21:21:32 < PaulFertser> dongs: how do you actually use trace capabilities of J-Link? 2013-04-25T21:24:50 < Tectu> so continuing work on my signal generator... 2013-04-25T21:24:53 < Tectu> 40W \o/ 2013-04-25T21:25:04 < emeb> what freq? 2013-04-25T21:25:09 < Tectu> DC to 50Meg 2013-04-25T21:25:21 < Tectu> arbitrary, tripple channel 2013-04-25T21:25:26 < emeb> wow - need a license for that! 2013-04-25T21:25:39 < emeb> what do you use for a PA? 2013-04-25T21:25:56 < Tectu> I build my own 2013-04-25T21:26:04 < emeb> got schematics? 2013-04-25T21:26:11 < Tectu> yes 2013-04-25T21:26:32 < emeb> I know a guy who's trying to build a sub-1MHz radio for caving - needs a PA design. 2013-04-25T21:26:36 < Tectu> but not sharing right now, need to test first 2013-04-25T21:26:43 < Tectu> caving? 2013-04-25T21:26:51 < emeb> yeah - underground. 2013-04-25T21:28:27 < Tectu> ah 2013-04-25T21:28:39 < Tectu> I used this for inspiration, but I had to improve it a lot 2013-04-25T21:28:40 < Tectu> http://abload.de/img/foo3bjja.png 2013-04-25T21:28:53 < Tectu> it's just the main OpAmp stage, it needs a pre- and a after-amp 2013-04-25T21:29:07 < jpa-> lots of parts 2013-04-25T21:29:16 < jpa-> makes me scared 2013-04-25T21:29:27 < Tectu> analog jizzing here 2013-04-25T21:29:43 < Tectu> sadly that one can just go to up 5MHz 2013-04-25T21:29:52 < emeb> That's fine for what this guy is doing. 2013-04-25T21:29:59 < Tectu> then give him that 2013-04-25T21:30:02 < Tectu> works like a charm 2013-04-25T21:30:11 < jpa-> lol no part values :) 2013-04-25T21:30:20 < Tectu> calculate? 2013-04-25T21:30:21 < BrainDamage> it doesn't look super scary 2013-04-25T21:30:35 < Tectu> see ^ 2013-04-25T21:30:35 < BrainDamage> looks mostly level shifters, current mirrors and buffers 2013-04-25T21:30:44 < Tectu> BrainDamage, totally 2013-04-25T21:30:52 < Tectu> emeb, I hope that guy knows what he's doing... Some parts need to be done right in order to work fine 2013-04-25T21:31:15 < jpa-> aren't there integrated PA chips nowadays? 2013-04-25T21:31:31 < BrainDamage> there's many 2013-04-25T21:31:57 < Tectu> for DC - 50MHz > 20W? no. 2013-04-25T21:32:05 < Tectu> BrainDamage, might I ask you a question? This is the pre-amp: http://abload.de/img/foo0ak70.png 2013-04-25T21:32:23 < Tectu> BrainDamage, I'm a bit confused about the T4/R23 in the middle (it's a current source) 2013-04-25T21:32:28 < jpa-> for you, sure.. you do strange stuff; but emeb's friend wants a much narrower bandwidth 2013-04-25T21:32:37 < Tectu> BrainDamage, is that just to be sure the T5 and T6 don't clip or what? 2013-04-25T21:32:53 < Tectu> emeb, then: none I know out of your mind 2013-04-25T21:32:59 < emeb> Tectu: I assume he knows what he's doing - he's got a masters in EE. 2013-04-25T21:33:06 < Tectu> 1MHz at 5W should be done with a very few components 2013-04-25T21:33:23 < Tectu> emeb, oh, then why the fuck he needs a lame inspiration schematics like I do? 2013-04-25T21:33:54 < emeb> Tectu: everyone has to start somewhere. :) 2013-04-25T21:33:59 < emeb> going afk... 2013-04-25T21:34:06 < Tectu> agree :) 2013-04-25T21:34:10 < BrainDamage> not reinventing the wheel can save you quite some headaches 2013-04-25T21:34:32 < Tectu> BrainDamage, understanding the schematics as well :) 2013-04-25T21:34:37 < Tectu> BrainDamage, so can you answer my question? 2013-04-25T21:34:46 < BrainDamage> Tectu: the resistor also increases Ro seen from the drain 2013-04-25T21:35:08 < BrainDamage> it gets multiplied by the gain of that crap 2013-04-25T21:35:14 < BrainDamage> the actual calc is a bit complex 2013-04-25T21:35:23 < Tectu> meh 2013-04-25T21:35:29 < Tectu> but what's the actual function of that part 2013-04-25T21:35:31 < Tectu> in there. 2013-04-25T21:35:51 < Tectu> T3 does quite a good job at regulating the voltage drop over R21 and R22 in order to controll the base of T5 abd T6 2013-04-25T21:36:03 < Tectu> and since it's a constant current source, I don't see any reason to use it but clipping 2013-04-25T21:36:22 -!- Mobyfab_ [Mobyfab@2a01:e35:8a10:c580:4dcd:614f:2a64:8d07] has joined ##stm32 2013-04-25T21:36:38 < BrainDamage> using a current source ensures even more unitary gain of the follower 2013-04-25T21:37:03 < BrainDamage> not to mention, huge impedance 2013-04-25T21:37:16 < Tectu> lol right, the impedance is high as fuck 2013-04-25T21:37:22 < Tectu> also, not a single cap in the entire signal line 2013-04-25T21:37:29 < Tectu> impressive thing 2013-04-25T21:38:22 < BrainDamage> clipping is done by D5-D6 2013-04-25T21:38:29 < Mobyfab_> what did I miss Tectu? 2013-04-25T21:38:55 < Tectu> Mobyfab, some simple but impressive amp 2013-04-25T21:38:56 < Tectu> Mobyfab, http://abload.de/img/foo0ak70.png 2013-04-25T21:38:58 < BrainDamage> D3 and D4 sets the clipping voltage 2013-04-25T21:39:02 < Tectu> Mobyfab, http://abload.de/img/foo3bjja.png 2013-04-25T21:39:21 < Mobyfab_> amplifier ? 2013-04-25T21:39:23 < Tectu> BrainDamage, yes, but then you get fucken when you replace T3 2013-04-25T21:39:29 < Tectu> yeah 2013-04-25T21:39:59 < Tectu> BrainDamage, T4 and R23 are to limit the gain of T5 and T6, while D3 and D4 are for limiting the gain of T3 2013-04-25T21:40:07 < Tectu> well, limiting the gain is NOT the right term to use here 2013-04-25T21:40:13 < BrainDamage> limit the dynamic 2013-04-25T21:40:18 < Tectu> exactly 2013-04-25T21:41:10 < Tectu> BrainDamage, also not sure about C58 in the main stage of the amp, on the right side, connection the two bases for the AB amp 2013-04-25T21:41:26 < BrainDamage> wait, no feedback loop on the AB output stage?! 2013-04-25T21:41:27 < BrainDamage> why 2013-04-25T21:41:32 < Tectu> jpa-, also have fun and listing the values in there :P 2013-04-25T21:41:34 < Tectu> yeah 2013-04-25T21:41:36 < BrainDamage> enjoy your distortion 2013-04-25T21:41:44 < Tectu> hah 2013-04-25T21:41:47 < Tectu> it's pseudo feedback, I guess 2013-04-25T21:41:51 < Tectu> D26... 2013-04-25T21:41:55 < Tectu> D29 2013-04-25T21:42:10 < Tectu> BrainDamage, the problem is that it's an 50V 10R amp :P 2013-04-25T21:42:58 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 256 seconds] 2013-04-25T21:43:20 < BrainDamage> I surely hope your output capacitance is low :p 2013-04-25T21:43:20 < Tectu> BrainDamage, so what about C58? Never saw that one before 2013-04-25T21:43:25 < BrainDamage> c58? 2013-04-25T21:43:32 < BrainDamage> 1st or 2nd link? 2013-04-25T21:43:33 < Tectu> <Tectu> BrainDamage, also not sure about C58 in the main stage of the amp, on the right side, connection the two bases for the AB amp 2013-04-25T21:43:36 < Tectu> the first 2013-04-25T21:44:04 < BrainDamage> first link _has_ internal feedback for output stage btw 2013-04-25T21:44:17 < Tectu> yes 2013-04-25T21:44:19 < Tectu> second dosen't 2013-04-25T21:44:26 < Tectu> deosn'd 2013-04-25T21:44:27 < Tectu> -.-' 2013-04-25T21:44:39 -!- Laurenceb__ [~Laurence@host81-159-190-220.range81-159.btcentralplus.com] has joined ##stm32 2013-04-25T21:44:57 < BrainDamage> I guess it's there to reduce the impedance of the level shifter on signal 2013-04-25T21:45:18 < Tectu> lol what? 2013-04-25T21:46:06 < Tectu> hmm, didn't see it that way 2013-04-25T21:46:21 < R2COM> dude 2013-04-25T21:46:28 < R2COM> what you prefer talking over simulating? 2013-04-25T21:46:34 < R2COM> take part of that circuit, put into spice 2013-04-25T21:46:43 < R2COM> put AC current source at end 2013-04-25T21:46:49 < R2COM> set its AC mag=1 2013-04-25T21:46:53 < BrainDamage> spice is not a replacement for understanding the circuit 2013-04-25T21:46:57 < R2COM> and check how one part or another varies its impedance 2013-04-25T21:47:00 < Tectu> what BrainDamage said... 2013-04-25T21:47:06 < R2COM> ... 2013-04-25T21:47:17 < R2COM> yeah empty talk is more credible for understanding circuit 2013-04-25T21:47:18 < R2COM> lol 2013-04-25T21:47:45 < BrainDamage> empty talk? you're the one that has nothing to offer here 2013-04-25T21:47:57 < Tectu> what BrainDamage said... 2013-04-25T21:48:02 < R2COM> I offered realistic way to analyse stuff before 2013-04-25T21:48:18 < R2COM> if you cant read it, or if topic starter does not wish to do that work, its his problem 2013-04-25T21:49:01 < Tectu> BrainDamage, but a lot of AB in there :P 2013-04-25T21:49:20 < Tectu> BrainDamage, also, T12 on the left of the first link 2013-04-25T21:49:24 < R2COM> and sure spice is a good tool if you understand how to use it, most of the time you just have to separate specific stage, create separate testbench for it, bias it properly and check how it performs AC-wise, what its input/output impedance is and all other stuff 2013-04-25T21:50:06 < BrainDamage> that doesn't give you an insight why someone placed a cap somewhere, something you need when designing your own, which he's doing 2013-04-25T21:50:35 < BrainDamage> sure, you could try adding/removing stuff and making shitload of test cases 2013-04-25T21:50:43 -!- bsdfox_ [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-04-25T21:50:57 < BrainDamage> but the "empty talk" can guide you in creating those tests 2013-04-25T21:51:08 < BrainDamage> culling out the most improbable 2013-04-25T21:51:40 -!- R2COM1 [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-25T21:52:16 < R2COM> lol... 2013-04-25T21:52:16 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Read error: Connection reset by peer] 2013-04-25T21:52:16 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 2013-04-25T21:52:29 < gxti> zzzzzz 2013-04-25T21:52:42 -!- R2COM1 is now known as R2COM 2013-04-25T22:10:18 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has joined ##stm32 2013-04-25T22:14:10 -!- Erlkoenig [~erlkoenig@pptp-212-201-75-152.pptp.stw-bonn.de] has joined ##stm32 2013-04-25T22:15:00 -!- MrMobius [~Joey@194.176.111.139] has joined ##stm32 2013-04-25T22:19:00 < zyp> hmm 2013-04-25T22:19:01 < zyp> 17:34:44 < dongs> so zyp do you have/need schematic for the dp thingf 2013-04-25T22:19:01 < zyp> 17:35:07 < zyp> I was gonna ask for it when I actually start doing stuff with it 2013-04-25T22:19:04 < zyp> now I need it :p 2013-04-25T22:19:44 < Tectu> dp thingf? 2013-04-25T22:19:58 < Erlkoenig> Displayport -> Retina Display? 2013-04-25T22:20:02 < zyp> yeah 2013-04-25T22:20:10 < Tectu> uh 2013-04-25T22:20:33 < zyp> I just flashed it with my usb stack and shit, so it enumerates 2013-04-25T22:20:52 < zyp> was going to write some stuff to control backlight over usb 2013-04-25T22:23:54 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2013-04-25T22:25:58 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has joined ##stm32 2013-04-25T22:35:44 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 252 seconds] 2013-04-25T22:36:26 < rigid> Tectu: does your library already support various graphic LCD displays? 2013-04-25T22:36:48 < rigid> i'm thinking about creating a portable, low-level graphical LCD driver library 2013-04-25T22:36:50 < Tectu> rigid, yes 2013-04-25T22:37:06 < Tectu> Rickta59, http://chibios-gfx.com/hardware/lcd-controllers 2013-04-25T22:37:07 < rigid> Tectu: is it modular and portable? 2013-04-25T22:37:19 < Tectu> there are three more drivers in development 2013-04-25T22:37:21 < rigid> hehe, tab-completion 2013-04-25T22:37:35 < Tectu> rigid, -.- 2013-04-25T22:37:44 < Tectu> no, it was a typo :P 2013-04-25T22:37:50 < Tectu> rigid, also #chibios-gfx 2013-04-25T22:38:13 < rigid> wtf? how do you combine GDISP and TDISP code? :) 2013-04-25T22:38:20 < rigid> Tectu: 2013-04-25T22:38:32 < rigid> #chibios-gfx is much too high level for that topic :-P 2013-04-25T22:39:06 < Tectu> no, I don't 2013-04-25T22:39:08 < Tectu> no, it's not 2013-04-25T22:39:33 < rigid> wherr iz teh codes? 2013-04-25T22:39:55 < Tectu> http://bitbucket.org/Tectu/ChibiOS-GFX 2013-04-25T22:40:10 < Tectu> https://bitbucket.org/Tectu/chibios-gfx 2013-04-25T22:40:26 < Tectu> no wait 2013-04-25T22:40:35 < Tectu> http://github.com/Tectu/ChibiOS-GFX 2013-04-25T22:40:44 < rigid> redirect works 2013-04-25T22:40:49 < Tectu> good 2013-04-25T22:40:51 < rigid> Tectu: why bitbucket and not github? 2013-04-25T22:40:56 < Tectu> lol. 2013-04-25T22:41:03 < Tectu> I will not start this argumentation now 2013-04-25T22:41:06 < rigid> or, gitorious rahter 2013-04-25T22:41:14 < Tectu> lol. 2013-04-25T22:41:20 < rigid> Tectu: really, i'm curious about such things.. i don't want to argument 2013-04-25T22:41:36 < Tectu> rigid, can we talk about this when I got some more time? :P 2013-04-25T22:42:44 < rigid> "Mr. Harrisford? Why is the speed of light constant?" ... "lol little stacy, i will not start this discussion now." :-P 2013-04-25T22:43:07 < rigid> Tectu: if you can't sum up the reason quickly, it's probably political/religious anyway... 2013-04-25T22:43:12 < rigid> ...thus not worth talking about ;) 2013-04-25T22:44:17 < Tectu> http://www.pocoo.org/~blackbird/github-vs-bitbucket/bitbucket.html 2013-04-25T22:44:32 < Tectu> http://www.simonrhart.com/2011/12/why-i-prefer-bitbucket-over-github.html 2013-04-25T22:44:32 < rigid> hehe, just reading that :) 2013-04-25T22:45:06 < Tectu> atlassian might be one of the most serious companies out there 2013-04-25T22:45:20 < Tectu> github is down regulary 2013-04-25T22:45:25 < Tectu> github does have security issues 2013-04-25T22:45:28 < Tectu> github's UI sucks 2013-04-25T22:45:48 < Tectu> the github support is like you throw a toaster in a pool full of balloon 2013-04-25T22:45:53 < Tectu> balloons* 2013-04-25T22:46:14 < gxti> ... now i want to see that 2013-04-25T22:48:10 < Tectu> feel free 2013-04-25T22:49:18 -!- Laurenceb__ [~Laurence@host81-159-190-220.range81-159.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2013-04-25T22:49:39 <+Steffanx> lol arguments @ that first website Tectu 2013-04-25T22:49:53 < Tectu> :D 2013-04-25T22:49:58 < Tectu> wait, here's comming a better one 2013-04-25T22:51:13 < Tectu> searching... 2013-04-25T22:51:21 * Tectu makes floppy noises 2013-04-25T22:51:26 -!- MrMobius [~Joey@194.176.111.139] has quit [Ping timeout: 246 seconds] 2013-04-25T22:52:45 < Tectu> delivered: http://googleblog.blogspot.ch/2011/02/microsofts-bing-uses-google-search.html 2013-04-25T22:52:46 < Tectu> sterna2, 2013-04-25T22:52:49 < Tectu> Steffanx, ^ 2013-04-25T22:52:58 < sterna2> huh? 2013-04-25T22:53:24 <+Steffanx> Tectu fix your tab completion 2013-04-25T22:53:25 < sterna2> Tectu: or was it Steffanx you wanted? 2013-04-25T22:53:30 < Tectu> sterna2, sorry, I hardly failed (twice) 2013-04-25T22:53:36 < Tectu> sterna2, yep, I'm sorry. 2013-04-25T22:53:37 < sterna2> np 2013-04-25T22:53:40 < Tectu> :) 2013-04-25T22:56:06 < gnomad> old news 2013-04-25T22:56:42 < Tectu> yes, and we all said it's new. 2013-04-25T23:02:32 -!- barthess [~barthess@178.154.5.134] has quit [Quit: Leaving.] 2013-04-25T23:02:36 -!- daku is now known as DaKu 2013-04-25T23:04:01 < inca> hmm… debugging with bmp seems to affect the serial data emitted by the target. Also, hexprog.py is slower than stlink (e.g. texane's st-flash util). 2013-04-25T23:08:46 < gsmcmullin> inca: I don't think there's any good reason to use hexprog.py. It isn't really maintained. I wrote it long ago with the main purpose of unlocking protected devices. 2013-04-25T23:08:56 < gsmcmullin> This can all be done from gdb now, so there's really no point. 2013-04-25T23:09:24 < inca> so Thorn's proposed method is the best way for command line pitching code to the target 2013-04-25T23:09:33 < inca> I'll give it a go 2013-04-25T23:09:59 < zyp> nah 2013-04-25T23:10:21 < zyp> the best method is to readjust your idea of command line 2013-04-25T23:10:47 < inca> live inside of gdb? 2013-04-25T23:10:52 < zyp> yes 2013-04-25T23:11:05 * inca shivers 2013-04-25T23:11:12 < zyp> that's what I do 2013-04-25T23:11:24 < inca> how do you do it? 2013-04-25T23:11:36 < karlp> I do it to. 2013-04-25T23:11:45 < inca> guess I ought to figure out how to configure gdb's cl shell 2013-04-25T23:11:52 < zyp> http://paste.jvnv.net/view/NpmXW <- like this 2013-04-25T23:12:24 < inca> scons? 2013-04-25T23:12:34 < zyp> well, there is a builtin for make 2013-04-25T23:12:45 < zyp> but I don't use make, so I made a corresponding one for scons 2013-04-25T23:12:46 < inca> why isn't it "make" 2013-04-25T23:12:50 < inca> oh 2013-04-25T23:12:52 < inca> hmm 2013-04-25T23:13:03 < zyp> I really prefer scons over make 2013-04-25T23:13:37 < inca> never heard of it 2013-04-25T23:14:16 < inca> it looks interesting 2013-04-25T23:14:38 < zyp> it's nice 2013-04-25T23:14:57 < inca> the wiki page description mentions ever version control system but git 2013-04-25T23:15:03 < inca> every* 2013-04-25T23:15:49 < zyp> I've added some extra functions for my library, so the typical SConstruct (makefile) for a project using the lib looks like this: http://cgit.jvnv.net/laks_demo/tree/SConstruct?h=usb_cdc_acm 2013-04-25T23:16:16 < gxti> i don't expect build scripts to fetch from source control, i expect them to be *in* source control 2013-04-25T23:16:25 < zyp> yeah, agreed 2013-04-25T23:16:34 < gxti> but considering scons itself is in hg it's almost certain that it supports hg and git 2013-04-25T23:17:06 < inca> gxti: I like my build system to be aware of the files git touches between builds 2013-04-25T23:17:20 < gxti> that's what mtimes are for ;) 2013-04-25T23:17:27 < gxti> and yeah, awareness of checkout state is good 2013-04-25T23:17:35 < gxti> embedding rev info into builds etc 2013-04-25T23:17:38 < inca> gxti: not all mtimes are created equal =) 2013-04-25T23:17:39 < zyp> scons has way better change tracking than make 2013-04-25T23:18:03 < zyp> scons checksums all files 2013-04-25T23:18:09 < gxti> when i get around to replacing chibios in my projects i will probably switch to scons 2013-04-25T23:18:38 < inca> zyp: very cool! thanks for the tip… I'll demo it later tonight 2013-04-25T23:19:03 < zyp> so if a modified source generates an object file with the exact same checksum as the previous one, it will consider them equal and not relink 2013-04-25T23:19:52 < inca> zyp: that's the right way to do it… just like git, except git does chunks and hashes, same idea, different granularity 2013-04-25T23:19:55 < gxti> clever girl 2013-04-25T23:20:18 < gxti> well, it doesn't have *so* much to do with git 2013-04-25T23:20:44 < inca> right, just comparing and contrasting 2013-04-25T23:20:58 < inca> scons is installed 2013-04-25T23:21:02 < zyp> inca, if you need a starting point you can grab this: http://cgit.jvnv.net/suzumebachi/tree/SConstruct?id=2fc77d2 2013-04-25T23:21:06 < inca> 4.2 MB, not bad 2013-04-25T23:21:38 < inca> zyp: wow… that is beautifully easy to read 2013-04-25T23:21:58 < inca> my only reservation is the python, but I may yet manage to survive ;) 2013-04-25T23:22:15 < zyp> hah 2013-04-25T23:22:40 < gxti> python is a suitable language for this sort of thing 2013-04-25T23:23:03 < inca> gxti: it's a personal thing 2013-04-25T23:23:05 < zyp> python is a suitable language for a lot of stuff IMO, including this sort of thing :) 2013-04-25T23:25:18 < zyp> http://cgit.jvnv.net/laks/tree/build_rules <- anyway, here's the magic behind the SelectMCU and Firmware commands 2013-04-25T23:26:46 -!- DaKu is now known as daku 2013-04-25T23:27:10 < Tectu> so I accidentelly won an e-bay auction 2013-04-25T23:38:44 < inca> zyp, it really is too bad that the defines and all that require more typing in python than in Make =( 2013-04-25T23:39:43 -!- Mobyfab_ [Mobyfab@2a01:e35:8a10:c580:4dcd:614f:2a64:8d07] has quit [Read error: Connection reset by peer] 2013-04-25T23:40:00 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-25T23:40:15 < zyp> I don't mind, it's not like I'm typing that very often 2013-04-25T23:40:28 < zyp> and it's way more scriptable than make 2013-04-25T23:41:15 < inca> true… though I prefer my configuration files to follow the aesthetic of markdown, if you know what I mean 2013-04-25T23:41:46 < inca> which is why I can't stand Ant 2013-04-25T23:43:04 -!- UweBonnes [~bon@p5DDCD116.dip0.t-ipconnect.de] has joined ##stm32 2013-04-25T23:43:16 < zyp> inca, so you would be the kind of guy that likes yaml? 2013-04-25T23:46:03 < inca> yes 2013-04-25T23:46:41 < zyp> right, I find yaml to be too «human readable» 2013-04-25T23:46:53 < inca> heh… it's just one way 2013-04-25T23:46:58 < inca> perl and ruby are ok 2013-04-25T23:47:07 < zyp> and python is not? 2013-04-25T23:47:19 < inca> well, I started with perl 2013-04-25T23:47:26 < zyp> isn't python and ruby pretty similar in syntax? 2013-04-25T23:47:36 < inca> ruby is a bit more enjoyable 2013-04-25T23:47:53 < inca> it's literally one of their project goals to make programming in ruby more fun 2013-04-25T23:48:13 < zyp> I don't know ruby very well, but I've always thought it looked like python with a bit of perl added 2013-04-25T23:48:21 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has quit [Ping timeout: 245 seconds] 2013-04-25T23:48:22 < Erlkoenig> <-rubyfanboi 2013-04-25T23:48:36 < Erlkoenig> my boss at some workplace wrote a book about ruby 2013-04-25T23:48:43 < Erlkoenig> so i had to use it :D 2013-04-25T23:48:44 < inca> mmm… yeah, perl has that whole regex thing that people learn once and keep referring back to it 2013-04-25T23:49:21 < inca> sort of like tcl where everything is a string, except it's not 2013-04-25T23:49:36 < zyp> ew 2013-04-25T23:49:36 < inca> ruby is a good extension of that with syntactic sugar 2013-04-25T23:49:55 * inca shrugs 2013-04-25T23:50:05 < inca> anyway, it's a personal thing really. =) 2013-04-25T23:50:10 < inca> to each his own 2013-04-25T23:50:10 < zyp> yeah 2013-04-25T23:53:00 -!- zlog [~zlog@ip68-102-203-6.ks.ok.cox.net] has quit [Ping timeout: 264 seconds] 2013-04-25T23:54:39 -!- zlog [~zlog@ip68-102-203-6.ks.ok.cox.net] has joined ##stm32 --- Day changed Fri Apr 26 2013 2013-04-26T00:00:45 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-04-26T00:03:07 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-26T00:10:34 -!- zyp_ [zyp@zyp.im] has joined ##stm32 2013-04-26T00:10:47 -!- CoolBear_ [~hightower@ti0069a380-0800.bb.online.no] has joined ##stm32 2013-04-26T00:11:13 -!- mervaka_ [~mervaka@mervaka.co.uk] has joined ##stm32 2013-04-26T00:15:33 -!- Netsplit *.net <-> *.split quits: fergusnoble, zyp, CoolBear, mervaka 2013-04-26T00:15:37 -!- fergusnoble_ [fergusnobl@repl.esden.net] has joined ##stm32 2013-04-26T00:15:43 -!- fergusnoble_ is now known as fergusnoble 2013-04-26T00:17:53 -!- zyp_ is now known as zyp 2013-04-26T00:18:39 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-26T00:39:51 -!- dekar [~dekar@212.255.242.50] has joined ##stm32 2013-04-26T00:39:53 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-26T00:46:14 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-26T00:52:27 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-04-26T01:05:32 < gxti> anyone know of any logic glue type parts that would have an inverter and a mux, or something equivalent e.g. inverter and 2 tristates? 2013-04-26T01:06:11 -!- Rickta59_ [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-26T01:06:14 -!- Rickta59_ [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Client Quit] 2013-04-26T01:06:23 -!- Rickta59_ [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-26T01:06:53 -!- Rickta59_ [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Client Quit] 2013-04-26T01:07:03 -!- Rickta59_ [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-26T01:08:06 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Disconnected by services] 2013-04-26T01:08:33 -!- Rickta59_ is now known as Rickta59 2013-04-26T01:09:10 -!- ohama [ohama@cicolina.org] has quit [Disconnected by services] 2013-04-26T01:09:16 -!- Laurenceb_ [~Laurence@host86-177-61-171.range86-177.btcentralplus.com] has joined ##stm32 2013-04-26T01:09:30 -!- ohama [ohama@cicolina.org] has joined ##stm32 2013-04-26T01:13:49 < zippe1> gxti: there are a bunch of 'little logic' parts from NXP and TI that might have what you want 2013-04-26T01:14:39 < gxti> or alternately some other single (smallish) chip solution for switchable clock inputs including a self-centering schmitt input 2013-04-26T01:15:06 -!- Netsplit *.net <-> *.split quits: dongs, HTT-Bird, R2COM 2013-04-26T01:15:06 < gxti> i can do it with a schmitt inverter plus a mux, trying to see if i can do it better 2013-04-26T01:15:32 -!- Netsplit over, joins: R2COM, HTT-Bird, dongs 2013-04-26T01:15:56 < zippe1> http://www.nxp.com/products/logic/buffers_inverters_drivers/series/74LVC2G240.html#products 2013-04-26T01:17:22 < gxti> zippe1: perfect 2013-04-26T01:17:49 < gxti> digikey doesn't seem to categorize schmitt/not-schmitt for the tristate ones so filtering is annoying 2013-04-26T01:24:27 < zippe1> Just about everyone does schmitt these days 2013-04-26T01:24:37 < zippe1> Metastable inputs are generally unpopular 2013-04-26T01:25:46 < gxti> that's a reasonable observation 2013-04-26T01:26:15 -!- CRF_Peter [~Peter@dhcp-185142.eduroam.chalmers.se] has quit [Ping timeout: 252 seconds] 2013-04-26T01:26:43 < gxti> it just makes me wary when there are no guarantees in the datasheet 2013-04-26T01:28:18 -!- UweBonnes [~bon@p5DDCD116.dip0.t-ipconnect.de] has quit [Quit: epic+tkirc2] 2013-04-26T01:30:52 < Laurenceb_> http://olimex.wordpress.com/2013/04/17/a20-olinuxino-samples-arrived/ 2013-04-26T01:31:00 * Laurenceb_ awaits epic decoupling failz 2013-04-26T01:31:25 < gxti> sexy. 2013-04-26T01:32:50 < Erlkoenig> sick. 2013-04-26T01:33:15 < Erlkoenig> is there any reason left to use STM32 instead of A10? 2013-04-26T01:34:36 < Laurenceb_> lolwot 2013-04-26T01:34:45 < Laurenceb_> its a micro versus a SOC 2013-04-26T01:34:53 < Laurenceb_> massive difference 2013-04-26T01:35:02 < gxti> also note that's a tray of BGAs 2013-04-26T01:35:14 < gxti> 0.8mm BGAs. 2013-04-26T01:35:19 < gxti> if not less... 2013-04-26T01:35:27 < Erlkoenig> dosn't that SoC have lots if IO stuff too? 2013-04-26T01:36:00 < Erlkoenig> what does the STM32 have that the A10 doesn't have, except maybe power consumption and friendlier case? 2013-04-26T01:36:11 < gxti> a fraction of the cost 2013-04-26T01:36:29 < ds2> is there an A10 with 1M of flash on die? 2013-04-26T01:37:39 < gxti> also A20 won't have more specialized 'industrial' peripherals like CAN or as many of the basics like SPI or UART 2013-04-26T01:37:57 < Erlkoenig> ds2: ah, looks like flash has to be extern 2013-04-26T01:37:57 -!- CRF_Peter [~Peter@dhcp-181113.eduroam.chalmers.se] has joined ##stm32 2013-04-26T01:38:05 < Laurenceb_> massively simpler power 2013-04-26T01:38:08 < Laurenceb_> better timers 2013-04-26T01:38:10 < Laurenceb_> smaller 2013-04-26T01:38:14 < Laurenceb_> loads... 2013-04-26T01:38:16 < gxti> smaller reference manual 2013-04-26T01:38:17 < gxti> :P 2013-04-26T01:38:18 < ds2> but the A10 has an MMU, right? 2013-04-26T01:38:22 < gxti> yes 2013-04-26T01:38:48 < Erlkoenig> i wanted to have arguments for a guy who would just use a cubieboard for anything... 2013-04-26T01:39:01 < gxti> cost is the simplest answer 2013-04-26T01:39:15 < Erlkoenig> well that's not going into series production :D 2013-04-26T01:39:18 < gxti> maybe a $40 linux board for every LED blinker is ok to some people 2013-04-26T01:39:23 < ds2> i think the 1M of on die flash on the STM32's is somewhat unique. don't see many other mfg's with that much flash 2013-04-26T01:39:49 < Erlkoenig> gxti: but you don't use an STM32F4 for an LED blinker 2013-04-26T01:40:01 < gxti> if you're going to stick a finished dev board into every project linux ones don't cost much more than arduinos 2013-04-26T01:40:18 < gxti> no, you use f1 or l1 2013-04-26T01:40:28 < Erlkoenig> not a 555? 2013-04-26T01:40:30 < gxti> but you don't go back to 8/16 bit because those suck eggs 2013-04-26T01:40:30 < Erlkoenig> :D 2013-04-26T01:40:41 < ds2> is there a stm32 with a graphics accelerator? 2013-04-26T01:40:49 < ds2> 8 bit micros are just fine! 2013-04-26T01:41:06 < gxti> i'm not goin back! you can't make me go back! 2013-04-26T01:41:10 < Erlkoenig> especially if you do Ethernet and Graphic on them! 2013-04-26T01:47:43 < Laurenceb_> wonder if Tectu will ever write a driver for the "chromart" thingy 2013-04-26T01:49:56 * Laurenceb_ zzz 2013-04-26T01:53:11 < gxti> on second thought not sure if this will work, because i need to be able to monitor the inactive clock to see if it's present 2013-04-26T01:54:50 -!- Laurenceb_ [~Laurence@host86-177-61-171.range86-177.btcentralplus.com] has quit [Ping timeout: 272 seconds] 2013-04-26T02:01:14 -!- _BJFreeman [~bjfree@105.sub-75-233-77.myvzw.com] has joined ##stm32 2013-04-26T02:03:45 -!- BJFreeman [~bjfree@105.sub-75-233-77.myvzw.com] has quit [Ping timeout: 276 seconds] 2013-04-26T02:05:12 -!- _BJFreeman is now known as BJFreeman 2013-04-26T02:17:16 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-26T02:17:16 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-26T02:17:16 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-26T02:31:56 -!- zlog [~zlog@ip68-102-203-6.ks.ok.cox.net] has quit [Remote host closed the connection] 2013-04-26T02:34:14 -!- zlog [~zlog@ip68-102-203-6.ks.ok.cox.net] has joined ##stm32 2013-04-26T02:37:40 -!- qyx_ [~qyx@krtko.org] has quit [Ping timeout: 260 seconds] 2013-04-26T02:39:02 -!- baird [~cjb@ppp121-44-104-161.lns20.syd6.internode.on.net] has joined ##stm32 2013-04-26T02:43:37 < zippe1> gxti: you are aware that the STM32 already has a missing-clock detector? 2013-04-26T02:44:01 < zippe1> gxti: so if you just need "backup clock" behaviour, why not use the HSI + HSE with the clock-failure stuff enabled? 2013-04-26T02:44:32 < gxti> i have two external clocks 2013-04-26T02:44:46 < zippe1> Erlkoenig: the A10 requires you to maintain a Linnex distribution. And it requires a PMU and DDR, both of which massively bloat your BoM. 2013-04-26T02:44:50 < gxti> an on-board TCXO that's always present, and an off-board whatever 2013-04-26T02:45:32 < zippe1> Erlkoenig: so the difference is basically: A10 = massive bag of nut-crushing hurt, STM32 = free hookers and blow 2013-04-26T02:45:39 < Erlkoenig> zippe1: hm yes. seems there is not much of a lack-of-capability-problem 2013-04-26T02:45:53 < Erlkoenig> erm :D 2013-04-26T02:45:58 < ds2> what are you doing that needs a TCXO? 2013-04-26T02:46:09 < gxti> ntp server 2013-04-26T02:46:56 < ds2> and you are trusting a just a TCXO for that? 2013-04-26T02:47:20 < gxti> no, GPS is the primary time source 2013-04-26T02:47:52 < ds2> you running the GPS loop on the STM32? 2013-04-26T02:48:05 < gxti> just observing pulse-per-second from a gps receiver 2013-04-26T02:48:12 < gxti> and adjusting a (software) PLL to keep time 2013-04-26T02:56:11 -!- Erlkoenig [~erlkoenig@pptp-212-201-75-152.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-26T03:02:06 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-04-26T03:07:00 -!- baird [~cjb@ppp121-44-104-161.lns20.syd6.internode.on.net] has left ##stm32 ["Konversation terminated!"] 2013-04-26T03:18:34 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Read error: Connection reset by peer] 2013-04-26T03:18:43 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-04-26T03:19:24 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has quit [Remote host closed the connection] 2013-04-26T03:21:58 < dongs> sup dongs 2013-04-26T03:22:14 < dongs> zyp: cool 2013-04-26T03:22:14 < dongs> sec 2013-04-26T03:23:26 < dongs> ugh 2013-04-26T03:23:28 < dongs> fucking dicktrace 2013-04-26T03:23:30 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Ping timeout: 264 seconds] 2013-04-26T03:24:56 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has joined ##stm32 2013-04-26T03:40:25 < upgrdman> sup 2013-04-26T03:49:23 -!- zlog [~zlog@ip68-102-203-6.ks.ok.cox.net] has quit [Read error: Connection reset by peer] 2013-04-26T03:55:00 -!- zlog [~zlog@ip68-102-206-145.ks.ok.cox.net] has joined ##stm32 2013-04-26T03:58:24 < emeb> dongs: what'd DipTrace do this time? 2013-04-26T04:00:03 < ds2> exec /usr/bin/eagle? 2013-04-26T04:00:33 < dongs> nah, its pdf print is broken and they claim its adobe fault 2013-04-26T04:01:13 < emeb> finger-pointing contest. 2013-04-26T04:01:53 < emeb> btw - finally bought a license of DipTrace. 2013-04-26T04:01:53 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-26T04:02:18 < dongs> good times 2013-04-26T04:04:16 < dongs> just got spam from hufin wang 2013-04-26T04:04:30 < dongs> HELLO IM FROM CHINA PLEASE LOOK AT MY ALIEXPRESS STORE 2013-04-26T04:07:45 < emeb> huffin' wang? 2013-04-26T04:07:52 < dongs> ya man. 2013-04-26T04:07:56 -!- phantoneD [~destroy@a95-92-85-217.cpe.netcabo.pt] has joined ##stm32 2013-04-26T04:08:05 < emeb> unfortunate 2013-04-26T04:11:47 -!- phantoxeD [~destroy@a95-92-85-217.cpe.netcabo.pt] has quit [Ping timeout: 252 seconds] 2013-04-26T04:29:01 < upgrdman> Cypress announces Arduino shield-compatible PSoC ... lol 2013-04-26T04:31:47 < dongs> haha 2013-04-26T04:32:53 < dongs> http://www.cypress.com/?rID=77780 2013-04-26T04:33:56 < upgrdman> :) 2013-04-26T04:34:52 < gxti> nifty 2013-04-26T04:35:00 -!- Lt_Lemming [Lt_Lemming@203.219.229.140] has joined ##stm32 2013-04-26T04:35:11 < Lt_Lemming> morning all 2013-04-26T04:35:15 < upgrdman> o/ 2013-04-26T04:37:08 < upgrdman> i should play with the f0 cap sense stuff 2013-04-26T04:37:22 < upgrdman> im too cheap to buy pushbuttons 2013-04-26T04:37:47 < dongs> argh i hate loading dicknplace with new shit 2013-04-26T04:37:50 < dongs> takes for fucking ever 2013-04-26T04:37:56 < upgrdman> lol 2013-04-26T04:38:07 < upgrdman> work or home pnp? 2013-04-26T04:50:48 < R2COM> lol @ psoc 2013-04-26T04:51:32 < R2COM> virtex7 should also have shield(or whatever shit its called) for arduino xD 2013-04-26T04:58:44 < dongs> attn emeb http://www.synergisticresearch.com/ 2013-04-26T04:59:47 < emeb> yay - expensive cables! 2013-04-26T05:00:15 < emeb> Any product that's approved by "The Absolute Sound" is bound to be a load of BS. 2013-04-26T05:00:34 < dongs> http://www.synergisticresearch.com/tranquility-base/tranquility-base-2/ 2013-04-26T05:00:35 < emeb> I used to read that rag just for giggles. 2013-04-26T05:00:37 < dongs> lolllll 2013-04-26T05:00:51 < dongs> > Actively improves the performance of any component placed atop a Tranquility Base 2013-04-26T05:00:59 < emeb> using "Magic" no doubt. 2013-04-26T05:01:00 < dongs> > Allows common furniture to perform like the best audiophile grade furniture 2013-04-26T05:02:32 < dongs> Our first step in designing a cable is by developing a geometry that complements that system at an engineering level by precisely controlling capacitance, inductance, and resistance in the cable geometry. Next, we ‘voice’ every cable in its target system by building each design out of literally dozens of different material combinations, seeking specific materials to yield natural sound. 2013-04-26T05:04:11 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Ping timeout: 245 seconds] 2013-04-26T05:05:21 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-26T05:05:58 < dongs> http://www.synergisticresearch.com/featured/new-category-digital-power-tools-from-synergistic-research/ hahaa 2013-04-26T05:06:21 < dongs> ENIGMA TUNING CIRCUITZ 2013-04-26T05:07:01 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-26T05:12:40 < Lt_Lemming> does anyone know of a Quad N MOSFET array with decent power handling? 15w per channel + 2013-04-26T05:12:58 < dongs> have you tried asking same question to digikey 2013-04-26T05:13:08 < Lt_Lemming> yes 2013-04-26T05:13:10 < Lt_Lemming> I have 2013-04-26T05:13:15 < Lt_Lemming> there are none listed on digikey 2013-04-26T05:13:26 < Lt_Lemming> not. a. single. one 2013-04-26T05:13:42 < dongs> http://www.digikey.com/product-detail/en/FDMQ8403/FDMQ8403CT-ND/3025257 2013-04-26T05:13:42 < Lt_Lemming> googling for it is also pretty useless 2013-04-26T05:13:43 < dongs> you mean like this? 2013-04-26T05:13:57 < Lt_Lemming> Power - Max 1.9W 2013-04-26T05:14:37 < gxti> making fun of audiophiles isn't even rewarding anymore 2013-04-26T05:15:05 < gxti> just scammers selling overpriced trash to gullible people 2013-04-26T05:15:29 < zippe1> Lt_Lemming: what do you mean by "15W per channel?"? 2013-04-26T05:15:31 < dongs> Lt_Lemming: the whole point of having high-current things in separate packages is to dissipate heat 2013-04-26T05:15:55 < zippe1> Do you want four N-channel FETs, or are you looking for a stereo audio power amplifier? 2013-04-26T05:16:03 -!- zippe1 is now known as zippe 2013-04-26T05:16:41 < Lt_Lemming> four n channel fets that can handle at least 15w power dissipation per channel 2013-04-26T05:17:03 < dongs> then just get dual or individual ones. 2013-04-26T05:17:04 < gxti> in one package? i don't think that exists, or is sensible 2013-04-26T05:17:08 < dongs> you aint gonna find a 4 pc array 2013-04-26T05:17:08 < Lt_Lemming> dongs, yeah, but placing 72 seperate FET's is getting annoting 2013-04-26T05:17:18 < dongs> well then you're doing it wrong 2013-04-26T05:17:46 < Lt_Lemming> thanks dongs, that was such an eminently helpful suggestion 2013-04-26T05:18:20 < gxti> Lt_Lemming: if you can't find the part, despite it being well-categorized on digikey, it probably doesn't exist 2013-04-26T05:18:55 < zippe> Lt_Lemming: H-bridge by any chance? 2013-04-26T05:19:12 < Lt_Lemming> nope 2013-04-26T05:19:20 < Lt_Lemming> straight fets, common source is fine though 2013-04-26T05:19:33 < Lt_Lemming> it's for a high power PWM LED controller I've designed 2013-04-26T05:19:48 < zippe> 15W? 2013-04-26T05:19:52 < Lt_Lemming> just trying to make the build process simpler and faster than using 72 SOT23 FET's 2013-04-26T05:19:53 < zippe> Why would you do that? 2013-04-26T05:19:54 < Lt_Lemming> yup 2013-04-26T05:20:07 < zippe> Why not use a switcher? 2013-04-26T05:20:10 < Lt_Lemming> because it's designed for large arrays of LED's 2013-04-26T05:20:18 < zippe> Dumping 15W is a huge PITA 2013-04-26T05:20:22 < Lt_Lemming> and brightness control, not just switching them on and off 2013-04-26T05:20:31 < Lt_Lemming> it's not dumping it, it's PWM 2013-04-26T05:20:44 < zippe> Er 2013-04-26T05:20:53 < zippe> So typically with LEDs if you are dumping heat that's your CC circuit 2013-04-26T05:21:03 < zippe> And then separately you PWM them for brightness 2013-04-26T05:21:32 < zippe> So I am trying to work out why you think you need to dump 15W of heat 2013-04-26T05:21:45 < Lt_Lemming> I'm not dumping the heat, but the PWM is fast enough that the FET's do have to be able to handle a significant amount of heating 2013-04-26T05:21:49 < zippe> Unless that's what you expect just from the switching time 2013-04-26T05:21:56 < Lt_Lemming> 1.9W probably won't cut it 2013-04-26T05:22:01 < zippe> Well, then PWM slower. 8) 2013-04-26T05:22:05 < gxti> you haven't calculated? 2013-04-26T05:22:10 < gxti> start with that 2013-04-26T05:22:16 < zippe> IRF 4000 looks like a good starting point 2013-04-26T05:22:51 < dongs> damn zippe always has awesome stuff 2013-04-26T05:23:01 < dongs> zippe: btw, that overvoltage chip stuff worked. 2013-04-26T05:23:06 < dongs> cleanly cuts at 5.something V 2013-04-26T05:23:08 < dongs> good times. 2013-04-26T05:23:13 < zippe> Sweet. 2013-04-26T05:23:18 < Lt_Lemming> gxti, this is designed to go into a theatre lighting system, so speccing for the highest expected load is the best idea 2013-04-26T05:23:39 < Lt_Lemming> because undoubtedly some tech will decide to run the lights at 50% brightness for extended periods 2013-04-26T05:23:47 < zippe> LTC4417 is my new hotness 2013-04-26T05:24:00 < gxti> ok fine, you should work out how much you could conceivably need to dissipate 2013-04-26T05:24:05 < gxti> under worst case conditions 2013-04-26T05:24:10 < gxti> otherwise how will you know you chose an appropriate part? 2013-04-26T05:24:15 < zippe> Lt_Lemming: any reason not to just use a couple of LM3886's? 2013-04-26T05:24:16 < dongs> zippe: haha, nat 2013-04-26T05:24:17 < dongs> er neat 2013-04-26T05:24:17 < Lt_Lemming> I have, 15W 2013-04-26T05:24:29 < zippe> I mean, audio and all that, but cheap. 2013-04-26T05:26:51 < Lt_Lemming> that's a rather epic kludge though zippe 2013-04-26T05:27:06 < Lt_Lemming> and not sure that is going to like switching DC rather than AC 2013-04-26T05:27:11 < zippe> Indubitably 2013-04-26T05:27:21 < Lt_Lemming> not to mention the PWM frequency I am working with is 30KHz 2013-04-26T05:27:26 < zippe> The 3886 is quite happy at DC 2013-04-26T05:27:31 < dongs> wat 2013-04-26T05:27:46 < dongs> 30khz is not that much? 2013-04-26T05:28:03 < Lt_Lemming> yes, but the chip is only rated to 20KHz 2013-04-26T05:28:57 < zippe> Lt_Lemming: no, the THD is only rated over the 20-20K range, which is typical for audio gear 2013-04-26T05:29:38 < zippe> Look at fig 46 on page 16 of the datasheet 2013-04-26T05:29:51 < zippe> Response is flat to about 60-70kHz 2013-04-26T05:30:02 < zippe> It hits a wall at ~100kHz 2013-04-26T05:30:42 < zippe> THD goes to shit over 20kHz, but that's because your harmonics are hitting the wall 2013-04-26T05:31:04 < zippe> Really though, it's just a) cheap, b) protected, c) has reasonable power handling 2013-04-26T05:31:10 < zippe> It's in no way a "good LED driver" 2013-04-26T05:31:48 < Lt_Lemming> yeah, I think it would be a lot more work than it's worth to switch to that 2013-04-26T05:31:59 < Lt_Lemming> not to mention it's significantly bigger than the parts I am using atm 2013-04-26T05:32:03 < zippe> Dunno about that. It's dirt simple to hook up. 8) 2013-04-26T05:32:19 < Lt_Lemming> I was just trying to see if someone new about a QuadFET, but if I have to use singles or duals then so be it. 2013-04-26T05:32:19 < zippe> I mean, if the gainclone people can build working audio equipment with it, it can't be that hard. 8) 2013-04-26T05:32:41 < zippe> You have current / thermal limiting already? 2013-04-26T05:33:39 < zippe> Otherwise, I would be using something like the NID6002N 2013-04-26T05:34:26 < upgrdman> dongs: is that SR website for real, or trolling? that tranq thing seems like such a troll 2013-04-26T05:40:12 -!- BJFreeman [~bjfree@105.sub-75-233-77.myvzw.com] has quit [Ping timeout: 276 seconds] 2013-04-26T05:43:46 < dongs> upgrdman: totally real 2013-04-26T05:43:59 < upgrdman> :( so sad 2013-04-26T05:44:06 < dongs> youre in the wrong business 2013-04-26T05:45:09 < ds2> I'd use a PSoC based Arduino 2013-04-26T05:45:18 < dongs> quantum tunnel that shit 2013-04-26T05:45:24 < dongs> through a PMOD(tm) connector 2013-04-26T05:46:35 < emeb> ds2: tindie orders (SI570 oscillators) shipped today 2013-04-26T05:47:32 < dongs> marketplace for makers 2013-04-26T05:48:06 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 264 seconds] 2013-04-26T05:48:16 < dongs> https://www.tindie.com/products/logicalzero/gamby-arduino-retro-gaming-shield/ wat 2013-04-26T05:51:03 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-26T05:51:29 < dongs> https://www.tindie.com/products/bot_thoughts/eezee-attiny244484-breakout/ 2013-04-26T05:51:31 < dongs> what the actual fuck 2013-04-26T05:51:35 < dongs> its a DIP to DIP breakout. 2013-04-26T05:53:58 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has left ##stm32 [] 2013-04-26T05:54:07 < Lt_Lemming> yes, because breakouts have frequency crystals, programming headers and buttons on them 2013-04-26T05:54:21 < Lt_Lemming> 2013-04-26T05:56:49 < dongs> yes. 2013-04-26T06:00:17 -!- sterna2 [~Adium@dhcp-185190.eduroam.chalmers.se] has quit [Quit: Leaving.] 2013-04-26T06:10:13 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-04-26T06:12:31 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-26T06:15:57 < R2COM> haha 2013-04-26T06:21:12 < R2COM> Tindarian 2013-04-26T06:22:25 < ds2> emeb_mac: nifty 2013-04-26T06:23:20 < R2COM> they sell programmable oscillator 2013-04-26T06:23:22 < R2COM> from silabs 2013-04-26T06:23:31 < ds2> emeb_mac: have you seen this project: http://www.tapr.org/pdf/DCC2010-simpleSDR-KF6SJ.pdf 2013-04-26T06:23:40 < R2COM> i have no idea whats wrong with just buying it from silabs... 2013-04-26T06:24:59 < emeb_mac> ds2: yeah - saw that long ago. 2013-04-26T06:25:39 < emeb_mac> R2COM: Silabs gives a pretty substantial qty discount, so the group buy saves some $$ 2013-04-26T06:25:45 < ds2> emeb_mac: do you know why they have that hilbert xform there? they are alreadying doing a quad. sampling 2013-04-26T06:26:47 < emeb_mac> ds2: they're recombining the quadrature signal into a real-only signal. 2013-04-26T06:27:05 < emeb_mac> by phase shifting and summing you pick up 3dB SNR 2013-04-26T06:27:24 -!- CRF_Peter [~Peter@dhcp-181113.eduroam.chalmers.se] has quit [Ping timeout: 256 seconds] 2013-04-26T06:27:42 < ds2> emeb_mac: so that is different from generating I/Q for SSB demod? 2013-04-26T06:29:13 < emeb_mac> ds2: I'd have to think thru the math, but I believe it's one way to do SSB demod. 2013-04-26T06:29:41 < ds2> emeb_mac: hmmm ok... 2013-04-26T06:42:22 < dongs> whoa dsptalk 2013-04-26T06:42:33 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-26T06:42:41 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-26T06:56:28 -!- CRF_Peter [~Peter@193.11.200.145] has joined ##stm32 2013-04-26T07:02:00 -!- CRF_Peter [~Peter@193.11.200.145] has quit [Ping timeout: 272 seconds] 2013-04-26T07:10:28 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-26T07:12:20 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Ping timeout: 255 seconds] 2013-04-26T07:14:58 -!- scrts [~quassel@unaffiliated/scrts] has quit [Quit: No Ping reply in 180 seconds.] 2013-04-26T07:15:58 < R2COM> does diptrace have automated engine for symbol creation? something like: I enter spreadsheet info, and it creates rectangle with pins 2013-04-26T07:16:50 -!- scrts [~quassel@unaffiliated/scrts] has joined ##stm32 2013-04-26T07:40:04 -!- R2COM1 [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-26T07:42:56 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 256 seconds] 2013-04-26T07:44:51 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-26T07:53:03 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-26T07:54:12 -!- R2COM1 is now known as R2COM 2013-04-26T07:55:43 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-26T08:03:04 < dongs> R2COM: no, it creates rectangle wiht pins which you can later edit in a spreadsheet-like way to name pins 2013-04-26T08:03:29 < dongs> but it does have auto-things to create / align pins like square/line/bga/etc 2013-04-26T08:04:33 < R2COM> ok. thanks. 2013-04-26T08:21:19 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-26T08:45:54 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Read error: Connection reset by peer] 2013-04-26T09:13:06 -!- mcollenberg [~mcollenbe@ppp-82-135-90-237.dynamic.mnet-online.de] has joined ##stm32 2013-04-26T09:17:46 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-04-26T09:28:31 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 2013-04-26T09:31:40 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Ping timeout: 256 seconds] 2013-04-26T09:31:49 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-04-26T09:32:35 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-26T09:34:40 -!- _BJFreeman [~bjfree@41.sub-75-196-2.myvzw.com] has joined ##stm32 2013-04-26T09:35:30 -!- _BJFreeman is now known as BJFreeman 2013-04-26T09:39:42 -!- dekar_ [~dekar@212.255.242.46] has joined ##stm32 2013-04-26T09:39:43 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-04-26T09:44:08 -!- dekar [~dekar@212.255.242.50] has quit [Ping timeout: 272 seconds] 2013-04-26T09:57:58 < Tectu> [Fri April 26 2013 00:47:43]: Laurenceb_ (~Laurence@host86-177-61-171.range86-177.btcentralplus.com) (##stm32): wonder if Tectu will ever write a driver for the "chromart" thingy 2013-04-26T09:58:03 < Tectu> ^whut? 2013-04-26T09:58:05 < Tectu> chromart? 2013-04-26T09:58:15 < Tectu> did I miss another useless piece of the internet? 2013-04-26T10:01:21 -!- mansfeld [~andrew@robopoly/watson] has joined ##stm32 2013-04-26T10:02:53 < mansfeld> Hi folks! I was wondering, since the Thumb2 instruction set has 16bit and 32 bit instructions, must the last instruction always end up aligned to 32 bits? (i.e. is it possible that m3 code will have an odd number of words?) 2013-04-26T10:04:52 -!- talsit1 [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-26T10:05:13 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Ping timeout: 240 seconds] 2013-04-26T10:08:54 < Thorn> in this channel, words are 32-bit. 2013-04-26T10:09:11 < jpa-> mansfeld: it only needs 16-bit alignment 2013-04-26T10:09:16 < Thorn> I don't think the cortex core knows where the last instruction is 2013-04-26T10:09:28 < Thorn> or cares 2013-04-26T10:10:46 < mansfeld> thanks! 2013-04-26T10:10:56 -!- talsit1 [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Ping timeout: 252 seconds] 2013-04-26T10:12:39 -!- mcollenberg [~mcollenbe@ppp-82-135-90-237.dynamic.mnet-online.de] has quit [Ping timeout: 260 seconds] 2013-04-26T10:15:45 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-26T10:18:25 < zyp> dongs, great, thanks 2013-04-26T10:21:27 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2013-04-26T10:21:27 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2013-04-26T10:21:27 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-04-26T10:30:07 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-26T10:32:03 -!- CoolBear_ [~hightower@ti0069a380-0800.bb.online.no] has quit [Ping timeout: 276 seconds] 2013-04-26T10:58:13 -!- qyx_ [~qyx@krtko.org] has joined ##stm32 2013-04-26T11:21:31 -!- dekar_ [~dekar@212.255.242.46] has quit [Quit: This computer has gone to sleep] 2013-04-26T11:34:15 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-26T11:43:48 -!- BJFreeman [~bjfree@41.sub-75-196-2.myvzw.com] has quit [Quit: had a good time] 2013-04-26T12:01:39 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-26T12:01:42 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-26T12:09:34 -!- capacitor [~capacitor@123-243-139-187.tpgi.com.au] has joined ##stm32 2013-04-26T12:10:04 * capacitor looks for Tectu 2013-04-26T12:11:16 * Tectu is busy as fuck 2013-04-26T12:14:27 <+Steffanx> /quit 2013-04-26T12:14:38 -!- capacitor [~capacitor@123-243-139-187.tpgi.com.au] has quit [Quit: ChatZilla 0.9.90 [Firefox 20.0.1/20130409194949]] 2013-04-26T12:16:19 < zyp> guy from a neighboring company came and asked for stm32 advice 2013-04-26T12:17:02 < zyp> he wondered about tools, I suggested keil 2013-04-26T12:17:30 -!- UweBonnes [~bon@hertz.ikp.physik.tu-darmstadt.de] has joined ##stm32 2013-04-26T12:18:44 < PaulFertser> zyp: was it an evil advice actually? 2013-04-26T12:19:13 <+Steffanx> If he needs you for advice keil is probably the best option :) 2013-04-26T12:19:38 < dongs> keil > * by far 2013-04-26T12:19:55 <+Steffanx> keil > keil by far :S 2013-04-26T12:20:59 < zyp> the guy wanted a windows IDE for doing paid work, and I honestly believe keil is the best option for that 2013-04-26T12:21:56 <+Steffanx> Depends on what he is used to. If he is used to Visual Studio for example, then keil sucks ass ( when it comes to code assistance etc. ) 2013-04-26T12:22:19 < dongs> bullshit 2013-04-26T12:22:22 < dongs> when was the last time you used keil? 2013-04-26T12:22:24 < dongs> they fixed al lthat 2013-04-26T12:22:30 <+Steffanx> Whoaa 2013-04-26T12:22:31 < dongs> code assist properly works 2013-04-26T12:22:39 <+Steffanx> Last time was uvision 4 or so. 2013-04-26T12:22:47 < zyp> guy is used to IAR for AVR, I believe 2013-04-26T12:22:52 < dongs> yeah they switched to scintilla or someshit for text editor widged 2013-04-26T12:22:55 < dongs> and started quickly fixing al lfail 2013-04-26T12:23:10 < dongs> so 4.60 or 4.70 or so does code complete/syntax assist etc 2013-04-26T12:23:11 <+Steffanx> oh, then i have to update my opinion about keil 2013-04-26T12:23:30 < dongs> and navigation goto definition/declaration etc type stuff. 2013-04-26T12:23:33 < dongs> its fairly usable now 2013-04-26T12:23:53 <+Steffanx> but ... open sores 2013-04-26T12:24:03 < dongs> doesnt matter 2013-04-26T12:25:07 -!- MrMobius [~Joey@194.176.111.139] has joined ##stm32 2013-04-26T12:25:23 <+Steffanx> lol. Chrome doesnt trust the certificate from keil 2013-04-26T12:25:35 < dongs> wut? 2013-04-26T12:25:40 < dongs> what url? 2013-04-26T12:25:51 <+Steffanx> https://www.keil.com/download/product/ 2013-04-26T12:25:52 < dongs> i never seen a shit certificate popup on arm.com 2013-04-26T12:26:02 < dongs> looks fine here 2013-04-26T12:26:06 < dongs> do you have some ancient chrome or osmething? 2013-04-26T12:26:07 < dongs> bar is green 2013-04-26T12:26:18 <+Steffanx> nope, Versie 26.0.1410.65 or so 2013-04-26T12:26:34 < dongs> https bar is green, and it says identity verified etc. 2013-04-26T12:26:42 < dongs> sounds like you got some MITM trying to hax0r y ou downloading keil 2013-04-26T12:26:57 <+Steffanx> No, it just doesn't trust VeriSign, Inc. :P 2013-04-26T12:28:06 <+Steffanx> Safari doesnt like it either, firefox doesnt complain 2013-04-26T12:30:44 < dongs> hmm digikey must be droping prices on reel resistors 2013-04-26T12:30:52 < dongs> $6.56 for a reel now.. 2013-04-26T12:30:52 < dongs> wtf 2013-04-26T12:30:59 < dongs> i thought it was more than that lat time i ordered 2013-04-26T12:31:03 < dongs> http://www.digikey.com/product-detail/en/RC0603JR-071KL/311-1.0KGRTR-ND/726677 2013-04-26T12:31:17 <+Steffanx> Be jappy. 2013-04-26T12:31:22 < dongs> i am 2013-04-26T12:31:27 -!- MrM0bius [~Joey@194.176.111.139] has joined ##stm32 2013-04-26T12:31:27 < dongs> only problem is filling 80$ minimum order :D 2013-04-26T12:31:39 <+Steffanx> Just add an extra reel 2013-04-26T12:31:57 <+Steffanx> or add some stm32s you dont need yet 2013-04-26T12:32:09 < dongs> ive got tons of stm32s 2013-04-26T12:32:18 -!- MrM0bius [~Joey@194.176.111.139] has quit [Read error: Connection reset by peer] 2013-04-26T12:33:01 <+Steffanx> Then just find the most weird component on digikey and order that 2013-04-26T12:33:50 <+Steffanx> Too bad digikey doesnt sell permanent markers 2013-04-26T12:33:54 < dongs> yeah :( 2013-04-26T12:34:02 < dongs> they dont sell flux anymore either 2013-04-26T12:34:05 < dongs> i used to buy from there 2013-04-26T12:34:07 < dongs> kester flux pens 2013-04-26T12:34:10 < dongs> then they stoppede 2013-04-26T12:34:17 -!- MrMobius [~Joey@194.176.111.139] has quit [Ping timeout: 246 seconds] 2013-04-26T12:34:24 < dongs> hey 2013-04-26T12:34:25 < dongs> its back 2013-04-26T12:34:27 < Thorn> add this http://www.digikey.com/product-detail/en/5SGXEBBR2H43C2N/5SGXEBBR2H43C2N-ND/3877812 2013-04-26T12:34:46 < dongs> http://www.digikey.com/product-detail/en/83-1000-0951/KE1804-ND/95158 2013-04-26T12:34:46 < dongs> yay 2013-04-26T12:34:47 < dongs> shit is back 2013-04-26T12:34:48 < dongs> im adding 2013-04-26T12:34:49 <+Steffanx> That isn't the most expensive fpga on there is it? 2013-04-26T12:35:15 < Thorn> no, buy you have to buy 3 2013-04-26T12:35:18 < Thorn> *but 2013-04-26T12:35:34 -!- Laurenceb_ [~Laurence@host86-177-61-171.range86-177.btcentralplus.com] has joined ##stm32 2013-04-26T12:35:52 <+Steffanx> http://www.digikey.com/product-detail/en/XC7V2000T-G2FLG1925E/XC7V2000T-G2FLG1925E-ND/3981901 better .. same price for one :P 2013-04-26T12:36:08 < dongs> haha 2013-04-26T12:36:14 < Thorn> ... 2013-04-26T12:37:29 < dongs> I wonder if you order 12 2013-04-26T12:37:31 < dongs> how will they deliver 2013-04-26T12:37:35 < dongs> private jet? 2013-04-26T12:38:23 <+Steffanx> only one way to find out. /me starts a kickstarter project 2013-04-26T12:39:10 < Thorn> like this http://farm1.staticflickr.com/59/162611699_6999f11509.jpg 2013-04-26T12:40:10 < dongs> portugay 2013-04-26T12:43:19 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-26T12:44:57 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Ping timeout: 252 seconds] 2013-04-26T12:54:07 -!- dekar [~dekar@dslb-088-069-147-144.pools.arcor-ip.net] has joined ##stm32 2013-04-26T12:54:10 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-26T12:55:15 -!- MrMobius [~Joey@194.176.111.31] has quit [Read error: Connection reset by peer] 2013-04-26T12:59:04 -!- dekar [~dekar@dslb-088-069-147-144.pools.arcor-ip.net] has quit [Quit: Leaving] 2013-04-26T12:59:43 -!- Laurenceb_ [~Laurence@host86-177-61-171.range86-177.btcentralplus.com] has quit [Ping timeout: 245 seconds] 2013-04-26T13:03:47 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-26T13:05:26 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 245 seconds] 2013-04-26T13:08:04 -!- CoolBear [~hightower@ti0069a380-0588.bb.online.no] has joined ##stm32 2013-04-26T13:11:04 -!- MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-26T13:27:29 -!- MrMobius [~Joey@194.176.111.29] has quit [Ping timeout: 246 seconds] 2013-04-26T13:48:15 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has joined ##stm32 2013-04-26T13:55:39 -!- alexn_ [~alexn@93.104.205.194] has joined ##stm32 2013-04-26T13:58:54 -!- alexn [~alexn@93.104.205.194] has quit [Ping timeout: 264 seconds] 2013-04-26T14:08:32 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2013-04-26T14:09:35 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has joined ##stm32 2013-04-26T14:29:37 -!- Devilholk [~banned@h-219-117.a357.priv.bahnhof.se] has quit [Quit: Migrating irssi session to other machine] 2013-04-26T14:30:38 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Quit: Leaving.] 2013-04-26T14:42:26 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-26T14:42:43 -!- alexn_ [~alexn@93.104.205.194] has quit [Quit: Leaving] 2013-04-26T14:48:54 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-26T14:59:16 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-26T15:17:37 -!- sterna1 [~Adium@dhcp-180144.eduroam.chalmers.se] has joined ##stm32 2013-04-26T15:25:31 -!- MrM0bius [~Joey@194.176.111.31] has joined ##stm32 2013-04-26T15:26:29 -!- MrMobius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-26T15:42:09 -!- zlog [~zlog@ip68-102-206-145.ks.ok.cox.net] has quit [Remote host closed the connection] 2013-04-26T15:45:03 -!- zlog [~zlog@ip68-102-206-145.ks.ok.cox.net] has joined ##stm32 2013-04-26T15:58:08 -!- Erlkoenig [~erlkoenig@pptp-212-201-76-94.pptp.stw-bonn.de] has joined ##stm32 2013-04-26T16:03:11 -!- MrMobius [~Joey@194.176.111.29] has joined ##stm32 2013-04-26T16:05:41 -!- MrM0bius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-26T16:08:29 -!- MrMobius [~Joey@194.176.111.29] has quit [Ping timeout: 246 seconds] 2013-04-26T16:15:06 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-26T16:23:46 < inca> "If you have eight hours to chop down a tree, spend six sharpening the ax." 2013-04-26T16:24:14 < gxti> i've used kester flux pens in the past but towards the end of their life they start getting useless, think i'm switching to bottles or something 2013-04-26T16:24:32 < gxti> the tip turns into a mushroom and it's impossible to get it to flow without jamming a screwdriver into the tip 2013-04-26T16:30:38 < dongs> eh 2013-04-26T16:30:40 < dongs> i had them for a while 2013-04-26T16:30:42 < dongs> didnt have that issue 2013-04-26T16:30:50 < dongs> i think one i have has lasted for years 2013-04-26T16:31:05 < dongs> i fucking spilled a bottle of flux once on top of a tssop socket and everyfucking where on my desk 2013-04-26T16:31:08 < dongs> i am not touching flux bottles again 2013-04-26T16:31:18 < dongs> shit took for fucking ever to clean up 2013-04-26T16:31:21 < dongs> and socket fucking ruiend 2013-04-26T16:33:56 < Laurenceb> here at fail academy people retards keep leaving the top off the pens 2013-04-26T16:35:34 < dongs> yea, thats probably what gxti did 2013-04-26T16:35:39 < Laurenceb> http://s2.b3ta.com/host/creative/65077/1299229022/DOWN.jpg 2013-04-26T16:35:41 < dongs> i heard flux dries up!!! 2013-04-26T16:35:50 < gxti> no i don't leave the cap off 2013-04-26T16:36:22 -!- _BJFreeman [~bjfree@236.sub-75-233-90.myvzw.com] has joined ##stm32 2013-04-26T16:36:42 < gxti> the first one lasted quite a while, the second only a few months of light use. maybe it was bad somehow. 2013-04-26T16:36:55 -!- _BJFreeman is now known as BJFreeman 2013-04-26T16:37:53 < Laurenceb> i think i need one of those overengineered rpi door locks on the workshop 2013-04-26T16:38:05 < Laurenceb> quiz on how to use the tools before you are let in 2013-04-26T16:38:35 < Laurenceb> is this: a) soldering iron b) dildo 2013-04-26T16:39:20 < Laurenceb> does solder paste make good pizza topping? 2013-04-26T16:40:03 < Erlkoenig> how to not kill expensive batteries by deep-discharging? 2013-04-26T16:40:34 < Laurenceb> charge protection circuit? 2013-04-26T16:40:44 < Laurenceb> most lipo cells have them built in 2013-04-26T16:40:52 < Laurenceb> well - apart from sparkfun stuff 2013-04-26T16:40:58 < zyp> Erlkoenig, by not deep-discharging them, I guess 2013-04-26T16:41:47 < Erlkoenig> that was a proposed quiz question 2013-04-26T16:42:02 < Erlkoenig> because some guys in the uni killed their expensive battery that way 2013-04-26T16:44:17 < zyp> if it were not meant as a question, you should enclose it in quote signs 2013-04-26T16:45:08 < Erlkoenig> sorry. i hoped it to be clear from the context. 2013-04-26T16:45:26 < gxti> it's ok Erlkoenig, i got it 2013-04-26T16:45:42 < Laurenceb> lol 2013-04-26T16:46:01 < Laurenceb> most of the guys here are too stupid to know what a battery is 2013-04-26T16:46:31 < Erlkoenig> now the cells lay around on a table and the guys helplessly measure their inevitable death 2013-04-26T16:49:41 < dongs> drive a nail through it 2013-04-26T16:50:37 < Erlkoenig> sounds undangerous 2013-04-26T16:50:40 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-26T16:50:54 < Laurenceb> farnell/element14 stock lipo cells now 2013-04-26T16:51:06 < Laurenceb> with stupid connectors :( 2013-04-26T16:51:15 < Laurenceb> ive been having to replace load of them 2013-04-26T16:51:19 < Laurenceb> *loads 2013-04-26T16:51:29 < Erlkoenig> btw anyone experience with CANopen? 2013-04-26T16:52:47 < BJFreeman> Used it a decade ago Erlkoenig but memory foggy 2013-04-26T16:53:05 < Erlkoenig> used or know the implementation details? :D 2013-04-26T16:53:58 < BJFreeman> read the implemtation then wrote my own code for 56F803 2013-04-26T16:55:04 < BJFreeman> http://roadwarrior.free-man.com/can/rvcan/rv-C-projects.shtml 2013-04-26T16:55:46 < BJFreeman> converted over to STM32F103 2013-04-26T16:56:10 < Erlkoenig> ah. assuming there is a CANopen device with its default configuration on the bus, and i want to acces its default SDO. i would use the segmented/block/expedited transfer protocols to read/write its objects, but what CAN ID would i have to use? would i need to send the devices' default Server SDO default Rx-ID, and listen for its default Tx-ID? 2013-04-26T16:57:07 < BJFreeman> Can ID's are 11bit or 19bit 2013-04-26T16:57:32 < BJFreeman> 11bit is used by OD BII 2013-04-26T16:59:51 < BJFreeman> not all can devices return an Ack 2013-04-26T17:01:21 -!- daku is now known as DaKu 2013-04-26T17:02:41 < BJFreeman> you would also need to know the message format, this one in not can open but gives you and Idea http://roadwarrior.free-man.com/can/rvcan/DC_Source.shtml 2013-04-26T17:03:13 < BJFreeman> is not * 2013-04-26T17:04:15 < Erlkoenig> well the CANopen message format is well documented 2013-04-26T17:04:34 < Erlkoenig> i just need to know the CAN ID i have to transmit when talking to a CANopen device's default SDO 2013-04-26T17:04:52 < Erlkoenig> while the device has is using its default configuration 2013-04-26T17:11:51 < BJFreeman> doing some speed reading to re-aquaint myself 2013-04-26T17:14:04 -!- MrM0bius [~Joey@91.192.66.233] has joined ##stm32 2013-04-26T17:15:51 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 245 seconds] 2013-04-26T17:17:26 -!- MrMobius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-26T17:17:38 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-26T17:17:53 -!- UweBonnes [~bon@hertz.ikp.physik.tu-darmstadt.de] has quit [Quit: epic+tkirc2] 2013-04-26T17:18:06 < Robint91> hi all 2013-04-26T17:18:20 < Robint91> who knows some very fast DSP/MCUs to do image processing? 2013-04-26T17:20:13 < inca> Robint91: FPGAs 2013-04-26T17:21:23 < Robint91> inca, yeah but a simple morphological operation is bs in FPGA logic 2013-04-26T17:21:43 < dongs> im in ur logic processing it 2013-04-26T17:21:55 < dongs> Robint91: what you need is arduino video shield 2013-04-26T17:22:20 < Laurenceb> can anyone work out the F4 datashit? 2013-04-26T17:22:25 < Robint91> dongs, http://www.youtube.com/watch?v=xSJb1FlXMPQ 2013-04-26T17:22:29 < Laurenceb> TIM10/11/13/14 2013-04-26T17:22:37 < Laurenceb> theres no master mode bits 2013-04-26T17:22:40 < inca> Robint91: you said very fast… I assume you mean fastest with reasonable affordability 2013-04-26T17:22:44 < dongs> Laurenceb: because there isnt 2013-04-26T17:22:49 < Robint91> inca, yes 2013-04-26T17:22:52 < Laurenceb> yet you can use those timers to master timers 9 and 12 2013-04-26T17:22:54 < Laurenceb> wtf 2013-04-26T17:23:01 < dongs> Robint91: i stopped my happyhardcore for this shit 2013-04-26T17:23:01 < Laurenceb> what signal is being used? 2013-04-26T17:23:03 < dongs> closing asap 2013-04-26T17:23:27 < Robint91> dongs, this is better than your fappyhardcore 2013-04-26T17:23:40 < dongs> Robint91: not even 2013-04-26T17:23:54 * Laurenceb contemplates cheating and routing a wire round to the input pin 2013-04-26T17:24:10 < Laurenceb> but anyways.. datahseet makes no sense 2013-04-26T17:24:40 < dongs> # i2c r 0x18 0x80 4 2013-04-26T17:24:40 < dongs> R: af 10 ff ff 2013-04-26T17:24:48 < Laurenceb> figure 166 wtf 2013-04-26T17:25:14 < Laurenceb> then check table 79 2013-04-26T17:27:07 < BJFreeman> Robint91 you need a good DSP library most DSP will do image processing the key is how much storage does the device have compared to the image to be processed. 2013-04-26T17:27:45 < Robint91> BJFreeman, I'm working only with 640x480 or 320x240 grayscale images 2013-04-26T17:27:51 < Robint91> BJFreeman, but at 200 fps 2013-04-26T17:28:04 < dongs> only 200? shit, i can do over 9000 fps 2013-04-26T17:28:47 < BJFreeman> Robint91 are you familar with DSP in general 2013-04-26T17:29:23 < Robint91> BJFreeman, yeah, fairly good, but did more audio/signal DSP on embedded platforms and more vision based stuff on the PC 2013-04-26T17:35:54 < BJFreeman> I use the STM32F4 series because it also has a video interface as well 2013-04-26T17:36:49 < BJFreeman> the ARM GPU (cedarx) like in the Allwinners chips will do good 2013-04-26T17:38:20 < Robint91> BJFreeman, I think an F4 isn't powerfull enough 2013-04-26T17:38:35 < Robint91> BJFreeman, it has only 11 cycles per pixel 2013-04-26T17:38:50 < BJFreeman> Erlkoenig ok so you know the ID's of the devices already and have the Mfgrs data on what yo should recieve 2013-04-26T17:39:20 < Erlkoenig> Mfgr? 2013-04-26T17:39:25 < Erlkoenig> i know the node ID, yes 2013-04-26T17:39:50 < Erlkoenig> assume i want to read object 0x1000 which is a uint32 indicating the device type 2013-04-26T17:40:05 < Erlkoenig> i would send one of the upload requests, but the question is what CAN ID would isend 2013-04-26T17:41:16 < BJFreeman> the device will only accept either 11bits or 29bits, for an ID so you going to have to mask them 2013-04-26T17:41:23 < Robint91> BJFreeman, the idea is to do the following; calculate the histogram, threshold, 2 morphological operations, blob extraction 2013-04-26T17:41:31 < Robint91> BJFreeman, at 200Hz 2013-04-26T17:42:25 < Erlkoenig> BJFreeman: Node ID's are defined to be 7 bits 2013-04-26T17:42:42 < Robint91> CANopen? 2013-04-26T17:42:56 < BJFreeman> Erlkoenig for ll bits you cycle through the 127 addresses to see who is on the line 2013-04-26T17:43:32 < Erlkoenig> how do i termine a device with a given node ID is online? 2013-04-26T17:43:35 < Erlkoenig> Robint91: yes... 2013-04-26T17:43:50 < Erlkoenig> Robint91: know about CANopen? 2013-04-26T17:44:24 < Robint91> Erlkoenig, a bit, more about the higher layers, objects and stuff 2013-04-26T17:44:35 < Erlkoenig> hm 2013-04-26T17:44:56 < Erlkoenig> assuming there is a CANopen device with its default configuration on the bus, and i want to acces its default SDO. i would use the segmented/block/expedited transfer protocols to read/write its objects, but what CAN ID would i have to use? would i need to send the devices' default Server SDO default Rx-ID, and listen for its default Tx-ID? 2013-04-26T17:46:39 < Robint91> http://www.microcontrol.net/download/appnotes/td-03011e.pdf 2013-04-26T17:46:42 < Robint91> Erlkoenig, ^ 2013-04-26T17:46:56 < BJFreeman> Erlkoenig the CAN ID has the capablity of 127 addresses you would cycle through them so see which address responds and keep a table 2013-04-26T17:47:08 < Erlkoenig> that was not the question 2013-04-26T17:47:27 < Erlkoenig> how do i tell a node to answer me? 2013-04-26T17:47:59 < Robint91> Erlkoenig, say node has ID 0 2013-04-26T17:48:15 < BJFreeman> http://www.canopensolutions.com/english/about_canopen/device_configuration_canopen.shtml 2013-04-26T17:48:39 < BJFreeman> shows you the format and response 2013-04-26T17:49:31 < Robint91> SDO transmit = Identifier 580h + NodeID 2013-04-26T17:49:46 < Robint91> SDO recieve = ident 600h + NodeID 2013-04-26T17:49:46 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-04-26T17:49:47 * inca <3 bands of bits. 2013-04-26T17:50:30 < Robint91> Erlkoenig, so send the SDO to 581h and recieve SDO reponse from 601h 2013-04-26T17:50:38 < Robint91> Erlkoenig, that is what I understand 2013-04-26T17:51:18 < Erlkoenig> aah. i guessed something like this but was not sure 2013-04-26T17:51:31 < Erlkoenig> http://www.canopensolutions.com/english/about_canopen/device_configuration_canopen.shtml <-- since documents like this don't say what CAN ID's to send/receive 2013-04-26T17:51:49 < Robint91> Erlkoenig, http://www.microcontrol.net/download/appnotes/td-03011e.pdf PAGE 3 2013-04-26T17:52:31 < Erlkoenig> yes 2013-04-26T17:52:35 < zyp> dongs, still around? 2013-04-26T17:52:39 < Erlkoenig> my book is not so clear about that 2013-04-26T17:52:39 < dongs> ya 2013-04-26T17:52:45 < dongs> coding failshit 2013-04-26T17:52:46 < dongs> sup 2013-04-26T17:53:17 < Erlkoenig> ... all this stuff also means a Server SDO can effectively only talk to ONE client, which is typically the configuration tool, right? 2013-04-26T17:53:37 < Robint91> Erlkoenig, I did a bunch of EtherCAT CanOpen stuff 2013-04-26T17:54:04 < Erlkoenig> i have to talk to a Motor Controller and give it Torque demand values 2013-04-26T17:54:05 < Robint91> Erlkoenig, euh, yes 2013-04-26T17:54:10 < zyp> dongs, I'm accessing the led driver chip over i2c, it seems to just answer random shit when I try reading register 0x03 2013-04-26T17:54:29 < Robint91> Erlkoenig, not exactly 2013-04-26T17:54:29 < dongs> zyp: didnt i paste code before 2013-04-26T17:54:52 < zyp> maybe, I just looked at datasheet 2013-04-26T17:54:55 < dongs> http://bcas.tv/paste/results/5hT9PK87.html 2013-04-26T17:54:59 < dongs> this seemed to work 2013-04-26T17:55:01 < Robint91> Erlkoenig, it is possible, I have seen implementations of it but it wasn't easy and very error proun 2013-04-26T17:55:25 < Erlkoenig> what, using multiple clients on one Server SDO? 2013-04-26T17:55:38 < Robint91> Erlkoenig, yes 2013-04-26T17:55:46 < Erlkoenig> ah okay 2013-04-26T17:55:54 < Robint91> dongs, we don't use #IF 0 from comments 2013-04-26T17:56:22 < dongs> Robint91: thx for the tip 2013-04-26T17:56:32 < Erlkoenig> i just wanted to undestand it correctly... one Server SDO means one State Machine instance on the Device to deal with segmented and block transfers... i guess 2013-04-26T17:56:43 < zyp> dongs, hmm, looks pretty much what I'm doing, except that I'm just reading shit 2013-04-26T17:56:55 < zyp> oh, wait 2013-04-26T17:56:56 < dongs> zyp: did you fuck wiht PB15 2013-04-26T17:56:58 < dongs> i think the reset pin 2013-04-26T17:56:59 < dongs> or osmeshit 2013-04-26T17:57:03 < dongs> or enable pin 2013-04-26T17:57:03 < Robint91> Erlkoenig, yes, only one access at the time 2013-04-26T17:57:03 < zyp> yes 2013-04-26T17:57:11 < Robint91> Erlkoenig, else strange things could happen 2013-04-26T17:57:19 < Erlkoenig> okay good 2013-04-26T17:57:33 < zyp> bld_en.set_mode(Pin::Output); 2013-04-26T17:57:33 < zyp> bld_en.on(); 2013-04-26T17:57:33 < zyp> bld_pwm.set_mode(Pin::Output); 2013-04-26T17:57:33 < zyp> bld_pwm.off(); 2013-04-26T17:57:37 < Erlkoenig> i was wondering how one would distinguish multiple clients ^.^ 2013-04-26T17:57:42 < dongs> lol 2013-04-26T17:58:16 < dongs> zyp: try reading eeprom/nvram? 2013-04-26T17:58:20 < dongs> that has predictable values 2013-04-26T17:58:37 < zyp> more predictable than the id register? 2013-04-26T17:59:01 < dongs> pretty sure mine looked legit 2013-04-26T17:59:03 < dongs> i didnt check 2013-04-26T17:59:08 < dongs> was gonna write Detect( but was to lazy 2013-04-26T17:59:08 < BJFreeman> Erlkoenig each not or CanBus wire can have 127 devices if you need more then you need mor CanBus wires 2013-04-26T17:59:08 < Erlkoenig> Robint91: happen to know Sevcon Gen4 Motor Controllers? 2013-04-26T17:59:10 < zyp> well, I'm probably just fucking up something somewhere 2013-04-26T17:59:24 < BJFreeman> each node for* 2013-04-26T18:00:01 < Erlkoenig> yes we have 8 devices 2013-04-26T18:00:13 < zyp> I just hooked up my usb i2c driver to the i2c port, so I'm running i2c commands from computer 2013-04-26T18:00:14 < Erlkoenig> of which one is CANopen and one other will control it 2013-04-26T18:00:27 < zyp> so it might be something there that's fucked up, I haven't used the code for ages 2013-04-26T18:00:50 < zyp> or maybe even i2c driver itself, I haven't used it on F1 for ages :p 2013-04-26T18:00:58 < Robint91> Erlkoenig, nope, but those some nice controllers? EV stuff? 2013-04-26T18:01:21 < Erlkoenig> dunno whether nice, but heavy :D 2013-04-26T18:01:29 < Erlkoenig> yes for EV 2013-04-26T18:01:58 < BJFreeman> Erlkoenig so on intialization you can do a search for the devices (i recommend)_ or look a table of the 8 device CAN ID 2013-04-26T18:02:24 < Erlkoenig> we need a fixed table of fixed CAN ID's, so... 2013-04-26T18:02:38 < Robint91> fixed table is better 2013-04-26T18:02:39 < dongs> zyp: heh 2013-04-26T18:02:45 < Robint91> less errors 2013-04-26T18:02:50 < Robint91> and better error detection 2013-04-26T18:02:52 < Erlkoenig> exactly :D 2013-04-26T18:03:55 < BJFreeman> the search keeps you informed if all the devices are avialible, in EV thisis very important 2013-04-26T18:03:58 < Erlkoenig> 5 electrical engineering students spent many weeks designing a 200-Line-C-Application for some 8051 that transmits/receives some Button/LED States via CAN 2013-04-26T18:04:14 < Erlkoenig> BJFreeman: there are special mechanisms for that 2013-04-26T18:04:19 < Erlkoenig> BJFreeman: like heartbeat and Life Guard 2013-04-26T18:04:48 < Robint91> Erlkoenig, lol 2013-04-26T18:04:49 < BJFreeman> http://roadwarrior.free-man.com/motorsystemoverview.bmp 2013-04-26T18:04:55 < Erlkoenig> if the device is not connected from the beginning, it won't even turn on so nothing happens 2013-04-26T18:05:47 < Erlkoenig> ... and the 8051 application somehow crashes when transmitting CAN messages 2013-04-26T18:06:05 < Erlkoenig> a CS student is now looking at it... 2013-04-26T18:06:24 < Robint91> Erlkoenig, ... 2013-04-26T18:07:14 < Erlkoenig> ... and if a device is lost during operation, it won't receive SYNC and Heartbeat messages and will shut down automatically, the master controller will notice its absence via NMT life guard and shut down main power 2013-04-26T18:07:37 < Erlkoenig> Robint91: note: E-Engineers can't program :> 2013-04-26T18:08:21 < Robint91> Erlkoenig, *most 2013-04-26T18:08:27 < Erlkoenig> hueheu 2013-04-26T18:08:28 < BJFreeman> do you have a can chip the 8051 uses to communicated? 2013-04-26T18:08:39 < Erlkoenig> what?? 2013-04-26T18:08:40 < Robint91> Erlkoenig, E-Engineers could know how to program MCU 2013-04-26T18:08:49 < Robint91> Erlkoenig, PC/GUI software I can understand 2013-04-26T18:08:52 < Robint91> but MCUs 2013-04-26T18:09:01 < Erlkoenig> yes but they faild with MCU :D 2013-04-26T18:09:23 < Erlkoenig> well they learn how to blink an LED on an 8051, so doing fancy CAN stuff is a bit more 2013-04-26T18:09:55 < Erlkoenig> at least one of them uses an STM32F3... i am now assigned in programming that one 2013-04-26T18:10:37 < Erlkoenig> (17:08:28) BJFreeman: do you have a can chip the 8051 uses to communicated? <-- the 8051 has an integrated CAN module if you meant that 2013-04-26T18:11:00 < BJFreeman> the 8051 needs a can controller to talk on the Canbus 2013-04-26T18:11:14 < BJFreeman> ah ok 2013-04-26T18:11:15 < Erlkoenig> this 8051 has one integrated 2013-04-26T18:11:18 < Robint91> Erlkoenig, is that so difficult 2013-04-26T18:11:27 -!- DaKu is now known as daku 2013-04-26T18:11:30 < Robint91> put data in to regs 2013-04-26T18:11:33 < Erlkoenig> they use 9000 wires to connect the 8051 to the LED Display 2013-04-26T18:11:45 < Robint91> wait for status bit 2013-04-26T18:11:46 < Robint91> done 2013-04-26T18:12:04 < Erlkoenig> if you wait blockingly the LED multiplex display will go dark... 2013-04-26T18:12:10 < BJFreeman> Erlkoenig are you going to use the Can code provided by ST 2013-04-26T18:12:27 < Erlkoenig> well dunno about that 8051 program, i have to do the motor controller 2013-04-26T18:13:01 < Erlkoenig> BJFreeman: CANopen node? i think i will keep a large security distance between ST software and our application 2013-04-26T18:13:09 < Erlkoenig> *safety 2013-04-26T18:13:50 < BJFreeman> this was my 56F803 but you get the idea http://roadwarrior.free-man.com/hev/3Phase_AC_TN_255.jpg 2013-04-26T18:14:07 < Erlkoenig> i see pixels 2013-04-26T18:14:19 -!- MrMobius [~Joey@91.192.66.233] has joined ##stm32 2013-04-26T18:16:02 < BJFreeman> well off to work on my A13 android app to interface to my Can Devices 2013-04-26T18:16:14 -!- MrM0bius [~Joey@91.192.66.233] has quit [Ping timeout: 246 seconds] 2013-04-26T18:16:29 < Erlkoenig> smartphones make everything better? :D 2013-04-26T18:16:53 < Erlkoenig> BJFreeman: did you build that motor driver stage? 2013-04-26T18:19:28 < BJFreeman> Erlkoenig Yes everthing but the Motor is DIY 2013-04-26T18:20:11 < Erlkoenig> hm noice 2013-04-26T18:21:10 < Erlkoenig> whats the motor power? 2013-04-26T18:21:14 < BJFreeman> Erlkoenig the A13 is a dev board from Olimex 2013-04-26T18:21:31 < BJFreeman> Erlkoenig 250KW 2013-04-26T18:22:09 < BJFreeman> using liquid coolled IGBT 2013-04-26T18:22:22 < Erlkoenig> woah... 2013-04-26T18:22:32 < Erlkoenig> we just have max. 85kW 2013-04-26T18:22:41 < Erlkoenig> also liquid cooled IGBT's 2013-04-26T18:22:44 < BJFreeman> DC or AC 2013-04-26T18:22:48 < Erlkoenig> AC, 3-phase 2013-04-26T18:23:01 < Erlkoenig> 300V 2013-04-26T18:23:22 < BJFreeman> I started there in 2002 with siemens 2013-04-26T18:23:44 < Erlkoenig> how many manyears development time for the driver stage? :D 2013-04-26T18:24:19 < BJFreeman> I had help from a couple of DIY conversions 2013-04-26T18:24:39 < BJFreeman> and reverse engineered the Siemens controller 2013-04-26T18:25:06 < BJFreeman> too me about a year to assemble 2013-04-26T18:26:10 < Erlkoenig> i'm glad we have a ready working controller :D 2013-04-26T18:26:14 < BJFreeman> then spent 5yr reworking it, finally the new one replaces the 56f803 wih STM32F4 2013-04-26T18:26:38 < Erlkoenig> wow.. 2013-04-26T18:26:53 < BJFreeman> its is my toy :P 2013-04-26T18:27:17 < gxti> 250kw toy 2013-04-26T18:27:35 < BJFreeman> and a 390V Battery pack 2013-04-26T18:28:03 < BJFreeman> 5KW PEM 2013-04-26T18:28:55 < BJFreeman> Actually currently two 250KW one mounts on a 460 Tb engine as a generator 2013-04-26T18:29:57 < BJFreeman> the final design is a motor for each wheel 2013-04-26T18:30:38 < BJFreeman> still working on the mechanics for this old Bus 2013-04-26T18:33:47 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-26T18:44:13 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-26T18:48:06 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has left ##stm32 [] 2013-04-26T18:48:08 < Laurenceb> http://www.makerfaireuk.com/wp-content/uploads/2013/04/brainmachine_mitch.jpg 2013-04-26T18:53:37 < emeb> probably looks scarier w/o the googles. 2013-04-26T18:53:57 < dongs> http://imgur.com/a/1poSH oh gawd did Laurenceb write this 2013-04-26T18:54:00 < dongs> also: lol america 2013-04-26T18:54:01 < Laurenceb> im trying to work out what that achieves 2013-04-26T18:54:15 < emeb> For your old test equipment that has floppy drives: http://www.aliexpress.com/item/Free-shipping-3-5-SFRM72-DU26-USB-Floppy-Drive-Emulator-for-Industrial-Control-Equipment-GOTEK/811810322.html 2013-04-26T18:55:54 < Laurenceb> lolwtf 2013-04-26T18:56:04 < Laurenceb> Floppy Drive Emulator 2013-04-26T18:56:12 < dongs> sounds about useful as lunix on desktop 2013-04-26T18:56:17 < Laurenceb> does it have a speaker to make beeping sounds? 2013-04-26T18:56:19 < dongs> infact thats probably the remaining thing that needs floppies 2013-04-26T18:56:23 < dongs> it better 2013-04-26T18:56:26 < dongs> or else not authetnicc 2013-04-26T18:57:14 < BJFreeman> still have my 320KB floppies from the 80's was well as my 15 in ones 2013-04-26T18:57:16 < Erlkoenig> it's disturbing that even BIOS updates can be done without floppies nowadays 2013-04-26T18:57:28 < Erlkoenig> BJFreeman: and data still intact on it? :D 2013-04-26T18:57:43 < BJFreeman> LOL still in storage 2013-04-26T18:57:57 < BJFreeman> in magnetic containers 2013-04-26T18:59:21 < BJFreeman> mu metal foil is a great invention 2013-04-26T19:00:43 < dongs> fck 2013-04-26T19:00:45 < dongs> is digikey down 2013-04-26T19:01:45 < dongs> http://www.digikey.com/ dead y/n 2013-04-26T19:02:06 < Erlkoenig> works 2013-04-26T19:02:09 < Erlkoenig> alive for me 2013-04-26T19:02:18 < dongs> ARGH 2013-04-26T19:02:19 < dongs> wtf 2013-04-26T19:02:28 < dongs> k back up 2013-04-26T19:05:02 -!- CRF_Peter [~Peter@dhcp-181211.eduroam.chalmers.se] has joined ##stm32 2013-04-26T19:06:24 -!- barthess [~barthess@178.154.35.159] has joined ##stm32 2013-04-26T19:11:11 -!- CRF_Peter [~Peter@dhcp-181211.eduroam.chalmers.se] has quit [Ping timeout: 260 seconds] 2013-04-26T19:14:31 -!- MrM0bius [~Joey@194.176.111.137] has joined ##stm32 2013-04-26T19:17:29 -!- MrMobius [~Joey@91.192.66.233] has quit [Ping timeout: 246 seconds] 2013-04-26T19:22:43 < dongs> http://www.digikey.com/product-detail/en/ATSAMA5D33-EK/ATSAMA5D33-EK-ND/3882016 WTF ATMEL 2013-04-26T19:22:56 < Laurenceb> lol 2013-04-26T19:23:06 < dongs> http://www.digikey.com/product-detail/en/ATSAMA5D31A-CU/ATSAMA5D31A-CU-ND/3911016 2013-04-26T19:23:06 < Laurenceb> s Linux SAMA5D3 Quick Start 2013-04-26T19:23:09 < dongs> processor 2013-04-26T19:23:10 < dongs> ?????????????? 2013-04-26T19:23:12 < dongs> evalboard 2013-04-26T19:23:40 < dongs> cmon 2013-04-26T19:23:43 < dongs> need something neat from digieky 2013-04-26T19:24:36 < Laurenceb> www.asianbeauties.com/ 2013-04-26T19:24:39 < Laurenceb> ^try there 2013-04-26T19:27:08 < dongs> youre so useleslaSdas 2013-04-26T19:27:32 < Laurenceb> yes 2013-04-26T19:27:39 < Laurenceb> aids would be likely 2013-04-26T19:30:12 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-26T19:30:50 < dongs> http://www.digikey.com/product-detail/en/UMFT234XF/768-1174-ND/3904925 2013-04-26T19:31:56 -!- Mobyfab [~Mobyfab@80.239.168.84] has left ##stm32 [] 2013-04-26T19:32:05 < dongs> http://media.digikey.com/photos/STMicro%20Photos/EVAL638X-KITa.JPG 2013-04-26T19:32:05 < dongs> haha 2013-04-26T19:32:33 < Laurenceb> ftdi thing is cheap 2013-04-26T19:32:40 < Laurenceb> pity its ftdi 2013-04-26T19:32:48 < dongs> yeash cheaper than sparkrip version 2013-04-26T19:33:22 < Laurenceb> http://www.digikey.com/product-detail/en/CP2102-GM/336-1160-5-ND/696598 2013-04-26T19:33:24 < Laurenceb> ftw 2013-04-26T19:34:02 -!- CRF_Peter [~Peter@dhcp-181211.eduroam.chalmers.se] has joined ##stm32 2013-04-26T19:34:29 < Robint91> is FTDI that bad 2013-04-26T19:34:42 < Laurenceb> well.. ok for basic stuff 2013-04-26T19:34:43 < dongs> no its just tarduino/newb shit 2013-04-26T19:34:48 < Robint91> aren't those not one of the better qualtity converters 2013-04-26T19:34:59 < Laurenceb> its easy to fry 2013-04-26T19:35:19 < dongs> frying usb>serial? 2013-04-26T19:35:19 < dongs> wtf 2013-04-26T19:35:19 < Laurenceb> and can't run off split rail properly 2013-04-26T19:35:22 < dongs> i never frid cp2102 2013-04-26T19:35:27 < Laurenceb> NO 2013-04-26T19:35:30 < Laurenceb> FTDI is 2013-04-26T19:35:32 < Laurenceb> failz 2013-04-26T19:35:42 < dongs> http://www.digikey.com/product-detail/en/MOD-IO/1188-1036-ND/3471416 2013-04-26T19:35:44 < dongs> [ buy it now [] 2013-04-26T19:35:53 < Laurenceb> wtf 2013-04-26T19:36:34 < Laurenceb> oh its optoisolated 2013-04-26T19:36:37 < Laurenceb> not soo bad 2013-04-26T19:36:58 < dongs> 1188-1084-ND 2013-04-26T19:36:59 < dongs> haah 2013-04-26T19:37:17 < Laurenceb> huh 2013-04-26T19:37:41 < dongs> fuckit 2013-04-26T19:37:44 < dongs> just ordering and paying shipping 2013-04-26T19:38:25 < Laurenceb> my chinese yagi was delivered 2013-04-26T19:38:31 < dongs> haha 2013-04-26T19:38:33 < dongs> i got one of those 2013-04-26T19:38:36 < dongs> for like $12.99 2013-04-26T19:38:36 < Laurenceb> erm, aren't the elements on a yagi supposed to be different lengths? 2013-04-26T19:38:40 < Laurenceb> i lolled 2013-04-26T19:38:41 < dongs> LOL 2013-04-26T19:42:43 -!- CRF_Peter [~Peter@dhcp-181211.eduroam.chalmers.se] has quit [Ping timeout: 256 seconds] 2013-04-26T19:51:54 < emeb> just pick some lengths at random 2013-04-26T19:51:58 < emeb> anything will work 2013-04-26T19:52:46 < emeb> and I thought yagi was japanese 2013-04-26T20:00:38 -!- CRF_Peter [~Peter@dhcp-189118.eduroam.chalmers.se] has joined ##stm32 2013-04-26T20:03:32 < gxti> chinese culture emphasises conformity, so their yagi elements are all the same 2013-04-26T20:04:02 < karlp> Laurenceb: cp2102 is nice, but that ftdi module was a complete module ready to go. 2013-04-26T20:17:19 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-26T20:17:20 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-26T20:17:41 -!- MrM0bius [~Joey@194.176.111.137] has quit [Ping timeout: 246 seconds] 2013-04-26T20:18:22 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-04-26T20:23:38 -!- Erlkoenig [~erlkoenig@pptp-212-201-76-94.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-26T20:29:31 < emeb> lols - some dude asking me via email for specific example code to get SD card running on F4xx. I pointed him to ChanFS and he asked for more specific examples. 2013-04-26T20:29:46 < emeb> told him to get busy and do the work for himself... 2013-04-26T20:30:38 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 255 seconds] 2013-04-26T20:31:44 < jpa-> emeb: i have had unknown people ask me by email why their opamps saturate :) 2013-04-26T20:32:16 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-26T20:32:19 < emeb> lazyweb in action 2013-04-26T20:32:32 < jpa-> no instance of "send me the codes" yet 2013-04-26T20:32:48 < emeb> I get that periodically. 2013-04-26T20:33:25 < emeb> Indian engineering classes FTW! 2013-04-26T20:33:26 <+Steffanx> dont post your email address all over the web 2013-04-26T20:33:33 < jpa-> even the internoobs don't want my codes :( 2013-04-26T20:33:58 < emeb> send out viruses 2013-04-26T20:34:14 <+Steffanx> Ill send you a request jpa- 2013-04-26T20:34:26 < jpa-> can't handle viruses on my ubuntu.. it would try to run wine on them 2013-04-26T20:34:27 < gxti> is it possible to brick a f4? 2013-04-26T20:34:30 < gxti> send code that does that. 2013-04-26T20:34:43 < jpa-> gxti: only if you use texane stlink to program :) 2013-04-26T20:35:16 < gxti> maybe drive all the pins high and hope one is connected to something important 2013-04-26T20:35:39 <+Steffanx> no way gxti 2013-04-26T20:35:46 -!- CRF_Peter [~Peter@dhcp-189118.eduroam.chalmers.se] has quit [Ping timeout: 268 seconds] 2013-04-26T20:35:47 < jpa-> programming and locking all the OTP blocks would be nice also.. though they are rarely used by anyone 2013-04-26T20:35:50 <+Steffanx> then theyll find this channel and bug you 2013-04-26T20:36:46 < jpa-> "< rajesh> i ran these codes i got from gxti and now it not work" "< rajesh> please help" 2013-04-26T20:36:59 <+Steffanx> lol? 2013-04-26T20:42:28 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:6d81:a4a7:bbc5:4f60] has joined ##stm32 2013-04-26T20:42:37 -!- PT_Dreamer [~quassel@a95-93-159-22.cpe.netcabo.pt] has joined ##stm32 2013-04-26T20:42:59 < jpa-> Steffanx: what have you been doing lately? 2013-04-26T20:43:11 <+Steffanx> things 2013-04-26T20:43:17 < jpa-> good 2013-04-26T20:43:35 <+Steffanx> study and stuff 2013-04-26T20:44:56 < zyp> for some reason I'm not getting that kind of emails 2013-04-26T20:45:12 < jpa-> zyp: do you have a website? 2013-04-26T20:45:32 < jpa-> well you have github, that should be enough 2013-04-26T20:45:41 < zyp> depends what would qualify for one 2013-04-26T20:46:03 < jpa-> something that gives away your divinity 2013-04-26T20:46:05 < zyp> but no, I never had the patience to maintain one 2013-04-26T20:46:36 < emeb> not exactly a huge time sink 2013-04-26T20:46:40 <+Steffanx> Just make a index.html with your email address and your interests zyp, problem solved 2013-04-26T20:46:43 < emeb> esp if it's just static pages 2013-04-26T20:47:00 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-26T20:57:43 -!- CRF_Peter [~Peter@dhcp-181211.eduroam.chalmers.se] has joined ##stm32 2013-04-26T20:57:48 -!- PT_Dreamer [~quassel@a95-93-159-22.cpe.netcabo.pt] has quit [Ping timeout: 264 seconds] 2013-04-26T20:59:58 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has joined ##stm32 2013-04-26T21:04:52 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-26T21:07:24 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 264 seconds] 2013-04-26T21:10:24 -!- CRF_Peter [~Peter@dhcp-181211.eduroam.chalmers.se] has quit [Ping timeout: 252 seconds] 2013-04-26T21:27:45 -!- Erlkoenig [~erlkoenig@pptp-212-201-78-49.pptp.stw-bonn.de] has joined ##stm32 2013-04-26T21:33:25 -!- CRF_Peter [~Peter@dhcp-189118.eduroam.chalmers.se] has joined ##stm32 2013-04-26T21:45:05 -!- trepidaciousMBR [~trepidaci@trepidacious.plus.com] has joined ##stm32 2013-04-26T22:10:43 -!- Ranewen [a135b3e2@gateway/web/freenode/ip.161.53.179.226] has joined ##stm32 2013-04-26T22:16:26 < Thorn> so there's an open AVR core, open msp430 core (not to mantion sparc and mips), but if you publish an ARM core you're going to have a road accident on your way home shortly afterwards? wtf. 2013-04-26T22:17:20 < Erlkoenig> yup, there was a slashdot article someday about why the R-PI is not good for educational, partly because of that ARM mafia 2013-04-26T22:18:53 < Ranewen> who had a road accident ? 2013-04-26T22:19:11 < Thorn> there's an open source armv4 core out there that apparently can run linux but it's a really old architecture 2013-04-26T22:19:11 < jpa-> well there is always http://opencores.org/project,storm_core etc.. but yeah, they are going as mafia as they can 2013-04-26T22:20:04 < jpa-> no other processor manufacturer has dared to claim an instruction set as their property 2013-04-26T22:21:01 < Thorn> why nobody has done it out of spite yet? would make a nice university project 2013-04-26T22:21:21 < Erlkoenig> somebody did i think and they got sued 2013-04-26T22:21:31 < jpa-> too few people live in countries where they can be safe enough from stupid lawsuits 2013-04-26T22:22:05 < Thorn> well you could do it anonymously 2013-04-26T22:22:25 < jpa-> true, but not as good university project then 2013-04-26T22:22:37 < Erlkoenig> http://opencores.org/articles,1004822682 2013-04-26T22:23:08 < Erlkoenig> http://whitequark.org/blog/2012/09/25/why-raspberry-pi-is-unsuitable-for-education/ 2013-04-26T22:23:45 < jpa-> though that is like saying that windows PC's are unsuitable for education 2013-04-26T22:23:52 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:6d81:a4a7:bbc5:4f60] has quit [Quit: Leaving] 2013-04-26T22:24:28 < Erlkoenig> if you want to analyze OS design, it is 2013-04-26T22:26:09 < jpa-> and raspberry pi isn't primarily intended for studying processor design 2013-04-26T22:26:22 < Erlkoenig> hm maybe 2013-04-26T22:26:36 < Thorn> there would be a huge practical advantage to a free ARM core, namely free high quality compilers 2013-04-26T22:27:16 < jpa-> that article is written by someone who wants to study processors, but somehow fails to see that not everyone wants to do that 2013-04-26T22:27:20 -!- Laurenceb_ [~Laurence@host86-177-61-171.range86-177.btcentralplus.com] has joined ##stm32 2013-04-26T22:27:35 < jpa-> Thorn: well, mips is quite well supported also 2013-04-26T22:27:55 < Erlkoenig> Thorn: hu, why that? the ARM instruction set is completely documented, what do you need to know more for writing compilers? 2013-04-26T22:28:01 <+Steffanx> No, all kids from 10-12.. ( target of rpi ) should study processor design/architectures jpa-. YOU fail to understand 2013-04-26T22:28:20 < jpa-> Steffanx: well it wouldn't hurt 2013-04-26T22:28:31 <+Steffanx> but completely useless 2013-04-26T22:28:31 < Erlkoenig> Steffanx: tomorrow in eindhoven! :D 2013-04-26T22:28:46 < Thorn> you shouldn't be allowed to use arduino until you write an AVR core for it. 2013-04-26T22:28:57 -!- barthess [~barthess@178.154.35.159] has quit [Quit: Leaving.] 2013-04-26T22:28:57 < Erlkoenig> huehue 2013-04-26T22:29:56 < jpa-> Thorn: is it ok if one writes an ARM simulator for it and runs simulavr atop linux then? 2013-04-26T22:30:16 <+Steffanx> Erlkoenig, weird date you selected btw 2013-04-26T22:30:24 < Erlkoenig> i did not select it :D 2013-04-26T22:30:33 < Erlkoenig> https://www.facebook.com/Eindhoven.open.2013 <-- they selected it 2013-04-26T22:30:35 < Erlkoenig> but why weird? 2013-04-26T22:30:55 <+Steffanx> Tomorrow is the BIG they for the dutchlanders 2013-04-26T22:31:19 <+Steffanx> Our queen will turn into a king tomorrow 2013-04-26T22:31:25 < Erlkoenig> declaration of independence? 2013-04-26T22:31:29 < Erlkoenig> wat o.O 2013-04-26T22:31:44 < Erlkoenig> royal traversty show? 2013-04-26T22:32:24 < jpa-> Steffanx: will you be the new queen? 2013-04-26T22:32:40 <+Steffanx> No, Willem Alexander will be 2013-04-26T22:33:20 < Erlkoenig> wikipedia says that is on 30.04 2013-04-26T22:33:35 <+Steffanx> wikipedia is wrong. 2013-04-26T22:33:46 < Erlkoenig> funny 2013-04-26T22:34:08 < Erlkoenig> both english and german wiki 2013-04-26T22:35:02 <+Steffanx> wuut, why i think it's tomorrow 2013-04-26T22:35:14 < Erlkoenig> lulz 2013-04-26T22:35:14 < jpa-> it takes 4 days for the king to hatch 2013-04-26T22:35:24 <+Steffanx> 3 2013-04-26T22:35:34 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-26T22:36:06 <+Steffanx> fail here, sorry Erlkoenig 2013-04-26T22:36:17 < jpa-> 27. 28. 29. 30. maybe it's 3.5 and rounds to 4!! 2013-04-26T22:36:19 < Erlkoenig> mwahahahaha my wikipedia skillz defeated you 2013-04-26T22:36:36 <+Steffanx> Erlkoenig my wikipedia skillz can defeat you too 2013-04-26T22:37:01 < Erlkoenig> i have more screens for more wikipedia browsing 2013-04-26T22:37:11 <+Steffanx> How many? 2013-04-26T22:37:20 < Erlkoenig> like 3 2013-04-26T22:37:25 <+Steffanx> 4 here 2013-04-26T22:37:47 < Ranewen> 1/2 here 2013-04-26T22:37:53 <+Steffanx> Actually 5 when i included my non-fancy phone 2013-04-26T22:38:19 < Erlkoenig> noo... 2013-04-26T22:38:21 < jpa-> i have only 1 and it has glares 2013-04-26T22:39:42 <+Steffanx> laptop? 2013-04-26T22:40:08 < Erlkoenig> hmm 2 laptop, 1 TV, 1 phone, 1 scope 2013-04-26T22:40:32 < jpa-> no wikipedia on tv 2013-04-26T22:40:33 < jpa-> that sucks 2013-04-26T22:40:42 < Erlkoenig> possibly :D 2013-04-26T22:41:06 < Erlkoenig> i need to get linux on the scope and then have /dev/channel0, ... 2013-04-26T22:41:57 < karlp> right, actually using this rpi, I can confirm that the usb is shit 2013-04-26T22:42:04 < karlp> and fights with the ethernet 2013-04-26T22:42:20 < jpa-> yeah, i think on that we can all agree :) 2013-04-26T22:42:24 < jpa-> but it is not ARM's fault 2013-04-26T22:42:35 < karlp> yeah, I just hadn't actually tried to use it much before 2013-04-26T22:42:43 <+Steffanx> How so karlp ? 2013-04-26T22:42:47 < Thorn> http://eetimes.com/electronics-news/4152681/Swedish-students-weigh-next-step-with-ARM7-clone 2013-04-26T22:42:54 < karlp> plugging in a thumb drive drops the network link 2013-04-26T22:43:06 < karlp> and it keeps mounting/unmounting and getting/losing network link 2013-04-26T22:43:25 < karlp> plugging in a harddrive wouldn't even detect, probably drew "too much" power 2013-04-26T22:43:56 <+Steffanx> I only had trouble with the losing network part after a longer periode of transmitting ~12MByte/s 2013-04-26T22:44:02 <+Steffanx> to a usb drive 2013-04-26T22:44:13 -!- Ranewen [a135b3e2@gateway/web/freenode/ip.161.53.179.226] has quit [Ping timeout: 245 seconds] 2013-04-26T22:50:21 < inca> DWORD is 64 bit, right? 2013-04-26T22:50:24 < inca> for CM3? 2013-04-26T22:53:02 < Erlkoenig> yup 2013-04-26T22:54:09 < jpa-> uh, what is DWORD? 2013-04-26T22:54:38 < Erlkoenig> double-word 2013-04-26T22:54:41 < jpa-> i mean, if it is typedeffed somewhere, it depends totally on who typedefs it and how 2013-04-26T22:54:51 < Erlkoenig> in common ARM terminology 2013-04-26T22:55:13 < Thorn> in winapi DWORD is 32 bits 2013-04-26T22:55:47 < jpa-> http://mbed.org/users/BlazeX/code/Base/file/ef316fbcd001/Types.h for mbed also 2013-04-26T22:55:48 < Thorn> using that name elsewhere only creates confusion 2013-04-26T22:56:59 < jpa-> can't find any arm-specific pages talking about dword 2013-04-26T22:57:22 < Erlkoenig> but arm docs specify word as 32bit, so a dword is 64bit... 2013-04-26T22:57:57 < jpa-> only if you mindlessly assume that it is always the double of whatever word 2013-04-26T22:58:08 -!- Ranewen [a135b3e8@gateway/web/freenode/ip.161.53.179.232] has joined ##stm32 2013-04-26T22:59:06 < Thorn> it's a double of a windows 3.1 (pre-win32) word 2013-04-26T22:59:13 < Erlkoenig> assuming that a double is a double of something is mindless? :D 2013-04-26T22:59:33 < jpa-> Erlkoenig: do you also assume that long int is always longer than int? 2013-04-26T22:59:42 < jpa-> names can deceive 2013-04-26T23:00:06 < Erlkoenig> meh 2013-04-26T23:00:29 < jpa-> but i don't recognize "dword" as a standard ARM term, so i would be very wary of saying anything about its width 2013-04-26T23:00:37 < jpa-> win32 api obviously doesn't apply either 2013-04-26T23:00:51 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 276 seconds] 2013-04-26T23:01:28 < Erlkoenig> winapi... LPCTWSTRING :D 2013-04-26T23:01:50 < Erlkoenig> whyever they used those f*cking macros 2013-04-26T23:03:50 < inca> nevermind 2013-04-26T23:03:54 < zippe> inca: you want to use the types from 2013-04-26T23:03:55 < inca> fatfs fail 2013-04-26T23:04:01 < zippe> uint32_t etc. 2013-04-26T23:05:05 < inca> yeah, we were porting fatfs to chibios. Fatfs uses DWORD for sectors in their struct, so we are going to use a u8_t array typecastable to u16_t or u32_t as necessary 2013-04-26T23:06:50 < zippe> Don't do that 2013-04-26T23:07:08 -!- Ranewen [a135b3e8@gateway/web/freenode/ip.161.53.179.232] has quit [Ping timeout: 245 seconds] 2013-04-26T23:07:10 < zippe> Use a union 2013-04-26T23:07:32 < inca> zippe: I was reading the ARM docs last night regarding the debug situation for CM3 and I noticed that there appears to be a way to stride (throw out) data using ETM and ultimately keep the timers in sync while debugging… so that one might debug and still get serial data after a gdb "continue" 2013-04-26T23:07:48 < inca> zippe: ok, union it is 2013-04-26T23:08:43 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Ping timeout: 260 seconds] 2013-04-26T23:08:50 < zippe> There are a lot of options w.r.t what stops and continues around debugging; it looks to me like it needs to be tuned … mostly I just assume that everything stops and deal with it at the software level. 2013-04-26T23:08:57 < jpa-> inca: uh.. what porting would fatfs need to be used with chibios? i just plugged it in there and used it as-is 2013-04-26T23:09:23 < karlp> inca likes battling tools, let him at it 2013-04-26T23:09:37 < inca> jpa-: by porting I mean connecting it to my SPI flash chip 2013-04-26T23:10:04 < inca> I haven't even looked it it, my colleague is doing it now 2013-04-26T23:10:36 < inca> karlp: yes, the hard road. you get what you give... 2013-04-26T23:10:42 < jpa-> inca: just write a disk level driver.. still nothing particularly complicated nor anything where you would need to typecast DWORDs 2013-04-26T23:11:18 < inca> zippe: with bmp I was having trouble with the serial data output thread while stepping through another thread 2013-04-26T23:11:31 < inca> it appears to not be a problem with OpenOCD 2013-04-26T23:11:38 < inca> via STLink/V2 2013-04-26T23:15:59 < inca> target is F107 2013-04-26T23:17:58 -!- sterna1 [~Adium@dhcp-180144.eduroam.chalmers.se] has quit [Quit: Leaving.] 2013-04-26T23:22:37 -!- dekar [~dekar@212.255.242.46] has joined ##stm32 2013-04-26T23:22:40 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-26T23:22:43 -!- sterna1 [~Adium@dhcp-180144.eduroam.chalmers.se] has joined ##stm32 2013-04-26T23:22:53 -!- CRF_Peter [~Peter@dhcp-189118.eduroam.chalmers.se] has quit [Ping timeout: 268 seconds] 2013-04-26T23:24:16 -!- trepidaciousMBR [~trepidaci@trepidacious.plus.com] has quit [Quit: trepidaciousMBR] 2013-04-26T23:32:18 < zippe> inca: depending on how your debugger steps, you may have problems if interrupts are either enabled or not enabled during the step 2013-04-26T23:32:25 < zippe> Hard to know what "problems" means in this context 2013-04-26T23:34:47 < inca> zippe: I have a bit more to learn yet, but at least I have a standard to compare it with. STLink/V2 with OpenOCD to arm-none-eabi-gdb vs. STM32F4Discovery as BMP to arm-none-eabi-gdb with the same elf file, and presumably gdb .init setup and such 2013-04-26T23:37:12 < gsmcmullin> inca: BMP disables interrupts while single stepping at the instruction level. 2013-04-26T23:37:53 < gsmcmullin> This could be made configurable with little effort, but I haven't ever needed otherwise. 2013-04-26T23:38:25 < inca> gsmcmullin: does that mean that I need to enable the interrupts responsible for serial output if I want to continue to see that information while debugging? 2013-04-26T23:39:06 < inca> it might be nice to just preserve TIMER states 2013-04-26T23:39:29 < inca> on break, continue, etc. 2013-04-26T23:40:58 < inca> I might be speaking gibberish, don't have my notes right here. Almost done with the work that is billable =P 2013-04-26T23:42:12 < gsmcmullin> inca: Try temove the CORTEXM_DHCSR_C_MASKINTS from cortexm.c:611 in BMP and see if that solves your problem. 2013-04-26T23:42:45 < inca> will do. thanks, Gareth. 2013-04-26T23:43:42 -!- CRF_Peter [~Peter@dhcp-181211.eduroam.chalmers.se] has joined ##stm32 --- Day changed Sat Apr 27 2013 2013-04-27T00:00:26 < inca> hmm… weird 2013-04-27T00:03:20 < inca> serial port output seems to be working 2013-04-27T00:04:23 < inca> some weirdness. Sometimes I have to use gdb's run command, then break, then continue, and it seems to work. will try regressing to previous bmp firmware to see if that makes a difference 2013-04-27T00:09:27 -!- Erlkoenig [~erlkoenig@pptp-212-201-78-49.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-04-27T00:10:02 < inca> gsmcmullin: I think we can chalk that up to user error, perhaps. Both firmwares behave similarly in that loading the elf, stepping a couple times, then typing continue will hang for a while. If I give it the run command to restart execution, then break (manually or with breakpoint) and continue, it seems to work just fine. So it is probably just getting through initialization without timing out. I know ChibiOS does some startup calibration 2013-04-27T00:10:04 < inca> stuff, so if weirdness occurs at init, I could imagine it messing with baud rates. 2013-04-27T00:15:50 -!- phantoneD [~destroy@a95-92-85-217.cpe.netcabo.pt] has quit [Read error: Connection reset by peer] 2013-04-27T00:16:08 -!- phantoxeD [~destroy@a95-92-85-217.cpe.netcabo.pt] has joined ##stm32 2013-04-27T00:16:46 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Read error: Connection reset by peer] 2013-04-27T00:17:30 -!- sterna1 [~Adium@dhcp-180144.eduroam.chalmers.se] has quit [Quit: Leaving.] 2013-04-27T00:18:12 -!- CRF_Peter [~Peter@dhcp-181211.eduroam.chalmers.se] has quit [Ping timeout: 276 seconds] 2013-04-27T00:20:07 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-27T00:20:49 -!- sterna1 [~Adium@dhcp-180144.eduroam.chalmers.se] has joined ##stm32 2013-04-27T00:21:34 < zippe> inca: when you say "hang for a while", what is it doing while hung? And how long is "a while"? 2013-04-27T00:22:54 < zippe> If "a while" is close to the period of the systick timer, I would be inclined to suspect that chibios is doing something odd 2013-04-27T00:22:58 < inca> zippe: I believe it is stepping through the code at a rate less than real time when starting execution with "continue" 2013-04-27T00:23:12 < zippe> No 2013-04-27T00:23:18 < zippe> That's not what 'continue' does. 2013-04-27T00:23:24 < inca> I agree 2013-04-27T00:23:31 < inca> that's not what it's supposed to do 2013-04-27T00:23:54 < zippe> That's not what it does. 2013-04-27T00:24:05 < inca> Hm… how can I corner the behavior to determine the actual cause? 2013-04-27T00:24:22 < zippe> Break in while it's "hung" and look at the state of the system 2013-04-27T00:24:46 < inca> usually sitting in IDLE thread or unhandled exception, IIRC 2013-04-27T00:25:07 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-27T00:25:32 < zippe> Well, sitting in the unhandled exception means you've crashed. 2013-04-27T00:25:42 < zippe> Which would explain "hung" 2013-04-27T00:25:56 < zippe> Otherwise, the question is "why is it not running the thread you expect" 2013-04-27T00:26:18 < zippe> And If I had to guess, it's a bug in the chibi scheduler or timer code that's causing you to wait until the systick timer wraps again 2013-04-27T00:26:35 < zippe> Check whether you have configured the systick timer to stop when debugging (IIRC, there is an option for that) 2013-04-27T00:26:48 * inca is checking 2013-04-27T00:27:29 -!- CRF_Peter [~Peter@dhcp-181211.eduroam.chalmers.se] has joined ##stm32 2013-04-27T00:28:31 < inca> well, it appears for that project that I did not enable the various ChibiOS debug options in chconf.h 2013-04-27T00:31:07 < inca> though they don't mention the systick timer 2013-04-27T00:33:33 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: ….] 2013-04-27T00:33:54 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-27T00:33:54 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-27T00:33:54 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-27T00:33:57 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-27T00:35:25 < inca> I think it might be CH_DBG_SYSTEM_STATE_CHECK 2013-04-27T00:39:42 <+dekar> the DFU stuff the newer stm32 support is pretty handy :) 2013-04-27T00:40:38 <+dekar> I don't like how windows has to install drivers for DFU though, there should be a generic one like for HID - kinda defeats the purpose 2013-04-27T00:41:17 < inca> dekar: dfu-util works great on mac os x 2013-04-27T00:41:40 < inca> it was just re-written by the guy who did the latest FreeBSD usb stack 2013-04-27T00:42:02 < inca> it should work well on *BSD, Linux, etc. 2013-04-27T00:42:08 <+dekar> I know, but most products end up getting used on windows and as a result updating an android phone using DFU would be a hassle 2013-04-27T00:42:40 < inca> *shrug* the android stuff seems to be fairly linux-centric 2013-04-27T00:42:44 <+dekar> Yeah I've used dfu-util today on my mac and it worked just fine :) 2013-04-27T00:43:32 <+dekar> inca, what do you mean? are you implying that only linux users buy android phones? 2013-04-27T00:43:56 < inca> dekar: linaro 2013-04-27T00:44:18 <+dekar> you lost me, how is linaro related? 2013-04-27T00:45:10 <+dekar> I meant that DFU wasn't an option for general purpose firmware updates (eg customers updating their android phone) since windows makes it hard to use. 2013-04-27T00:45:57 <+dekar> but "android phone" was just a generic example, could be any USB device 2013-04-27T00:46:47 < inca> linaro seems to be where the resources are regarding the tools for Android 2013-04-27T00:47:00 < inca> and they tend to be linux-centric =) 2013-04-27T00:47:25 <+dekar> for example I will end up using DFU to flash my bootloader which then seamlessly handles the updates once the products have been shipped to the customers. If DFU was working properly on windows, one could just skip the custom bootloader. 2013-04-27T00:48:15 < inca> dekar: I suppose there is always CDC serial… but even then, windows is weird 2013-04-27T00:49:08 <+dekar> inca, well I've picked HID, it's pretty transparent to the user since windows just installs the generic driver for any VID/PID 2013-04-27T00:49:18 < inca> right 2013-04-27T00:49:36 <+dekar> speaking of which, those VIDs are so expensive -.-" 2013-04-27T00:49:45 < inca> =) 2013-04-27T00:50:41 <+dekar> for CDC you still need to match the VID/PID, don't you? 2013-04-27T00:50:49 < gxti> on windows yeah 2013-04-27T00:51:30 < gxti> linux (and probably osx) just matches the device class 2013-04-27T00:51:33 <+dekar> so to my knowledge HID is the only way to seamlessly communicate with devices on windows :/ 2013-04-27T00:51:34 < inca> zippe: I get a SIGSEGV on continuing past main, even with the chibi debug stuff enabled. getting closer 2013-04-27T00:51:53 < inca> dekar: that makes sense… it's also a great way to hack them 2013-04-27T00:52:25 <+dekar> inca, hacking "them"? 2013-04-27T00:52:51 <+dekar> hacking devices using HID? how does that work? 2013-04-27T00:53:29 -!- dekar [~dekar@212.255.242.46] has left ##stm32 ["Leaving"] 2013-04-27T00:53:33 -!- dekar [~dekar@212.255.242.46] has joined ##stm32 2013-04-27T00:53:36 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-27T00:53:46 < inca> dekar: yeah, you can be HID that hooks with screen saver or similar, with enough inactivity, open text file, write binary characters to it, execute and own root. =) 2013-04-27T00:54:15 < inca> it's becoming fairly popular amongst the pen-testers… stuffing them inside of legit keyboards and mice 2013-04-27T00:54:25 <+dekar> oh those, right 2013-04-27T00:54:46 < inca> trojan HID 2013-04-27T00:54:51 <+dekar> But my device isn't a keyboard or mouse, just a generic HID device with custom 64byte endpoints. 2013-04-27T00:55:23 < inca> heh… it should be part of your philanthropic "analytics" programme ;) 2013-04-27T00:57:20 <+dekar> Windows still allows arbitrary userspace applications to communicate with any HID devices 2013-04-27T00:57:34 <+dekar> I don't get why they want drivers for non-HID devices 2013-04-27T01:06:06 < Posterdati> hi 2013-04-27T01:06:16 < Posterdati> is anyone using an uc1618t 2013-04-27T01:09:25 < inca> Program received signal SIGSEGV, Segmentation fault. at 0x55555554 2013-04-27T01:09:30 < inca> hmmm 2013-04-27T01:09:54 < inca> no backtrace or anything 2013-04-27T01:10:36 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Read error: Connection reset by peer] 2013-04-27T01:10:56 < inca> does not appear if I use "run" command to get to main 2013-04-27T01:11:06 < inca> set breakpoint at main 2013-04-27T01:11:18 < inca> run, breaks at main, continue works just fine 2013-04-27T01:11:26 < zippe> 0x55555554 looks bogus 2013-04-27T01:11:34 < inca> load elf, continue, breaks at main, continue, pukes 2013-04-27T01:11:38 < zippe> Does chibi fill the stack with nonsense values 2013-04-27T01:11:38 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-27T01:11:39 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-27T01:11:39 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-27T01:11:42 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-27T01:11:54 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Client Quit] 2013-04-27T01:11:54 < inca> I believe it does fill the stack 2013-04-27T01:12:22 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-27T01:12:22 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-27T01:12:22 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-27T01:12:23 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-27T01:12:42 < inca> threads working area is filled with a byte value when thread is created 2013-04-27T01:13:13 < inca> what is the difference between execution with run and (continue after a load .elf)? 2013-04-27T01:15:56 < inca> aha… interesting. _thread_memfill is the last instruction I get to before gdb hangs 2013-04-27T01:16:01 < inca> cannot ^C break it 2013-04-27T01:18:24 < inca> using "run" just works 2013-04-27T01:18:25 -!- CRF_Peter [~Peter@dhcp-181211.eduroam.chalmers.se] has quit [Read error: Connection reset by peer] 2013-04-27T01:19:18 -!- Lt_Lemming [Lt_Lemming@203.219.229.140] has left ##stm32 [] 2013-04-27T01:19:20 -!- CRF_Peter [~Peter@dhcp-181211.eduroam.chalmers.se] has joined ##stm32 2013-04-27T01:21:40 < inca> zippe: thanks for encouraging me to look a bit deeper. I've hit a dead end for now, but the mileage with gdb is worth it. 2013-04-27T01:27:27 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has quit [Ping timeout: 258 seconds] 2013-04-27T01:33:48 * Laurenceb_ is reading defcad.com 2013-04-27T01:33:52 < Laurenceb_> "All purchases mediated by the defcad.com search engine will be rounded up to the nearest dollar; 50% of the proceeds will be donated to the VFW, and 50% will be donated to 4chan to support free speech on the internet." 2013-04-27T01:33:55 < Laurenceb_> i lolled 2013-04-27T01:34:33 < Laurenceb_> maybe i'll have to run a street stall raising money for 4chan 2013-04-27T01:36:09 -!- BJFreeman [~bjfree@236.sub-75-233-90.myvzw.com] has quit [Quit: had a good time] 2013-04-27T01:39:58 < zippe> inca: sounds a lot like a race between startup and an interrupt, TBH 2013-04-27T02:06:00 < inca> zippe: yeah, though I can't think of anything that would be different between run and load/continue such that the latter would fail the way it does. 2013-04-27T02:12:52 -!- Laurenceb_ [~Laurence@host86-177-61-171.range86-177.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-04-27T02:14:46 < zippe> Er, wait 2013-04-27T02:14:51 < zippe> you want load/run 2013-04-27T02:15:02 < zippe> load/continue is not going to work 2013-04-27T02:15:12 < inca> nor load/step/continue? 2013-04-27T02:15:40 < zippe> If you have 'load'ed, the machine state (registers, RAM, etc.) is out of sync with the code 2013-04-27T02:16:19 < inca> and run does a reset, whereas continue may not? 2013-04-27T02:16:27 < zippe> Continue continues. 2013-04-27T02:16:31 < inca> right 2013-04-27T02:16:35 < zippe> As in, it continues. 2013-04-27T02:16:35 < inca> so if it points at main 2013-04-27T02:16:40 < gxti> load sets PC to whatever the 'entry point' of your program is 2013-04-27T02:16:43 < inca> load tends to point me at main 2013-04-27T02:16:50 < inca> for this chibios project 2013-04-27T02:17:12 < inca> in baremetal stuff, it tends to be the reset vector for entry 2013-04-27T02:17:14 < zippe> Assuming you're setting an entrypoint, perhaps. 2013-04-27T02:17:47 < zippe> It's not going to mask interrupts, cancel active DMA, etc. 2013-04-27T02:18:06 < inca> zippe: I think you're right regarding the race condition. though it may be limited to chibios users regarding the halInit(); and chSysInit() at the top of main 2013-04-27T02:18:24 -!- CRF_Peter [~Peter@dhcp-181211.eduroam.chalmers.se] has quit [Ping timeout: 252 seconds] 2013-04-27T02:18:35 < zippe> Well, if you invoke 'continue', I would expect the next systick interrupt to be a bit exciting 2013-04-27T02:19:41 < gxti> looked at my chibios project, it does indeed point to main, probably ld default if not otherwise specified 2013-04-27T02:20:06 < zippe> And is main your startup code, or do you do the bss/data copy before that? 2013-04-27T02:20:24 < gxti> there's startup before that. but i don't use load/continue, i use load/kill 2013-04-27T02:27:04 < inca> how do I tell where main is in memory via gdb? 2013-04-27T02:27:53 < gxti> p main? 2013-04-27T02:28:12 < inca> yes, so there is startup code before main, for sure 2013-04-27T02:29:13 < inca> and run/load points to main 2013-04-27T02:32:58 < inca> eh… let's drop it into disassembler to be sure 2013-04-27T02:35:42 < inca> reset vector is set to main() 2013-04-27T02:35:54 < inca> so all inits are in hal and chInit() 2013-04-27T02:38:36 < inca> I think I'm going blind 2013-04-27T02:40:02 < gxti> kernel and peripheral inits yes, but there is stuff done before main 2013-04-27T02:40:19 < inca> reset handler is outside of main 2013-04-27T02:40:21 < gxti> stack setup, data section 2013-04-27T02:41:11 < inca> so for me, main gets to 0x150 and is the first code section 2013-04-27T02:41:31 < inca> reset is set to 0x1C0 2013-04-27T02:42:16 < zippe> run doesn't start you at main 2013-04-27T02:42:22 < zippe> you want load, then run 2013-04-27T02:42:42 < inca> right 2013-04-27T02:42:48 < inca> load/run/kill 2013-04-27T02:42:59 < zippe> You don't want/need kill 2013-04-27T02:43:21 < gxti> i only used kill because i program with a 'make install' target, not in the same gdb session as debugging 2013-04-27T02:43:28 < emeb> roadkill? 2013-04-27T02:44:18 < zippe> I don't even know what a probe stub would do in response to a 'kill' packet 2013-04-27T02:44:26 < zippe> You can't hold the thing in reset. 2013-04-27T02:44:56 < zippe> Set a data watchpoint at zero, maybe? 2013-04-27T02:44:56 < gsmcmullin> zippe: kill in bmp resets and detaches. 2013-04-27T02:45:09 < gxti> ^ exactly what i want for a one-shot program 2013-04-27T02:45:31 < zippe> Not exactly intuitive 8) 2013-04-27T02:45:37 < zippe> But fair enough. 2013-04-27T02:45:54 < gxti> although while bmp *currently* can't hold in reset, no reason it couldn't 2013-04-27T02:46:07 < gxti> it just wouldn't be very useful 2013-04-27T02:46:12 < gsmcmullin> gdb typically sends the kill packet whet it exits. 2013-04-27T02:46:31 < gsmcmullin> reset and detach is normally what I want in this case 2013-04-27T02:46:57 < zippe> Some probes will just continue when gdb exits 2013-04-27T02:47:23 < zippe> On the assumption that the user doesn't want to lose state in the device just because they're quitting the debugger 2013-04-27T02:50:36 < gsmcmullin> I've also seen gdb send detach packets on exiting. I haven't looked inside for why/when it will send which. If you care, then kill/detach before you exit gdb. 2013-04-27T02:55:50 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-27T02:59:06 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 252 seconds] 2013-04-27T03:15:12 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has joined ##stm32 2013-04-27T03:56:34 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-27T04:04:30 -!- sterna1 [~Adium@dhcp-180144.eduroam.chalmers.se] has quit [Quit: Leaving.] 2013-04-27T04:22:57 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-04-27T04:25:34 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-27T04:28:25 -!- sterna1 [~Adium@dhcp-190195.eduroam.chalmers.se] has joined ##stm32 2013-04-27T04:38:29 -!- _BJFreeman [~bjfree@138.sub-75-244-184.myvzw.com] has joined ##stm32 2013-04-27T04:39:05 -!- _BJFreeman is now known as BJFreeman 2013-04-27T04:41:32 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-27T04:42:14 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-27T04:50:55 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-27T04:54:11 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has quit [Ping timeout: 245 seconds] 2013-04-27T04:54:56 < dongs> eh 2013-04-27T04:55:04 < dongs> this xsvf player stuff just runs on stm32 just as easy 2013-04-27T04:56:48 < dongs> [=-] 2013-04-27T04:56:48 < dongs> \] 2013-04-27T04:56:49 < dongs> ][ 2013-04-27T04:56:54 < dongs> fuckin keyboard 2013-04-27T05:27:36 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 252 seconds] 2013-04-27T05:38:13 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-27T05:50:36 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has quit [Quit: leaving] 2013-04-27T06:11:44 < dongs> hm 2013-04-27T06:11:47 < dongs> shit dies at printf 2013-04-27T06:11:49 < dongs> must be doing something wrong 2013-04-27T06:21:55 < dongs> oh, it wasusing keil printf instead of mine 2013-04-27T06:26:39 < dongs> what the FUCK 2013-04-27T06:34:31 < dongs> shitty xilinx e xample had lenval setup with 7kbyte buffer 2013-04-27T06:34:32 < dongs> lols 2013-04-27T06:34:41 < dongs> and the initial struct had like 10 of them in there 2013-04-27T06:34:44 < dongs> insta-hardfault 2013-04-27T06:36:31 < R2COM> so much blogging! 2013-04-27T06:37:25 < R2COM> buffer for what 2013-04-27T06:37:27 < dongs> i kno rite 2013-04-27T06:37:44 < dongs> so on my old hardware with jtag bitbang over i2c over usb it took like 3 mins to program this cpld 2013-04-27T06:37:45 < R2COM> bram or what 2013-04-27T06:37:52 < dongs> its less than a second now if I dont print crap out 2013-04-27T06:37:54 < dongs> from stm32 directly 2013-04-27T06:37:58 < R2COM> hmm 2013-04-27T06:38:19 < R2COM> sounds like a lot 2013-04-27T06:38:28 < R2COM> when I use jtag xilinx programmer it takes like few secs 2013-04-27T06:39:14 < dongs> right, but my old shit I was using some chip where i could only toggle its gpio by i2c commands 2013-04-27T06:39:22 < R2COM> okay 2013-04-27T06:39:31 < dongs> and each of those had to go over usb, some custom vendor prpotocol 2013-04-27T06:39:43 < dongs> so to toggle each tck/etc bit it would take forever 2013-04-27T06:40:01 < dongs> but now i just ran the xsvf player code directly on stm32 2013-04-27T06:40:17 < dongs> and bitstream is also from flash 2013-04-27T06:40:21 < dongs> so its fast :D 2013-04-27T06:41:15 < R2COM> flish------>stm32----->cpld ? 2013-04-27T06:41:34 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-27T06:41:43 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-27T06:44:24 -!- baird [~cjb@ppp121-44-104-161.lns20.syd6.internode.on.net] has joined ##stm32 2013-04-27T06:44:38 < R2COM> you can have stm32 to program it serially 2013-04-27T06:44:49 < R2COM> I think it might be possible vial SCK MOSI via SPI 2013-04-27T06:44:56 < R2COM> and it should be reasonly fast too 2013-04-27T06:48:12 < dongs> i could probably use SPI yeah 2013-04-27T06:48:14 < dongs> but i didnt bother 2013-04-27T06:48:19 < dongs> just toggling ODR/IDR 2013-04-27T06:48:27 < dongs> no, bitstream is in stm32's flash 2013-04-27T06:48:36 < R2COM> nice 2013-04-27T06:49:11 < dongs> now just gotta test if programming actually worked ;) 2013-04-27T06:50:03 < emeb_mac> heh - running diptrace on MacOS 2013-04-27T06:50:11 < emeb_mac> uses wine - bleargh 2013-04-27T06:51:23 < emeb_mac> I guess that explains why the MacOS download is 4x bigger than the Window one. 2013-04-27T06:51:26 -!- MrMobius [~Joey@194.176.111.136] has joined ##stm32 2013-04-27T06:51:34 < dongs> your problem for running it on shitOS 2013-04-27T06:51:35 < dongs> :) 2013-04-27T06:51:45 < GargantuaSauce> wine is actually pretty good these days 2013-04-27T06:51:58 < dongs> you mean it can do better than winmine.exe? 2013-04-27T06:52:05 < dongs> and actually has window decorations that dont look like win3.11? 2013-04-27T06:52:16 < emeb_mac> It seems to run fairly smoothly 2013-04-27T06:52:20 < gxti> yeah i used it for some gps software crap last week and it looked good 2013-04-27T06:52:31 < emeb_mac> but the decorations look like win98 2013-04-27T06:54:29 < R2COM> I used to run PCB related stuff in wine 2013-04-27T06:54:33 < R2COM> not cool experience 2013-04-27T06:56:49 < dongs> works :) 2013-04-27T06:56:50 < dongs> woot. 2013-04-27T06:57:06 < R2COM> awesome 2013-04-27T06:59:43 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Read error: Connection reset by peer] 2013-04-27T07:00:04 < dongs> http://yuq.me/u/2164391/lY0GoM4jEC.gif retweet 2013-04-27T07:00:18 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-27T07:01:28 < dongs> hgm i wonder if i can make it draw constellation properly now that i2c is fast 2013-04-27T07:01:46 < dongs> i tried before over usb and it was fucking terrible it'd take several seconds to get all teh points 2013-04-27T07:06:19 < ds2> don't matter. windows is obsolete 2013-04-27T07:06:55 < gxti> wat 2013-04-27T07:07:00 < R2COM> your momma is obsolete 2013-04-27T07:07:22 < R2COM> ds2 2013-04-27T07:12:08 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-27T07:29:46 < dongs> weird i goggled and i didnt find anyone running xsvfplayer shit on stm32 2013-04-27T07:29:57 < dongs> some retard shit @ dangeriousprototypes about doing it wiht pic 2013-04-27T07:29:58 < R2COM> hmm 2013-04-27T07:30:00 < dongs> or some other obsolet crap 2013-04-27T07:30:02 < dongs> but whatever 2013-04-27T07:30:08 < R2COM> maybe because those who care write their own shit, thats it 2013-04-27T07:30:12 < dongs> yeah 2013-04-27T07:30:34 < dongs> well it only took liek a couple minutes to adjust ports stuff to bang gpio on stm 2013-04-27T07:30:42 < dongs> rest of the code was portable 2013-04-27T07:30:50 < dongs> so it sprobably not worth blogging about 2013-04-27T07:39:58 -!- R2COM1 [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-27T07:43:54 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 264 seconds] 2013-04-27T07:46:59 -!- R2COM1 is now known as R2COM 2013-04-27T07:52:26 -!- MrMobius [~Joey@194.176.111.136] has quit [Ping timeout: 246 seconds] 2013-04-27T07:54:57 < talsit> Tectu: i got that analog front-end working across most of my range :) 2013-04-27T07:54:59 < talsit> https://plus.google.com/u/0/116808312983714776242/posts/3JMYGMCWbd1 2013-04-27T07:57:14 < R2COM> I assume way below 1GHz 2013-04-27T07:57:21 < R2COM> lol 2013-04-27T07:57:37 < talsit> haha... yeah,a bout 2-4kHz 2013-04-27T07:57:48 < talsit> but by range, i meant voltage 2013-04-27T07:57:55 < R2COM> lol 2013-04-27T07:58:05 < talsit> my input can be 0.5v p-p to 14v p-p 2013-04-27T07:58:10 < R2COM> good good good 2013-04-27T08:05:53 < talsit> yeah, i wouldn't dare do GHz stuff, let alone try to do it on a protoboard like that! 2013-04-27T08:06:12 < R2COM> (*some* things are possible) 2013-04-27T08:06:27 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-27T08:06:28 < talsit> with knowledge, yes, i can imagine 2013-04-27T08:06:37 < talsit> without knowledge (aka, me) not really 2013-04-27T08:06:39 < R2COM> i do some fun stuff now 2013-04-27T08:06:48 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Ping timeout: 260 seconds] 2013-04-27T08:07:01 < talsit> i'd love to hear about it, but now i'm off to lunch 2013-04-27T08:07:01 < R2COM> reasonable filter on cheapo fr4 2013-04-27T08:07:06 < R2COM> ok 2013-04-27T08:07:07 < talsit> dodgy udon! 2013-04-27T08:07:10 < talsit> :) 2013-04-27T08:07:13 < ds2> anyone tried PCBs from seeedstudio? 2013-04-27T08:07:28 < talsit> ds2: yep, quite a few, they're relatevely decent 2013-04-27T08:07:31 < R2COM> I did once or twice...nothing special, I thing I did several PIC32 designs there 2013-04-27T08:07:40 < talsit> ds2 you can always try hackvana 2013-04-27T08:07:47 < talsit> he has an irc channel: #hackvana 2013-04-27T08:07:54 < R2COM> whats hackvana? 2013-04-27T08:07:57 < talsit> a little cheaper, and less restrictions 2013-04-27T08:08:03 < R2COM> in US? 2013-04-27T08:08:06 < talsit> china 2013-04-27T08:08:12 < R2COM> chinese guy 2013-04-27T08:08:13 < R2COM> ? 2013-04-27T08:08:19 < talsit> serisouly, just head on over to #hackvana 2013-04-27T08:08:23 < talsit> no, aussie living in china 2013-04-27T08:08:31 < R2COM> oh oh 2013-04-27T08:08:37 < R2COM> CapColonel 2013-04-27T08:08:38 < R2COM> or something 2013-04-27T08:08:43 < talsit> Mitch 2013-04-27T08:08:49 < R2COM> yeah 2013-04-27T08:08:50 < talsit> but his nick is hackvana 2013-04-27T08:08:55 < R2COM> whatever 2013-04-27T08:09:00 < talsit> anyway, udon awaits! 2013-04-27T08:09:06 * talsit is off to lunch! 2013-04-27T08:09:56 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-27T08:10:18 < ds2> telsit: how are they priced? 2013-04-27T08:10:47 < R2COM> go to channel and ask the guy 2013-04-27T08:15:51 < ds2> n/m 2013-04-27T08:16:16 < ds2> that was regarding seeedstudio...figure out how they are doing it... all the +XYZ's 2013-04-27T08:16:24 < ds2> was expecting the price to change as the options are selected 2013-04-27T08:19:46 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-27T08:29:36 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 276 seconds] 2013-04-27T08:46:36 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-27T09:21:40 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-27T09:24:19 -!- CRF_Peter [~Peter@dhcp-189118.eduroam.chalmers.se] has joined ##stm32 2013-04-27T09:26:42 < talsit> R2COM: back, so, tell me about your filter stuff! 2013-04-27T09:28:29 < R2COM> basically was doing some bandpass filters on cheap fr4 2013-04-27T09:28:42 < R2COM> Managed to achieve reasonable S11 parameter, but huge loss 2013-04-27T09:28:49 < R2COM> with s21 <9dB 2013-04-27T09:29:17 < R2COM> (which is not maybe much of a big deal for most applications becase amplification is cheap, the most important is to get low reflections) 2013-04-27T09:29:23 -!- barthess [~barthess@77.67.198.124] has joined ##stm32 2013-04-27T09:29:37 < R2COM> filters which I experimented were bandpass interdigital filters 2013-04-27T09:29:37 -!- barthess [~barthess@77.67.198.124] has quit [Client Quit] 2013-04-27T09:29:50 < R2COM> at a range of around 100MHz centered around 2.5GHz 2013-04-27T09:30:08 < R2COM> (which is not typical frequenciy at which people would expect fr4 to be very good at) 2013-04-27T09:30:36 < talsit> that sounds like black magic 2013-04-27T09:30:42 < talsit> which is scary 2013-04-27T09:30:55 < talsit> i hope to never work above a couple of MHz 2013-04-27T09:31:25 < R2COM> in my free time I will experiment on even higher frequencies on cheap material 2013-04-27T09:31:35 < talsit> how do you test it? 2013-04-27T09:31:39 < R2COM> (its not much of big deal to do same stuff on expencive Rogers, but its harder on cheapo FR4) 2013-04-27T09:31:41 < talsit> i mean, do you have the equipment? 2013-04-27T09:32:00 < R2COM> I test some stuff on planar simulator, and some stuff which I particularly interested in I test with vna 2013-04-27T09:32:06 < R2COM> yes 2013-04-27T09:32:36 < talsit> isn't test equipment for those frequencies as much as a big car or small house? 2013-04-27T09:32:51 < talsit> (price wise) 2013-04-27T09:32:52 < R2COM> hmm not actually, its big but not *that* big 2013-04-27T09:32:54 < R2COM> oh 2013-04-27T09:33:00 < R2COM> well yes. probably. 2013-04-27T09:34:06 < talsit> so you have access to it, but not own it? 2013-04-27T09:34:16 < R2COM> yes 2013-04-27T09:34:25 < talsit> nice 2013-04-27T09:34:41 < talsit> what do you do then? 2013-04-27T09:34:47 < R2COM> mainly IC related design 2013-04-27T09:35:01 < R2COM> and some other stuff 2013-04-27T09:35:20 < talsit> that sounds scary too :S 2013-04-27T09:35:47 < talsit> hey, do you know much about certification? 2013-04-27T09:35:59 < R2COM> what? which certification? 2013-04-27T09:36:15 < talsit> as in, say i'm making a device, that i want to sell 2013-04-27T09:36:26 < talsit> do i need to get it certified to be able to sell it? 2013-04-27T09:36:28 < R2COM> hmmm 2013-04-27T09:36:39 < R2COM> no I'm not much into paperwork/certification related things 2013-04-27T09:37:05 < R2COM> I am aware of some export related things... they are messy on paper... but thats it, I dont handle those things 2013-04-27T09:37:43 < talsit> i'm just not sure if, to be able to legally sell something, it *has* to be certified 2013-04-27T09:37:51 < talsit> as in FCC or stuff 2013-04-27T09:37:59 < R2COM> hmm maybe? if its RF stuff, then yes I guess 2013-04-27T09:38:07 < talsit> no RF 2013-04-27T09:38:17 < R2COM> But I think you can just download FCC's table with frequencies table 2013-04-27T09:38:19 < talsit> well, maybe, but i'll be using a XBee if that 2013-04-27T09:38:29 < R2COM> and choose the partition in which its OK to operate for free 2013-04-27T09:38:52 < R2COM> so I guess if you operate at allowed ranges its OK 2013-04-27T09:39:18 < R2COM> anyhow, if you want something to happen, its not big deal to email or even call FCC maybe or lookup its document 2013-04-27T09:39:26 -!- dekar_ [~dekar@212.255.249.223] has joined ##stm32 2013-04-27T09:39:29 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-04-27T09:40:11 < talsit> i've done some reading this week, and i'm getting more and more confused with the matter 2013-04-27T09:40:19 < R2COM> no 2013-04-27T09:40:26 < R2COM> there is main table document 2013-04-27T09:40:27 < R2COM> in pdf 2013-04-27T09:40:29 < R2COM> for FCC 2013-04-27T09:40:38 < R2COM> with all frequencies specified, and their use specified too 2013-04-27T09:40:46 < talsit> i'm in japan, wanting to sell to USA/Australia/Europe 2013-04-27T09:41:10 < R2COM> well...not sure what to tell about that, I guess I dont know too much about those export/import/whatever regulations 2013-04-27T09:41:52 < talsit> yeah, no problem 2013-04-27T09:41:59 -!- dekar [~dekar@212.255.242.46] has quit [Ping timeout: 246 seconds] 2013-04-27T09:43:06 < dongs> whats the story with bitfields 2013-04-27T09:43:13 < dongs> should I use them or is it still retarded 2013-04-27T09:44:28 < dongs> time to hceck keil docs 2013-04-27T09:45:48 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Read error: Operation timed out] 2013-04-27T09:53:39 < dongs> argh 2013-04-27T09:53:43 < dongs> and looks like they're backwards too 2013-04-27T09:55:07 < Robint91> dongs, bitfields are nice 2013-04-27T09:55:16 < Robint91> dongs, also are function pointesr 2013-04-27T09:55:18 < Robint91> *pointers 2013-04-27T09:55:23 < R2COM> talking about bitband? 2013-04-27T09:55:36 < R2COM> (not to be confused with bitbang) 2013-04-27T09:56:00 < dongs> neither 2013-04-27T09:56:07 < dongs> struct foo { blog : 2; } type shit 2013-04-27T09:56:27 < dongs> was avoiding having to write a bit parse thingy but looks like ill have to 2013-04-27T09:56:41 < dongs> this buttfields sdtuff isnt working too well 2013-04-27T09:57:01 < dongs> i have a block of data thats not even byte aligned 2013-04-27T09:57:15 < dongs> and i need to pull individual bits from it into a struct, i was hoping just memcpy buffer into struct 2013-04-27T09:57:38 < dongs> but some stuff is split across the bytes 2013-04-27T09:57:46 < dongs> so bitfields wont help here anyhow 2013-04-27T09:58:50 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-27T10:02:36 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 264 seconds] 2013-04-27T10:02:55 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-27T10:34:31 < dongs> was too lazy to find last time i written getbits() type shit from a bytebffer, so stole faad implementation 2013-04-27T10:36:44 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-27T10:40:20 -!- ossifrage [~ossifrage@c-71-224-59-2.hsd1.pa.comcast.net] has quit [Ping timeout: 256 seconds] 2013-04-27T10:47:48 -!- ossifrage [~ossifrage@c-71-224-59-2.hsd1.pa.comcast.net] has joined ##stm32 2013-04-27T10:50:13 -!- ossifrage [~ossifrage@c-71-224-59-2.hsd1.pa.comcast.net] has quit [Remote host closed the connection] 2013-04-27T10:58:40 -!- ossifrage [~ossifrage@c-71-224-59-2.hsd1.pa.comcast.net] has joined ##stm32 2013-04-27T11:00:45 -!- ossifrage [~ossifrage@c-71-224-59-2.hsd1.pa.comcast.net] has left ##stm32 [] 2013-04-27T11:01:23 -!- ossifrage [~ossifrage@c-71-224-59-2.hsd1.pa.comcast.net] has joined ##stm32 2013-04-27T11:33:10 -!- timemob [~dongs@149.110.131.180.west.global.crust-r.net] has joined ##stm32 2013-04-27T11:51:11 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-27T11:56:43 -!- timemob [~dongs@149.110.131.180.west.global.crust-r.net] has quit [Quit: Bye] 2013-04-27T12:01:44 < inca> wow… OLS is surprisingly easy to get up and running 2013-04-27T12:03:20 < inca> who knew that USB instrumentation might actually be a good idea?! 2013-04-27T12:22:20 < Robint91> inca, OLS? 2013-04-27T12:22:54 < inca> open logic sniffer 2013-04-27T12:25:28 < dongs> wasnt that shit fail 2013-04-27T12:25:30 < dongs> because no external sram 2013-04-27T12:25:59 < inca> dongs: it is not hard to add sram 2013-04-27T12:26:16 < inca> but for 200 MHz sampling with 32 channels, $50 ain't bad 2013-04-27T12:26:23 < inca> the UI isn't terrible either 2013-04-27T12:26:24 < dongs> shrug 2013-04-27T12:26:27 < inca> it just worked 2013-04-27T12:26:29 < dongs> isnt ui = java aids 2013-04-27T12:26:33 < dongs> some sump shit 2013-04-27T12:26:39 < inca> newer version 2013-04-27T12:26:39 < dongs> how about signed drivers? 2013-04-27T12:26:41 < inca> less aids 2013-04-27T12:26:42 < dongs> did they figure that out yet? 2013-04-27T12:27:00 < dongs> or does it show up as uart or someshit on pc side 2013-04-27T12:27:05 < inca> windoze? no idea… I'm on Darwin and things just work 2013-04-27T12:27:13 < dongs> lol 2013-04-27T12:27:57 < inca> I like to keep my windows dev environments encapsulated in VMs… much easier to maintain configuration management that way 2013-04-27T12:28:30 < inca> snapshot the dev env, burn the dvd, never worry about dev env poisoning again 2013-04-27T12:29:06 < inca> in fact, I usually turn updates to the HD off completely so it reverts at every boot… no viruses possible, no updates necessary either 2013-04-27T12:29:26 < inca> work is done over network SMB crap 2013-04-27T12:30:58 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-27T12:31:30 < inca> this is the newer client page: http://www.lxtreme.nl/ols/ 2013-04-27T12:32:49 < inca> screenshots: http://www.lxtreme.nl/ols/screenshots.html 2013-04-27T12:33:17 < inca> as you can see, the drugs we have invented have allowed the aids to go into remission for the time being 2013-04-27T12:38:08 < dongs> what the fuck is wrong wiht that website 2013-04-27T12:38:13 < dongs> it has a horizontal scrollbar 2013-04-27T12:38:24 < dongs> and the pics require some bullshit macfag UI to scroll through 2013-04-27T12:38:26 < inca> hmm? 2013-04-27T12:38:36 < inca> it just works for me 2013-04-27T12:38:38 < inca> chrom 2013-04-27T12:38:40 < inca> e 2013-04-27T12:57:33 < Posterdati> is anyone using an uc1618t 2013-04-27T12:57:45 -!- Robin_ [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-27T13:00:47 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Ping timeout: 252 seconds] 2013-04-27T13:03:28 < baird> Capital-ell oh ell. I've finally cracked the Big Secret that everyone in Sydney's been keeping from me-- the ex-girlfriend is getting IVF treatment and trying to get pregnant. Note: she's turning 41 in about a month, she's Single, lives with her parents, and _unemployed_ in the worst time of the job market for tech writers. 2013-04-27T13:07:56 < baird> Would make for a nice bit of karma, except that there's someone else's life involved. :/ 2013-04-27T13:08:52 -!- claude is now known as Claude 2013-04-27T13:09:04 -!- Laurenceb_ [~Laurence@host86-177-61-171.range86-177.btcentralplus.com] has joined ##stm32 2013-04-27T13:12:05 < baird> And it also answers why she went over-the-top at pushing me away.. 2013-04-27T13:12:23 -!- ossifrage [~ossifrage@c-71-224-59-2.hsd1.pa.comcast.net] has quit [Quit: Leaving] 2013-04-27T13:17:48 < Robin_> what is the maximum diff between the VBAT voltages? 2013-04-27T13:18:03 < Robin_> I have 2 AA betteries connected to VBAT 2013-04-27T13:18:23 < Robin_> and feeding that voltage into a step up converter to 3.3volt 2013-04-27T13:18:33 < jpa-> diff between? 2013-04-27T13:18:49 < jpa-> the datasheet gives the max and min voltage for vbat 2013-04-27T13:25:40 < Laurenceb_> and feeding that voltage into a step up converter to 3.3volt 2013-04-27T13:25:41 < Laurenceb_> wut 2013-04-27T13:25:53 < Laurenceb_> VBAT is supposed to be low current backup 2013-04-27T13:26:07 -!- Robin_ is now known as Robint91 2013-04-27T13:26:07 < Laurenceb_> id use a 3v coin cell, should last for years 2013-04-27T13:27:09 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: to sleep, perchance to dream] 2013-04-27T13:27:13 < Robint91> I have two AA batteries, I take that voltage and put into Vbat, also from the batteries I can turn on/off the device, through a SWITCH 2013-04-27T13:27:26 < Robint91> so AA -> switch -> step up 2013-04-27T13:28:16 < jpa-> Robint91: should be fine 2013-04-27T13:29:06 < Robint91> okay 2013-04-27T13:29:20 < Robint91> somebody use some higher performance DSPs? 2013-04-27T13:29:28 < Robint91> like the C6000 series of TI? 2013-04-27T13:29:41 < zyp> no, we only use stm32s 2013-04-27T13:29:49 < jpa-> this is ##stm32, duh 2013-04-27T13:30:08 < Robint91> -_- 2013-04-27T13:35:23 < inca> dongs: looks like the .inf for the COM port on windoze works 2013-04-27T13:37:17 < Laurenceb_> lol .inf files 2013-04-27T13:37:54 < Laurenceb_> Robint91: we use c6000 at work 2013-04-27T13:37:59 < Laurenceb_> but i dont.... :P 2013-04-27T13:38:55 < Robint91> Laurenceb_, heard bad things about it? 2013-04-27T13:39:53 < dongs> C6000 doesnt accept code without spaces in it 2013-04-27T13:39:57 < dongs> so Laurenceb_ cant work on it 2013-04-27T13:41:52 < inca> RLE is still b0rked 2013-04-27T13:42:46 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Read error: Connection reset by peer] 2013-04-27T13:43:43 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-04-27T13:52:22 -!- Claude is now known as claude 2013-04-27T14:07:36 < Laurenceb_> Robint91: its used for some motor control projects 2013-04-27T14:07:47 < Laurenceb_> but they moved the product to "tricore" 2013-04-27T14:08:03 < Laurenceb_> http://en.wikipedia.org/wiki/Infineon_TriCore 2013-04-27T14:12:56 < Laurenceb_> tricore has some "nice timers" but from what i've seen their project would run fine with stm32f4 timers 2013-04-27T14:13:20 < Laurenceb_> they are doing motor control using master/slave timers 2013-04-27T14:22:19 < Robint91> Laurenceb_, oh motor control stuff 2013-04-27T14:22:27 < Laurenceb_> yeah - at the uni 2013-04-27T14:22:35 < Laurenceb_> for helicopter actuators 2013-04-27T14:23:25 < Robint91> so FPGA it will be 2013-04-27T14:23:28 < Robint91> stinking DSPs 2013-04-27T14:23:52 < Laurenceb_> what are you trying to make? 2013-04-27T14:24:05 < Robint91> Laurenceb_, realtime video processing 2013-04-27T14:24:18 < Laurenceb_> ah 2013-04-27T14:24:29 < Robint91> Laurenceb_, finding centroids in a few objects 2013-04-27T14:24:31 < Robint91> in realtime 2013-04-27T14:24:55 < Laurenceb_> yeah, sounds like a job for FPGA 2013-04-27T14:26:10 < jpa-> either could work 2013-04-27T14:26:19 < jpa-> difficult to say which will be cheaper or lower power 2013-04-27T14:27:27 < Laurenceb_> stm32 has camera interface... 2013-04-27T14:27:35 < Robint91> jpa-, yeah, most DSPs have USB device perhips, fpga's don't 2013-04-27T14:27:40 < Laurenceb_> i know someone who did centroid tracking in real time on F1 2013-04-27T14:27:48 < Laurenceb_> usinf bit banged camera interface 2013-04-27T14:27:51 < Robint91> Laurenceb_, an F4 is way to slow 2013-04-27T14:28:08 < jpa-> Robint91: well USB full-speed could be implemented as a softcore.. i think there was some free one also 2013-04-27T14:28:25 < Robint91> Laurenceb_, in a 320x240 @ 200 fps I have only 11 instructions to do my algoritme 2013-04-27T14:28:52 -!- MrMobius [~Joey@194.176.111.28] has joined ##stm32 2013-04-27T14:28:55 < Laurenceb_> oh 2013-04-27T14:29:01 < Laurenceb_> 200fps.. thats mad 2013-04-27T14:29:06 < Laurenceb_> whats the application? 2013-04-27T14:29:31 < Robint91> Laurenceb_, a few, mostly some custom motion tracking HW 2013-04-27T14:29:54 < Laurenceb_> i see 2013-04-27T14:30:02 < Laurenceb_> yeah, FPGA time 2013-04-27T14:30:13 < Laurenceb_> but you'll struggle with that... 2013-04-27T14:30:25 < Laurenceb_> id imagine itd have to be very parallel 2013-04-27T14:30:31 < jpa-> doesn't sound too bad 2013-04-27T14:30:51 < Laurenceb_> or you could desolder an exynos quadcore from a galaxy phone 2013-04-27T14:30:57 < Laurenceb_> might do it :P 2013-04-27T14:30:59 < jpa-> never did such embedded, but 2048x2048 @ 340 FPS on a core i7 was not even difficult actually 2013-04-27T14:31:24 < jpa-> (though that was only bounding box and not centroid) 2013-04-27T14:31:27 < Robint91> most algorithms don't scale that well 2013-04-27T14:31:51 < Robint91> jpa-, it is also a weighted centroid/center of mass kind of stuff 2013-04-27T14:32:39 < jpa-> separating the blobs is the most time consuming part 2013-04-27T14:33:07 < Robint91> jpa-, I have a single pass algorithm 2013-04-27T14:33:11 < jpa-> i did also 2013-04-27T14:33:27 < jpa-> should be reasonably easy to pipeline it, too 2013-04-27T14:33:31 < Robint91> so that is easy to implement on a FPGA 2013-04-27T14:33:41 -!- daku is now known as DaKu 2013-04-27T14:34:01 < Robint91> something like erosion/dilation is a bit harder 2013-04-27T14:34:06 < jpa-> Robint91: do you have single pass algorihm for the whole thing or do you have to go back and compute the centroid in a 2nd pass then? 2013-04-27T14:34:26 < jpa-> with constant block size, erosion and dilation are trivial 2013-04-27T14:34:42 < Robint91> jpa-, I calculate the centroids on the second pass 2013-04-27T14:34:45 < jpa-> delay line and just an OR / AND tree to combine the pixels 2013-04-27T14:35:20 -!- baird [~cjb@ppp121-44-104-161.lns20.syd6.internode.on.net] has quit [Read error: Connection reset by peer] 2013-04-27T14:35:26 < jpa-> Robint91: yeah.. that is going to be somewhat annoying as you need to store the frame.. though you can probably work out the timing so that it is not too difficult 2013-04-27T14:35:40 < Robint91> jpa-, I have the following stream: Camera -> HISTOGRAM CALC -> threshold -> dilation/erosion -> BB 2013-04-27T14:35:47 <+dekar_> I was quite surprised to see that the stm3241g demo firmware streams from the camera to the display quite fluently, but I guess it doesn't do any processing at all 2013-04-27T14:36:16 < dongs> zyp: any luck with led driver? 2013-04-27T14:36:27 < Robint91> jpa-, for the centroids I only keep infromation that is in the bounding boxes on binary image 2013-04-27T14:36:36 < Robint91> I want the centroids of the grayscale image 2013-04-27T14:36:45 -!- baird [~cjb@ppp121-44-104-161.lns20.syd6.internode.on.net] has joined ##stm32 2013-04-27T14:37:25 < dongs> dekar_: i think it just DMAs from DCMI to FSMC for display 2013-04-27T14:37:31 < jpa-> so camera -> histogram -> store frame; stored frame -> threshold -> dilate/erode -> label blobs; stored frame & blob labels -> get centroids 2013-04-27T14:37:36 < zyp> dongs, nah, I got interrupted by other stuff 2013-04-27T14:37:43 < Robint91> jpa-, yeah 2013-04-27T14:37:54 < jpa-> maybe need a double or even triple buffer for the stored frames 2013-04-27T14:37:58 < zyp> was going to pull out LA and have a look, but haven't yet 2013-04-27T14:38:14 < Robint91> jpa-, the idea is to double buffer it 2013-04-27T14:38:19 < jpa-> but fortunately 320x240 is small enough to store in the FPGA's internal RAM 2013-04-27T14:38:54 < zyp> oh 2013-04-27T14:39:04 < zyp> right, I just figured out the problem. 2013-04-27T14:39:33 < jpa-> dekar_: could probably even do some processing quite easily, by just using DMA ring buffers 2013-04-27T14:40:09 < zyp> I haven't implemented opendrain configuration for F1 in my gpio code yet, so the calls to do that is happily ignored… 2013-04-27T14:40:21 < dongs> ah 2013-04-27T14:40:23 < dongs> that would help 2013-04-27T14:42:18 < Robint91> jpa-, I'm thinking to put a small STM32 beside the FPGA to implement the USB stuff and firmware updating of the fpga 2013-04-27T14:42:45 < Robint91> how easy is it to implement a SDIO slave on a FPGA? 2013-04-27T14:43:57 < jpa-> i would recommend to use FSMC to connect them.. but i have no experience on SDIO so can't say 2013-04-27T14:44:04 < zyp> dongs, yep, that was it, now I'm getting expected value 2013-04-27T14:44:13 < Robint91> FSMC is a bunch of pins 2013-04-27T14:44:15 < dongs> zyp: cool 2013-04-27T14:44:15 < jpa-> anyway, i guess you have relatively small amount of data to transfer out of the FPGA? 2013-04-27T14:44:29 < dongs> using fsmc you dont need to do anything on fpga 2013-04-27T14:44:32 < dongs> just dualported ram or something 2013-04-27T14:44:32 < jpa-> Robint91: well you can have it 8-bit.. then it only takes like 12 pins 2013-04-27T14:44:37 < dongs> sdio you'd have to actually dick with shit 2013-04-27T14:44:42 < Robint91> jpa-, only centroids and sometime the full image 2013-04-27T14:44:50 < Robint91> but that is rather limited 2013-04-27T14:45:04 < jpa-> somewhat yeah 2013-04-27T14:45:24 < jpa-> SPI could work also 2013-04-27T14:45:43 < dongs> yeah spi is easy oto 2013-04-27T14:45:44 < dongs> too 2013-04-27T14:45:48 < zyp> I think the command path and data path in the sdio controller is pretty independent from each other, so you can probably use only the data lines if you want to 2013-04-27T14:45:50 < jpa-> though both of those are "streams".. full FSMC with address pins would get you memory mapped stuff 2013-04-27T14:46:07 < jpa-> can't see much advantage in SDIO though 2013-04-27T14:46:10 < Robint91> jpa-, which is nice 2013-04-27T14:46:19 < Robint91> jpa-, SDIO = lot's of speed 2013-04-27T14:46:29 < Robint91> compared to SPI 2013-04-27T14:46:39 < jpa-> 8-bit parallel FSMC = even more speed! 2013-04-27T14:46:52 < dongs> yeah no shit, fsmc >>>> sdio 2013-04-27T14:46:54 < jpa-> 16-bit parallel FSMC = a whole lot of speed! 2013-04-27T14:49:45 < Robint91> jpa-, the FSMC can do multiplexed I/O 2013-04-27T14:50:12 < jpa-> but that still needs a lot of pins 2013-04-27T14:50:22 < jpa-> do you want stream or memory mapped anyway? 2013-04-27T14:51:20 < Robint91> jpa-, only stream, it just needs to go from the FPGA to USB 2013-04-27T14:51:28 < Robint91> I don't need to do any processing on it 2013-04-27T14:51:49 < jpa-> so USB full speed? 2013-04-27T14:51:53 < jpa-> spi is enough. 2013-04-27T14:51:58 < Robint91> yep 2013-04-27T14:52:10 < jpa-> you'll never get more than 1MBps through USB FS anyway 2013-04-27T14:54:25 < zyp> theoretical max is a tad over 1.2 2013-04-27T14:54:56 < jpa-> SPI goes easily to 2MBps :) 2013-04-27T14:55:12 < dongs> waut 2013-04-27T14:59:41 -!- MrM0bius [~Joey@91.192.66.231] has joined ##stm32 2013-04-27T14:59:45 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has joined ##stm32 2013-04-27T15:02:56 -!- MrMobius [~Joey@194.176.111.28] has quit [Ping timeout: 246 seconds] 2013-04-27T15:15:42 -!- DaKu is now known as daku 2013-04-27T15:24:44 -!- PT_Dreamer [~quassel@bl14-250-54.dsl.telepac.pt] has joined ##stm32 2013-04-27T15:29:11 -!- PT_Dreamer [~quassel@bl14-250-54.dsl.telepac.pt] has quit [Ping timeout: 246 seconds] 2013-04-27T15:36:10 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has joined ##stm32 2013-04-27T15:44:35 -!- barthess [~barthess@77.67.198.124] has joined ##stm32 2013-04-27T15:48:03 -!- talsit1 [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-27T15:50:18 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Ping timeout: 276 seconds] 2013-04-27T15:59:54 -!- MrMobius [~Joey@194.176.111.31] has joined ##stm32 2013-04-27T16:02:47 -!- MrM0bius [~Joey@91.192.66.231] has quit [Ping timeout: 246 seconds] 2013-04-27T16:17:14 -!- _BJFreeman [~bjfree@168.sub-75-233-37.myvzw.com] has joined ##stm32 2013-04-27T16:18:39 -!- BJFreeman [~bjfree@138.sub-75-244-184.myvzw.com] has quit [Ping timeout: 260 seconds] 2013-04-27T16:23:21 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 245 seconds] 2013-04-27T16:23:44 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-27T16:36:54 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-27T16:36:54 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-27T16:36:54 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-27T16:36:57 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-27T16:55:38 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-27T17:00:09 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-27T17:00:46 -!- MrM0bius [~Joey@194.176.111.136] has joined ##stm32 2013-04-27T17:02:59 -!- MrMobius [~Joey@194.176.111.31] has quit [Ping timeout: 246 seconds] 2013-04-27T17:17:08 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:50f1:1218:967b:1189] has joined ##stm32 2013-04-27T17:24:05 -!- talsit1 [~talsit@FLH1Agw127.osk.mesh.ad.jp] has left ##stm32 [] 2013-04-27T17:28:08 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-27T17:34:51 -!- baird [~cjb@ppp121-44-104-161.lns20.syd6.internode.on.net] has quit [Remote host closed the connection] 2013-04-27T17:35:27 -!- baird [~cjb@ppp121-44-104-161.lns20.syd6.internode.on.net] has joined ##stm32 2013-04-27T17:35:38 -!- CRF_Peter [~Peter@dhcp-189118.eduroam.chalmers.se] has quit [Remote host closed the connection] 2013-04-27T17:38:37 -!- _BJFreeman is now known as BJFreeman 2013-04-27T17:47:52 < Tectu> hello folks 2013-04-27T17:48:25 < inca> g'morning, sir 2013-04-27T17:48:42 < Tectu> also this: http://chibios-gfx.com/blog 2013-04-27T17:49:58 < inca> Tectu, are you working on a scope of less sadness? 2013-04-27T17:50:27 < Tectu> less sadness than what? 2013-04-27T17:51:43 < inca> Tectu: Agilent? Tek? 2013-04-27T17:52:07 < Tectu> ah 2013-04-27T17:52:07 < Tectu> lol 2013-04-27T17:52:14 < zyp> you wish 2013-04-27T17:52:14 < Tectu> agilent is fine 2013-04-27T17:52:17 < Tectu> le croy also 2013-04-27T17:52:17 < Robint91> inca, Isn't Agilent the BEST? 2013-04-27T17:52:25 < Robint91> LE CROY = LE CRAP 2013-04-27T17:52:36 < inca> Robint91: I am pretty sure Hewitt and Packard are rolling in their graves 2013-04-27T17:52:40 < Tectu> not the 20k$ ones 2013-04-27T17:53:00 < Tectu> well, personally, I prefer agilent so far 2013-04-27T17:53:12 < inca> Tectu: yeah, if the government is paying 2013-04-27T17:53:25 < Robint91> Tectu, every le croy sucks, even the +20k$ once 2013-04-27T17:53:34 < Robint91> inca, why 2013-04-27T17:54:14 < Tectu> I shouldn't have started this conversation... 2013-04-27T17:54:20 < inca> Robint91: Overpriced crap that refuses to be integrated as a peripheral to modern computers 2013-04-27T17:54:24 < inca> Tectu: haha 2013-04-27T17:54:34 < Robint91> inca, the infiniivision and infiniium are one of the best scopes ever made 2013-04-27T17:54:35 < inca> I've been reading up on http://dangerousprototypes.com/docs/Logic_Analyzer_core:_Introduction 2013-04-27T17:54:52 < inca> Robint91: I don't have that at home 2013-04-27T17:54:52 < Robint91> inca, LXI or GPIB 2013-04-27T17:55:01 < inca> GPIB? are you joking? 2013-04-27T17:55:19 < inca> let's break out the parallel ports for this deep scope trace 2013-04-27T17:55:36 < inca> oh wait, I need a $400 adapter even to interface with GPIB? 2013-04-27T17:55:39 < inca> =) 2013-04-27T17:55:42 < Robint91> inca, there is nothing work with GPIB 2013-04-27T17:55:42 < inca> that's the sadness 2013-04-27T17:56:04 < inca> USB, Ethernet… those are your prolific options 2013-04-27T17:56:10 < Robint91> GPIB > crappy USB RS232 interfaces 2013-04-27T17:56:33 < inca> yet even crappy USB or ethernet implementations are >>>>>>>>>>>>>> GPIB 2013-04-27T17:56:38 < Robint91> nope 2013-04-27T17:56:42 < jpa-> not really 2013-04-27T17:56:46 < inca> What bandwidth? 2013-04-27T17:56:49 < jpa-> it's just a matter of perspective 2013-04-27T17:57:21 < jpa-> GPIB is the tradition, USB is nicer for someone who doesn't care about the "standard way" etc. of times past 2013-04-27T17:57:38 < inca> why use pointlessly expensive interfaces just because that's what they've always done? 2013-04-27T17:57:38 < jpa-> also there is the matter of reliability 2013-04-27T17:57:54 < jpa-> inca: it's pointlessly expensive only because someone will pay the price 2013-04-27T17:58:05 < inca> pretty sure TCP/IP is fairly reliable. 2013-04-27T17:58:06 < jpa-> the hardware for GPIB itself is trivially simple 2013-04-27T17:58:37 < inca> why is the interface so expensive? 2013-04-27T17:58:43 < jpa-> inca: TCP/IP latency is unpredictable, for example 2013-04-27T17:58:48 < jpa-> inca: because someone will pay for it 2013-04-27T17:58:56 < inca> I won't 2013-04-27T17:59:06 < jpa-> yes, so you buy something else. 2013-04-27T17:59:06 < inca> it's outdated and outmoded 2013-04-27T17:59:11 < inca> indeed 2013-04-27T17:59:22 < Robint91> inca, 1) GPIB is much reliable as USB/ETHERNET 2) You can trigger/sync stuff with GPIB 3) It is faster than some silly USB2.0FS device 2013-04-27T17:59:25 < jpa-> but someone will, so they sell it for the price for which they think they'll get the best return 2013-04-27T18:00:33 -!- MrMobius [~Joey@91.192.66.232] has joined ##stm32 2013-04-27T18:00:36 < inca> Robint91: just tell me straight and true, what, exactly, is the bandwidth of your favorite GPIB dongle? 2013-04-27T18:00:45 < inca> can you even debug an ARM with it? 2013-04-27T18:01:05 < Robint91> inca, 1.4 Megabyte/second 2013-04-27T18:01:15 * inca sighs 2013-04-27T18:01:16 < Robint91> inca, but I have some that can go to 7.7 2013-04-27T18:02:08 < inca> /rant off 2013-04-27T18:02:17 < inca> I'm awake. thanks guys =) 2013-04-27T18:02:48 < inca> Tectu: are you working on a scope? 2013-04-27T18:02:50 -!- MrM0bius [~Joey@194.176.111.136] has quit [Ping timeout: 246 seconds] 2013-04-27T18:03:58 < Tectu> inca, kind of, but the video shown is from another guy 2013-04-27T18:05:50 < Tectu> inca, why? 2013-04-27T18:06:11 < inca> Tectu: I like tools. 2013-04-27T18:06:56 < jpa-> if i had tons of time, i would make a dso quad firmware atop chibios & gfx now.. would be quite awesome 2013-04-27T18:07:15 < inca> If you have 8 hours to chop down a tree, spend 6 sharping your axe. --Ancient American Proverb 2013-04-27T18:07:27 < Tectu> jpa-, hehe :) 2013-04-27T18:08:08 < Tectu> jpa-, the video is not from me, as I said. But another guy actually wants to do a DSO quad thing like but with ChibiOS/RT and ChibiOS/GFX 2013-04-27T18:08:51 < jpa-> Tectu: but if i were to make new oscilloscope hardware, i would definitely take some cheap linux board for the interface (or just make it usb connected) 2013-04-27T18:09:23 < Tectu> jpa-, using an F103RB is a bit harder ;) 2013-04-27T18:09:50 < Tectu> jpa-, Personally, I don't like that the DSO quad is that small 2013-04-27T18:10:02 < jpa-> it's great that it is so small 2013-04-27T18:10:29 < Tectu> yes I know, but that's now one of the things I'd be targetting 2013-04-27T18:10:55 < jpa-> ? 2013-04-27T18:11:15 < Tectu> I wouldn't build a scope and try to make it as tiny as possible 2013-04-27T18:11:42 < jpa-> why not? 2013-04-27T18:13:31 < Tectu> dunno, I've never tried to make something as small as possible 2013-04-27T18:13:57 < jpa-> oh well :) 2013-04-27T18:14:30 < jpa-> i agree that you lose some functionality if you try to squeeze a scope very small 2013-04-27T18:14:59 < Tectu> I had a dso quad myself 2013-04-27T18:15:02 < jpa-> but on the other hand, no other scope can really compete with the dso quad's size.. so i guess it has been the right choice for them 2013-04-27T18:15:03 < Tectu> and I sold it again 2013-04-27T18:15:11 < Tectu> yes, it's cool 2013-04-27T18:15:13 < Tectu> but it's not usable 2013-04-27T18:15:21 < jpa-> software sucks, right? 2013-04-27T18:15:24 < Tectu> there are many people who bought it because THey cannot afford a "real one" 2013-04-27T18:15:35 < Tectu> but at the end using it is a pain 2013-04-27T18:15:56 < Tectu> yes, I guess you could simplify the use 2013-04-27T18:16:07 < Tectu> the hardware seems to be increddible nice for that size/price 2013-04-27T18:17:16 < jpa-> software sucking is a software problem.. it is mostly not dependent on the hardware being small (lack of ram does make the sw development a bit harder, of course) 2013-04-27T18:20:04 < Tectu> agreed 2013-04-27T18:21:05 < Thorn> how about lack of UI hardware. real scopes are easy to use because they have a lot of knobs 2013-04-27T18:21:08 < jpa-> having dso quad class hardware & software in a desktop size scope would be totally useless :) 2013-04-27T18:21:33 < jpa-> Thorn: not really that easy to use.. i find that many modern scopes are terrible to use 2013-04-27T18:22:10 < Thorn> well, can be easy to use. the more function multiplexing the worse 2013-04-27T18:22:43 < Tectu> have you ever used one of the new tektronix? 2013-04-27T18:22:48 < Tectu> it's a REAL pain 2013-04-27T18:22:54 -!- baird [~cjb@ppp121-44-104-161.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2013-04-27T18:23:28 < Thorn> see this book https://en.wikipedia.org/wiki/The_Design_of_Everyday_Things 2013-04-27T18:23:48 < jpa-> Thorn: seen it, read it 2013-04-27T18:24:06 < jpa-> Thorn: however, new scopes always have more functionality than can fit on the knobs 2013-04-27T18:24:19 < jpa-> then they have all kinds of silly selector knobs, buttons that you have to press many times etc. 2013-04-27T18:24:38 < jpa-> it's much easier if you just need to know 3 buttons to scroll a menu to get what you need 2013-04-27T18:24:46 < Tectu> should one read that book? 2013-04-27T18:24:57 < jpa-> Tectu: it's a good read 2013-04-27T18:25:17 < jpa-> not always that easy to apply 2013-04-27T18:25:19 < Tectu> 1988 wtf? 2013-04-27T18:25:33 <+Steffanx> older than Tectu 2013-04-27T18:25:34 < talsit> common sense always applies 2013-04-27T18:25:37 < Thorn> Tectu: early stone age rite 2013-04-27T18:25:47 < jpa-> zomg outdated!! i bet they didn't have user interfaces in the 80's! 2013-04-27T18:25:49 < gxti> some things never change Tectu 2013-04-27T18:26:02 < Tectu> yeah true 2013-04-27T18:26:04 < Tectu> afk 2013-04-27T18:26:17 < Thorn> they even had some electronics back then. handmade vacuum triodes I'm sure 2013-04-27T18:30:47 < jpa-> tectu was conceived while elvis was playing on the tube radio 2013-04-27T18:32:21 -!- sterna1 [~Adium@dhcp-190195.eduroam.chalmers.se] has quit [Quit: Leaving.] 2013-04-27T18:33:28 < Tectu> he 2013-04-27T18:33:40 < Tectu> re 2013-04-27T18:41:57 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-27T18:43:11 < Tectu> "Free Energy is posible and all Universe is based on Free Energy that comes from the Source-God. A solar cell, a wind generator, a magnet, are examples of free energy generators. More complex FE generators exists and function with no problem. Osho: Stupidity is infinite on this planet! Dont let yourself in it forever!" 2013-04-27T18:43:23 < Tectu> ^ comment on a free energy video on youtube 2013-04-27T18:43:33 < R2COM> I am thinking.. if I have some device with SPI which works in bidirectional mode (sdio) and for example for some reason I do *not* want to have stm32 to be set in bidirectional mode, but rather unidirectional mode. SHould it work if I make a sdio-to-sdi/sdo splitting with buffers and feed it to MOSI/MISO of stm32 2013-04-27T18:44:12 < R2COM> few more posts like that and it would be time to set Tectu on ignore 2013-04-27T18:45:11 < talsit> R2COM: why wait? 2013-04-27T18:46:01 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-27T18:47:29 < jpa-> R2COM: when would you enable MOSI buffer, then? 2013-04-27T18:47:40 < R2COM> MOSI buffer will always be enabled 2013-04-27T18:48:02 < jpa-> wouldn't that cause a conflict on the line? (or do you have open collector with pullups?) 2013-04-27T18:49:27 < R2COM> here how it goes: stm32_MOSI------>BUFFER#1 IN----->SDIO, stm32_MISO------>BUFFER #2 OUT-------> SDIO, and then SDIO goes to that device which is bidirectional, and stm32 is set as *unidirectional* SPI transfer 2013-04-27T18:49:39 < R2COM> and yes, output is open drain of those buffers 2013-04-27T18:50:01 < R2COM> its totally fine electrically 2013-04-27T18:50:31 < jpa-> and you have pull-up there also? 2013-04-27T18:50:33 < R2COM> I was just wondering if stm32 *can* handle such communication being configured as unidirectional SPI MASTER, whereas another device is slave with bidirectional SDIO 2013-04-27T18:50:40 < R2COM> sure, pullups too 2013-04-27T18:50:47 < jpa-> why wouldn't it handle? 2013-04-27T18:51:09 < jpa-> it doesn't know anything about that, right? 2013-04-27T18:51:10 < R2COM> I dont know thats why I am curious 2013-04-27T18:51:46 < R2COM> stm32 will *think* that another slave is unidirectional too, whereas it is not, so I am wondering if there will be protocol conflict or no (electrical conflict excluded of course) 2013-04-27T18:52:25 < jpa-> well the slave will know not to write anything while it is receiving 2013-04-27T18:52:44 < jpa-> on the STM32, you just have to discard received data when transmitting, and transmit 0xFF while receiving 2013-04-27T18:52:52 < R2COM> hmm yea, but that wont have to do anything with timing and clocking of spi from stm32 right? 2013-04-27T18:52:52 < zippe> R2COM: there is no SPI "protocol" 2013-04-27T18:53:00 < zippe> R2COM: it's just wires waving around 2013-04-27T18:53:05 < jpa-> there is nothing in SPI protocol that could conflict in that way 2013-04-27T18:53:11 < R2COM> ok 2013-04-27T18:53:20 < R2COM> so turns out that configuration which I described is doable 2013-04-27T18:53:27 < jpa-> (for example, there isn't even an ACK bit like in I2C) 2013-04-27T18:53:36 < jpa-> yeah, if you really want to 2013-04-27T18:53:48 < R2COM> nice nice 2013-04-27T18:53:50 < jpa-> the pull-up will slow down the maximum clock rate, of course 2013-04-27T18:54:42 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-27T18:56:21 < R2COM> or actually i dont need pullup 2013-04-27T18:56:55 < jpa-> why not? 2013-04-27T18:57:08 < R2COM> because two buffer outputs are not connected together 2013-04-27T18:57:28 < R2COM> or no no... 2013-04-27T18:57:30 < R2COM> I do need 2013-04-27T18:57:31 < jpa-> but the slave output is connected on the same line as the MOSI coming from stm32 2013-04-27T18:57:59 < R2COM> right, so I need it otherwise two drivers will be from each side 2013-04-27T18:58:01 < jpa-> but the buffers are not needed 2013-04-27T18:58:11 < jpa-> because you could just configure the pin as open-collector 2013-04-27T18:58:27 < R2COM> I need it anyhow to enhance drive for longer distance 2013-04-27T18:58:51 < R2COM> on other lines though 2013-04-27T18:58:55 < R2COM> ss,sck 2013-04-27T18:59:00 < jpa-> uh uh.. pull-ups for long distance.. no no 2013-04-27T18:59:08 < R2COM> no... not that 2013-04-27T18:59:13 < R2COM> those will be different buffers 2013-04-27T18:59:24 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-27T18:59:24 < R2COM> without open drain 2013-04-27T18:59:26 < jpa-> you SS and SCK are long distance but data line will not? what? 2013-04-27T18:59:50 < R2COM> I am thinking through it now 2013-04-27T19:00:05 < R2COM> so... 2013-04-27T19:00:08 < BJFreeman> convert to rs485 2013-04-27T19:00:11 < R2COM> I will need two buffers then 2013-04-27T19:00:16 < R2COM> for miso/mosi 2013-04-27T19:00:25 < R2COM> one will be to drive it on higher distance 2013-04-27T19:00:36 -!- MrM0bius [~Joey@91.192.66.231] has joined ##stm32 2013-04-27T19:00:37 < R2COM> and another is to realise this splitting (at the receiver end) 2013-04-27T19:00:40 < jpa-> are you sure that buffers will help? 2013-04-27T19:00:46 < R2COM> yes 2013-04-27T19:00:51 < jpa-> why? 2013-04-27T19:00:51 < qyx_> what is "long distance"? 2013-04-27T19:01:04 < qyx_> a what is your sck freq? 2013-04-27T19:01:33 < R2COM> right now I dont have particular design I am just thinking through to make it capable to driver longer cable (more than 12") 2013-04-27T19:01:47 < R2COM> and that cable has capacitance (appr 46pf/meter) 2013-04-27T19:01:55 < qyx_> 1wire works with 1K pullup on nearly 50m 2013-04-27T19:01:56 < R2COM> I ran through numbers already 2013-04-27T19:02:01 < qyx_> but with bitrate around 16K only 2013-04-27T19:02:05 < jpa-> so less than 100pF total capacitance? 2013-04-27T19:02:11 < jpa-> i doubt that buffers is what you need 2013-04-27T19:02:18 < jpa-> proper termination should be enough 2013-04-27T19:02:50 < R2COM> lets see spi1 can do 37Mbps right 2013-04-27T19:03:01 < R2COM> so clock would be around... 40MHz 2013-04-27T19:03:03 < jpa-> and if you use the internal bidirectional stuff, you can make the STM32 strongly drive the bus during output, to eliminate the pull-up delay 2013-04-27T19:03:39 < R2COM> and its not stm32 who directly will be driving it, but some cpld (and its drive strength at 3.3v is only 8mA) 2013-04-27T19:03:41 < jpa-> 40MHz * 100pF * 3.3V = 13mA 2013-04-27T19:03:44 -!- MrMobius [~Joey@91.192.66.232] has quit [Ping timeout: 246 seconds] 2013-04-27T19:03:48 < R2COM> so.. with that freq. I calculated that I need more current 2013-04-27T19:03:49 < R2COM> thats it 2013-04-27T19:04:08 < R2COM> as i said, that cpld does barely 8mA 2013-04-27T19:04:12 < jpa-> with pull-ups, you'll never get to 40MHz 2013-04-27T19:04:26 < R2COM> right.. I am thining through it now 2013-04-27T19:04:31 < jpa-> not even locally 2013-04-27T19:04:39 < R2COM> thinking* 2013-04-27T19:04:49 < jpa-> even the pin capacitance of ~10pF would ruin it 2013-04-27T19:05:48 < R2COM> so... solution migh be to have another tiny stm32 of some sort, which would receive data as unidirectional, and then convert and send via another spi to slave device in bidirectional mode 2013-04-27T19:05:52 < jpa-> but 12" is very short distance anyway.. it's not even 50pF probably 2013-04-27T19:06:01 < jpa-> so 8mA could well be enough 2013-04-27T19:06:17 < jpa-> R2COM: lol wtf :) 2013-04-27T19:06:18 < R2COM> or solution which I described last ^ 2013-04-27T19:07:39 < R2COM> anyhow... I ran those numbers already, just dont have that scratch paper anymore, I figured out that including pin capacitance and wire cap. and everything, I need 20mA thats it. 2013-04-27T19:07:55 < R2COM> and I know how to terminate properly of course 2013-04-27T19:08:01 < jpa-> if you really want, you could just have (MOSI) -- 500ohm -- (bidir data) -- 500ohm -- (MISO) 2013-04-27T19:08:03 < R2COM> and even simulated fast transmission 2013-04-27T19:08:14 < Robint91> R2COM, get some nice 74 series buffer 2013-04-27T19:08:29 < R2COM> so that was not what I want to know since I know it, I was just worried regarding spi thingy on stm32 thats it 2013-04-27T19:08:31 < jpa-> R2COM: you did all the math, and all along you failed to notice how that pull-up would ruin the thing? 2013-04-27T19:08:38 < R2COM> (then those pullups, which I'll have to eliminate) 2013-04-27T19:08:53 < R2COM> well I did all math for unidirectional 2013-04-27T19:09:21 < R2COM> pullups is something what came into mind spontaneously before this talk and yes it wont work with what I want on full speed 2013-04-27T19:09:43 < Robint91> mhh isn't normall three wire SPI (with MISO/MOSI) alsways drivin with push pull outputs 2013-04-27T19:09:49 < Robint91> and not open drain 2013-04-27T19:09:50 < jpa-> Robint91: yes 2013-04-27T19:10:52 < Robint91> I wouldn't use SPI of off board communication 2013-04-27T19:11:11 < Robint91> high dataspeeds and off board = differential mode 2013-04-27T19:11:24 < Robint91> LVDS is your friend 2013-04-27T19:11:25 < jpa-> yeah, i would have said differential also, but 12" is manageable without 2013-04-27T19:11:46 < R2COM> Robint91: I am aware of all that, but i was thinking that its not that MUCH of offboard 2013-04-27T19:12:08 < R2COM> and doable, given fact that my speeds actually wont exceed 100MHz at all (not even 40MHz) 2013-04-27T19:12:38 < R2COM> and if it is doable with spi and right buffers and termination is used then its totally fine 2013-04-27T19:12:42 < Thorn> what (cheap) lvds serializers/deserializers would you use with stm32 @ ~50MHz btw? 2013-04-27T19:14:07 < jpa-> Thorn: i would use some FPGA 2013-04-27T19:15:07 < jpa-> R2COM: be sure to route the pcb well, and put enough ground on the connectors.. because you are going to have quite large and fast currents there 2013-04-27T19:15:44 < R2COM> jpa-: I do work with hf rf pcb's dude, I know how it works. 2013-04-27T19:16:36 < jpa-> R2COM: i don't keep a biography of everyone here, you just asked very simple question on SPI and made a trivial error with pull-ups, so i evaluate you on that 2013-04-27T19:17:23 < R2COM> I did not do trivial error, it was a spontaneous solution which came into my mind, because initially i ran all stuff for unidirectional mode, and took into account everything 2013-04-27T19:22:03 -!- PT_Dreamer [~quassel@a94-133-98-8.cpe.netcabo.pt] has joined ##stm32 2013-04-27T19:28:51 -!- PT_Dreamer_ [~quassel@109.48.127.250] has joined ##stm32 2013-04-27T19:29:04 -!- PT_Dreamer_ [~quassel@109.48.127.250] has quit [Client Quit] 2013-04-27T19:29:31 -!- PT_Dreamer_ [~quassel@109.48.127.250] has joined ##stm32 2013-04-27T19:29:39 -!- PT_Dreamer [~quassel@a94-133-98-8.cpe.netcabo.pt] has quit [Ping timeout: 252 seconds] 2013-04-27T19:30:09 -!- PT_Dreamer_ [~quassel@109.48.127.250] has quit [Client Quit] 2013-04-27T19:30:26 -!- PT_Dreamer [~quassel@109.48.127.250] has joined ##stm32 2013-04-27T19:40:00 < Robint91> Thorn, I like these http://www.fairchildsemi.com/ds/FI/FIN1019.pdf 2013-04-27T19:42:22 < Thorn> I've been looking for ser/deser chips with parallel interfaces for the mcu 2013-04-27T19:42:53 < Thorn> like serdes inside FPGAs 2013-04-27T19:43:53 < Robint91> Thorn, like this? http://www.fairchildsemi.com/ds/FI/FIN1216.pdf 2013-04-27T19:44:48 < Thorn> yeah like that (although 21 bits seems like a lot) 2013-04-27T19:45:34 < Robint91> Thorn, or you could use a ethernet PHY 2013-04-27T19:45:40 < Robint91> but I haven't tested that 2013-04-27T19:46:07 < Thorn> I've read that some PHYs have a 'transparent' mode or what it's called but never tried it or seen it used 2013-04-27T19:50:33 -!- Jenev [~someone@208.84.201.151] has joined ##stm32 2013-04-27T19:52:54 < Jenev> hello 2013-04-27T19:57:18 -!- PT_Dreamer_ [~quassel@a83-132-166-131.cpe.netcabo.pt] has joined ##stm32 2013-04-27T19:57:49 <+Steffanx> lo 2013-04-27T19:58:36 -!- PT_Dreamer [~quassel@109.48.127.250] has quit [Ping timeout: 276 seconds] 2013-04-27T19:59:17 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-27T20:01:09 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has left ##stm32 [] 2013-04-27T20:01:25 -!- MrMobius [~Joey@91.192.66.231] has joined ##stm32 2013-04-27T20:02:19 -!- PT_Dreamer_ [~quassel@a83-132-166-131.cpe.netcabo.pt] has quit [Ping timeout: 256 seconds] 2013-04-27T20:03:56 -!- MrM0bius [~Joey@91.192.66.231] has quit [Ping timeout: 246 seconds] 2013-04-27T20:04:33 < qyx_> Robint91: i like that idea 2013-04-27T20:06:43 < Robint91> qyx_, It could work I guess 2013-04-27T20:07:32 < qyx_> probably yes if you turn off all that features like auto-negotiation 2013-04-27T20:08:12 < Robint91> gyx_, I think it could work for PTP connections and dunno if auto-negotiation needs to be off 2013-04-27T20:08:19 < Robint91> or auto mdi mdix 2013-04-27T20:11:45 < dongs> rofl 2013-04-27T20:11:51 < dongs> keil microlib printf() was SMALLER 2013-04-27T20:11:55 < dongs> than this shit printf() i stole from opensores 2013-04-27T20:11:59 < dongs> *and* supported floats 2013-04-27T20:12:10 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-27T20:12:30 < dongs> i think th e printf i stole was from Laurenceb_ 2013-04-27T20:12:50 < Robint91> dongs, because? 2013-04-27T20:12:56 < dongs> because waht 2013-04-27T20:13:24 < Robint91> dongs, why do you think that prinft is from Laurenceb_ 2013-04-27T20:13:34 < dongs> oh, i think because thats where it came from 2013-04-27T20:13:38 < dongs> he was raving how its small and shit 2013-04-27T20:13:40 < dongs> i dont remembert. 2013-04-27T20:13:46 < jpa-> aargh, laurenceb's printf.. that is horrible :) 2013-04-27T20:13:52 < dongs> yeah 2013-04-27T20:13:52 < jpa-> isn't it buggy as hell? 2013-04-27T20:13:59 < jpa-> tinyprintf <3 2013-04-27T20:14:11 < jpa-> though no floats there either 2013-04-27T20:14:13 < dongs> no idea, i dont care now, keil printf works great :) 2013-04-27T20:14:20 < jpa-> ok :) 2013-04-27T20:14:35 < dongs> i was having weird shit with doing stuff like %-10s 2013-04-27T20:14:37 < dongs> for alignment 2013-04-27T20:14:39 < dongs> with the gay printf 2013-04-27T20:14:47 < dongs> so i took a few minutes to figure out how to make keil one work 2013-04-27T20:14:56 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2013-04-27T20:15:03 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has joined ##stm32 2013-04-27T20:17:06 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 245 seconds] 2013-04-27T20:25:08 < Jenev> can anyone help me get this code working --> http://ideone.com/zwZgI3 2013-04-27T20:25:47 < Jenev> the problem i am having is that the CEIS and CECS bits are set in the SR 2013-04-27T20:25:47 < Jenev> as far as I can see I'm doing everything I'm suppose to do 2013-04-27T20:25:54 < Jenev> I'm using CoIDE 2013-04-27T20:28:39 < Jenev> oh and I'm also using the STM32F4-discovery board 2013-04-27T20:29:08 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-27T20:29:37 < Jenev> i'm just trying to build a simple RNG, so if anyone can suggest an alternative method from the code i'musing i'd also appriciate it 2013-04-27T20:30:06 < Jenev> appreciate 2013-04-27T20:46:13 < zippe> You may not have the 48MHz clock enabled 2013-04-27T20:48:47 -!- MrMobius [~Joey@91.192.66.231] has quit [Read error: Connection reset by peer] 2013-04-27T20:48:54 < zippe> Is the PLL running? 2013-04-27T21:02:35 -!- MrMobius [~Joey@194.176.111.136] has joined ##stm32 2013-04-27T21:19:39 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-27T21:26:53 -!- MrMobius [~Joey@194.176.111.136] has quit [Ping timeout: 246 seconds] 2013-04-27T21:29:38 -!- MrMobius [~Joey@194.176.111.136] has joined ##stm32 2013-04-27T21:34:14 -!- MrMobius [~Joey@194.176.111.136] has quit [Ping timeout: 246 seconds] 2013-04-27T21:38:27 < Jenev> zippe, sorry the late reply 2013-04-27T21:38:34 < Jenev> and I don't know 2013-04-27T21:38:46 < Jenev> how do you enable it? 2013-04-27T21:38:59 < Jenev> i've never had to enable it before with any other periphal 2013-04-27T21:39:10 < Jenev> *peripheral 2013-04-27T21:42:54 < zippe> Well, are you still running off the HSI, or did you configure the HSE? 2013-04-27T21:43:18 -!- TeknoJuce01 [~TeknoJuce@bas1-london15-2925200146.dsl.bell.ca] has quit [Ping timeout: 248 seconds] 2013-04-27T21:47:06 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925200146.dsl.bell.ca] has joined ##stm32 2013-04-27T21:47:06 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925200146.dsl.bell.ca] has quit [Changing host] 2013-04-27T21:47:06 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-04-27T21:48:27 -!- TeknoJuce01 [~TeknoJuce@bas1-london15-2925201077.dsl.bell.ca] has joined ##stm32 2013-04-27T21:51:49 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 248 seconds] 2013-04-27T21:55:50 < Jenev> zippe, HSE? HSI? 2013-04-27T21:56:36 < Jenev> what are those? 2013-04-27T21:57:47 < Jenev> So far I'm only accustom to programming the board in C so I'm not too familiar with the low level stuff 2013-04-27T21:58:15 < Jenev> I'm currently reading the full datasheet and there's very little to help my situation :/ 2013-04-27T22:01:00 < Thorn> mwelcome to the world of embedded development. 2013-04-27T22:01:12 < Thorn> C won't shield you from that 2013-04-27T22:02:06 < Jenev> Thorn, heh appears so 2013-04-27T22:02:17 <+Steffanx> it's not arduino, lol :P 2013-04-27T22:02:19 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-27T22:08:16 < BrainDamage> even with arduino you can get stuck to hw limitations 2013-04-27T22:08:21 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-04-27T22:08:30 < BrainDamage> try to do a simple asynced adc acquisition 2013-04-27T22:08:50 <+Steffanx> Is there ever are time you are not tooo serious BrainDamage ? 2013-04-27T22:08:57 <+Steffanx> *are/a 2013-04-27T22:09:00 <+Steffanx> *+/ 2013-04-27T22:09:32 < BrainDamage> yes, when time in military format is a prime number :p 2013-04-27T22:09:52 < BrainDamage> I let you pick the time zone 2013-04-27T22:11:05 <+Steffanx> What about .. now? 2013-04-27T22:12:12 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-27T22:12:13 < BrainDamage> oook, peet shared me this link, it's laurenceb's grade and very NSFW: http://www.hbrowse.com/13665/c00001 2013-04-27T22:13:44 <+Steffanx> :P 2013-04-27T22:15:20 <+Steffanx> Too bad you were too late, so you didn't stick to your own rules. 2013-04-27T22:16:03 < BrainDamage> I am hypocritical 2013-04-27T22:16:44 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-27T22:17:45 <+Steffanx> brain damage it is 2013-04-27T22:31:09 < qyx_> hm, how to filter out common mode noise coming into differential opamp? 2013-04-27T22:31:18 < qyx_> simple common mode choke? 2013-04-27T22:32:04 < BrainDamage> that should help 2013-04-27T22:32:20 < BrainDamage> is the CMRR of the diff amp dropping too much at high frq? 2013-04-27T22:34:25 < Thorn> use an instrumentation amplifier 2013-04-27T22:34:25 < qyx_> freq is about 45kHz, cmrr according to datasheet is 85dB in the whole V- to V+ range 2013-04-27T22:35:35 < qyx_> it is amp for vlf antenna, never though of using instrumentation amp for this 2013-04-27T22:36:15 < BrainDamage> +1 for ina 2013-04-27T22:36:17 -!- MrMobius [~Joey@194.176.111.138] has joined ##stm32 2013-04-27T22:36:32 < BrainDamage> probably overkill, but won't hurt for improving common mode rejection 2013-04-27T22:36:38 < Laurenceb_> fapfapfapfap 2013-04-27T22:37:30 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-27T22:37:31 < qyx_> ok, will try choke first, then lowering gain and then ina 2013-04-27T22:45:09 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-27T22:45:10 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-27T22:45:10 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-27T22:45:38 -!- MrMobius [~Joey@194.176.111.138] has quit [Ping timeout: 246 seconds] 2013-04-27T23:05:10 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-27T23:20:32 < Tectu> we should buy this and make external GPU for F4 out of it: http://www.ebay.com/itm/Brooktrout-TR1034P24HT11N-90019041-used-/181129380199 2013-04-27T23:20:48 < Tectu> oh wait, that's not even a GPU 2013-04-27T23:22:01 < Laurenceb_> wtf is it? 2013-04-27T23:22:32 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 255 seconds] 2013-04-27T23:22:54 < Laurenceb_> fax board... wtf 2013-04-27T23:33:59 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-27T23:38:47 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Read error: Connection reset by peer] 2013-04-27T23:40:39 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-27T23:43:27 < Robint91> stfu Tectu 2013-04-27T23:43:53 < Robint91> I think some graphic cards have a jtag interface 2013-04-27T23:52:06 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Quit: Ik ga weg] --- Day changed Sun Apr 28 2013 2013-04-28T00:05:01 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Ping timeout: 245 seconds] 2013-04-28T00:11:53 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-28T00:23:10 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Read error: Operation timed out] 2013-04-28T00:27:42 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 264 seconds] 2013-04-28T00:27:46 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:50f1:1218:967b:1189] has quit [Quit: Leaving] 2013-04-28T00:41:04 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2013-04-28T00:43:00 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has joined ##stm32 2013-04-28T00:51:55 -!- barthess [~barthess@77.67.198.124] has quit [Quit: Leaving.] 2013-04-28T00:53:17 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Read error: Operation timed out] 2013-04-28T00:53:29 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-28T00:53:29 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-28T00:53:29 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-28T00:53:29 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-28T00:54:51 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-04-28T01:02:10 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-28T01:09:12 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-28T01:25:51 < Rickta59> so i figure out why my lpc1114dip28 chip didn't work properly with BMP, it was missing the chip id and the size of ram was too large 2013-04-28T01:31:19 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-28T01:34:11 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-28T01:48:07 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Remote host closed the connection] 2013-04-28T01:53:39 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Read error: Connection reset by peer] 2013-04-28T02:02:06 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-28T02:04:48 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-28T02:30:54 <+Steffanx> At least its open sores so you were able to fix it Rickta59 :P 2013-04-28T02:31:28 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-28T02:34:16 -!- Laurenceb_ [~Laurence@host86-177-61-171.range86-177.btcentralplus.com] has quit [Ping timeout: 258 seconds] 2013-04-28T02:39:11 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has quit [Ping timeout: 252 seconds] 2013-04-28T02:47:43 -!- Jenev [~someone@208.84.201.151] has quit [Quit: Leaving] 2013-04-28T02:55:53 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-28T03:05:39 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: and like that, he's gone] 2013-04-28T03:06:02 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-28T03:31:36 < dongs> dont worry 2013-04-28T03:31:43 < dongs> keil / ulink / jlink support chips that arent even out 2013-04-28T03:37:04 < Rickta59> does the BMP developer hang out here? 2013-04-28T03:39:02 < dongs> sure 2013-04-28T03:39:06 < dongs> gsmcmullin: << 2013-04-28T03:39:34 < Rickta59> just wanted to thank him for his effort! so gsmcmullin thanks 2013-04-28T04:01:05 -!- baird [~cjb@ppp121-44-104-161.lns20.syd6.internode.on.net] has joined ##stm32 2013-04-28T04:01:35 < Rickta59> http://dpaste.com/1076138/ what changed 2013-04-28T04:07:40 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-28T04:09:43 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-28T04:59:35 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-28T04:59:35 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-28T04:59:35 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-28T05:08:41 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-04-28T05:35:05 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-28T05:50:29 < dongs> hello trolls 2013-04-28T05:55:13 < R2COM> whatsup 2013-04-28T05:56:58 < R2COM> messing with stupid xilinx warnings 2013-04-28T05:57:06 < R2COM> half of which most of the time make no sense 2013-04-28T05:59:52 < dongs> HEh 2013-04-28T06:05:56 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Ping timeout: 246 seconds] 2013-04-28T06:06:44 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-28T06:18:04 < BJFreeman> so now the task of connecting the OV05642 to the STM32F4 disovery software wise 2013-04-28T06:18:47 < BJFreeman> also connecting the allwinners A13 2013-04-28T06:19:38 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2013-04-28T06:21:59 < baird> BJFreeman: how similar would that be to a OV9655, softwarewise? 2013-04-28T06:25:25 < BJFreeman> baird just spent last few weeks getting head around the 5642, have not looked at 9655 2013-04-28T06:30:26 < BJFreeman> I am sure all the ov devices are similar, just a matter of registers and commands 2013-04-28T06:31:02 < BJFreeman> 5642 is 5meg 9655 is 1.3 2013-04-28T06:32:58 < baird> It's all the dcmi and dma stuff I'm hoping that someone else will do for me. :) 2013-04-28T06:34:22 < BJFreeman> ah yes that is what I am working on now :P give me a month or so 2013-04-28T06:35:08 < BJFreeman> will have lots of #ifdef for configurations 2013-04-28T06:35:30 < BJFreeman> my effort is part of a 3 2013-04-28T06:35:41 < BJFreeman> 3D print engine 2013-04-28T06:36:49 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-04-28T06:38:47 < BJFreeman> if you like my code you can fill in the 9655 2013-04-28T06:39:18 < BJFreeman> this is just a library to talk to and recieve images 2013-04-28T06:40:14 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-28T06:40:23 < baird> I have some encumbered code here for the camera, but its details about initialization are straight-foreward. 2013-04-28T06:40:24 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-28T06:45:25 < BJFreeman> http://code.google.com/p/open9x/source/browse/trunk/src/x9d/STM32F2xx_StdPeriph_Lib_V1.1.0/Project/STM32F2xx_StdPeriph_Examples/DCMI/Camera/readme.txt?r=1737 2013-04-28T06:47:52 < gsmcmullin> Rickta59: No problem. Do you have a patch for me for your lpc11xx? 2013-04-28T06:50:38 < dongs> 10:01 < Rickta59> http://dpaste.com/1076138/ what changed 2013-04-28T06:50:42 < dongs> i believe its this 2013-04-28T06:51:12 < gsmcmullin> Thank you dongs 2013-04-28T06:54:17 < gsmcmullin> Rickta59: The size of the ram in the memory map should not be a problem. Since the same memory map is used for all lpc11 devices this should be the size of the largest in the family. 2013-04-28T06:54:47 < gsmcmullin> I'll add the extra chip id and commit. 2013-04-28T06:55:27 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-28T07:09:31 -!- baird [~cjb@ppp121-44-104-161.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2013-04-28T07:14:18 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-04-28T07:14:34 < R2COM> hmmm 2013-04-28T07:14:56 < R2COM> passing SPI from stm32 through cpld I am afraid *might* represent some problem 2013-04-28T07:15:33 < R2COM> since there design has to by synchronous, means all switching signals needs to be wrt. to some clock 2013-04-28T07:15:55 < R2COM> but in some spi realizations one has to for example, pull cs a bit earlier, etc 2013-04-28T07:16:29 < R2COM> sooo... solution would be, dont use cpld, or just use it with much faster clock. 2013-04-28T07:16:56 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 252 seconds] 2013-04-28T07:26:06 < R2COM> actually...not much faster, just some faster clock (or maybe even delay it with ff...and thats it) 2013-04-28T07:27:42 < R2COM> hmmand cs is easily controlled from stm32... so it works. 2013-04-28T07:51:50 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 248 seconds] 2013-04-28T08:04:44 < BJFreeman> o/ have a serial port as well as a parallel port on docking station 2013-04-28T08:05:05 < BJFreeman> oops 2013-04-28T08:16:52 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2013-04-28T08:18:45 < R2COM> errrr.... found a much simpler solution. 2013-04-28T09:01:01 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-28T09:02:24 -!- claude_ [~quassel@HSI-KBW-109-192-173-054.hsi6.kabel-badenwuerttemberg.de] has joined ##stm32 2013-04-28T09:02:29 -!- vpopov [~happylife@37-147-202-203.broadband.corbina.ru] has joined ##stm32 2013-04-28T09:02:36 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Ping timeout: 264 seconds] 2013-04-28T09:32:11 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-28T09:36:20 -!- ossifrage [~ossifrage@c-71-224-59-2.hsd1.pa.comcast.net] has joined ##stm32 2013-04-28T09:37:33 -!- dekar__ [~dekar@212.255.241.190] has joined ##stm32 2013-04-28T09:37:35 -!- mode/##stm32 [+v dekar__] by ChanServ 2013-04-28T09:41:17 -!- dekar_ [~dekar@212.255.249.223] has quit [Ping timeout: 255 seconds] 2013-04-28T09:45:50 -!- vpopov [~happylife@37-147-202-203.broadband.corbina.ru] has quit [Ping timeout: 256 seconds] 2013-04-28T09:47:16 < jpa-> R2COM: can't you do it purely combinatorially with the CPLD? 2013-04-28T09:49:42 < R2COM> i want stm32 to be in control 2013-04-28T09:55:17 < R2COM> and no... good design is synchronous design (as you maybe know) 2013-04-28T10:00:06 -!- dfletcher__ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-04-28T10:00:21 -!- R2COM1 [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-28T10:01:45 < jpa-> R2COM: in some cases, yes; but a simple multiplexer can be better when designed as combinatorial 2013-04-28T10:02:14 < R2COM1> what are you talking about..... 2013-04-28T10:02:27 < jpa-> i thought you are still talking about your 16:1 SPI stuff 2013-04-28T10:02:28 < R2COM1> I say that logic even though combinatorial has to by synchronous 2013-04-28T10:02:31 < R2COM1> yes 2013-04-28T10:02:57 < R2COM1> in that thing 2 options: 1) use SCK as input cloick 2) use independend much faster clock 2013-04-28T10:03:03 < R2COM1> I will go with #1 probably 2013-04-28T10:03:07 < jpa-> use MCO from the STM32 if you really want 2013-04-28T10:03:12 < jpa-> then you can make it synchronous 2013-04-28T10:03:17 < R2COM1> MCO? 2013-04-28T10:03:21 < R2COM1> whats mco? 2013-04-28T10:03:32 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 272 seconds] 2013-04-28T10:03:36 < jpa-> it's a pin on the STM32, can be configured to give out the internal clock 2013-04-28T10:03:45 -!- barthess [~barthess@77.67.164.175] has joined ##stm32 2013-04-28T10:03:47 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 255 seconds] 2013-04-28T10:04:11 < jpa-> but i fail to see the benefit from making it synchrounous (though i don't know everything about your design, of course) 2013-04-28T10:04:14 < R2COM1> yeah, in that case will just have to check on how precise it can be with the SCK 2013-04-28T10:04:37 < R2COM1> ...no.. I say that cpld designs in genera have to be synchronous 2013-04-28T10:04:40 < R2COM1> thats it 2013-04-28T10:04:47 < jpa-> to make it synchronous with SCK, you would have to trigger on both rising and falling edge i think - and that is annoying 2013-04-28T10:05:04 < R2COM1> why trigger on both edges? 2013-04-28T10:05:26 < R2COM1> you trigger on rising 2013-04-28T10:05:44 < R2COM1> and specify in design software for fpga (xilinx ise in my case) the offset constraint 2013-04-28T10:05:46 < R2COM1> thats it 2013-04-28T10:06:08 < R2COM1> (because data occurs earlier than rising of SCK) 2013-04-28T10:06:17 < jpa-> to raise back CS after transfer is done etc.. because you get no SCK pulses between transfers and you cannot raise CS before the transfer is done 2013-04-28T10:06:46 < R2COM1> its master who raises it, and master is stm32 2013-04-28T10:07:16 < jpa-> but doesn't CS go through your CPLD, which won't be reading it if there are no clock pulses? 2013-04-28T10:07:27 < R2COM1> sure it does read it! 2013-04-28T10:07:34 < R2COM1> and redirects to appropriate slave 2013-04-28T10:07:45 < jpa-> hmm.. i have never used CPLD's (only FPGA's), but i don't see why you would *have* to make a CPLD design synchronous.. the output registers seem to be configurable on all parts i can find 2013-04-28T10:07:46 < R2COM1> once CS is raised, cpld notices it (because of sck..) 2013-04-28T10:08:11 < jpa-> R2COM1: the sck that doesn't toggle when the transfer has already ended? 2013-04-28T10:08:20 < R2COM1> ....because... thats the way it works man, it has to be synchronous, otherwise its shit design 2013-04-28T10:08:35 < jpa-> why is it shit design then? 2013-04-28T10:08:52 < jpa-> i.e. in what way is synchronous better in this specific case 2013-04-28T10:09:06 < jpa-> when you are really trying to just replace a 74hc138 2013-04-28T10:09:22 < R2COM1> not sure why you asking this, if you say you used fpga, then you supposed to know that design (at least most popular fpga families, fpga, altera) have to be syncrhonous 2013-04-28T10:09:48 < jpa-> they don't have to be synchronous - in most cases you want a synchronous design because it has benefits 2013-04-28T10:09:58 < R2COM1> well as I said, now the only thin I'm thinking through is how to correctly clock it 2013-04-28T10:10:03 < R2COM1> and i had those 2 options 2013-04-28T10:10:21 < Thorn> if your design doesn't need any DFFs (is combinational) it still has to be synchronous? 2013-04-28T10:10:29 < R2COM1> #1 is yes, sck not kind of constant clock... #2 is constant stable clock but has to be faster much faster than sck 2013-04-28T10:10:43 < jpa-> of which 1. doesn't work AFAIK and 2. would introduce unnecessary jitter unless it is phase-locked to SCK 2013-04-28T10:11:24 < R2COM1> no #2 will be like, main external fast clean clock is your main clock, and all other stuff is just treated as fast signals 2013-04-28T10:11:58 < R2COM1> Thorn: combinatorial is different, yes combinational logic, but combinational logic which operates on signals which come from specific well defined clock domain... see the difference? 2013-04-28T10:11:58 < jpa-> R2COM1: what about metastability? you need 2-3 registers on input to get rid of that 2013-04-28T10:12:22 < R2COM1> jpa-: sure. I always use several registers for that 2013-04-28T10:12:54 < jpa-> so you'll pass SCK also through the chip? because otherwise they would be delayed with respect to each other 2013-04-28T10:13:01 < R2COM1> I just have to look more inito that SCK input related thing... see and make some decision 2013-04-28T10:13:42 < R2COM1> jpa-: the whole point of the thing is, I am trying to keep things simple, and cpld was attractive to me because its only 1 chip with 72 IO and costs 3$ 2013-04-28T10:13:44 < jpa-> R2COM1: i still don't see the trouble with just using a purely combinatorial (without registers on the CS path) design 2013-04-28T10:13:57 < jpa-> R2COM1: yeah i can see the point in that 2013-04-28T10:14:11 < jpa-> but you can make 74hc138 equivalent on CPLD, so just do it 2013-04-28T10:14:12 < R2COM1> well 2013-04-28T10:14:32 < Thorn> afaik you are supposed to be synchronous because static timing analysis can't deal with async circuits 2013-04-28T10:14:37 < R2COM1> sure... its just for that, I'll need to have another well defined fast clock! thats it! 2013-04-28T10:14:57 < jpa-> R2COM1: uh? 2013-04-28T10:15:33 < jpa-> Thorn: async is a still different beast than purely combinatorial.. and static timing analysis can calculate the delays input-to-output for purely combinatorial designs 2013-04-28T10:16:17 < R2COM1> jpa-: I do not want this: some signal comes in, and gets out.... No... if I plan to input N signals, what i do is i have one CLK (can be any external good fast clock) and all N signals are registered, then yes... as you said, I can do anything combinatorial with them, and then I output them with respect to that CLK again, they still are COMBINATIONAL, its just right now they are coming from new clock domain which is CLK... thats what 2013-04-28T10:16:28 < Thorn> that was my point. combinational == no DFFs, so it can't be sync or async by itself 2013-04-28T10:16:31 < jpa-> (asynchronous means "no clock, but sequential"; synchronous is "clock, sequential"; combinatorial is "no clock, not sequential") 2013-04-28T10:17:09 < jpa-> R2COM1: what's wrong with "signal comes in, signal goes out"? :) 2013-04-28T10:17:41 < R2COM1> maybe in most very simple and slow designs NOTHING! but its shit design 2013-04-28T10:17:51 < jpa-> Thorn: yeah, i agree 2013-04-28T10:18:10 < jpa-> R2COM1: what's wrong with it in this specific case? 2013-04-28T10:18:24 < jpa-> R2COM1: it is not slower than with DFF's, in fact it is faster 2013-04-28T10:18:57 < jpa-> R2COM1: are you saying that 74hc138 is also shit design because it is not sequential? 2013-04-28T10:19:26 < R2COM1> I have done many desisns, and made many different tests, sometimes I made test like: for example, some signal unregistered (as you say just comes in), is used in the sensitivity list of process... I compile design, upload,,..and the whole thing (board) works nicely, but soemtimes I noticed it gets just STALL... freeze...break call it whatever... However, when the sensitivity signal was from same click domain nothing like that ever ha 2013-04-28T10:19:45 < R2COM1> beyond that I dont know how to explain, look up online there are tons of information on it 2013-04-28T10:20:03 < Thorn> how did people design computers with discrete logic without synthesizers, boolean optimization, timing analysis etc? 2013-04-28T10:20:09 < R2COM1> one thing is - it works, another thing is - its designed properly 2013-04-28T10:20:14 < jpa-> R2COM1: maybe you used it in a situation for which it was not suitable 2013-04-28T10:20:47 < jpa-> R2COM1: i.e. did your design that froze have internal state, registers or something? 2013-04-28T10:20:54 < R2COM1> jpa-: I already described situation in which I used it, it was a signal inside process sensitivity list, it was a low freq. signal 2013-04-28T10:21:07 < R2COM1> design froze upon arrival of that signal 2013-04-28T10:21:10 < R2COM1> (when it did...) 2013-04-28T10:21:18 < jpa-> R2COM1: what else did the process do? what other signals was it sensitive to? 2013-04-28T10:21:22 < R2COM1> (and once that signal was *registered* those glitches were gone) 2013-04-28T10:21:41 < R2COM1> every other signal in process was coming from clock domain which clocked the process itself. 2013-04-28T10:21:50 < jpa-> it was a clocked process? 2013-04-28T10:21:56 < R2COM1> yes 2013-04-28T10:22:00 < jpa-> now i see where you failed - of course that has problems 2013-04-28T10:22:18 < jpa-> it's basically a half-asynchronous design then 2013-04-28T10:22:43 < jpa-> but in this case, you would not even need a process - just do the stuff in the concurrent section (assuming VHDL) 2013-04-28T10:23:24 < talsit> is there a really cheap/fast way to swizzle bits of a byte? 2013-04-28T10:23:30 < R2COM1> do you understand the basic fact that asynchronous designs at least on xilinx cpld's are not encouraged? 2013-04-28T10:23:36 < dongs> is this some VHDL talk 2013-04-28T10:23:38 < jpa-> i don't know what the compiler would infer for such a process (clk, rst_n, something_totally_else).. probably some horrible combination of latches and registers 2013-04-28T10:23:40 < dongs> just switch to verilog prpoblem solved 2013-04-28T10:23:46 < dongs> noone uses VHDL, that shit is unreadable 2013-04-28T10:23:51 < jpa-> R2COM1: asynchronous is not same as purely combinatorial 2013-04-28T10:24:02 < jpa-> R2COM1: i'm saying you should make it purely combinatorial 2013-04-28T10:24:19 < dongs> i have some shit running on this cpld thats in like 2 different clock domains 2013-04-28T10:24:19 < jpa-> talsit: lookup table 2013-04-28T10:24:47 < talsit> jpa-: really? that the fastest? 2013-04-28T10:24:49 < talsit> i guess 2013-04-28T10:24:57 < talsit> lets make one 2013-04-28T10:24:58 < jpa-> talsit: well define "swizzle"? 2013-04-28T10:25:12 < dongs> fo shizzle my swizzle 2013-04-28T10:25:16 < talsit> bit #7 -> #0 2013-04-28T10:25:19 < R2COM1> just recently for example I did one cpld esign, which multiplexes 16 pwm channels, and it has main oscillator clock, so all channels coming IN are registered 2013-04-28T10:25:20 < jpa-> talsit: ah, reverse bits 2013-04-28T10:25:25 < jpa-> talsit: thereis built-in instruction 2013-04-28T10:25:28 < talsit> #6<->#1 2013-04-28T10:25:31 < dongs> isnt there an actual arm isntruction for that 2013-04-28T10:25:31 < R2COM1> and it works of course fine and robust 2013-04-28T10:25:35 < talsit> there is? 2013-04-28T10:25:36 < talsit> awesome 2013-04-28T10:25:37 < dongs> rrev or something 2013-04-28T10:25:37 < dongs> yeah 2013-04-28T10:25:46 < talsit> accesible from C? 2013-04-28T10:25:54 < jpa-> inline assembler or intrinsics 2013-04-28T10:25:58 < dongs> http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0489c/Cihjgdid.html 2013-04-28T10:26:00 < jpa-> atleast gcc has intrinsic function 2013-04-28T10:26:03 < dongs> probably has intrinsic 2013-04-28T10:26:15 < dongs> hm 2013-04-28T10:26:18 < talsit> thanks guys! 2013-04-28T10:26:18 < dongs> thats byte order 2013-04-28T10:26:19 < R2COM1> I just will have to see a best way to solve it (or nicest way..) 2013-04-28T10:26:24 < dongs> ah, bit is there too 2013-04-28T10:26:26 < dongs> for 32b 2013-04-28T10:26:29 < R2COM1> I kinda dont want to have combinatorial in-out... 2013-04-28T10:26:53 < jpa-> hmm actually no instrinsic in gcc.. maybe.. i have used inline asm 2013-04-28T10:27:44 < jpa-> talsit: https://github.com/PetteriAimonen/QuadPawn/blob/master/Runtime/fix16_fft.c#L84 2013-04-28T10:28:16 < talsit> jpa-: 404 2013-04-28T10:28:19 < dongs> wat 2013-04-28T10:28:22 < dongs> your internet fails it 2013-04-28T10:28:23 < dongs> looks fine here 2013-04-28T10:28:33 < talsit> F5: works! 2013-04-28T10:28:46 < jpa-> dongs said that gcc inline assembler looks fine! this day goes in history! 2013-04-28T10:28:47 < dongs> jpa-: gcc should take the #else part and turn it into rbit automaticaly 2013-04-28T10:28:59 < jpa-> dongs: maybe.. i didn't want to risk it on open sores 2013-04-28T10:29:52 < dongs> keil has __rbit() 2013-04-28T10:29:53 < dongs> imagine that 2013-04-28T10:30:20 < dongs> http://www.keil.com/support/man/docs/armccref/armccref_CJAJJDDH.htm 2013-04-28T10:33:07 < talsit> rbit is not the same as rev, from what i gather 2013-04-28T10:33:14 < dongs> you are correct 2013-04-28T10:33:16 < dongs> rbit is what you want. 2013-04-28T10:33:17 < jpa-> rbit is what you want 2013-04-28T10:33:48 < talsit> iar doesn't look like it has that intrinsic, it does have rev, rev16 & revsh 2013-04-28T10:34:39 < jpa-> CMSIS has __RBIT 2013-04-28T10:34:43 < dongs> ^ 2013-04-28T10:35:00 < talsit> oh... iar DOES have it 2013-04-28T10:35:05 < talsit> i can't speeell 2013-04-28T10:35:06 < talsit> :( 2013-04-28T10:36:39 < talsit> w00t, you guys are awesome, thanks!! 2013-04-28T10:36:51 < dongs> now open your sores 2013-04-28T10:37:09 < talsit> wtfayta? 2013-04-28T10:41:03 < R2COM1> jpa-: just in case randomly found this http://electronics.stackexchange.com/questions/32938/how-fast-should-i-clock-my-cpld-as-compared-to-my-spi-bus-speed?rq=1 2013-04-28T10:41:35 < R2COM1> theres something like best answer with 8 votes or so, poster claims he is using SCK as input (i.e. not #2 as I said too) and that it works.. 2013-04-28T10:41:46 < R2COM1> ....but its just some random post from interenet. so.. 2013-04-28T10:42:39 < jpa-> if i were to make an SPI slave, yeah, i would probably run the shift register on SCK and then move the completed bytes to the another clock domain after that 2013-04-28T10:43:30 < R2COM1> well thats what I am doing, my spi on cpld is slave 2013-04-28T10:43:32 < R2COM1> master is stm32 2013-04-28T10:43:53 < jpa-> you don't need full spi slave, you are just multiplexing the CS, right? 2013-04-28T10:43:56 < R2COM1> cpld just redirects those signals to other 16 slaves (in fact its not even spi slave its like a transactor) 2013-04-28T10:44:01 < jpa-> indeed 2013-04-28T10:44:04 < R2COM1> not only cs 2013-04-28T10:44:05 < R2COM1> all 2013-04-28T10:44:06 < R2COM1> all 4 2013-04-28T10:44:10 < R2COM1> cs,mosi,miso,sck 2013-04-28T10:44:18 < R2COM1> (i do not want to have common signals) 2013-04-28T10:44:19 < jpa-> ok, well even then 2013-04-28T10:45:01 < R2COM1> the only thing is...well that SCK clock stopping... 2013-04-28T10:45:22 < jpa-> (handling the CS is actually a bit of an annoyance when making SPI slaves.. most sample it asynchronously, which is somewhat nasty; while for example SD cards sample it synchronously, so you need to send a dummy byte to get it to release the bus) 2013-04-28T10:45:43 < jpa-> R2COM1: yeah well i can't help you there because you won't accept my solution :) 2013-04-28T10:46:24 < R2COM1> i have 2 solutions, i just was thinking it through 2013-04-28T10:46:32 < jpa-> ok 2013-04-28T10:47:09 < R2COM1> but chip with 72 io's to handle these stuff...only tqfp100 and only 3$ is a really nice thing 2013-04-28T10:47:28 < R2COM1> most other hardware-only solutions costed much more and what worse is took much more space on pcb 2013-04-28T10:47:41 < jpa-> i agree that cpld is the way to go, especially as you want to multiplex all the pins 2013-04-28T10:48:05 < R2COM1> not that I care actually for extra some $$ since its some board for some test equipment.. its just, I like to design nicely and in a compact way use what I just have to to get it done 2013-04-28T10:48:10 < jpa-> also eases routing 2013-04-28T10:48:15 < R2COM1> yes 2013-04-28T10:49:16 < R2COM1> http://i.imgur.com/H0XFyzW.jpg 2013-04-28T10:49:24 < R2COM1> its one of my latest cpld boards 2013-04-28T10:56:01 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-28T10:57:05 < dongs> http://i.imgur.com/NiUL6PM.jpg heres mine 2013-04-28T10:57:23 < Robint91> dongs, nice, what is that? 2013-04-28T10:57:30 < dongs> < R2COM1> its one of my latest cpld boards 2013-04-28T10:57:30 < Robint91> zlog 2013-04-28T10:57:31 < zlog> Robint91: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2013-04-28.html 2013-04-28T10:57:38 < dongs> ^ similar to this shit 2013-04-28T10:57:58 < Robint91> R2COM1, SMA connectors? 2013-04-28T10:58:19 < Robint91> dongs, so many things on that board? 2013-04-28T10:59:09 < dongs> i like many things 2013-04-28T11:02:28 < talsit> dual sma, i like sma 2013-04-28T11:03:23 < talsit> btw, thanks to you guys, this logo is no longer upside down:https://lh6.googleusercontent.com/-G2BpmWjs0UE/UXyi9iknwPI/AAAAAAAAE8s/Mffc4q3dnlA/w497-h373/20130428_131730.jpg 2013-04-28T11:13:24 < dongs> um 2013-04-28T11:13:36 < dongs> im sure that LCD has flip mode bit. 2013-04-28T11:13:41 < dongs> lcd controller that is. 2013-04-28T11:13:44 < dongs> like 99.5% sure. 2013-04-28T11:13:48 < dongs> havent seen one that didnt. 2013-04-28T11:14:16 < talsit> i didn't even think of that 2013-04-28T11:14:19 < talsit> lemme look 2013-04-28T11:15:45 < talsit> unless it's the "(9) Display normal/reverse" 2013-04-28T11:16:30 < talsit> or "(15) Common output mode select: normal direction, reverse direction" 2013-04-28T11:16:34 < dongs> ^ that 2013-04-28T11:16:55 < talsit> i'll test that out! 2013-04-28T11:26:11 < R2COM1> yes 2013-04-28T11:26:13 < R2COM1> sma connectors 2013-04-28T11:26:22 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-28T11:26:29 < R2COM1> separate, they are not dual 2013-04-28T11:26:39 < R2COM1> cpld's dont do differentials (at least those..) 2013-04-28T11:29:01 < Robint91> R2COM1, yeah they don't 2013-04-28T11:30:43 < R2COM1> ok time to take a rest 2013-04-28T11:31:29 -!- R2COM1 [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-28T11:32:35 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-04-28T11:33:13 < timemob> Sup blogs 2013-04-28T11:33:19 < timemob> Did it reverse 2013-04-28T11:35:36 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-28T11:44:17 -!- a_morale [~smuxi@2-227-115-13.ip186.fastwebnet.it] has joined ##stm32 2013-04-28T11:45:49 < ds2> ~ 2013-04-28T11:48:01 -!- t1memob [~dongs@149.110.131.180.west.global.crust-r.net] has joined ##stm32 2013-04-28T11:49:18 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Ping timeout: 245 seconds] 2013-04-28T11:53:48 -!- sterna1 [~Adium@d83-183-118-166.cust.tele2.se] has joined ##stm32 2013-04-28T11:59:52 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-04-28T12:00:21 -!- tim3mob [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-28T12:02:08 -!- dfletcher__ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Read error: Connection reset by peer] 2013-04-28T12:02:30 -!- Titan___ [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-28T12:02:32 -!- t1memob [~dongs@149.110.131.180.west.global.crust-r.net] has quit [Ping timeout: 268 seconds] 2013-04-28T12:02:51 -!- dfletcher__ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-04-28T12:04:02 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [Read error: Connection reset by peer] 2013-04-28T12:04:08 -!- Titan___ is now known as TitanMKD 2013-04-28T12:04:18 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Ping timeout: 245 seconds] 2013-04-28T12:10:10 -!- tim3mob [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Quit: Bye] 2013-04-28T13:36:22 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-28T13:38:28 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 245 seconds] 2013-04-28T13:47:43 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has joined ##stm32 2013-04-28T14:00:58 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:8948:ad56:fa02:9215] has joined ##stm32 2013-04-28T14:05:11 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-28T14:05:11 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-28T14:05:11 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-28T14:05:13 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-28T14:11:12 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Read error: Connection reset by peer] 2013-04-28T14:11:34 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has quit [Remote host closed the connection] 2013-04-28T14:12:13 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has joined ##stm32 2013-04-28T14:23:51 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-28T14:23:51 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-28T14:23:51 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-28T14:23:54 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-28T14:32:14 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Ping timeout: 252 seconds] 2013-04-28T14:45:15 -!- Nutter [Nutter@199-195-151-246.dyn.novuscom.net] has quit [Ping timeout: 258 seconds] 2013-04-28T14:47:34 -!- barthess [~barthess@77.67.164.175] has quit [Quit: Leaving.] 2013-04-28T14:55:46 -!- barthess [~barthess@178.154.2.199] has joined ##stm32 2013-04-28T15:54:30 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:8948:ad56:fa02:9215] has quit [Quit: Leaving] 2013-04-28T16:03:09 -!- claude_ [~quassel@HSI-KBW-109-192-173-054.hsi6.kabel-badenwuerttemberg.de] has quit [Remote host closed the connection] 2013-04-28T16:08:53 -!- claude_ [~quassel@HSI-KBW-109-192-173-054.hsi6.kabel-badenwuerttemberg.de] has joined ##stm32 2013-04-28T16:13:48 -!- talsit is now known as tlst_away 2013-04-28T16:17:18 -!- _BJFreeman [~bjfree@222.sub-75-196-117.myvzw.com] has joined ##stm32 2013-04-28T16:17:23 -!- BJFreeman [~bjfree@168.sub-75-233-37.myvzw.com] has quit [Ping timeout: 246 seconds] 2013-04-28T16:55:41 -!- capacitor [7bf38bbb@gateway/web/freenode/ip.123.243.139.187] has joined ##stm32 2013-04-28T16:55:57 * capacitor waves to Tectu 2013-04-28T17:08:28 < inca> interesting F1xx devboard with configurable flash and ram http://www.hotmcu.com/hystm32f1xxcore144-coredev-board-p-2.html 2013-04-28T17:10:26 < capacitor> thanks for that 2013-04-28T17:13:43 < inca> Was thinking about BlackMagic Probe on that with an OLS interface to experiment with ETM 2013-04-28T17:26:22 -!- _BJFreeman is now known as BJFreeman 2013-04-28T17:28:13 <+Steffanx> inca that one is on ebay as well 2013-04-28T17:28:41 <+Steffanx> or perhaps only the f2 and f4 version of it 2013-04-28T17:29:10 < inca> word 2013-04-28T17:29:19 <+Steffanx> heh, yeah. they sell it for 5$ less on ebay 2013-04-28T17:29:29 < inca> I just bought the A10 MarsBoard =) 2013-04-28T17:29:41 < inca> I didn't see the F1 on ebay… link? 2013-04-28T17:29:54 <+Steffanx> http://www.ebay.com/itm/STM32F103ZE-module-HY-STM32F1xxCore144-Core-Dev-Board-/180923405189?pt=LH_DefaultDomain_0&hash=item2a1fe01385 2013-04-28T17:30:03 < inca> there it is 2013-04-28T17:31:37 < inca> Steffanx: I think the price difference is the configurable RAM and FLASH 2013-04-28T17:31:49 <+Steffanx> could be 2013-04-28T17:32:41 < dongs> thanks! hotmcu is another one of those that pays me commission for selling in her :p 2013-04-28T17:32:44 < dongs> here, rather 2013-04-28T17:33:10 <+Steffanx> hotmcu, that's not hotmcu is it? 2013-04-28T17:33:12 < inca> dongs: howso? 2013-04-28T17:33:22 < dongs> Steffanx: hotmcu you mean not wvshare? 2013-04-28T17:33:30 < dongs> no but I have hotmcu guy on my chat list also 2013-04-28T17:33:35 < dongs> i knew about marsboard shit like 2 months ago 2013-04-28T17:33:44 < inca> dongs: A20? 2013-04-28T17:33:45 <+Steffanx> Ah, that marsboard 2013-04-28T17:33:54 <+Steffanx> oh no nevermind 2013-04-28T17:34:04 <+Steffanx> hotmcu = hoayou or so 2013-04-28T17:34:09 < dongs> yes 2013-04-28T17:34:10 <+Steffanx> haoyu 2013-04-28T17:34:51 <+Steffanx> No i know how you got rich dongs 2013-04-28T17:34:54 <+Steffanx> *now 2013-04-28T17:36:37 -!- tlst_away is now known as talsit 2013-04-28T17:37:59 <+Steffanx> our other jappy woke up :) 2013-04-28T17:38:57 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-28T17:39:32 < dongs> im wonderinfg if he figured out lcd flipping stuff. 2013-04-28T17:40:10 < talsit> dongs is that about me? 2013-04-28T17:40:23 < dongs> well noone else in here was flipping lcds 2013-04-28T17:40:25 < dongs> so i geuss so 2013-04-28T17:40:36 < talsit> there may have been... 2013-04-28T17:40:49 < talsit> but... i was busy butchering my board, will try it now actually 2013-04-28T17:40:50 <+Steffanx> flipping lcd stuff? 2013-04-28T17:42:22 < talsit> Steffanx: my LCD was upside down, and instead of blitting it backwards, the kind people of ##stm32 suggested that i look up the datasheet of my LCD and use the "flip screen" command instead 2013-04-28T17:42:32 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has joined ##stm32 2013-04-28T17:42:36 <+Steffanx> Ah, ok 2013-04-28T17:43:01 <+Steffanx> kind people of ##stm32, which ##stm32 is that? 2013-04-28T17:43:11 < talsit> they're lurkers 2013-04-28T17:43:14 <+Steffanx> Nevermind.. ignore. Crap talk :P 2013-04-28T17:48:35 < jpa-> Steffanx: dongs is the kind person of ##stm32 2013-04-28T17:49:07 -!- zlog [~zlog@ip68-102-206-145.ks.ok.cox.net] has quit [Remote host closed the connection] 2013-04-28T17:49:25 <+Steffanx> ok jpa- 2013-04-28T17:51:22 -!- zlog [~zlog@ip68-102-206-145.ks.ok.cox.net] has joined ##stm32 2013-04-28T17:55:03 -!- capacitor [7bf38bbb@gateway/web/freenode/ip.123.243.139.187] has left ##stm32 [] 2013-04-28T17:59:51 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-28T18:09:51 < talsit> dongs: i got it working, although I have to add 4 bytes to the column address on every page for it to actually work 2013-04-28T18:11:49 < qyx_> thats normal, number of columns on the lcd and on the driver is often different 2013-04-28T18:12:00 < talsit> because the internal buffer is 0x83 bytes, but there are only 0x7f pixels, and the command to reverse will just make it count from 0x83->0x00 instead of up 2013-04-28T18:12:06 < talsit> what qyx_ said 2013-04-28T18:12:38 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Ping timeout: 248 seconds] 2013-04-28T18:16:15 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-28T18:17:30 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has quit [Ping timeout: 252 seconds] 2013-04-28T18:18:22 < dongs> lol dongs 2013-04-28T18:19:40 <+Steffanx> Why i get the idea that talsit = dongs = dongie = timecop = donigs? 2013-04-28T18:20:09 < talsit> oh, please don't lump me with those! 2013-04-28T18:21:30 < jpa-> why do i get the idea that Steffanx = Tectu = izua? 2013-04-28T18:21:56 <+Steffanx> Sorry, i never called with dekar__. So skip izua 2013-04-28T18:22:09 <+Steffanx> Tectu has a gf, i have no gf, so skip Tectu as well 2013-04-28T18:22:29 * Tectu loves analog and RF stuff, Steffanx doesn't 2013-04-28T18:22:39 * Tectu uses a lag-free KiCAD, Steffanx doesn't 2013-04-28T18:22:40 < jpa-> but you all love me 2013-04-28T18:22:42 <+Steffanx> I do like it, but it's black magic 2013-04-28T18:22:44 * Tectu uses a sane OS, Steffanx doesn't 2013-04-28T18:22:56 < Tectu> jpa-, yes, but I love you in a different way than the others 2013-04-28T18:23:28 < jpa-> Tectu: oh, but i'm trying to get Steffanx to love me just as tenderly as you do 2013-04-28T18:23:40 < Tectu> you'll not succeed 2013-04-28T18:23:43 < jpa-> :/ 2013-04-28T18:24:04 < Tectu> my love is infinite 2013-04-28T18:24:12 < talsit> but not to me!!! 2013-04-28T18:24:27 < Tectu> my love covers all dimensions but yet it has no mass or outer measurements 2013-04-28T18:25:44 < Tectu> shall I proceed? 2013-04-28T18:25:54 <+Steffanx> Your gf must be really nerd-ish if she understands that Tectu :P 2013-04-28T18:25:59 < talsit> you don't need our permission for that 2013-04-28T18:26:29 <+Steffanx> Too bad it's getting close to ##stm32-crap :P 2013-04-28T18:26:31 < Tectu> Steffanx, she's not yet, but it's work in progress 2013-04-28T18:26:39 < Tectu> too bad nobody cares :P 2013-04-28T18:26:44 < jpa-> Tectu: already bought an arduino for her? 2013-04-28T18:26:56 < Tectu> afk 2013-04-28T18:27:01 < talsit> ok, here's an on-topic question 2013-04-28T18:27:15 < Tectu> jpa-, no, she has no android device 2013-04-28T18:27:23 < Tectu> jpa-, she hates java, as do I 2013-04-28T18:27:33 < talsit> do i need some settle time before I attempt to connect to SDIO? 2013-04-28T18:27:48 < talsit> (after power-on, reset, etc) 2013-04-28T18:28:21 < Tectu> as in delay after sdcStart() sdcConnect() ? 2013-04-28T18:28:25 < Tectu> I never made any - worked fine so far 2013-04-28T18:28:38 < talsit> Tectu: yep 2013-04-28T18:28:46 < talsit> i find it very temperamental 2013-04-28T18:29:00 < talsit> i sometimes have to reboot twice, sometimes it works first go 2013-04-28T18:29:44 * Tectu looks at your wiring... 2013-04-28T18:30:01 < talsit> touché 2013-04-28T18:30:37 < Tectu> :) 2013-04-28T18:31:16 < talsit> ok, lets send this board off!! 2013-04-28T18:33:14 * inca installs Xilinx 2013-04-28T18:36:12 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Quit: leaving] 2013-04-28T18:42:00 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-28T18:47:18 < jpa-> karlp: yay for iceland http://yro.slashdot.org/story/13/04/28/121246/icelandic-pirate-party-wins-3-seats-in-parliament 2013-04-28T18:53:47 < inca> pir8ts? where? Send in the marines! 2013-04-28T19:03:52 -!- a_morale [~smuxi@2-227-115-13.ip186.fastwebnet.it] has quit [Read error: Connection reset by peer] 2013-04-28T19:03:58 -!- Steffann [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-28T19:03:58 -!- Steffann [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-28T19:03:58 -!- Steffann [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-28T19:04:01 -!- mode/##stm32 [+v Steffann] by ChanServ 2013-04-28T19:04:04 < Thorn> copymarines 2013-04-28T19:07:20 -!- Laurenceb_ [~Laurence@host86-177-61-171.range86-177.btcentralplus.com] has joined ##stm32 2013-04-28T19:07:34 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Ping timeout: 248 seconds] 2013-04-28T19:07:44 < inca> Thorn: must allow old people to profit from work they did not do… enforce. enforce! 2013-04-28T19:08:16 < inca> Thorn: nevermind the millinias of cultural development to which they own their ability to think or speak 2013-04-28T19:08:36 < inca> (c) 2013-04-28T19:09:53 < gxti> hmm, no nazis? i thought proportional systems always resulted in nazis getting seats 2013-04-28T19:11:01 < inca> gxti: we are all nazi's when we mindlessly enforce the policies of others… right? 2013-04-28T19:12:06 < gxti> no i mean actual nazis, in name or otherwise 2013-04-28T19:12:39 < inca> well… depends on what you mean… nationalist totalitarianism stuff? 2013-04-28T19:18:50 < karlp> jpa-: thanks :) was very close at the end. 2013-04-28T19:19:00 < karlp> only just scraped over the 5% barrier 2013-04-28T19:19:10 < karlp> the rest of the election results however, not su thrilling 2013-04-28T19:20:37 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Quit: my exit] 2013-04-28T19:23:04 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-28T19:23:41 -!- mervaka_ [~mervaka@mervaka.co.uk] has quit [Quit: leaving] 2013-04-28T19:24:44 < karlp> marsboard does look nice. 2013-04-28T19:24:48 -!- mervaka [~mervaka@mervaka.co.uk] has joined ##stm32 2013-04-28T19:24:52 < karlp> that would need a tv with hdmi though 2013-04-28T19:25:08 < Laurenceb_> zlog 2013-04-28T19:25:09 < zlog> Laurenceb_: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2013-04-28.html 2013-04-28T19:25:44 < inca> karlp: hdmi->dvi is not so bad. 2013-04-28T19:25:51 < karlp> that would need a tv with dvi then :) 2013-04-28T19:26:03 < inca> monitor =) it is a dev board 2013-04-28T19:26:19 < karlp> anyone know of a comparison page for all the sbcs? 2013-04-28T19:26:38 < karlp> for me it would be xbmc + 802.15.4 border router 2013-04-28T19:26:50 < karlp> so tv mostly, plus bacrkground services 2013-04-28T19:27:08 < inca> karlp: I was just talking with a friend about it… what's wrong with Apple TV? it seems to have a lot of community support 2013-04-28T19:27:21 < inca> it is most certainly an ARM 2013-04-28T19:27:43 < karlp> until you want to put your own anyting on it. 2013-04-28T19:27:50 < karlp> I'm not buying an apple product 2013-04-28T19:28:00 < inca> best hardware integrators by far 2013-04-28T19:28:18 < gxti> i don't fund IP terrorism :p 2013-04-28T19:28:19 < inca> *shrug* like I said, the community for it (hacking) seems to be fairly strong 2013-04-28T19:28:58 < gxti> also buying locked-down hardware just to hack it is just encouraging the bastards 2013-04-28T19:29:21 < karlp> ^^^ what he said 2013-04-28T19:29:25 < karlp> also, more work 2013-04-28T19:29:43 < gxti> brb, burrito 2013-04-28T19:30:14 < Laurenceb_> i thought it used i5 or something? 2013-04-28T19:30:27 < Laurenceb_> the apple tv 2013-04-28T19:30:29 < karlp> what's the difference between the cubieboard and the marsboard? 2013-04-28T19:30:44 < Laurenceb_> one has to ship from mars 2013-04-28T19:30:51 < karlp> hmm, that could be a problem 2013-04-28T19:31:19 < Laurenceb_> looks pretty similar to me 2013-04-28T19:31:38 < inca> gxti: they don't make money on hardware 2013-04-28T19:31:59 < inca> Laurenceb_: you may be right… checking 2013-04-28T19:32:39 < Laurenceb_> cubieboard has infrared... 2013-04-28T19:32:46 < inca> 1st gen is Pentium M, 2nd is A4, 3rd is A5 2013-04-28T19:33:12 < inca> gpio through IR led and resistor infrared enough? 2013-04-28T19:33:45 < Laurenceb_> marsboard is missing power header for SATA 2013-04-28T19:34:22 < Laurenceb_> id buy cubieboard 2013-04-28T19:34:35 < inca> Laurenceb_: yeah, I saw an interesting adapter on seeed for that issue 2013-04-28T19:34:46 < Thorn> http://media.oglaf.com/comic/bilge.jpg 2013-04-28T19:34:53 < inca> cubie has no exposed JTAG 2013-04-28T19:35:26 < inca> Laurenceb_: http://linux-sunxi.org/Cubieboard/JTAG 2013-04-28T19:36:06 < Laurenceb_> http://linux-sunxi.org/File:Cubieboard_MMC2_JTAG_final.jpg 2013-04-28T19:36:08 < Laurenceb_> eww 2013-04-28T19:36:31 < inca> yeah 2013-04-28T19:36:59 < inca> not sure how they could ship with that situation 2013-04-28T19:37:12 < inca> seriously? no debug port 2013-04-28T19:38:34 < inca> anyway, marsboard A10 on the way… I just missed the A20 =\ 2013-04-28T19:38:57 < karlp> if I'm not debugging the bootloader, I don't need debug on a linux sbc 2013-04-28T19:38:59 < Laurenceb_> cubieboard has audio in 2013-04-28T19:39:04 < Laurenceb_> no audio in on marsboard 2013-04-28T19:39:13 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-28T19:39:21 < inca> karlp: I'm going baremetal =) 2013-04-28T19:39:39 < inca> Laurenceb_: is there audio in HDMI? 2013-04-28T19:39:48 < inca> oh, audio IN 2013-04-28T19:39:53 * inca shrugs 2013-04-28T19:40:00 < inca> I'm not doing AV with it 2013-04-28T19:42:19 < Laurenceb_> i wonder how good the graphics is 2013-04-28T19:42:23 < Laurenceb_> compared to rpi 2013-04-28T19:42:32 < Laurenceb_> for a media center 2013-04-28T19:43:24 < karlp> I had no problems with the video on the rpi, but audio on the analog out, and usb power vs networking 2013-04-28T19:44:11 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:c54f:aff5:9438:5933] has joined ##stm32 2013-04-28T19:44:43 <+Steffann> Is that a reference to how some companies should look at the software they wrote Thorn ? 2013-04-28T19:45:21 < Thorn> looked like a kickstarter reference to me 2013-04-28T19:45:36 <+Steffann> that as well 2013-04-28T19:45:42 < karlp> wandboard looks nice actually. 2013-04-28T19:45:46 < karlp> bit mroe money again though 2013-04-28T19:53:41 < Laurenceb_> http://oglaf.com/comic/ 2013-04-28T19:53:44 < Laurenceb_> .... 2013-04-28T19:53:57 < karlp> you never knew oglaf before Laurenceb_ ? 2013-04-28T19:54:00 < karlp> it's right up your alley 2013-04-28T19:54:10 < Laurenceb_> id forgotten about it... 2013-04-28T20:02:44 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-28T20:05:10 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has joined ##stm32 2013-04-28T20:06:34 < Robint91> Steffann, small question, do you free this tuesday? 2013-04-28T20:07:04 <+Steffann> Do i free? You mean if i have a day of? 2013-04-28T20:07:13 < Robint91> yeah 2013-04-28T20:07:15 <+Steffann> f 2013-04-28T20:07:20 <+Steffann> Yeah, of course. 2013-04-28T20:07:20 < Robint91> f? 2013-04-28T20:07:28 < Robint91> oh are you going to see it 2013-04-28T20:07:33 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Quit: Leaving.] 2013-04-28T20:07:35 <+Steffann> off :) 2013-04-28T20:07:46 -!- Steffann [~Steffanx@unaffiliated/steffanx] has quit [Quit: ….] 2013-04-28T20:07:47 < Robint91> or just minding your own business? 2013-04-28T20:08:00 < Robint91> and he is gone 2013-04-28T20:08:04 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-28T20:08:04 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-28T20:08:04 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-28T20:08:04 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-28T20:08:14 < Robint91> Steffanx, or just minding your own business? 2013-04-28T20:08:50 <+Steffanx> No, im going to see nothing. 2013-04-28T20:09:14 <+Steffanx> I dont care about 'queens day' and the 'new' king at all. 2013-04-28T20:09:53 <+Steffanx> A perfect day for some hobby bobbying Robint91 :) 2013-04-28T20:09:59 < Robint91> Steffanx, ah 2013-04-28T20:10:13 <+Steffanx> And to catch up with the homework i have to do :P 2013-04-28T20:10:38 < jpa-> Steffanx: what are you studying? (i have probably asked before..) 2013-04-28T20:10:54 <+Steffanx> parrotolgy 2013-04-28T20:11:00 <+Steffanx> *parrotology 2013-04-28T20:11:40 < Robint91> Steffanx, more trollingology 2013-04-28T20:12:02 <+Steffanx> That's not something you study, it's a way of life. Ask Laurenceb 2013-04-28T20:12:42 <+Steffanx> Why you aksed btw Robint91 ? Just because you were curious? 2013-04-28T20:13:15 <+Steffanx> Queens day is a so-called national holiday so most people have a day off 2013-04-28T20:13:44 < Robint91> Steffanx, I thought about it after a news item on it 2013-04-28T20:14:14 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-28T20:21:19 < karlp> you guys have a holiday on may 2? do you also have a holiday on may1? 2013-04-28T20:25:18 -!- vpopov [~happylife@37-147-202-203.broadband.corbina.ru] has joined ##stm32 2013-04-28T20:32:09 < PaulFertser> karlp: russians celebrate a "Labour day" on the 1st of May by not working at all as it's a state holiday. 2013-04-28T20:37:52 < karlp> I was asking about the dutch 2013-04-28T20:37:58 < karlp> well aware it's a big holiday in russia :) 2013-04-28T20:38:40 <+Steffanx> There's nothing special on the first or the second of may here karlp 2013-04-28T20:38:52 < karlp> what's robin talkting about then? 2013-04-28T20:39:07 <+Steffanx> Queens day. Thats 30 april. 2013-04-28T20:42:19 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has quit [Ping timeout: 256 seconds] 2013-04-28T20:45:05 -!- cTn [~cTn@hautio.net] has left ##stm32 [] 2013-04-28T20:48:36 -!- phantoneD [~destroy@a95-92-85-217.cpe.netcabo.pt] has joined ##stm32 2013-04-28T20:51:33 -!- phantoxeD [~destroy@a95-92-85-217.cpe.netcabo.pt] has quit [Ping timeout: 248 seconds] 2013-04-28T20:59:03 -!- rebecca [~rebecca@82.153.103.175] has joined ##stm32 2013-04-28T21:01:15 -!- Nutter [Nutter@199-195-151-246.dyn.novuscom.net] has joined ##stm32 2013-04-28T21:01:47 -!- Nutter [Nutter@199-195-151-246.dyn.novuscom.net] has quit [Client Quit] 2013-04-28T21:05:53 < rebecca> Good evening all, I am getting into using the Eth MAC in an stm32f4 micro and reading through the example st drivers but have a question. I see when the drivers _Init if auto negotiation is enabled it waits for a link up and autoneg completion before trying to write to the control regs, if it times out it errors off. In the case of the micro starting with cable unplugged whats a good way of handling this? Program the eth cr as normal omitting the speed a 2013-04-28T21:05:53 < rebecca> nd mode unless fixed and wait on link up to complete the config? 2013-04-28T21:07:22 < BJFreeman> rebecca take the libraries as examples not harden code. 2013-04-28T21:08:15 -!- Nutter [Nutter@199-195-151-246.dyn.novuscom.net] has joined ##stm32 2013-04-28T21:09:39 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: to sleep, perchance to dream] 2013-04-28T21:09:41 < BJFreeman> I use try,catch,else 2013-04-28T21:10:13 < BJFreeman> so errors are handled gracefully 2013-04-28T21:10:36 < zyp> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/net/ethernet/stmicro/stmmac <- I suggest looking through this, it should be pretty much the same core 2013-04-28T21:11:32 < zyp> (it's a synopsys core, so it's not found only in stm32) 2013-04-28T21:14:12 < rebecca> thankyou very much for the suggestions 2013-04-28T21:19:17 -!- PT_Dreamer [~quassel@a95-93-146-175.cpe.netcabo.pt] has joined ##stm32 2013-04-28T21:25:04 < Laurenceb_> wtf 2013-04-28T21:25:12 < Laurenceb_> thats mainline linux? 2013-04-28T21:25:19 < zyp> sure 2013-04-28T21:25:24 < Laurenceb_> /net/ethernet/stmicro/ 2013-04-28T21:25:34 < Laurenceb_> crazy 2013-04-28T21:25:51 < zyp> well, the same core is used in other stm chips 2013-04-28T21:26:02 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has quit [Quit: quit] 2013-04-28T21:26:36 < Laurenceb_> so you dont need to emcraft drivers to use ethernet with uclinux/ 2013-04-28T21:26:40 < Laurenceb_> ? 2013-04-28T21:26:53 < zyp> huh? 2013-04-28T21:28:01 < zyp> well, isn't that kind of the reason why people want to use uclinux? 2013-04-28T21:28:07 < Laurenceb_> https://github.com/EmcraftSystems/linux-emcraft 2013-04-28T21:28:26 -!- Posterdati [~antani@host183-239-dynamic.16-87-r.retail.telecomitalia.it] has quit [Remote host closed the connection] 2013-04-28T21:28:28 < Laurenceb_> actually they have loads of drivers in there 2013-04-28T21:30:28 -!- Posterdati [~antani@host183-239-dynamic.16-87-r.retail.telecomitalia.it] has joined ##stm32 2013-04-28T21:30:45 < dongs> http://diydrones.com/profiles/blogs/vr-gimbal-3-axis-32bit-direct-drive-gimbal-is-coming 2013-04-28T21:30:46 < Laurenceb_> https://github.com/EmcraftSystems/linux-emcraft/tree/master/arch/arm/mach-stm32 2013-04-28T21:30:51 < Laurenceb_> i dont see adc... 2013-04-28T21:30:55 < dongs> roberto ravioli doing dumb shit again 2013-04-28T21:31:11 < Laurenceb_> looks a little tom66 like 2013-04-28T21:31:21 <+Steffanx> dongs? 2013-04-28T21:31:49 < Laurenceb_> is there an adc driver for uclinux on stm32f4? 2013-04-28T21:32:08 < dongs> > uclunix 2013-04-28T21:32:11 < dongs> why would you sue that 2013-04-28T21:32:15 < dongs> use, too 2013-04-28T21:32:19 < dongs> also: 3,30am sleeptime 2013-04-28T21:32:59 < Laurenceb_> why is roberto so dumb? 2013-04-28T21:33:25 < dongs> just check his post history there 2013-04-28T21:33:38 -!- PT_Dreamer [~quassel@a95-93-146-175.cpe.netcabo.pt] has quit [Ping timeout: 255 seconds] 2013-04-28T21:34:04 <+Steffanx> dongs doesnt like to explain himself 2013-04-28T21:34:22 <+Steffanx> and im too lazy to take a look at his post history 2013-04-28T21:35:10 <+Steffanx> I wouldnt be surprised if it's something about open sores.. 2013-04-28T21:35:13 <+Steffanx> or kickstarter 2013-04-28T21:35:19 < Laurenceb_> http://diydrones.com/profiles/blogs/vr-neuron-is-coming-the-first-micro-pc-opensource-thought-the 2013-04-28T21:36:03 < Laurenceb_> http://www.virtualrobotix.com/page/vr-brain-v4-0 2013-04-28T21:36:06 < Laurenceb_> looks good to me 2013-04-28T21:37:55 < GargantuaSauce> Arduino IDE. Arm GCC Toolchain. Fully compatible with arduino wiring language. 2013-04-28T21:38:05 < GargantuaSauce> just what the doctor ordered 2013-04-28T21:40:06 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 256 seconds] 2013-04-28T21:43:56 < zippe> Steffanx: Roberto is good at making not-friends 2013-04-28T21:45:23 <+Steffanx> Ok, whatever. :) 2013-04-28T21:49:47 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-28T21:52:57 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-28T22:02:00 -!- Mobyfab [Mobyfab@2a01:e35:8a10:c580:c54f:aff5:9438:5933] has quit [Quit: Leaving] 2013-04-28T22:03:16 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-28T22:03:16 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-28T22:03:16 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-28T22:07:28 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-28T22:16:56 < Laurenceb_> http://www.sickipedia.org/joke/view/1453488 2013-04-28T22:17:17 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 252 seconds] 2013-04-28T22:17:36 < BJFreeman> GargantuaSauce why not use the Maple that is set up for STM32 2013-04-28T22:17:58 < GargantuaSauce> because I have an iota of self-respect? 2013-04-28T22:18:16 < BJFreeman> I mean the IDE 2013-04-28T22:19:01 < GargantuaSauce> every IDE i have ever used has pissed me off to no end 2013-04-28T22:19:28 < BJFreeman> I use Eclipse myself 2013-04-28T22:19:58 < BJFreeman> for ada, pascal, C, java, ARM, AVR 2013-04-28T22:20:48 < BJFreeman> and I don't use the arduino Wire frame work 2013-04-28T22:21:07 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-28T22:21:19 < GargantuaSauce> my inital comment was sarcasm, just to clear that up... 2013-04-28T22:21:31 < BJFreeman> ah 2013-04-28T22:21:50 < BJFreeman> in dev mode so not picking up on humor 2013-04-28T22:26:48 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-28T22:31:53 -!- vpopov [~happylife@37-147-202-203.broadband.corbina.ru] has quit [Ping timeout: 246 seconds] 2013-04-28T22:33:20 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-28T22:37:23 < Laurenceb_> autism mode 2013-04-28T22:45:22 <+Steffanx> Is that a special mode for you?! 2013-04-28T22:46:27 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-28T22:46:37 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-28T22:52:56 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-28T22:53:30 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 256 seconds] 2013-04-28T22:56:08 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-28T22:57:03 < Laurenceb_> in dev mode so not picking up on humor 2013-04-28T23:00:18 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-28T23:00:44 < BJFreeman> more concoon mode :P 2013-04-28T23:04:37 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-28T23:04:37 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Client Quit] 2013-04-28T23:04:47 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-28T23:07:34 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-28T23:14:48 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-28T23:22:43 -!- claude_ [~quassel@HSI-KBW-109-192-173-054.hsi6.kabel-badenwuerttemberg.de] has quit [Ping timeout: 268 seconds] 2013-04-28T23:28:39 -!- rebecca [~rebecca@82.153.103.175] has quit [Quit: Leaving] 2013-04-28T23:33:21 -!- fergusnoble [fergusnobl@repl.esden.net] has quit [Ping timeout: 245 seconds] 2013-04-28T23:34:48 -!- PT_Dreamer [~quassel@a83-132-166-131.cpe.netcabo.pt] has joined ##stm32 2013-04-28T23:38:29 -!- PT_Dreamer_ [~quassel@a95-93-151-152.cpe.netcabo.pt] has joined ##stm32 2013-04-28T23:39:21 -!- fergusnoble [fergusnobl@repl.esden.net] has joined ##stm32 2013-04-28T23:39:40 -!- PT_Dreamer [~quassel@a83-132-166-131.cpe.netcabo.pt] has quit [Ping timeout: 256 seconds] 2013-04-28T23:49:24 -!- l4cr0ss [~lacro$$@174.34.159.251] has joined ##stm32 2013-04-28T23:51:32 -!- barthess [~barthess@178.154.2.199] has quit [Quit: Leaving.] 2013-04-28T23:56:30 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 264 seconds] --- Day changed Mon Apr 29 2013 2013-04-29T00:01:58 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-29T00:04:07 < Posterdati> hiù 2013-04-29T00:04:09 < Posterdati> hi 2013-04-29T00:05:24 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Client Quit] 2013-04-29T00:11:47 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has quit [Quit: trepidaciousMBR] 2013-04-29T00:21:09 -!- alexn_ [~alexn@93.104.205.194] has joined ##stm32 2013-04-29T00:21:28 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-29T00:23:07 -!- Steffann [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-29T00:23:10 -!- mode/##stm32 [+v Steffann] by ChanServ 2013-04-29T00:24:27 < Posterdati> I've got problem with st usb otg driver and stm32f107, when I disconnect USB the chip halt 2013-04-29T00:24:38 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Ping timeout: 255 seconds] 2013-04-29T00:24:44 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Ping timeout: 256 seconds] 2013-04-29T00:24:57 < Posterdati> HardFault handler is invoked 2013-04-29T00:25:32 < zyp> time to fire up the debugger and figure out why. 2013-04-29T00:26:09 < Posterdati> lol how? 2013-04-29T00:26:41 < Posterdati> I was thinking it was a bad irq 2013-04-29T00:27:00 -!- l4cr0ss [~lacro$$@174.34.159.251] has quit [Quit: l4cr0ss] 2013-04-29T00:27:23 < zyp> how? like any other hardfault you might encounter 2013-04-29T00:27:45 -!- alexn_ [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-04-29T00:28:03 < zyp> start by checking CFSR to see which kind of operation is causing the hardfault so you know what to look for 2013-04-29T00:29:13 < Posterdati> ok 2013-04-29T00:29:45 < Posterdati> problem is that I'm powering the board using usb 2013-04-29T00:30:14 <+Steffann> problem? 2013-04-29T00:30:29 < zyp> oh 2013-04-29T00:30:51 < zyp> well, then the reason that the chip halts when you unplug usb is because it loses power :p 2013-04-29T00:31:05 < Posterdati> no 2013-04-29T00:31:10 < zyp> that was a joke. 2013-04-29T00:31:15 < Posterdati> yes 2013-04-29T00:31:17 < Posterdati> :) 2013-04-29T00:31:31 < Posterdati> on the final application we haven't got a JTAG connetor 2013-04-29T00:31:40 < zyp> anyway, the underlying point is that you have some kind of setup where it's not powered over usb. use that 2013-04-29T00:31:47 < Posterdati> and the board is powered using a servo jack connected to battery 2013-04-29T00:32:24 < zyp> can you replicate it on a devboard with a debugger connection then? 2013-04-29T00:33:25 < Posterdati> no 2013-04-29T00:33:44 < zyp> why not? 2013-04-29T00:34:12 < Posterdati> disconnecting usb jack = disconnecting power 2013-04-29T00:34:23 < zyp> … 2013-04-29T00:34:45 < zyp> what is keeping you from hooking up a different power source? 2013-04-29T00:35:10 < Posterdati> I haven't got the correct psu for it 2013-04-29T00:38:48 -!- DLPeterson [~hazelnuss@c-71-198-192-33.hsd1.ca.comcast.net] has joined ##stm32 2013-04-29T00:49:01 -!- sterna1 [~Adium@d83-183-118-166.cust.tele2.se] has quit [Quit: Leaving.] 2013-04-29T00:55:31 -!- BrainDamage1 [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has joined ##stm32 2013-04-29T00:55:49 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2013-04-29T00:56:36 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Quit: Ik ga weg] 2013-04-29T00:58:46 -!- PT_Dreamer_ [~quassel@a95-93-151-152.cpe.netcabo.pt] has quit [Ping timeout: 245 seconds] 2013-04-29T01:05:13 -!- Jenev [~someone@208.84.201.151] has joined ##stm32 2013-04-29T01:07:20 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-29T01:08:13 -!- DLPeterson [~hazelnuss@c-71-198-192-33.hsd1.ca.comcast.net] has quit [Quit: leaving] 2013-04-29T01:16:24 -!- Jenev [~someone@208.84.201.151] has quit [Read error: Connection reset by peer] 2013-04-29T01:41:53 < Laurenceb_> childhood - something special to be treasured. you're only below the age of criminal responsibility once. 2013-04-29T01:55:26 -!- Laurenceb_ [~Laurence@host86-177-61-171.range86-177.btcentralplus.com] has quit [Ping timeout: 272 seconds] 2013-04-29T02:15:12 -!- Steffann [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-29T02:25:30 < Rickta59> ls 2013-04-29T02:25:32 < Rickta59> pwd 2013-04-29T02:39:22 < karlp> [sudo] password for rickta: 2013-04-29T02:45:18 < upgrdman> hunter2 2013-04-29T02:46:32 < upgrdman> http://www.bash.org/?244321 2013-04-29T02:52:05 < gxti> citation unneeded 2013-04-29T02:53:53 < qyx_> lol 2013-04-29T02:59:34 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-242-38.clienti.tiscali.it] has joined ##stm32 2013-04-29T03:02:52 -!- BrainDamage1 [~BrainDama@dynamic-adsl-78-12-241-231.clienti.tiscali.it] has quit [Ping timeout: 268 seconds] 2013-04-29T03:03:11 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has left ##stm32 [] 2013-04-29T04:13:02 -!- Jenev [~someone@208.84.201.151] has joined ##stm32 2013-04-29T04:13:31 < Jenev> greetings 2013-04-29T04:14:16 < Jenev> I am trying to get a simple loader for the stm32f4-discovery board working 2013-04-29T04:14:38 < Jenev> now i am able to load a simple example for instance a single function 2013-04-29T04:15:04 < Jenev> i.e. I compile the just the function alone and then load the .bin file to the board 2013-04-29T04:15:34 < Jenev> but The problem arises when i try to load something that uses the stm32f4 libraries 2013-04-29T04:16:43 < Jenev> When I try to do the latter the code simply doesn't run 2013-04-29T04:16:43 < Jenev> and I don't get the result I want 2013-04-29T04:17:15 < upgrdman> sounds like a compiler issue 2013-04-29T04:17:34 < Jenev> yeah that's my hunch too 2013-04-29T04:17:38 < Rickta59> that is funny upgrdman 2013-04-29T04:17:45 < upgrdman> Rickta59: ? 2013-04-29T04:17:47 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-29T04:18:28 < Rickta59> the bash.org link 2013-04-29T04:18:31 < upgrdman> o 2013-04-29T04:18:34 < upgrdman> ya 2013-04-29T04:19:00 < Jenev> Rickta59, Actually I agree with him because the compiler actually uses a linker script that define some sections apparently 2013-04-29T04:19:01 < Rickta59> sorry ... left the computer unattended 2013-04-29T04:19:14 < Jenev> but i'm not too versed in GCC so i was hoping someone here could help me 2013-04-29T04:19:19 < Jenev> I'm using CoIDE 2013-04-29T04:19:25 < upgrdman> Jenev: linux? 2013-04-29T04:19:32 < upgrdman> o 2013-04-29T04:19:47 < upgrdman> dunno about the cocox stuff 2013-04-29T04:19:54 < upgrdman> but in linux i use gcc with the f4 and f0. 2013-04-29T04:19:56 < Jenev> upgrdman, no windows, with the standard ARM toolchain 2013-04-29T04:20:56 < Jenev> upgrdman, I don't think it's much different though because the CoIDE is just and IDE the underlying stuff is the ARM toolchain 2013-04-29T04:21:16 < upgrdman> well my notes for linux are here: 2013-04-29T04:21:16 < Jenev> which is basically GCC for ARM compiled for windows :) 2013-04-29T04:21:22 < Jenev> upgrdman, do you use eclipse? 2013-04-29T04:21:28 < upgrdman> no 2013-04-29T04:21:30 < upgrdman> http://www.farrellf.com/projects/hardware/2012-06-01_First_Steps_with_the_STM32F4_in_Linux_%28Part_1%29/ 2013-04-29T04:21:50 < upgrdman> http://www.farrellf.com/projects/hardware/2012-06-09_First_Steps_with_the_STM32F4_in_Linux_%28Part_2%29/ 2013-04-29T04:22:01 < upgrdman> and for the f0: http://www.farrellf.com/projects/hardware/2012-10-28_Saving_Some_Money_with_the_STM32F0/ 2013-04-29T04:24:21 < upgrdman> maybe try the linker script in one of those templates 2013-04-29T04:24:41 < upgrdman> perhaps to cocox one is "unusual" or something isn't setup the way it expects 2013-04-29T04:30:14 < Jenev> upgrdman, now coocox scripts work if you're going to be downloading the program directly to the board but not for what I want to do with dynamically loading the program to RAM then executing it 2013-04-29T04:30:26 < Jenev> but i'll give your scripts a try :) 2013-04-29T04:30:30 < upgrdman> o ok 2013-04-29T04:43:16 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-29T04:49:43 < dongs> jenev is some kind hacker 2013-04-29T04:53:08 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Quit: Leaving.] 2013-04-29T04:53:18 -!- Jenev [~someone@208.84.201.151] has quit [Ping timeout: 252 seconds] 2013-04-29T04:54:26 < Rickta59> proabably didn't use a odd address for the functions 2013-04-29T04:54:31 < Rickta59> an odd 2013-04-29T05:04:02 -!- Jenev [~someone@208.84.201.151] has joined ##stm32 2013-04-29T05:17:47 < Jenev> upgrdman, I noticed that in the notes you have 2 variants of the C language binding 2013-04-29T05:17:54 < Jenev> do you have the full source for the low level one? 2013-04-29T05:19:16 -!- phantoneD [~destroy@a95-92-85-217.cpe.netcabo.pt] has quit [] 2013-04-29T05:22:12 < Rickta59> are you invoking your ram functions using an odd address Jenev ? 2013-04-29T05:23:23 < Jenev> Rickta59, if you mean, if i OR the address with 0x0001 then yes 2013-04-29T05:23:41 < Rickta59> yes was just wondering 2013-04-29T05:24:17 -!- l4cr0ss [~lacro$$@72.37.242.3] has joined ##stm32 2013-04-29T05:25:53 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-242-38.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-04-29T05:28:24 -!- Jenev [~someone@208.84.201.151] has quit [Ping timeout: 276 seconds] 2013-04-29T05:28:40 -!- Jenev_ [~someone@208.84.201.151] has joined ##stm32 2013-04-29T05:28:45 -!- l4cr0ss [~lacro$$@72.37.242.3] has left ##stm32 [] 2013-04-29T05:31:03 -!- phantoxeD [~destroy@a95-92-85-217.cpe.netcabo.pt] has joined ##stm32 2013-04-29T05:33:09 < Jenev_> this is my code -> http://ideone.com/LGg935 2013-04-29T05:33:27 < Jenev_> ReadLine() is a custom function that reads data from the computer 2013-04-29T05:33:53 < Jenev_> and the function is suppose to return 2 to show that execution is sucessful 2013-04-29T05:34:17 < Jenev_> a simple function like int main(int){return 2;} works perferctly 2013-04-29T05:34:44 < esden> did you define program variable? 2013-04-29T05:35:26 < Jenev_> esden, what do you mean? 2013-04-29T05:35:26 < Jenev_> if program is initialized? 2013-04-29T05:35:41 < esden> no defined... 2013-04-29T05:35:45 < esden> int program; 2013-04-29T05:35:49 < esden> for example 2013-04-29T05:36:04 < esden> it is not python that creates variables out of thin air. 2013-04-29T05:37:46 < esden> also ... you need to have that code inside a function ... you can not just dump it into a file and hope that it will run 2013-04-29T05:38:15 < esden> C is not a scripting language. :) 2013-04-29T05:42:23 < Jenev_> esden, that's just an extract from the real code 2013-04-29T05:42:23 < Jenev_> obviously program is defined or the program won't even compile 2013-04-29T05:42:23 < Jenev_> program is defined as a char* 2013-04-29T05:42:27 < Jenev_> and also like i said early code like int main(int) {return 2;} works 2013-04-29T05:43:22 < Jenev_> that is if i compile that and load copy the bytecode to the memory location starting at program it works 2013-04-29T05:43:46 < Jenev_> my problem arises when the code i'm loading containscode from the stm32f4 standard library 2013-04-29T05:44:18 < Jenev_> *contains code 2013-04-29T05:45:19 < Jenev_> which is why im suspecting it has to do with some sort of linker or compiler settings 2013-04-29T05:52:38 < dongs> < Jenev_> this is my code -> http://ideone.com/LGg935 2013-04-29T05:52:41 < dongs> what hte fuck language is this 2013-04-29T05:53:58 < GargantuaSauce> >bytecode 2013-04-29T05:55:20 < GargantuaSauce> i think you need to look long&hard at what the linking process actually does and what it means to be positioning your code at runtime 2013-04-29T06:04:37 < Jenev_> dongs, it's C for christ sake 2013-04-29T06:05:09 < Jenev_> simply because the extract doesn't contain the declaration of program it makes it so foreign? 2013-04-29T06:05:49 < Rickta59> i noticed when i put some functions in ram there was a bunch of fixup stuff to call functions in ram as they are pretty far away 2013-04-29T06:06:05 < Rickta59> have you tried just putting the code in ram at the outset and see what it does? 2013-04-29T06:06:37 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-29T06:06:46 < Rickta59> __attribute__ ((section(".data"))) void foo() { call some flash routine; } 2013-04-29T06:07:23 < Rickta59> you maybe to actually declare a ld section as rx .. and copy the bytes at init but you get the idea 2013-04-29T06:07:40 < Rickta59> see what the compiler does with it 2013-04-29T06:08:47 < Jenev_> Rickta59, I have just calling the code just as it is but it only freezes up 2013-04-29T06:09:14 < Jenev_> and I haven't even thought about setting attributes either 2013-04-29T06:09:33 < Jenev_> was hoping I could dodge the GCC stuff hehe 2013-04-29T06:09:35 < Jenev_> guess not 2013-04-29T06:12:05 < Rickta59> http://knowledgebase.nxp.com/showthread.php?t=557 2013-04-29T06:20:47 < Jenev_> Rickta59, something I don't get though 2013-04-29T06:21:38 < dongs> Jenev_: because youre probably fucking the declaration up 2013-04-29T06:21:45 < dongs> why the fuck you bother pasting shit that depends on shit you didnt paste 2013-04-29T06:21:47 < dongs> and expect help with it 2013-04-29T06:22:24 < Jenev_> at what point does the code go into ram? 2013-04-29T06:22:24 < Jenev_> do you compile this along with the code that goes into flash so that it's just one progra,? 2013-04-29T06:22:24 < Jenev_> *program 2013-04-29T06:22:24 < Jenev_> or is this for my case where I want to load the program dynamically? 2013-04-29T06:22:40 < Jenev_> dongs, are you serious? 2013-04-29T06:22:48 < Jenev_> program is declared as a fucking char* 2013-04-29T06:22:49 < dongs> yes 2013-04-29T06:22:49 < Rickta59> i'm suggesting you make it work with a static setup first 2013-04-29T06:22:56 < dongs> ......... 2013-04-29T06:22:56 < Jenev_> THAT IS IT!! 2013-04-29T06:23:01 < dongs> so youre dumb 2013-04-29T06:23:04 < dongs> as expected. 2013-04-29T06:23:21 < Rickta59> then once you understand how that works you will be able to do the dynamic thing easil 2013-04-29T06:23:24 < Jenev_> there is no more code other than that 2013-04-29T06:23:24 < Rickta59> y 2013-04-29T06:23:40 < dongs> so youre doing it wrong 2013-04-29T06:23:46 < dongs> back to K&R C the 2nd edition for you! 2013-04-29T06:23:53 < Rickta59> where is the code calling the flash function 2013-04-29T06:24:01 < Rickta59> is that what you said didn't work? 2013-04-29T06:24:03 < Jenev_> Rickta59, ok i'll play around with it somemore 2013-04-29T06:24:38 < Jenev_> Rickta59, no not really 2013-04-29T06:25:15 < Jenev_> what's happening is that the program i'm loading into ram has multiple functions and when I jump to the loaded code nothing happens 2013-04-29T06:25:41 < Jenev_> I can't figure if it just can't find an entry point or if the functions are scattered all over the place 2013-04-29T06:25:50 < Jenev_> would have to play around with it some more 2013-04-29T06:26:00 < Rickta59> or maybe your chip is reseting and just starting over and failing over and over 2013-04-29T06:26:57 < GargantuaSauce> how is it supposed to "find an entry point" 2013-04-29T06:27:01 < Jenev_> Rickta59, that's also possible because at first when I first started with a single function program the board got stuck in the default handle many times :/ 2013-04-29T06:27:06 < GargantuaSauce> when you're jumping to the beginning of the fucking binary 2013-04-29T06:27:22 < GargantuaSauce> by casting it to a function pointer and calling it 2013-04-29T06:27:26 -!- baird [~cjb@ppp121-44-104-161.lns20.syd6.internode.on.net] has joined ##stm32 2013-04-29T06:27:27 < GargantuaSauce> on what planet is that supposed to work 2013-04-29T06:27:55 < Jenev_> GargantuaSauce, look I came here to get tips because I noticed it didn't work ok 2013-04-29T06:28:17 < Jenev_> we have established that it didn't work if you don't have advice why the fuck are you responding? 2013-04-29T06:28:17 < GargantuaSauce> your approach is completely broken and you have no bearing on the fundamentals required to make it work 2013-04-29T06:28:37 < Rickta59> well formed questions and problems are encouraged here 2013-04-29T06:30:52 < Jenev_> Rickta59, well I stated my problem as best as I could...i.e. I loaded a program into RAM jumped to it and it didn'twork because the system froze up, and I even gave suggestion as to why I suspected it didn't work and I also said the reason for coming here was also because I'm not too familiar with GCC 2013-04-29T06:31:01 < Jenev_> I thought you understood my problem 2013-04-29T06:31:18 < GargantuaSauce> do you get into a car by smashing into the front bumper? 2013-04-29T06:31:46 < GargantuaSauce> your problem is that you are trying to do something that makes no sense at all 2013-04-29T06:32:26 < GargantuaSauce> go read about how a bootloader works 2013-04-29T06:32:35 < GargantuaSauce> and how linking is done to work with one 2013-04-29T06:32:47 < GargantuaSauce> that is my advice 2013-04-29T06:32:55 < GargantuaSauce> don't "play around with it some more" 2013-04-29T06:33:11 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 255 seconds] 2013-04-29T06:33:13 < GargantuaSauce> because you are eyeball deep in a conceptual void 2013-04-29T06:34:09 < Rickta59> and you are also using CoIDE os? so that has its own twists 2013-04-29T06:34:39 < Rickta59> or not we don't know 2013-04-29T06:35:15 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-04-29T06:35:15 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Client Quit] 2013-04-29T06:36:37 -!- l4cr0ss [~lacro$$@174.34.166.171] has joined ##stm32 2013-04-29T06:37:33 < gxti> smells like failure in here 2013-04-29T06:38:06 -!- l4cr0ss_ [~lacro$$@c-66-56-61-178.hsd1.ga.comcast.net] has joined ##stm32 2013-04-29T06:38:50 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-29T06:38:54 < GargantuaSauce> I don't even 2013-04-29T06:39:01 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-04-29T06:39:10 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-29T06:39:17 < GargantuaSauce> the more I think about this the more it hurts my head 2013-04-29T06:39:23 < R2COM> those small F0 chips, with SPI & UART, they work well if clocked with just internal oscillator? I mean does SPI work fairly well there at full speed when the global clock comes from internal osc? 2013-04-29T06:42:00 -!- l4cr0ss [~lacro$$@174.34.166.171] has quit [Ping timeout: 258 seconds] 2013-04-29T06:42:00 -!- l4cr0ss_ is now known as l4cr0ss 2013-04-29T06:42:56 -!- Jenev_ [~someone@208.84.201.151] has quit [Ping timeout: 245 seconds] 2013-04-29T06:47:38 -!- l4cr0ss [~lacro$$@c-66-56-61-178.hsd1.ga.comcast.net] has quit [Quit: l4cr0ss] 2013-04-29T06:47:46 -!- l4cr0ss [~lacro$$@c-66-56-61-178.hsd1.ga.comcast.net] has joined ##stm32 2013-04-29T06:49:35 < dongs> why wouldnt it 2013-04-29T06:49:58 < dongs> the only possible issue is , on F1 for example off intrc you can only run at 64mhz 2013-04-29T06:50:20 < dongs> since its 8, gets halved, and max p rescaler is 16 or somethign 2013-04-29T06:50:27 < dongs> er no 2013-04-29T06:50:33 < dongs> er yea 2013-04-29T06:50:33 < dongs> 16. 2013-04-29T06:50:44 < dongs> i duno if F0 can run at full speed 2013-04-29T06:53:29 -!- Jenev_ [~someone@208.84.201.151] has joined ##stm32 2013-04-29T06:58:10 -!- Jenev_ [~someone@208.84.201.151] has quit [Ping timeout: 272 seconds] 2013-04-29T06:58:29 -!- l4cr0ss_ [~lacro$$@173.208.81.19] has joined ##stm32 2013-04-29T07:01:10 -!- l4cr0ss [~lacro$$@c-66-56-61-178.hsd1.ga.comcast.net] has quit [Ping timeout: 258 seconds] 2013-04-29T07:01:10 -!- l4cr0ss_ is now known as l4cr0ss 2013-04-29T07:05:17 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-29T07:13:57 < flop> where is ding? 2013-04-29T07:16:44 -!- l4cr0ss [~lacro$$@173.208.81.19] has left ##stm32 [] 2013-04-29T07:17:33 -!- l4cr0ss [~lacro$$@173.208.81.19] has joined ##stm32 2013-04-29T07:33:54 -!- l4cr0ss [~lacro$$@173.208.81.19] has quit [Ping timeout: 252 seconds] 2013-04-29T07:37:33 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Ping timeout: 240 seconds] 2013-04-29T07:46:39 -!- claude_ [~quassel@HSI-KBW-109-192-173-054.hsi6.kabel-badenwuerttemberg.de] has joined ##stm32 2013-04-29T08:00:18 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-29T08:01:12 < upgrdman> if using a GPIO has an open-drain output, is it still sensitive to high voltages? i need to output 5 - 7V if possible, and was thinking of an open-drain GPIO with a pull-up to 5 - 7V... probably a bad idea? 2013-04-29T08:13:24 < zippe> upgrdman: yes 2013-04-29T08:13:40 < zippe> upgrdman: There is a diode from the input to VDD 2013-04-29T08:14:23 < zippe> upgrdman: for 5V tolerant pins, it's actually in series with something that's basically a 1.4V zener 2013-04-29T08:14:32 < upgrdman> if the resistance is high enough, so maybe <1mA can flow, does that mean it will tolerate the high voltage? 2013-04-29T08:14:44 < zippe> upgrdman: there are specifications for that 2013-04-29T08:14:57 < upgrdman> ok. will check datasheet 2013-04-29T08:15:05 < zippe> upgrdman: the problem is that the diode will clamp the input at about 5.5V 2013-04-29T08:15:17 < zippe> even if you are trying to pull up to 7V 2013-04-29T08:15:32 < upgrdman> o :( 2013-04-29T08:15:34 < jpa-> just use N-fet and pull-up 2013-04-29T08:15:46 < jpa-> BSH105 or similar cheap logic level FET 2013-04-29T08:16:05 < upgrdman> i have a few hundred FETs laying around... but they're not logic level. 2013-04-29T08:16:08 < zippe> Yeah, there's a heap of them; some with current limiting and overvoltage protection and all that 2013-04-29T08:16:22 < upgrdman> that actually what i wanted to drive... a FET gate at 5 - 7V 2013-04-29T08:16:49 < zippe> What's the high side voltage? 2013-04-29T08:17:08 < upgrdman> 5-7V 2013-04-29T08:17:25 < jpa-> upgrdman: N-fet or P-fet on the high side? 2013-04-29T08:17:37 < upgrdman> n 2013-04-29T08:18:38 < jpa-> remember that you need to get the gate a few volts above the high-side supply voltage 2013-04-29T08:19:06 < jpa-> (assuming you are making a H-bridge) 2013-04-29T08:19:16 < upgrdman> ? i've driven a nmos with 5V at gate and a 5V power supply 2013-04-29T08:19:28 < upgrdman> mmmm maybe i didnt phrase myself correctly 2013-04-29T08:19:42 < jpa-> will your source be at ground? 2013-04-29T08:20:02 < upgrdman> i want to drive a load thats connected to 5-7V. i have nmos's, so an nmos will be between the load and ground 2013-04-29T08:20:11 < upgrdman> jpa-: yes. source = 0v 2013-04-29T08:20:22 < jpa-> ah.. why not just use a logic-level FET then? 2013-04-29T08:21:00 < upgrdman> because i have a few hundred TO220 mosfets laying around :) 2013-04-29T08:21:13 < upgrdman> about 1/3 of them are even avalanche rated 2013-04-29T08:22:28 < jpa-> you can always put a bipolar to drive them, then :) 2013-04-29T08:26:34 < upgrdman> dont have bjts laying around :) 2013-04-29T08:26:42 < upgrdman> but yes, i'll do that 2013-04-29T08:26:58 < jpa-> if you need to buy a bjt, just go and buy a logic level fet :P 2013-04-29T08:27:07 < jpa-> unless your current is > 20A or something 2013-04-29T08:35:33 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-29T08:35:40 < Robint91> hi all 2013-04-29T08:41:56 < upgrdman> hi 2013-04-29T08:42:43 < upgrdman> oh oh.... i just remembered that i have some Zetex bjt's. i can use them. 2013-04-29T08:44:15 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-29T09:04:54 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-29T09:08:17 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Read error: Connection reset by peer] 2013-04-29T09:08:18 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2013-04-29T09:12:26 -!- yawniek_ [~yannick@178-82-40-89.dynamic.hispeed.ch] has quit [Quit: WeeChat 0.4.0] 2013-04-29T09:12:53 -!- claude_ [~quassel@HSI-KBW-109-192-173-054.hsi6.kabel-badenwuerttemberg.de] has quit [Ping timeout: 252 seconds] 2013-04-29T09:30:31 -!- vpopov [~happylife@37-147-202-203.broadband.corbina.ru] has joined ##stm32 2013-04-29T09:35:52 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-04-29T09:36:16 -!- vpopov [~happylife@37-147-202-203.broadband.corbina.ru] has quit [Ping timeout: 245 seconds] 2013-04-29T09:36:41 -!- dekar [~dekar@212.255.18.24] has joined ##stm32 2013-04-29T09:36:44 -!- mode/##stm32 [+v dekar] by ChanServ 2013-04-29T09:40:01 -!- dekar__ [~dekar@212.255.241.190] has quit [Ping timeout: 245 seconds] 2013-04-29T09:42:41 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-04-29T09:43:11 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Read error: Operation timed out] 2013-04-29T09:44:07 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2013-04-29T09:44:07 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2013-04-29T09:44:07 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-04-29T09:58:18 -!- BJFreeman [~bjfree@222.sub-75-196-117.myvzw.com] has quit [Read error: Connection reset by peer] 2013-04-29T09:58:28 -!- _BJFreeman [~bjfree@222.sub-75-196-117.myvzw.com] has joined ##stm32 2013-04-29T09:59:24 -!- _BJFreeman is now known as BJFreeman 2013-04-29T10:00:19 -!- R2COM1 [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-29T10:02:30 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 264 seconds] 2013-04-29T10:03:38 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-29T10:24:03 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2013-04-29T10:24:42 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 258 seconds] 2013-04-29T10:35:54 -!- sterna1 [~Adium@194.17.253.121] has joined ##stm32 2013-04-29T10:48:00 -!- Laurenceb_ [~Laurence@host86-177-61-171.range86-177.btcentralplus.com] has joined ##stm32 2013-04-29T11:03:50 -!- Laurenceb_ [~Laurence@host86-177-61-171.range86-177.btcentralplus.com] has quit [Ping timeout: 258 seconds] 2013-04-29T11:06:17 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-29T11:11:49 -!- Mobyfab [~Mobyfab@80.239.168.84] has joined ##stm32 2013-04-29T11:14:46 < R2COM1> hmm should I buy st-link v2 or no 2013-04-29T11:15:08 < R2COM1> i have stlinkv1, but so far programming everything from my discovery boar 2013-04-29T11:26:35 < R2COM1> and.. I'v been using and debugging via SWO so far 2013-04-29T11:26:59 < zyp> swd* 2013-04-29T11:27:08 < R2COM1> yea.. 2013-04-29T11:27:20 < zyp> SWO is trace and not supported on stlinkv1 2013-04-29T11:27:43 < R2COM1> yes, so I was using swd on my discovery, to program other boards 2013-04-29T11:28:25 < R2COM1> so I see main difference between st-link v2, is some additional LED, 1.65v-3.3v range, and some swv viewer or something like that 2013-04-29T11:28:48 < zyp> swv = swo 2013-04-29T11:28:54 < R2COM1> hmm ok 2013-04-29T11:28:58 < Mobyfab> v2 is supported by more open source programs 2013-04-29T11:29:09 < Mobyfab> since v1 implementation is retarder 2013-04-29T11:29:14 < Mobyfab> retarded* 2013-04-29T11:29:17 < karlp> not really, 2013-04-29T11:29:25 < karlp> just the usb disc thing it presents 2013-04-29T11:29:30 < R2COM1> well, right Now, I am using my toolchain i setup once in win7, with eclipse and gnuarm + gdb 2013-04-29T11:29:30 < zyp> «more»? 2013-04-29T11:29:48 < zyp> are there any other implementations than openocd and texane/stlink? 2013-04-29T11:29:59 < R2COM1> so, I was just wondering if getting st-link/v2 would be a good idea? 2013-04-29T11:30:09 < karlp> are you having any problems with your current setup? 2013-04-29T11:30:21 < R2COM1> I dont have problems now with setup 2013-04-29T11:30:26 < zyp> R2COM1, it's not going to be a significant improvement 2013-04-29T11:30:50 < karlp> I notice zero effective difference between v1 and v2 2013-04-29T11:30:52 < R2COM1> but i guess there will be one, specifically, I would be able to debug via jtag right? 2013-04-29T11:31:00 < zyp> unless you are intending to use swo you probably won't even notice the difference 2013-04-29T11:31:06 < Mobyfab> actually I though openOCD only supported v2 :) 2013-04-29T11:31:12 < R2COM1> hmm 2013-04-29T11:31:35 < zyp> you mean jtag as opposed to swd? 2013-04-29T11:31:42 < R2COM1> yeah 2013-04-29T11:31:52 < zyp> why do you want to do that? 2013-04-29T11:32:35 < zyp> functionally they allow you to do the same, and since swd is implemented on a subset of jtag pins, swd is always available if jtag is available 2013-04-29T11:32:41 < R2COM1> well... I didnt feel like i need to since it works now with SWO from discovery board, but just randomly it came into my mind maybe it would be just better (faster?) 2013-04-29T11:32:56 < zyp> so there is really no reason to choose jtag over swd 2013-04-29T11:33:01 < R2COM1> hmm 2013-04-29T11:33:02 < R2COM1> ok 2013-04-29T11:33:27 < Posterdati> hi 2013-04-29T11:33:40 < zyp> and at least from my measurements, swd is slightly faster than jtag 2013-04-29T11:33:50 < R2COM1> heh... 2013-04-29T11:34:15 < R2COM1> so, I'll just make some connector from discovery board-to-ribbon-to-tiny header, for my boards then 2013-04-29T11:34:24 < R2COM1> and continue using my discovery board 2013-04-29T11:34:37 < Posterdati> zyp: I bought an stm32f3 discobery board, but there's no jtag connector on it... May I still use openocd to debug it? 2013-04-29T11:34:53 < Mobyfab> yes 2013-04-29T11:35:19 < zyp> Posterdati, yes, there is an onboard st-link 2013-04-29T11:35:32 < zyp> and you can also debug other boards through the six-pin header 2013-04-29T11:35:58 < Posterdati> zyp: the usb connector tagget st-link? 2013-04-29T11:36:33 < R2COM1> Posterdati: no lookup its reference manual, you just have to remove couple jumpers, and connect its 6 pins to other board 2013-04-29T11:37:00 -!- baird [~cjb@ppp121-44-104-161.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2013-04-29T11:37:06 < zyp> the usb connector marked st-link is what you connect to your computer when you want to use the onboard st-link 2013-04-29T11:37:09 < Posterdati> why shall I connect it to other board? 2013-04-29T11:37:28 < zyp> may, not shall 2013-04-29T11:37:31 < Posterdati> and to debug that board? 2013-04-29T11:37:34 < zyp> yes 2013-04-29T11:38:13 < R2COM1> ok sleep time... 2013-04-29T11:38:54 < zyp> Posterdati, http://bin.jvnv.net/f/Ftmrn.JPG <- here I'm debugging another board with the st-link on a F4 discovery 2013-04-29T11:40:17 < R2COM1> I have same nail cutter 2013-04-29T11:40:22 < Posterdati> ok 2013-04-29T11:40:30 < Posterdati> zyp: and to debug only one board? 2013-04-29T11:41:03 < zyp> no problem 2013-04-29T11:41:18 -!- baird [~cjb@ppp121-44-104-161.lns20.syd6.internode.on.net] has joined ##stm32 2013-04-29T11:41:31 < zyp> but I second the suggestion about reading the manual for the discovery board 2013-04-29T11:41:40 < zyp> it's helpful either way 2013-04-29T11:41:45 < Posterdati> UM1562? 2013-04-29T11:42:27 < R2COM1> oh I see selae 2013-04-29T11:42:34 < R2COM1> or saleae 2013-04-29T11:42:55 < R2COM1> havent used it though.. 2013-04-29T11:43:05 < zyp> R2COM1, it's nice 2013-04-29T11:43:09 < R2COM1> hmm 2013-04-29T11:43:24 < R2COM1> I will be playing with some Rigol scope soon with 16 inputs 2013-04-29T11:43:25 < R2COM1> for digital 2013-04-29T11:43:50 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-04-29T11:44:03 < R2COM1> that saleae is 8 bit I guess 2013-04-29T11:44:07 < zyp> http://bin.jvnv.net/f/BdzB6.png <- I was monitoring the FET signals 2013-04-29T11:44:11 < R2COM1> and what.. like 25mhz 2013-04-29T11:44:19 < zyp> 24 2013-04-29T11:44:24 < R2COM1> yes 2013-04-29T11:44:38 < R2COM1> so one can look at signals of about 8mhz or so 2013-04-29T11:45:51 < R2COM1> hmm and that one is 150$, 2xz bigger costs 300$ as I see 2013-04-29T11:46:03 < R2COM1> (and it can be faster if I'm correct if fewer channels selected) 2013-04-29T11:46:29 < zyp> yes, up to 100MHz 2013-04-29T11:47:04 < R2COM1> yeah, much more beyond that wouldnt make much sense because of cable or probe connection impedance mismatch 2013-04-29T11:47:36 < dongs> sup b logs 2013-04-29T11:47:38 < dongs> zyp: status of backlight 2013-04-29T11:47:49 < R2COM1> ok now definitely to sleep 2013-04-29T11:48:00 < zyp> dongs, works 2013-04-29T11:48:04 < dongs> cool 2013-04-29T11:48:07 < dongs> how is heat? 2013-04-29T11:48:12 -!- R2COM1 [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-29T11:48:17 < zyp> haven't really checked 2013-04-29T11:48:28 < zyp> I played a bit with it yesterday 2013-04-29T11:49:01 < dongs> mkay 2013-04-29T11:49:05 < zyp> for some reason backlight turns off if I set brightness over 50% 2013-04-29T11:49:11 < zyp> I guess current limiting or something? 2013-04-29T11:49:19 < dongs> does 50% actually look bright though? 2013-04-29T11:49:22 < dongs> i think i set mine to ~90 or so 2013-04-29T11:49:41 < zyp> actually, it turns off at 50% 2013-04-29T11:49:51 < zyp> but it's pretty bright at 0x70 2013-04-29T11:50:35 < dongs> hm lp8545Brighness(0xF0); 2013-04-29T11:50:38 < dongs> ^ thats mine 2013-04-29T11:50:42 < dongs> i guess thats even more than 90% 2013-04-29T11:50:45 < dongs> whatever that ends up 2013-04-29T11:50:49 < zyp> yeah 2013-04-29T11:50:58 < zyp> well, I dunno, haven't played too much with it 2013-04-29T11:51:04 < dongs> kk 2013-04-29T11:51:10 < dongs> lemme know once you figure out the "proper" way to control it 2013-04-29T11:51:17 < dongs> i think i am still using that auto mode or whatever 2013-04-29T11:51:24 < dongs> not so sure if it gives right voltage to the strings 2013-04-29T11:51:31 < zyp> I'm a bit unsure about how to make an enclosure for the display 2013-04-29T11:51:52 < dongs> how about same way i did? 2013-04-29T11:52:10 < dongs> it fits into top right corner so just take 2 alu sheets w/standoffs between them and have the board there 2013-04-29T11:53:15 < zyp> but the connector sits 1cm in underneath the panel 2013-04-29T11:53:28 < dongs> DP? 2013-04-29T11:53:33 < zyp> yes 2013-04-29T11:53:36 < dongs> thats was the point 2013-04-29T11:53:44 < dongs> its recessed, so it doesnt look like ass with shit sticking out the side 2013-04-29T11:53:49 < dongs> huh wtf japs returned my panel 2013-04-29T11:53:53 < dongs> and it has a touchpanel overlay on it?! 2013-04-29T11:55:27 < zyp> well, then I need to find a dp cable without a button on the plug to release it 2013-04-29T11:55:55 < zyp> http://www.sixteen-nine.net/wp-content/uploads/2011/11/displayportcable.jpg <- the cable I have has this kind of plugs 2013-04-29T11:56:15 < dongs> ya mine too, why do you need nobutton? 2013-04-29T11:56:43 < dongs> uh oh 2013-04-29T11:56:49 < dongs> they fuckin broke it 2013-04-29T11:57:16 < zyp> because the whole construction becomes fucking thick if you need room to fit a plug like that 2013-04-29T11:59:26 < dongs> hmm 2013-04-29T11:59:31 < dongs> 3.3V switching AND ldo heat up 2013-04-29T11:59:33 < dongs> what the fuck did they do with it 2013-04-29T12:02:12 < dongs> zyp, 2013-04-29T12:02:15 < dongs> if you bend the cable the other way 2013-04-29T12:02:23 < dongs> so the board is on left 2013-04-29T12:02:38 < dongs> you can mount it flush. 2013-04-29T12:02:50 < zyp> yeah, that's what I've considered doing 2013-04-29T12:03:07 < dongs> dammit 2013-04-29T12:03:09 < dongs> they burned the panel 2013-04-29T12:03:16 < dongs> probably offset the connector and sent VCC_LED into logic 2013-04-29T12:03:17 < dongs> or somethign 2013-04-29T12:03:24 < dongs> oh wellz at least now i can take one apart 2013-04-29T12:04:30 < dongs> Nichia requires a substantial legal commitment from the buyer prior to purchasing UV-LED products, which includes clauses regarding UV exposure hazards, as well as restrictions on reverse-engineering and failure analysis of their UV-LED devices. 2013-04-29T12:27:31 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 245 seconds] 2013-04-29T12:33:53 -!- PT_Dreamer [~quassel@75.186.54.77.rev.vodafone.pt] has joined ##stm32 2013-04-29T12:39:33 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-29T12:40:06 -!- sterna1 [~Adium@194.17.253.121] has quit [Quit: Leaving.] 2013-04-29T12:45:35 -!- _BJFreeman [~bjfree@107.sub-70-202-187.myvzw.com] has joined ##stm32 2013-04-29T12:46:12 -!- BJFreeman [~bjfree@222.sub-75-196-117.myvzw.com] has quit [Ping timeout: 256 seconds] 2013-04-29T12:46:17 -!- _BJFreeman is now known as BJFreeman 2013-04-29T12:52:10 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Read error: Connection timed out] 2013-04-29T12:52:50 -!- capacitor [7bf38bbb@gateway/web/freenode/ip.123.243.139.187] has joined ##stm32 2013-04-29T12:53:39 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-29T12:57:22 -!- _BJFreeman [~bjfree@216.sub-75-233-161.myvzw.com] has joined ##stm32 2013-04-29T12:59:30 -!- BJFreeman [~bjfree@107.sub-70-202-187.myvzw.com] has quit [Ping timeout: 252 seconds] 2013-04-29T12:59:49 -!- _BJFreeman is now known as BJFreeman 2013-04-29T13:09:50 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-29T13:11:21 -!- capacitor [7bf38bbb@gateway/web/freenode/ip.123.243.139.187] has left ##stm32 [] 2013-04-29T13:27:16 -!- Laurenceb is now known as Mechanical_turk 2013-04-29T13:28:30 -!- rmob [~rmob@178-26-71-67-dynip.superkabel.de] has quit [Quit: NO WINE, NO WIFE, NO CARRIER] 2013-04-29T13:28:30 -!- rigid [~rigid@178-26-71-67-dynip.superkabel.de] has quit [Quit: NO WINE, NO WIFE, NO CARRIER] 2013-04-29T13:30:50 -!- rmob [~rmob@178-26-71-67-dynip.superkabel.de] has joined ##stm32 2013-04-29T13:31:20 -!- rigid [~rigid@178-26-71-67-dynip.superkabel.de] has joined ##stm32 2013-04-29T13:34:03 -!- _BJFreeman [~bjfree@198.sub-70-202-190.myvzw.com] has joined ##stm32 2013-04-29T13:35:20 -!- Mechanical_turk is now known as Laurenceb 2013-04-29T13:35:30 -!- BJFreeman [~bjfree@216.sub-75-233-161.myvzw.com] has quit [Ping timeout: 256 seconds] 2013-04-29T13:39:21 -!- _BJFreeman is now known as BJFreeman 2013-04-29T13:40:47 -!- _BJFreeman [~bjfree@54.sub-75-196-59.myvzw.com] has joined ##stm32 2013-04-29T13:41:13 -!- sterna1 [~Adium@194.17.253.121] has joined ##stm32 2013-04-29T13:43:57 -!- BJFreeman [~bjfree@198.sub-70-202-190.myvzw.com] has quit [Ping timeout: 252 seconds] 2013-04-29T13:45:05 -!- _BJFreeman is now known as BJFreeman 2013-04-29T14:33:23 -!- sterna1 [~Adium@194.17.253.121] has quit [Read error: Connection reset by peer] 2013-04-29T14:34:06 -!- sterna1 [~Adium@194.17.253.121] has joined ##stm32 2013-04-29T14:35:19 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-29T14:38:13 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 248 seconds] 2013-04-29T14:39:02 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-242-38.clienti.tiscali.it] has joined ##stm32 2013-04-29T14:43:48 -!- rigid [~rigid@178-26-71-67-dynip.superkabel.de] has quit [Ping timeout: 256 seconds] 2013-04-29T14:44:08 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 255 seconds] 2013-04-29T14:44:12 -!- rmob [~rmob@178-26-71-67-dynip.superkabel.de] has quit [Ping timeout: 258 seconds] 2013-04-29T14:48:57 -!- rmob [~rmob@178-26-78-228-dynip.superkabel.de] has joined ##stm32 2013-04-29T14:49:58 -!- rigid [~rigid@178-26-78-228-dynip.superkabel.de] has joined ##stm32 2013-04-29T14:51:26 -!- rigid [~rigid@178-26-78-228-dynip.superkabel.de] has left ##stm32 [] 2013-04-29T14:56:02 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-242-38.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-04-29T14:56:32 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-242-38.clienti.tiscali.it] has joined ##stm32 2013-04-29T15:01:08 < Laurenceb> http://uk.kontron.com/products/boards+and+mezzanines/embedded+sbc/pitx+25+sbc/ktt20pitx.html 2013-04-29T15:03:35 < sterna1> http://www.hardkernel.com/renewal_2011/main.php 2013-04-29T15:10:32 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has joined ##stm32 2013-04-29T15:24:38 < Laurenceb> http://www.b3tards.com/u/a609ede35986cfd048a1/jobs-funeral-holding-wrong.jpg 2013-04-29T15:25:37 < Robint91> Laurenceb, DA APPLE LOGO 2013-04-29T15:25:45 < Robint91> Laurenceb, iCoffin 2013-04-29T15:26:05 < Robint91> Laurenceb, no with iPOD docking station 2013-04-29T15:48:51 -!- rmob [~rmob@178-26-78-228-dynip.superkabel.de] has quit [Quit: NO WINE, NO WIFE, NO CARRIER] 2013-04-29T15:51:07 -!- rmob [~rmob@178-26-78-228-dynip.superkabel.de] has joined ##stm32 2013-04-29T16:09:43 -!- baird [~cjb@ppp121-44-104-161.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2013-04-29T16:16:28 -!- BJFreeman [~bjfree@54.sub-75-196-59.myvzw.com] has quit [Ping timeout: 252 seconds] 2013-04-29T16:27:53 < gxti> don't encourage him :p 2013-04-29T16:32:41 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-242-38.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-04-29T16:56:44 -!- PT_Dreamer [~quassel@75.186.54.77.rev.vodafone.pt] has quit [Ping timeout: 260 seconds] 2013-04-29T17:00:49 -!- PT_Dreamer [~quassel@99.222.137.78.rev.vodafone.pt] has joined ##stm32 2013-04-29T17:19:26 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-29T17:20:50 -!- _BJFreeman [~bjfree@176.sub-75-233-78.myvzw.com] has joined ##stm32 2013-04-29T17:22:15 -!- _BJFreeman is now known as BJFreeman 2013-04-29T17:29:53 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-29T17:29:53 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-29T17:29:53 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-29T17:29:54 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-29T17:29:54 -!- PT_Dreamer [~quassel@99.222.137.78.rev.vodafone.pt] has quit [Ping timeout: 276 seconds] 2013-04-29T17:36:01 -!- alexn [~alexn@93.104.205.194] has quit [Quit: Leaving] 2013-04-29T17:48:18 -!- daku is now known as DaKu 2013-04-29T17:54:03 < Laurenceb> http://www.equestriadaily.com/ 2013-04-29T17:54:25 < gxti> Laurenceb 2013-04-29T17:54:37 < Robint91> Laurenceb, STFU brony 2013-04-29T17:54:50 < gxti> ##stm32-crap 2013-04-29T17:55:08 < gxti> oh look another obsoleted magjack 2013-04-29T17:55:21 < gxti> what is it with magjacks and not being able to get the same one twice 2013-04-29T17:56:15 < Robint91> gxti, I stopped using them 2013-04-29T18:00:52 < sterna1> hmm, should Laurenceb´s link be classified as NSFW? 2013-04-29T18:01:15 < sterna1> since if you click that at work, people will look really strange at you (happened to me just now...) 2013-04-29T18:02:13 -!- vpopov [~happylife@37-147-202-203.broadband.corbina.ru] has joined ##stm32 2013-04-29T18:03:24 < gxti> well at this point i'm using what seems to be a fairly standard footprint, and bought 30x from aliexpress 2013-04-29T18:03:33 < gxti> so i'm not too worried 2013-04-29T18:22:09 <+Steffanx> sterna1, yes 2013-04-29T18:22:37 <+Steffanx> fyi sterna1 ALL of Laurenceb's links are NSFW. 2013-04-29T18:22:46 <+Steffanx> Or at least consider them nsfw 2013-04-29T18:23:00 < sterna1> right, never click his links in public 2013-04-29T18:23:09 <+Steffanx> Yep, that works 2013-04-29T18:31:23 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-04-29T18:40:09 < karlp> Robint91: what are you using instead? separate magnetics on the board? what's the advantage there? 2013-04-29T18:44:20 -!- sterna1 [~Adium@194.17.253.121] has quit [Ping timeout: 252 seconds] 2013-04-29T18:56:15 -!- Steffann [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-04-29T18:56:15 -!- Steffann [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-04-29T18:56:15 -!- Steffann [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-29T18:56:18 -!- mode/##stm32 [+v Steffann] by ChanServ 2013-04-29T18:59:30 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Ping timeout: 264 seconds] 2013-04-29T19:11:16 -!- sterna1 [~Adium@dhcp-181117.eduroam.chalmers.se] has joined ##stm32 2013-04-29T19:15:07 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-29T19:15:57 * jpa- now has 10 GB ram \o/ 2013-04-29T19:17:40 <+Steffann> only 10 :P 2013-04-29T19:17:45 < dongs> yeah, only 10? wtf 2013-04-29T19:17:53 < dongs> 16 is like minimum in 2013 2013-04-29T19:18:02 < dongs> too bad my mobo wont take 32 or i'd have it at that 2013-04-29T19:18:07 <+Steffann> for windows:P 2013-04-29T19:18:20 < dongs> doesit even matter how much ram lunix has 2013-04-29T19:18:23 < dongs> its not like it can make any use of it 2013-04-29T19:18:47 < dongs> back in pentium 2 days i had a dodgy P6DLS board that had shitty ram or something 2013-04-29T19:19:11 < dongs> under lunix it would never do anything cause shit never used the dodgy ram region 2013-04-29T19:19:39 < jpa-> this laptop won't take more than 10 GB :) 2013-04-29T19:19:49 < dongs> luniux utilizes like 1% of any modern hardware 2013-04-29T19:20:03 < dongs> so why run it on anything better than a 386? 2013-04-29T19:20:05 < dongs> bbl 2013-04-29T19:22:26 < Simon--> have you seen ubuntu? ;) 2013-04-29T19:25:50 <+Steffann> ubuntu is no linux :P 2013-04-29T19:26:06 * Tectu agrees 2013-04-29T19:26:14 < Tectu> OSX is more linux than ubuntu is 2013-04-29T19:27:18 < Laurenceb> lol 2013-04-29T19:27:29 < zyp> *yawn* 2013-04-29T19:27:54 < Laurenceb> #trolling 2013-04-29T19:31:13 < jpa-> also bought: microscope camera http://kapsi.fi/~jpa/stuff/pix/PICT0015.JPG http://kapsi.fi/~jpa/stuff/pix/PICT0016.JPG 2013-04-29T19:31:15 < karlp> so what's fun to get on delayextreme today? 2013-04-29T19:31:54 < Tectu> jpa-, lowest silkscreen quality I've ever seen so far 2013-04-29T19:32:03 < jpa-> yeah, seeed :) 2013-04-29T19:32:18 < jpa-> their silkscreens are crap.. but who cares about silkscreen 2013-04-29T19:32:22 -!- DaKu is now known as daku 2013-04-29T19:32:23 < zyp> karlp, patience 2013-04-29T19:32:49 < karlp> well, I've heard it's slow, but I don't need anything soon. 2013-04-29T19:33:14 < jpa-> karlp: ceramic knives 2013-04-29T19:33:27 < zyp> for plane hijacking? 2013-04-29T19:33:39 < jpa-> for cutting up some onions :) 2013-04-29T19:34:47 < Laurenceb> also, wtf vias 2013-04-29T19:40:11 <+Steffann> crappy blurry photo jpa- .. 2013-04-29T19:40:41 <+Steffann> the first one 2013-04-29T19:41:29 < jpa-> Steffann: poor field of focus 2013-04-29T19:41:34 < jpa-> as usual in high magnification 2013-04-29T19:41:43 <+Steffann> Your board just need a little more dust to imitate zyp. 2013-04-29T19:44:20 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Quit: trepidaciousMBR] 2013-04-29T19:46:52 < zyp> just throw it in a box and leave it for a year and that'll take care of itself 2013-04-29T19:46:57 -!- barthess [~barthess@178.154.42.146] has joined ##stm32 2013-04-29T19:48:40 < jpa-> zyp: i have done exactly that! 2013-04-29T19:48:48 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Quit: Lost terminal] 2013-04-29T19:48:49 < jpa-> but apparently it didn't work 2013-04-29T19:49:09 < zyp> my box didn't have a lid, and the room has a carpet floor 2013-04-29T19:51:25 < zyp> how much did you pay for the camera? 2013-04-29T19:52:24 -!- daku is now known as DaKu 2013-04-29T19:53:02 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-29T19:54:01 < jpa-> zyp: 80 € 2013-04-29T19:54:21 < zyp> that's not bad 2013-04-29T19:54:31 < jpa-> (well, really i paid 0 €, i got a gift card from work for bullying coworkers, so i bought that microscope + more ram) 2013-04-29T19:55:46 < zyp> hmm, my macro lens was four times that, and that was just the lens 2013-04-29T19:55:52 <+Steffann> :P 2013-04-29T19:55:58 < zyp> so 80 EUR is certainly not bad 2013-04-29T19:55:59 < jpa-> more resolution probably though :) 2013-04-29T19:56:11 <+Steffann> And your lens doesnt even have a usb connection :( 2013-04-29T19:56:21 < zyp> jpa-, well, yeah 2013-04-29T19:56:25 < zyp> is picture 1:1? 2013-04-29T19:56:40 < jpa-> yeah 2013-04-29T19:56:46 < jpa-> 1600x1200 2013-04-29T19:56:53 < jpa-> http://www.verkkokauppa.com/fi/product/48138/dgxfs/Konig-USB-mikroskooppi-naytolla small device, fits in pocket 2013-04-29T19:56:58 <+Steffann> That's not that bad is it? 2013-04-29T19:57:20 <+Steffann> Even a little lcd 2013-04-29T19:57:22 < jpa-> it's not bad, but with a good macro lens one could take a photo from the whole board at once 2013-04-29T19:57:35 < zyp> http://bin.jvnv.net/f/E08pl.JPG <- this the closest I get without cropping the pic 2013-04-29T19:57:39 < jpa-> yeah it is perfect, no need to use computer when you just want to check something 2013-04-29T19:57:56 < jpa-> zyp: looks enough for any electronics stuff :) 2013-04-29T19:59:23 < zyp> original pic is 5184x3456, so I guess I actually have better resolution too :p 2013-04-29T19:59:53 < jpa-> just a little :) 2013-04-29T19:59:58 < jpa-> but i have 4x digital zoom also!! 2013-04-29T20:00:15 < zyp> everybody can crop :p 2013-04-29T20:00:58 < zyp> 18:56:11 <+Steffann> And your lens doesnt even have a usb connection :( 2013-04-29T20:01:01 < zyp> camera does 2013-04-29T20:01:40 <+Steffann> Duh :P 2013-04-29T20:13:27 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-29T20:26:19 -!- dfletcher__ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2013-04-29T20:26:19 -!- dfletcher__ [~fletch@drupal.org/user/72475/view] has joined ##stm32 2013-04-29T20:26:22 -!- dfletcher__ is now known as dfletcher 2013-04-29T20:33:07 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-29T20:35:26 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-242-38.clienti.tiscali.it] has joined ##stm32 2013-04-29T20:50:31 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Ping timeout: 260 seconds] 2013-04-29T21:06:27 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-29T21:33:50 < Tectu> prepare for monster off-topic: How he seriously stands there and films it 3 minutes: http://www.youtube.com/watch?feature=player_embedded&v=uxX1kA-nhZk 2013-04-29T21:37:12 -!- vpopov [~happylife@37-147-202-203.broadband.corbina.ru] has quit [Ping timeout: 260 seconds] 2013-04-29T21:42:57 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-29T22:01:13 < sterna1> hehe, love the guy who made that box 2013-04-29T22:01:19 < sterna1> totally awesome 2013-04-29T22:01:36 < sterna1> I wonder if someone made that on purpose to troll amazon 2013-04-29T22:14:57 < Tectu> I wonder if there's an HDD inside 2013-04-29T22:16:27 < Thorn> http://blog.jgc.org/2013/04/how-i-coded-in-1985.html 2013-04-29T22:24:45 < gnomad> how I was doing 6502 in 1985: http://www.youtube.com/watch?v=CDPlfqpgW8c 2013-04-29T22:27:51 < Thorn> not hardcore enough 2013-04-29T22:28:09 < gxti> insert IN MY DAY circlejerk here 2013-04-29T22:31:08 < sterna1> old tape recorder? 2013-04-29T22:36:27 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Ping timeout: 252 seconds] 2013-04-29T22:38:38 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 252 seconds] 2013-04-29T22:40:08 < gnomad> I actually learned to program using punch cards. 2013-04-29T22:40:47 < sterna1> that's really old school 2013-04-29T22:41:01 < sterna1> funny thing, a friend of mine just made a "punch card" 2013-04-29T22:41:38 < sterna1> to come into his apartment house, he has like a punch card key 2013-04-29T22:41:48 < sterna1> which is like a key card with holes in it 2013-04-29T22:42:02 < sterna1> to he took the laser cutter and made a new one 2013-04-29T22:43:52 -!- _BJFreeman [~bjfree@215.sub-75-244-134.myvzw.com] has joined ##stm32 2013-04-29T22:45:05 -!- BJFreeman [~bjfree@176.sub-75-233-78.myvzw.com] has quit [Ping timeout: 246 seconds] 2013-04-29T22:47:54 < gnomad> ha! 2013-04-29T22:49:48 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-04-29T22:49:48 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-04-29T22:49:48 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-04-29T22:51:09 <+Steffann> sterna1 and how he copied it? Just a scan/photo of the original ? 2013-04-29T22:51:26 < sterna1> it was actually the second one he made 2013-04-29T22:51:42 < sterna1> and I think he copied it first form like a photo or something 2013-04-29T22:57:09 < gnomad> i'm regretting I didn't save any of my punch cards. :( 2013-04-29T22:58:10 < sterna1> I'm way to young to have used punch cards 2013-04-29T22:58:17 < sterna1> I've thought about that 2013-04-29T22:58:24 < gxti> nostalgia is overrated 2013-04-29T22:59:03 < Thorn> I even though about making a tape punch/reader at some point 2013-04-29T23:00:01 < sterna1> making a reader isn't probably that hard 2013-04-29T23:00:13 < sterna1> a couple of leds and photodetectors 2013-04-29T23:00:26 < sterna1> and a small wheel or something 2013-04-29T23:01:56 -!- vpopov [~happylife@37-147-202-203.broadband.corbina.ru] has joined ##stm32 2013-04-29T23:04:39 -!- Laurenceb_ [~Laurence@host86-177-61-171.range86-177.btcentralplus.com] has joined ##stm32 2013-04-29T23:11:12 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Read error: Operation timed out] 2013-04-29T23:11:26 < Laurenceb_> hi trolls 2013-04-29T23:13:07 < R2COM> your momma is troll 2013-04-29T23:13:51 < R2COM> so what is the "standard" programming cable for SWO programming for PCB mount? 2013-04-29T23:14:07 < R2COM> I usually just breakout the pins on my PCB and hook them to my discovery board for programming 2013-04-29T23:14:14 < inca> JTAG or SWD 2013-04-29T23:14:17 < R2COM> If I'm correct there has to be some nice adapter cable 2013-04-29T23:14:23 < sterna1> I don't know if there is a standard 2013-04-29T23:14:24 < inca> R2COM: what platform? 2013-04-29T23:14:29 < Laurenceb_> yo mamma so troll 2013-04-29T23:14:30 < R2COM> not sure.? 2013-04-29T23:14:37 < Laurenceb_> she trolls while she trolls 2013-04-29T23:14:38 < inca> R2COM: well, is it ARM? 2013-04-29T23:14:45 < sterna1> well, I'm always using my own so 2013-04-29T23:14:49 < R2COM> well the series of F0,1,3,4 2013-04-29T23:14:52 < R2COM> stm32 2013-04-29T23:14:57 < Thorn> cortex debug? 2013-04-29T23:15:06 < R2COM> hmmm no just regular debug pins 2013-04-29T23:15:07 < inca> well 2013-04-29T23:15:10 < inca> it's complicated 2013-04-29T23:15:10 < R2COM> swo swdio etc 2013-04-29T23:15:15 < Thorn> http://infocenter.arm.com/help/topic/com.arm.doc.faqs/attached/13634/cortex_debug_connectors.pdf 2013-04-29T23:15:23 < inca> larger M3 and above have ETM 2013-04-29T23:15:26 < R2COM> http://www.emcu.it/ST-LINKv2/Photo.png 2013-04-29T23:15:33 < R2COM> see I think its that 2nd from left 2013-04-29T23:15:36 < inca> yep, Thorn beat me to it 2013-04-29T23:15:50 < inca> use that 2013-04-29T23:16:08 < inca> if you have TRACEDATA pins, wire them 2013-04-29T23:16:17 < sterna1> "Most existing ARM products use a 20-pin IDC connector for JTAG debug, and 38-pin Mictor connectors for trace." 2013-04-29T23:16:20 < sterna1> 38 pins :( 2013-04-29T23:16:28 < sterna1> what the fuck guys 2013-04-29T23:16:28 < sterna1> ? 2013-04-29T23:16:37 < R2COM> lots of space on pcb 2013-04-29T23:16:38 < R2COM> heh 2013-04-29T23:16:48 < inca> there's a mini 10 pin 2013-04-29T23:16:59 < Thorn> I'm using cortex debug on oll my new boards (except for 0.1" idc instead of 0.05" for trolling reasons) 2013-04-29T23:17:01 < inca> and a decent 20 pin 2013-04-29T23:17:03 < Thorn> *all 2013-04-29T23:17:04 < zyp> mictor connectors are small 2013-04-29T23:17:08 < R2COM> that first opne on pdf file? 2013-04-29T23:17:13 < R2COM> first one* 2013-04-29T23:17:19 < Thorn> yes first one 2013-04-29T23:17:25 < TitanMKD> sterna1 real solution use dual mictor for 32bits 2013-04-29T23:17:25 < zyp> 38-pin mictor is smaller than 20-pin 0.1" 2013-04-29T23:17:31 < inca> =) 2013-04-29T23:17:34 < TitanMKD> sterna1 else the trace is incomplete 2013-04-29T23:17:44 < R2COM> soo... I will just use that "Cortex Debug Connector" first one, on pdf link from above 2013-04-29T23:17:50 < R2COM> what is its pitch? 2013-04-29T23:17:55 < R2COM> 1.27mm? 2013-04-29T23:17:56 < Thorn> 0.05" 2013-04-29T23:17:58 < R2COM> 0.05"? 2013-04-29T23:18:00 < R2COM> ok 2013-04-29T23:18:03 < sterna1> well, of course if you want a really good debug, you need lots of pins 2013-04-29T23:18:28 < TitanMKD> sterna1 not debug but full trace code+data ;) 2013-04-29T23:18:28 < R2COM> "TRACEDATA" to which pins of stm32 that goes? 2013-04-29T23:18:31 < inca> unless you are a cowboy dev 2013-04-29T23:18:59 < TitanMKD> sterna1 using SuperSpeed link up to 10Gb/s ;) 2013-04-29T23:19:04 < inca> then you only have serial uart for in-app dev all the way 2013-04-29T23:19:09 < inca> printf+++ 2013-04-29T23:19:19 < Thorn> R2COM: see datasheets, all the big ones have tracedata[3...0] and traceclk 2013-04-29T23:20:02 < inca> cowboy devs always white-wire SWD or JTAG after spinning a board... 2013-04-29T23:20:14 < sterna1> I prefer SWD 2013-04-29T23:20:21 < sterna1> it hase only 4 pins, including ground 2013-04-29T23:20:24 < inca> most do 2013-04-29T23:20:37 < R2COM> inca: what type of dev you are? 2013-04-29T23:21:15 < inca> R2COM: ARM newbie with a specialty for breaking things 2013-04-29T23:21:17 < zyp> inca, I thought cowboy devs used silly bootloaders and had no debug capability at all 2013-04-29T23:21:30 < inca> zyp: you said it better than I 2013-04-29T23:21:35 < sterna1> the best programming interface ever is though the PDI for atmel xmega 2013-04-29T23:21:39 < sterna1> 2 pins 2013-04-29T23:21:43 < sterna1> + nd 2013-04-29T23:21:44 < inca> they barely admit a printf is a debugging technique =P 2013-04-29T23:21:45 < sterna1> *gnd 2013-04-29T23:21:59 < sterna1> and they are located next to eachother on the IC :):):) 2013-04-29T23:22:03 < R2COM> inca: so you are not far apart from what you call *cowbow* devs then 2013-04-29T23:22:17 < inca> R2COM: I worship debug ports 2013-04-29T23:22:18 < R2COM> cowboy* 2013-04-29T23:22:31 < inca> but I have had my cowboy moments, for sure 2013-04-29T23:22:47 < TitanMKD> anyway a trace is a must for real low level devlopment 2013-04-29T23:23:06 < R2COM> inca: you can worship a watermelon if you wish, but its retarted to criticize how and in what way people prefer to debug things, especially for a *newbie* who apparently has little to offer 2013-04-29T23:23:13 < TitanMKD> you can really debug boot stuff with it when JTAG fail ;) 2013-04-29T23:23:13 < gxti> going from printf to debug is a much bigger step than going from debug to trace 2013-04-29T23:24:19 < inca> I am glad we all agree 2013-04-29T23:24:32 < gxti> you're wrong 2013-04-29T23:24:37 < inca> haha 2013-04-29T23:25:02 < inca> the day cannot be complete without my zen moment of getting trolled in ##stm32 2013-04-29T23:25:20 < zyp> so, how many of you guys have actually used trace? 2013-04-29T23:25:22 < TitanMKD> anyway for those interested in top MCU ;) 2013-04-29T23:25:26 < TitanMKD> check the LPC4370 2013-04-29T23:25:40 < gxti> zyp: i have not :[ 2013-04-29T23:25:42 < TitanMKD> i just bought 3 ;) 2013-04-29T23:26:09 < inca> zyp: when I type "where" or "trace" in gdb, does that count? ;) 2013-04-29T23:26:11 < TitanMKD> hints: LPC Link-2 see the picture ;) 2013-04-29T23:26:35 < zyp> inca, no. 2013-04-29T23:27:14 < _BJFreeman> Looks like the boiler rooms are open again 2013-04-29T23:29:07 < inca> zyp: j/k. AFAICT, TRACEDATA is an extension of SWO for SWD in the ARM Debug stuff 2013-04-29T23:29:20 < sterna1> LPC43xx series is only in BGA, right 2013-04-29T23:29:25 < zyp> wrong 2013-04-29T23:30:05 < Thorn> swo is swd only. trace interface is both swd and jtag 2013-04-29T23:30:36 < zyp> and TRACEDATA is faster 2013-04-29T23:30:53 < zyp> (since it's parallel) 2013-04-29T23:31:25 < inca> zyp: okay, my words have been loose. how about this: it is the ETM data interface which allows debug information to occur at native execution speed 2013-04-29T23:32:03 < inca> right, parallel, whereas SWO requires halted execution 2013-04-29T23:32:13 < Thorn> it can do everything swo does + ETM trace 2013-04-29T23:32:23 < inca> so, real-time 2013-04-29T23:32:42 < zyp> inca, it's all about what you are tracing. 2013-04-29T23:32:55 < inca> hmm 2013-04-29T23:33:06 < inca> I've never used it on ARM, only dreamed of it for this project 2013-04-29T23:33:27 < inca> but imagining what you are saying, that makes sense… what are your typical use cases for it? 2013-04-29T23:34:13 < zyp> I've never used trace myself either, but I was watching while a couple of coworkers sitting next to me were tracing some cortex-r stuff some weeks ago 2013-04-29T23:34:30 < inca> I would just use ETM all the time, so my timers and all that never really get botched and I can debug outside of the execution pipeline 2013-04-29T23:34:37 < zyp> and I can't really say I were impressed by the usefulness 2013-04-29T23:34:47 < inca> was it troublesome? 2013-04-29T23:34:57 < inca> hmm 2013-04-29T23:35:17 < zyp> the tools seemed a bit unwieldy 2013-04-29T23:35:54 < inca> the software side, right? 2013-04-29T23:36:04 < zyp> yes 2013-04-29T23:37:21 < R2COM> hmm so I'll just use that 10 pin connector, and get some 10 pos. ribbon cable, with an adapter to it to connecto to Discovery board 2013-04-29T23:37:59 < Thorn> make a BMP clone like everybody else here did. 2013-04-29T23:38:07 < R2COM> hmm 2013-04-29T23:38:43 < R2COM> well why if what i have works? 2013-04-29T23:38:56 < zyp> my coworkers were debugging some deep-sleep problem which resulting in the platform not being able to wake up properly, meaning that normal debug weren't available anymore 2013-04-29T23:39:09 < R2COM> I just wanted a nicer cable and standartized connector for all my boards and disvoery 2013-04-29T23:39:28 < zyp> so what they attempted to do was tracing what happened just before it went to sleep to check for something weird there 2013-04-29T23:39:57 < zyp> not sure if they managed to figure it out or what, I didn't work on that project 2013-04-29T23:40:03 < Thorn> there's a coursera course that teaches gdb btw 2013-04-29T23:40:41 < inca> hmm… I should take that 2013-04-29T23:40:56 < inca> what do the trace functions even look like in GDB or is it transparent? 2013-04-29T23:41:20 < zyp> hah 2013-04-29T23:41:22 < R2COM> I wonder if having 30cm cable for SWD debug ok or not? 2013-04-29T23:41:27 < zyp> gdb doesn't have any concept of trace 2013-04-29T23:41:39 < R2COM> those signals on SWD usually at what speed max? 2013-04-29T23:42:03 < zyp> R2COM, mine is 20cm without any problems 2013-04-29T23:42:10 < R2COM> hmm 2013-04-29T23:42:16 < R2COM> so how fast are they? 2013-04-29T23:42:34 < zyp> how fast is a car? 2013-04-29T23:42:52 < inca> Thorn: link 2013-04-29T23:43:06 < R2COM> TCK 2013-04-29T23:43:10 < R2COM> or 2013-04-29T23:43:11 < R2COM> SWDCLK 2013-04-29T23:43:23 < R2COM> what is maximum speed for it? 2013-04-29T23:43:31 < Thorn> https://www.coursera.org/course/hwswinterface 2013-04-29T23:43:43 < inca> ty 2013-04-29T23:43:46 < zyp> R2COM, depends on both your debugger and the target 2013-04-29T23:43:57 < zyp> and I think also target sysclk 2013-04-29T23:44:17 < R2COM> ok, I just did not know it would be so dependent on it. 2013-04-29T23:44:26 < Thorn> last week homework was insane. bit riddles like 'implement ! with ~ and & only' 2013-04-29T23:44:41 <+Steffann> yay 2013-04-29T23:44:55 < zyp> R2COM, in practice with the hardware we play with, you can assume a few MHz 2013-04-29T23:45:09 < zyp> (I think, never measured it) 2013-04-29T23:45:14 < R2COM> heh ok 2013-04-29T23:46:25 < Posterdati> hi 2013-04-29T23:46:28 < inca> it looks like they only release materials if you sign up 2013-04-29T23:46:33 < Posterdati> is anyone using l3gd20 gyroscope 2013-04-29T23:46:33 < Posterdati> ? 2013-04-29T23:46:42 < zyp> yes 2013-04-29T23:47:19 < inca> 10:35 for gdb? hell yes, I'll watch that 2013-04-29T23:47:43 < Posterdati> zyp: I'm using 70 mDps/digit as gyro gain for 2000 Dps full scale mode, but angles are too small 2013-04-29T23:47:55 < zyp> hmm 2013-04-29T23:48:36 < zyp> http://cgit.jvnv.net/suzumebachi/tree/drivers/l3gd20.h <- here's my scaling code, for radians 2013-04-29T23:48:54 < Posterdati> zyp: tx 2013-04-29T23:49:18 < zyp> and as you see I'm obviously using 250dps scale 2013-04-29T23:49:47 < Posterdati> ok 2013-04-29T23:49:52 < Posterdati> that's why 2013-04-29T23:50:02 < Posterdati> my full scale is too large 2013-04-29T23:51:54 < Posterdati> so you've got 1e-4 for gains 2013-04-29T23:52:21 < zyp> are you interested in degrees or radians? 2013-04-29T23:53:15 < Posterdati> radians 2013-04-29T23:53:29 < zyp> then just do the same but substitute 250 for 2000 2013-04-29T23:53:40 < zyp> 2000 for 250* 2013-04-29T23:54:30 < Posterdati> I set the full scale at 250 Dps 2013-04-29T23:54:35 < karlp> zyp: I would have used trace if I had it, but instead I used all my spare sram to buffer values of interest and wrote gdb plugins to plot it later 2013-04-29T23:54:39 < karlp> and reflashed often 2013-04-29T23:57:17 < zyp> good point 2013-04-29T23:58:02 < zyp> I'm too used to thinking of trace as tracing execution flow :) 2013-04-29T23:59:51 < inca> has anyone integrated IDA into their embedded workflow debugger? --- Day changed Tue Apr 30 2013 2013-04-30T00:01:52 < karlp> hrmm. if I'm using a "normal" serial terminal, and press "enter" what char would you expect to get sent? I'm getting CR, (13/0x0d) when I was expecting LF. (and _only_ CR) 2013-04-30T00:02:27 < gsmcmullin> karlp: expect only CR 2013-04-30T00:02:59 < Thorn> old keyboards had that key labeled "Return" 2013-04-30T00:03:32 < karlp> python miniterm sends CRLF, picocom sends CR, contikios expects CRLF or LF 2013-04-30T00:04:05 < karlp> so linux uses LF only in text files, but sends CR only in serial? 2013-04-30T00:04:31 < gsmcmullin> karlp, zyp: Trace support in BMP can do both of the above cases to some extent. It can trace variable changes using watchpoint units and exception enter/exit. 2013-04-30T00:04:41 < gxti> terminal != text file 2013-04-30T00:04:50 < gsmcmullin> karlp: Yes, it's translated in the tty driver. 2013-04-30T00:04:57 < karlp> true, but I wasn't expecting them to be markedly different 2013-04-30T00:05:07 < gsmcmullin> Depending on termios settings 2013-04-30T00:05:19 < karlp> also, if it's "normally" always CR only, I'm surprised at the settigns in contikios 2013-04-30T00:05:25 < gxti> terminal actually interprets control chars the way they are named, because that's why there are named that way 2013-04-30T00:05:36 < gxti> LF = line feed, if you just send LF it moves down but doesn't go back to column 1 2013-04-30T00:05:50 < karlp> well, I don't have local echo on anyway 2013-04-30T00:06:01 < gxti> if you want to be especially robust, send CRLF and expect any combination 2013-04-30T00:06:37 < gsmcmullin> Send CR and tell the recipient to fix their shit. 2013-04-30T00:06:49 < karlp> yeah, was trying to work out why contiki seemed to not work out of the box. 2013-04-30T00:07:16 -!- UweBonnes [~bon@p5DE44B3D.dip0.t-ipconnect.de] has joined ##stm32 2013-04-30T00:08:02 < karlp> linux desktop app terminal window sends LF only, picocom CR only. 2013-04-30T00:08:02 < karlp> joy 2013-04-30T00:08:10 < karlp> will take this up with contiki then. 2013-04-30T00:09:30 < BrainDamage> karlp: cutecom 2013-04-30T00:09:38 < gsmcmullin> What is 'linux desktop app terminal window'? 2013-04-30T00:09:38 < BrainDamage> lets you pick cr, lf, or both 2013-04-30T00:09:56 < inca> personally, I like putty and screen 2013-04-30T00:10:01 < karlp> gsmcmullin: compiling for a console app, running it in gnome-terminal. 2013-04-30T00:10:22 < BrainDamage> I am always unable to remember screen's scrolling keybindings 2013-04-30T00:10:23 < gsmcmullin> karlp: Because it's cooked by the tty driver. Set your tty to raw mode first 2013-04-30T00:10:24 < karlp> as opposed to compiling for stm32l1, connected via a usb-ttl serial 2013-04-30T00:10:45 < karlp> for the /dev/ttyUSBx? 2013-04-30T00:11:03 < karlp> or for the shell window and the native app? 2013-04-30T00:11:43 < gsmcmullin> The shell is hard to use in raw mode. 2013-04-30T00:12:38 < gsmcmullin> karlp: stty raw 2013-04-30T00:15:24 -!- barthess [~barthess@178.154.42.146] has quit [Quit: Leaving.] 2013-04-30T00:19:01 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-04-30T00:21:02 < inca> hmmm… looks like IDA supports OpenOCD over tcp/ip 2013-04-30T00:26:05 -!- zlog [~zlog@ip68-102-206-145.ks.ok.cox.net] has quit [Remote host closed the connection] 2013-04-30T00:26:31 -!- zlog [~zlog@ip68-102-206-145.ks.ok.cox.net] has joined ##stm32 2013-04-30T00:32:18 < qyx_> CR? 2013-04-30T00:33:02 < inca> anyone know of a way to proxy bmp's gdb server from serial to tcp/ip? 2013-04-30T00:33:12 < qyx_> ser2net 2013-04-30T00:34:31 < inca> hmm… I need the tcp/ip to speak gdb 2013-04-30T00:34:47 < inca> I think it would mean a port of http://gdbproxy.sourceforge.net/ to bmp to get it to work 2013-04-30T00:34:54 < qyx_> what? 2013-04-30T00:35:07 < qyx_> gdb allows you tu use tcp 2013-04-30T00:35:25 < qyx_> you use ser2net to make tcp server from your tty 2013-04-30T00:35:33 < qyx_> and the connect from gdb as tcp client to it 2013-04-30T00:35:44 < ds2> is there a working SWV for BMP? 2013-04-30T00:36:13 < UweBonnes> No 2013-04-30T00:36:15 < inca> qyx_: I'll give it a shot 2013-04-30T00:36:53 < UweBonnes> ds2: My answer was wrong. 2013-04-30T00:37:15 < karlp> inca: or socat 2013-04-30T00:37:20 < karlp> socat is pretty magical 2013-04-30T00:37:54 < UweBonnes> There is magictpa from Gareth for the "native" BMG. 2013-04-30T00:38:11 < inca> karlp: tell me about it 2013-04-30T00:38:25 < UweBonnes> Could't test so far as 2013-04-30T00:38:31 < PaulFertser> +1 for socat 2013-04-30T00:38:56 < inca> UweBonnes: It just requires the STLink/V2's to refactor the TIMERs, right? 2013-04-30T00:38:57 -!- DaKu is now known as daku 2013-04-30T00:40:20 < gsmcmullin> ds2: It's just a proof of concept. Feel free to contribute. 2013-04-30T00:40:26 < UweBonnes> Yes, but you need deeper rewrite. Native has TDO/SWO on a T1/T2 input, while on discovery, it's on a T3/T4 input. T1/T2 can start the timer, T3/T4 not. 2013-04-30T00:40:33 < PaulFertser> inca: and yes, i've used socat to access BMP connected to another host myself. 2013-04-30T00:40:54 < ds2> hmmmm 2013-04-30T00:41:03 < ds2> is it proof of concept for STM32? 2013-04-30T00:41:23 < gsmcmullin> For any armv7m, should be. 2013-04-30T00:41:51 < gsmcmullin> I've only tested on stm32f1 2013-04-30T00:42:12 < ds2> oh 2013-04-30T00:42:25 < ds2> other then discovery, I don't think I brought out the right pins for SWV 2013-04-30T00:43:15 < gsmcmullin> It's just one pin, TRACESWO/TDO 2013-04-30T00:43:47 < ds2> didn't bring it out 2013-04-30T00:43:59 < gsmcmullin> Then it's one red wire 2013-04-30T00:44:11 < ds2> I am using BGA144 2013-04-30T00:44:15 < ds2> on a 4L board 2013-04-30T00:44:18 < ds2> ain't going to happen :( 2013-04-30T00:44:46 < UweBonnes> On the target, SWV is DO, so if you have a JTAG connection, you can use SWD and SWO 2013-04-30T00:45:00 < ds2> I just brought out SWD for programming 2013-04-30T00:45:09 < UweBonnes> DS2: What design rules did you use? 2013-04-30T00:45:10 < ds2> figure UART is my backup flasher if I screw up 2013-04-30T00:45:20 < ds2> 5/5 and 8mil hole, I think 2013-04-30T00:48:49 < UweBonnes> Do you have a ground plain under the device? 2013-04-30T00:49:02 < UweBonnes> Or is ith like swiss cheese? 2013-04-30T00:49:06 < inca> UweBonnes: I don't see the limitation in the F103 datasheet… is that the complementary output? 2013-04-30T00:49:10 < ds2> strictly speaking, no 2013-04-30T00:49:24 < ds2> I have a ground pour in a middle layer but it is swiss cheese 2013-04-30T00:49:35 < UweBonnes> inca: What limitation? 2013-04-30T00:49:56 < karlp> you said t3/4 can't start the timer 2013-04-30T00:50:12 < UweBonnes> ds2: copper floods strill between the via? 2013-04-30T00:50:30 < ds2> yeah, I only brought out what I needed 2013-04-30T00:50:38 < ds2> FMSC, I2C, SPI, and SD 2013-04-30T00:50:59 < UweBonnes> ds2: what you thoought you would need ;-) 2013-04-30T00:51:01 < inca> UweBonnes: starting the timer on 3/4 2013-04-30T00:51:08 < ds2> yes exactly 2013-04-30T00:51:14 < inca> UweBonnes: can it not interrupt to start the timer? 2013-04-30T00:51:16 < ds2> it is going to be respun 2013-04-30T00:51:21 < ds2> but I donno if I will stay with the STM32 or not 2013-04-30T00:51:30 < ds2> it is a board for a watch 2013-04-30T00:51:38 < inca> ds2: run while you still can 2013-04-30T00:51:42 < inca> ;) 2013-04-30T00:51:42 < UweBonnes> Who soldered the device. You or some subcontractor? 2013-04-30T00:52:50 < ds2> UweBonnes: in this case, some subcontractor... I might do one myself later... didn't wanted too many variables on my first STM32 board 2013-04-30T00:53:01 < ds2> inca: what do you say that? 2013-04-30T00:54:01 < inca> ds2: oh, I am just joking… I just bought a slew of STM dev boards for the fun of it and Stellaris for comparison. STM is okay, you just have to get your toolchain and dev workflow nailed down 2013-04-30T00:54:12 < UweBonnes> Inca/karlp: Look at a timer block diagram, like F$/RM0090/Fig 119 2013-04-30T00:54:22 < ds2> oh like that 2013-04-30T00:54:32 < ds2> inca: I am looking elsewhere for power reasons 2013-04-30T00:54:47 < inca> ds2: STM is not about elegance 2013-04-30T00:54:57 < karlp> ds2: what are the other candidates? 2013-04-30T00:55:03 < inca> motorola used to be king for power 2013-04-30T00:55:12 < inca> freescale is kind of sick 2013-04-30T00:55:19 < ds2> efm32 and psoc5lp 2013-04-30T00:55:26 < gxti> efm32 looks nice, been meaning to try it 2013-04-30T00:55:30 < ds2> the silab m3's look intersting 2013-04-30T00:55:41 < karlp> are efm's dracos out yet? 2013-04-30T00:55:43 < ds2> but I am hesitant since they have huge packages (QFP) 2013-04-30T00:55:59 < UweBonnes> Only TI1FP1 and TI2FP2 can trigger the timer. And Gareths code lets the Manchester code start the timer 2013-04-30T00:56:07 < Laurenceb_> ur a huge package 2013-04-30T00:56:27 -!- vpopov [~happylife@37-147-202-203.broadband.corbina.ru] has quit [Ping timeout: 276 seconds] 2013-04-30T00:56:57 < UweBonnes> inca: there is no stellaris any more. Its TIVA now. Wonder what bad grass they are smocking in Dallas. 2013-04-30T00:57:24 < karlp> it's the same parts, just spun on different process. 2013-04-30T00:57:43 < UweBonnes> And there are no more LM3S parts available, LM4S got renamed to TM4 but is not available yet. 2013-04-30T00:57:43 < karlp> probably internal politics after the acquisition anyway 2013-04-30T00:57:47 < Laurenceb_> seems they sold a ton to apple 2013-04-30T00:57:59 < Laurenceb_> all the latest apple stuff has stellaris inside 2013-04-30T00:58:20 < karlp> hmm, bt in contiki is giving me 23 stack frames 2013-04-30T00:58:21 -!- ABLomas [~abl@78-60-198-200.static.zebra.lt] has quit [Ping timeout: 245 seconds] 2013-04-30T00:58:25 < karlp> wicked cool. 2013-04-30T00:58:48 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Quit: Leaving] 2013-04-30T00:58:51 < UweBonnes> Iinca: If you interrupt to start the timer, jitter will ne hugh 2013-04-30T00:59:51 < UweBonnes> Having a free running timer and capturing rising and falling edges is another way to go. 2013-04-30T01:01:38 < inca> I'm looking at RM0008, figure 100: general-purpose timer block diagram 2013-04-30T01:01:40 < Thorn> so my lm4s launchpad is useless now? 2013-04-30T01:02:34 < inca> looks like TIMx_CH3 has an XOR into the trigger controller 2013-04-30T01:02:38 < inca> but not CH4 2013-04-30T01:04:33 < inca> UweBonnes: as for the free running timer, I think ChibiOS makes that kind of thing fairly easy to do 2013-04-30T01:05:09 < UweBonnes> inca: Good input. I thought about the XOR, but feared the TI1/2 will interfere. But if you don't map them, thinks should be safe. 2013-04-30T01:05:25 < UweBonnes> "thinks" -> "things" 2013-04-30T01:05:33 < inca> understood 2013-04-30T01:05:35 < inca> hmm 2013-04-30T01:06:10 < inca> try the easy stuff first, right? low hanging fruit 2013-04-30T01:06:26 < UweBonnes> Well, catching the edges is no problems, but decoding, timing out on error and sending the result is. 2013-04-30T01:06:57 < UweBonnes> Thorn: The Lauchpad can still be used. 2013-04-30T01:07:06 < inca> it really sounds like something an FPGA or CPLD would be better suited to do 2013-04-30T01:07:11 -!- sterna1 [~Adium@dhcp-181117.eduroam.chalmers.se] has quit [Quit: Leaving.] 2013-04-30T01:07:37 < UweBonnes> That's what the bigger debuggers do. 2013-04-30T01:07:47 -!- ABLomas [~abl@78-60-198-200.static.zebra.lt] has joined ##stm32 2013-04-30T01:07:52 < Thorn> but you won't be able to get the chips anymore? 2013-04-30T01:08:06 < UweBonnes> Did anybody see a hardware manchester decoder in a uC? 2013-04-30T01:08:17 < karlp> Thorn: your lm4s just has a different name now 2013-04-30T01:08:23 < karlp> the part numbers all changed though 2013-04-30T01:08:41 < inca> PaulFertser: what is your serial2tcp socat config? 2013-04-30T01:08:44 < Thorn> oh so they only thrashed the lm3s line? 2013-04-30T01:08:58 < UweBonnes> Thorn: And the LM4S on the launchpad never was a LM4S but a LX4S with 'X" for pre-series. 2013-04-30T01:10:38 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-04-30T01:10:47 < karlp> lm3s was already being replaced and moved to NRND 2013-04-30T01:11:06 < karlp> then on top of that they renamed it all to lt or whatever new part numbers are 2013-04-30T01:11:07 < Robint91> karlp, re: magnetics, yeah, more different vendors, and those magnetics have most of the ime the same pinout 2013-04-30T01:11:25 < karlp> Robint91: but more parts and more board space thugh right? 2013-04-30T01:11:33 < karlp> there must be some other advantage? 2013-04-30T01:11:35 < Thorn> okay thanks 2013-04-30T01:11:53 < Robint91> karlp, sometimes cheaper? and most of the things I do is POE 2013-04-30T01:12:05 < Robint91> which sometimes require special magnetics 2013-04-30T01:12:25 < karlp> ah, right, that's the bit I wasn't quite seeing 2013-04-30T01:12:36 < UweBonnes> TI rushed to tell that they will keep producing LM3S while there is demand, but digikey/mouser tells another story. 2013-04-30T01:13:03 < Robint91> UweBonnes, TI droppiing there cortex m3 series? 2013-04-30T01:13:15 < karlp> Robint91: it's not recommended fo rnew designs 2013-04-30T01:13:18 < karlp> has been for a while now. 2013-04-30T01:14:00 < Robint91> karlp, didn't knew that 2013-04-30T01:14:09 < Robint91> karlp, do they give a reason for it? 2013-04-30T01:14:18 < ds2> what is the reason for the stellaris parts anyways? 2013-04-30T01:14:19 < karlp> replaced with the lm4s 2013-04-30T01:14:23 < ds2> don't see any advantages to them 2013-04-30T01:14:29 < karlp> ds2: what do you mean? 2013-04-30T01:14:34 < karlp> compared to what? 2013-04-30T01:14:40 < UweBonnes> Damager's decisions... 2013-04-30T01:14:41 < Thorn> hm. mine is actually EK-LM4F120XL 2013-04-30T01:14:48 < ds2> compared to say the STM32's 2013-04-30T01:14:52 < Robint91> only ST is that mad to make an entire range of CM0/CM3 and CM4 devices 2013-04-30T01:15:03 < ds2> stellaris seems to be a generic M3 device w/no external memory interface 2013-04-30T01:15:07 < karlp> stellaris is much older than stm32 iirc, 2013-04-30T01:15:17 < karlp> and has lots of code in "stellarisware" in rom 2013-04-30T01:15:26 < karlp> maybe you already had a nice relationship with ti 2013-04-30T01:15:26 < ds2> oh..thought they were the same era as the F1's 2013-04-30T01:15:38 < karlp> or maybe you were a customer of luminary before ti bought them and like them? 2013-04-30T01:15:40 * karlp shrugs 2013-04-30T01:15:56 < karlp> these days, for new designs, yeah, they just seem more expensive for no real good reason? 2013-04-30T01:16:03 < ds2> i looked at their parts and came back as wtf 2013-04-30T01:16:50 < Robint91> the F1 is from 200 2013-04-30T01:16:53 < Robint91> *2007 2013-04-30T01:19:00 < inca> karlp: how did you set up socat for bmp's serial to tcp interface? 2013-04-30T01:19:43 < inca> UNIX: TCP-LISTEN: 2013-04-30T01:20:09 < Robint91> the LM 2013-04-30T01:20:21 < Robint91> the LM3S101 is from 2006 2013-04-30T01:20:33 < Robint91> around april 2013-04-30T01:21:28 < ds2> ooh I see 2013-04-30T01:22:42 < UweBonnes> Good night! 2013-04-30T01:22:48 -!- UweBonnes [~bon@p5DE44B3D.dip0.t-ipconnect.de] has quit [Quit: epic+tkirc2] 2013-04-30T01:24:00 < karlp> inca: I can't remember, it's in one of the example pages 2013-04-30T01:24:20 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Read error: Connection reset by peer] 2013-04-30T01:24:20 < inca> I don't think I've made it that far in the man page yet 2013-04-30T01:24:22 < inca> this is epic 2013-04-30T01:24:56 < karlp> socat tcp-l:1234,reuseaddr,fork file:/dev/ttyACM0,nonblock,raw,echo=0,waitlock=/var/run/tty,b9600 2013-04-30T01:25:00 < karlp> something like that :) 2013-04-30T01:25:19 < karlp> to hook /dev/ttyACM0 to tcp 1234 2013-04-30T01:25:32 < karlp> you can do all sorts of madness 2013-04-30T01:25:43 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has quit [Read error: Connection reset by peer] 2013-04-30T01:25:43 < inca> dataflow ftw 2013-04-30T01:25:55 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-30T01:25:57 < karlp> like hook up a virtual tty on one end of an ssh link with the actual serial port on the far side and stuff 2013-04-30T01:26:19 -!- _BJFreeman [~bjfree@215.sub-75-244-134.myvzw.com] has quit [Ping timeout: 260 seconds] 2013-04-30T01:26:21 < inca> that's useful 2013-04-30T01:26:28 < karlp> I've used it to make a virtual serial cable too, you can make it create both ends of a serial connection as /dev/ttyLEFT and /dev/ttyRIGHT sort of thing 2013-04-30T01:26:35 < karlp> it's arcane though 2013-04-30T01:26:50 -!- _BJFreeman [~bjfree@174.sub-75-233-69.myvzw.com] has joined ##stm32 2013-04-30T01:26:59 < inca> it's because we have a billion protocols to do the same thing: transmit data 2013-04-30T01:26:59 < karlp> source: (because arduino!) http://ediy.com.my/index.php/blog/item/6-control-arduino-with-tp-link-tl-wr1043nd-router 2013-04-30T01:27:12 < karlp> no, we have 2. tcp and udp :) 2013-04-30T01:27:22 < inca> good point 2013-04-30T01:28:23 < inca> finally made it to examples 2013-04-30T01:28:26 < karlp> here's some other tricks: https://github.com/bewest/decoding-carelink/commit/26d9036febee8196fb7b9f49b5f6c02ecd29ee0a 2013-04-30T01:28:31 < karlp> oh, I never read most of the manual, 2013-04-30T01:28:37 < karlp> just fished around for recipes 2013-04-30T01:28:56 < inca> line 2000 =) 2013-04-30T01:29:03 < inca> in widescreen mode 2013-04-30T01:32:16 < inca> holy shit! 2013-04-30T01:32:18 < inca> it just works! 2013-04-30T01:32:22 < inca> imagine that 2013-04-30T01:32:31 < inca> socat /dev/bmp,raw,echo=0,crnl TCP-LISTEN:3333 2013-04-30T01:34:29 < inca> gsmcmullin: not sure if this is useful or not to you, but perhaps for the documentation of bmp ^^ 2013-04-30T01:38:08 < karlp> that looks a lot simpler :) 2013-04-30T01:39:47 < inca> hmm… this data rate is kind of slow 2013-04-30T01:43:51 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has joined ##stm32 2013-04-30T01:44:33 < inca> hokay 2013-04-30T01:44:38 < inca> socat /dev/bmp,nonblock,raw,echo=0 TCP-LISTEN:3333 2013-04-30T01:44:43 < inca> fixed it =) 2013-04-30T01:47:23 < inca> now to get IDA to talk to it 2013-04-30T01:47:44 < inca> need to figure out how to tell IDA to tell gdb to do the mon swdp_scan;att 1 thing 2013-04-30T02:01:33 < inca> so close 2013-04-30T02:01:35 < inca> next time 2013-04-30T02:07:15 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Read error: Connection reset by peer] 2013-04-30T02:07:40 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-30T02:08:15 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has quit [Quit: trepidaciousMBR] 2013-04-30T02:08:24 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Max SendQ exceeded] 2013-04-30T02:08:46 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-30T02:09:16 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Max SendQ exceeded] 2013-04-30T02:09:41 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-30T02:18:03 -!- Laurenceb_ [~Laurence@host86-177-61-171.range86-177.btcentralplus.com] has quit [Ping timeout: 245 seconds] 2013-04-30T02:33:00 -!- Steffann [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-04-30T02:34:15 < karlp> inca: you can put things in your ~/.gdbinit or even in the project dir's .gdbinit that will be run automatically 2013-04-30T02:42:50 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: and like that, he's gone] 2013-04-30T02:43:35 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-30T02:46:07 < inca> karlp: IDA seems to ignore that file =\ 2013-04-30T02:46:53 < inca> I'm punting on that… actually need to finish the FLASH ISP lld tonight 2013-04-30T02:48:39 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-242-38.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-04-30T02:50:10 < inca> guess it's time to whip out the OLS! 2013-04-30T03:10:44 -!- capacitor [7bf38bbb@gateway/web/freenode/ip.123.243.139.187] has joined ##stm32 2013-04-30T03:11:00 < capacitor> I'm just waitin' for a mate 2013-04-30T03:21:42 -!- capacitor [7bf38bbb@gateway/web/freenode/ip.123.243.139.187] has left ##stm32 [] 2013-04-30T03:25:03 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Read error: Connection reset by peer] 2013-04-30T03:34:06 < dongs> sup trolls/dongs 2013-04-30T03:42:56 < upgrdman> sup 2013-04-30T04:06:39 < R2COM> I hope my 230mm pc fan arrives asap, mine is not working and its hot 2013-04-30T04:31:00 < upgrdman> 230mm? jeez 2013-04-30T04:40:03 < dongs> isnt that just the regular big fan 2013-04-30T04:40:31 < dongs> hmm nope 2013-04-30T04:54:26 < upgrdman> i found some 100W CFLs on amazon... they draw 100W ... 400W equiv. they look huge, but im tempted to buy one for a floor lamp 2013-04-30T04:56:06 < upgrdman> 13" from top to bottom. damn that a big CFL 2013-04-30T04:59:55 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 264 seconds] 2013-04-30T05:01:32 < R2COM> heres what I got http://www.amazon.com/BitFenix-Spectre-230mm-Series-BFF-LPRO-23030R-RP/dp/B008921SNE/ 2013-04-30T05:05:26 < talsit> hey, i have the option of 2 comparators, one push-pull output and the other open-drain, i understand the differences of each, but what i don't get is when i should use one or the other 2013-04-30T05:08:42 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-30T05:08:56 -!- baird [~cjb@ppp121-44-104-161.lns20.syd6.internode.on.net] has joined ##stm32 2013-04-30T05:12:35 < R2COM> whenever you want output of something be open drain (and possibly pull up to needed voltage) well then you use open drain 2013-04-30T05:13:13 < R2COM> typical situation might be, when there is something else on a bus on another side, driving a signal..and at that particular time you dont want your comparator or whatever it is to drive bus to avoid collision 2013-04-30T05:13:17 < R2COM> then you use open drain 2013-04-30T05:13:38 < talsit> ah... 2013-04-30T05:14:04 < talsit> but in my case, where i have it goind directly to the MCU's pin, the push-pull would be better because i would avoid a pull-up? 2013-04-30T05:15:16 < R2COM> well... 2013-04-30T05:15:33 < R2COM> yes, but you must then make sure that both MCU and your part do not try to drive signal at same time 2013-04-30T05:16:52 < talsit> ah... makes sense 2013-04-30T05:17:07 < talsit> so an open-drain is "safer" in case you do something silly 2013-04-30T05:17:29 < talsit> i have very low bandwidth, if that makes any difference 2013-04-30T05:17:30 < R2COM> yes, if high speed is not desired 2013-04-30T05:17:41 < R2COM> yes, then open-drain would be nice option 2013-04-30T05:17:59 < talsit> and i have heaps of space in that area for a pull-up 2013-04-30T05:18:18 < talsit> i can always not populate it later on and swap the comparators around 2013-04-30T05:18:30 < talsit> same family, same datasheet, just different config 2013-04-30T05:18:31 < R2COM> yes, sounds like good decision 2013-04-30T05:18:49 < R2COM> make placeholder for pullup and try OD solution first 2013-04-30T05:18:52 < talsit> i'm doing that in so many places on my board :) 2013-04-30T05:19:05 < talsit> i've got it working on breadboard 2013-04-30T05:19:22 < talsit> at first i was soooo confused, because i ordered a sample of the push-pull one 2013-04-30T05:19:28 < talsit> and they sent me the OD one 2013-04-30T05:19:35 < talsit> and i wasn't getting *any* output 2013-04-30T05:19:35 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-30T06:03:18 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-30T06:04:26 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Max SendQ exceeded] 2013-04-30T06:06:27 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-30T06:07:17 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Max SendQ exceeded] 2013-04-30T06:08:04 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-30T06:08:50 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Excess Flood] 2013-04-30T06:09:21 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-30T06:11:00 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Excess Flood] 2013-04-30T06:11:30 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-30T06:12:05 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Excess Flood] 2013-04-30T06:12:38 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-30T06:12:44 < gxti> anyone know if there's a trick to wait on multiple serial devices (or queues in general) in chibios? 2013-04-30T06:13:06 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has quit [Read error: Connection reset by peer] 2013-04-30T06:13:31 < gxti> i see events work like that but it's not immediately apparent if/how they work with queues 2013-04-30T06:39:38 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Read error: Operation timed out] 2013-04-30T06:41:26 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-04-30T06:55:01 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-04-30T07:17:56 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-30T07:18:25 -!- _BJFreeman is now known as BJFreeman 2013-04-30T07:26:58 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-04-30T07:42:27 -!- flop [~kvirc@CPE00222de26418-CM00222de26415.cpe.net.cable.rogers.com] has joined ##stm32 2013-04-30T07:42:44 < dongs> youre not kawaii enough to know this 2013-04-30T07:54:00 < dongs> got my STM8S003-discovery :D 2013-04-30T08:13:09 -!- claude_ [~quassel@HSI-KBW-109-192-173-054.hsi6.kabel-badenwuerttemberg.de] has joined ##stm32 2013-04-30T08:15:12 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2013-04-30T08:16:44 < qyx_> gxti: i would simply use multiple tasks fot that 2013-04-30T08:18:55 < dongs> wonder where can i get some smd led lightpipes 2013-04-30T08:19:29 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2013-04-30T08:19:34 < dongs> ha, digikey has some but nonstock 2013-04-30T08:19:52 < qyx_> lightpipes? you mean like those found on hdd bays? 2013-04-30T08:20:25 < dongs> lightpipe, just anything to get LED from board to panel 2013-04-30T08:20:36 < dongs> but yea similar to stuff on hdd trays 2013-04-30T08:20:39 < dongs> those are long though. 2013-04-30T08:20:44 < dongs> http://www.dialight.com/Assets%5CBrochures_And_Catalogs%5CIndication%5CLightpipe_Selector_Guide.pdf this kinda shit 2013-04-30T08:22:33 < qyx_> hm, nice 2013-04-30T08:23:27 < dongs> i think normally one designs case/pcb with a lightpipe in mind so im kinda fucked at this point so ill just drill a hole and put a sticker over it 2013-04-30T08:25:17 < qyx_> right angle smd led with sticker would do 2013-04-30T08:25:46 < dongs> yep makin sticker now 2013-04-30T08:34:53 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Read error: Operation timed out] 2013-04-30T08:39:49 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-04-30T08:50:27 < qyx_> i wonder which approach is better for timing signal reception 2013-04-30T08:51:02 < qyx_> windowed comparators triggering dma for adc used to capture full signal waveform and later correlate it 2013-04-30T08:51:48 < qyx_> or use input compare to get time of zero crossing, time of max amplitude (= zero crossing of its derivative) and to trigger single adc cycle on maximum amplitudes 2013-04-30T08:52:08 < qyx_> and then reconstruct waveform using this data 2013-04-30T09:05:48 < dongs> those phoenix contact shits works preettyy good 2013-04-30T09:12:38 -!- claude_ [~quassel@HSI-KBW-109-192-173-054.hsi6.kabel-badenwuerttemberg.de] has quit [Ping timeout: 272 seconds] 2013-04-30T09:27:58 -!- talsit1 [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-30T09:30:01 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Ping timeout: 245 seconds] 2013-04-30T09:34:29 -!- emeb_mac [~ericb@ip72-223-89-10.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-04-30T09:38:12 -!- capacitor [7bf38bbb@gateway/web/freenode/ip.123.243.139.187] has joined ##stm32 2013-04-30T09:41:58 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-04-30T09:42:41 < capacitor> hi Tectu 2013-04-30T09:49:07 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-04-30T10:06:56 -!- capacitor [7bf38bbb@gateway/web/freenode/ip.123.243.139.187] has left ##stm32 [] 2013-04-30T10:25:01 -!- talsit1 is now known as talsit 2013-04-30T10:25:25 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2013-04-30T10:25:25 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2013-04-30T10:25:25 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-04-30T10:38:32 -!- Laurenceb_ [~Laurence@host86-177-61-171.range86-177.btcentralplus.com] has joined ##stm32 2013-04-30T10:52:27 -!- sterna1 [~Adium@194.17.253.121] has joined ##stm32 2013-04-30T10:54:32 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-04-30T10:54:35 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-04-30T10:56:18 -!- Robint91 [~Robin@dD5776E9E.access.telenet.be] has joined ##stm32 2013-04-30T10:56:49 < Robint91> hi all 2013-04-30T11:02:13 -!- Laurenceb_ [~Laurence@host86-177-61-171.range86-177.btcentralplus.com] has quit [Ping timeout: 245 seconds] 2013-04-30T11:03:25 <+Steffanx> Lo mr T 2013-04-30T11:06:27 < Robint91> Steffanx, watching the live stream on NOS 2013-04-30T11:07:28 <+Steffanx> No way 2013-04-30T11:10:21 -!- dekar [~dekar@212.255.18.24] has quit [Quit: Leaving] 2013-04-30T11:24:37 -!- timemob [~dongs@149.110.131.180.west.global.crust-r.net] has joined ##stm32 2013-04-30T11:25:20 -!- baird [~cjb@ppp121-44-104-161.lns20.syd6.internode.on.net] has quit [Read error: Connection reset by peer] 2013-04-30T11:30:12 -!- baird [~cjb@ppp121-44-104-161.lns20.syd6.internode.on.net] has joined ##stm32 2013-04-30T11:32:48 -!- dfletcher [~fletch@drupal.org/user/72475/view] has quit [Ping timeout: 252 seconds] 2013-04-30T11:37:43 <+Steffanx> Not much to see anyway Robint91 2013-04-30T11:38:34 <+Steffanx> ( like you would watch to your king albert :P ) 2013-04-30T11:39:40 < Robint91> yeah 2013-04-30T11:39:56 < zyp> Steffanx, are you enjoying your new king? 2013-04-30T11:40:03 <+Steffanx> Anything changed? 2013-04-30T11:40:18 < zyp> dunno, I just saw a couple of headlines 2013-04-30T11:46:51 -!- UweBonnes [~bon@hertz.ikp.physik.tu-darmstadt.de] has joined ##stm32 2013-04-30T11:49:20 -!- metaxa [metaxa@us.members.bombshellz.net] has quit [Ping timeout: 260 seconds] 2013-04-30T11:51:28 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-04-30T11:59:24 -!- UweBonnes [~bon@hertz.ikp.physik.tu-darmstadt.de] has quit [Quit: epic+tkirc2] 2013-04-30T11:59:41 < baird> I had a store-clerk today who had the exact-same 'Chinese-?Canadian' voice & accent as most of the male voice actors in DE:HR/Hengsha.. He didn't use the word "laowai", though. :P 2013-04-30T12:01:56 < baird> Another exciting thing that happened today: I blew up my iRiver MP3 player-- sent a whole SLA battery's worth of 12VDC through the mic plug while using a non-isolated amplifier. :/ 2013-04-30T12:08:49 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-30T12:08:53 -!- naftilos76 [~naftilos7@46.251.116.146] has joined ##stm32 2013-04-30T12:18:20 < timemob> Huh wow stm32 is 130nm process? 2013-04-30T12:18:31 < timemob> I thought it would be like 90nm at least 2013-04-30T12:19:06 < timemob> Just got spam from st they shrunk L1 to 110nm for power savings 2013-04-30T12:19:14 < naftilos76> hi everyone, i am trying to get a decent eclipse-based STMF4 development environment with STM32F4 discovery board. I have already setup as per http://embeddedprogrammer.blogspot.com/2012/09/stm32f4discovery-development-with-gcc.html . However in order to setup all peripherals i need so kind of codewizard. Can anybody help? 2013-04-30T12:19:58 < timemob> You don't 2013-04-30T12:20:06 < timemob> Just write shit yourself 2013-04-30T12:20:15 < timemob> Or copy paste from st samples 2013-04-30T12:21:33 < naftilos76> setting up peripherals is not the easiest thing to do especially when starting with STM32s! 2013-04-30T12:22:57 < zyp> it's not the hardest either. 2013-04-30T12:23:01 < sterna1> there is a code wizard in form of sts micro explorer or something 2013-04-30T12:23:32 < sterna1> it's an eclipse plugin, but last I checked it had long ways to go before i worked 2013-04-30T12:24:24 < jpa-> naftilos76: it's not that hard 2013-04-30T12:25:13 < jpa-> besides, who uses stdperiph anyway - chibios, coocox, libopencm3, raw hardware.. all would require a different wizard 2013-04-30T12:27:27 < naftilos76> sterna1: i have already installed that on Eclipse in ubuntu maverick and trying to find my way through! As i said i just started with STM32s. I was stuck with 8bit AVRs for a long time! 2013-04-30T12:27:50 < sterna1> you're in the same seat as me about a year ago 2013-04-30T12:28:59 < sterna1> that microxplorer-thingie is good for when designing your board to manage where all the periphirals are and so on 2013-04-30T12:29:49 < Robint91> who knows good camera sensors? 2013-04-30T12:29:52 < sterna1> to init the periphirals I would recommend linking in the std-periph library for STM32F4 (or just add all the library files to your project for starters) 2013-04-30T12:30:01 < Robint91> like high fps and global shutter 2013-04-30T12:30:08 < Robint91> but a low price 2013-04-30T12:30:23 < jpa-> Robint91: if you find out, tell me also 2013-04-30T12:30:33 < sterna1> naftilos76: and look at the examples, both for stm32f4 and stm32f10x 2013-04-30T12:30:39 < jpa-> especially ones that can be reasonably purchased in small volumes 2013-04-30T12:30:53 < sterna1> naftilos76: autocompletion in eclipse is your friend 2013-04-30T12:31:15 < timemob> Aptiva or ov are basically your only choices 2013-04-30T12:31:28 < Robint91> http://www.onsemi.com/PowerSolutions/product.do?id=LUPA300 2013-04-30T12:31:33 < sterna1> naftilos76: you could check out this guide a friend of mine wrote 2013-04-30T12:31:34 < sterna1> http://vedder.se/2012/07/get-started-with-stm32f4-on-ubuntu-linux/ 2013-04-30T12:31:38 < sterna1> it's really good 2013-04-30T12:31:39 < Robint91> timemob, rolling shutter is SHIT 2013-04-30T12:32:05 < naftilos76> sterna1: i was reading the tutorial from that link i gave earlier! That guy seems to have done a wonderfull job. The thing is that he (just my opinion) complicated things a little bit because he used lots of different C++ class templates and typedefs and considering that my C++ is a little rusty, i am a little lost. I am digging in the include files to get to the bottom of a decent understanding of his library implementation. That will take some tim 2013-04-30T12:32:05 < naftilos76> e! 2013-04-30T12:32:24 < timemob> You need industrial stuff? 2013-04-30T12:32:34 < sterna1> I've never used C++ for microcontrollers 2013-04-30T12:32:37 < sterna1> and I'm doing fine 2013-04-30T12:32:52 < timemob> C++ is aids 2013-04-30T12:33:02 < karlp> inca: if IDA ignores the .gdbinit, I guess it's not actually invoking gdb, it's just talking the gdbremote protocol then? 2013-04-30T12:33:14 < Robint91> timemob, I'm tracking fast stuff aka motion tracking 2013-04-30T12:33:24 < Robint91> rolling shutter gives smears in the data 2013-04-30T12:33:32 < sterna1> naftilos76: as I said, use STs standard periphiral lib, it works rather good 2013-04-30T12:33:36 < sterna1> now, lunch 2013-04-30T12:33:43 < timemob> Ida? 2013-04-30T12:33:49 <+Steffanx> Robint91 so it's not shit, but just not suitable for your application ... 2013-04-30T12:33:56 < timemob> Is inca haxing something 2013-04-30T12:34:10 < Robint91> Steffanx, in general rolling shutters aren't that nice 2013-04-30T12:34:29 < Robint91> Steffanx, a global shutter is always better 2013-04-30T12:34:42 < naftilos76> Me too! Well the thing is that RAM is significantly larger and the STM32F4 max CPU speed can get up to 250MHz (overclocked) so it can well handle a little more code overhead! 2013-04-30T12:35:07 < jpa-> Robint91: make your IR leds blink synchronized to the frame capture :) (if that's what you are tracking) 2013-04-30T12:35:20 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Read error: Connection reset by peer] 2013-04-30T12:36:23 < Laurenceb> heh 2013-04-30T12:36:32 * Laurenceb is working on a project to do just that 2013-04-30T12:36:44 < Laurenceb> IR leds synced to camera 2013-04-30T12:36:52 <+Steffanx> yet another project wiht leds? 2013-04-30T12:37:03 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has joined ##stm32 2013-04-30T12:37:03 < Laurenceb> yup 2013-04-30T12:37:11 <+Steffanx> Next phd project? 2013-04-30T12:37:15 < Laurenceb> but none of them are blue 2013-04-30T12:37:17 < Laurenceb> so its ok 2013-04-30T12:37:22 < Laurenceb> nope, work project 2013-04-30T12:42:27 -!- t1memob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-04-30T12:42:40 < Robint91> jpa-, http://www.onsemi.com/PowerSolutions/product.do?id=LUPA300 this costs around 50$ 2013-04-30T12:42:50 -!- UweBonnes [~bon@hertz.ikp.physik.tu-darmstadt.de] has joined ##stm32 2013-04-30T12:43:10 <+Steffanx> only vga 2013-04-30T12:43:56 < Robint91> Steffanx, 90dB dynamic range and 250fps 2013-04-30T12:43:58 -!- tim3mob [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-04-30T12:45:19 < Robint91> Steffanx, a 256x256 image can be readed with a frame rate of 1076fps 2013-04-30T12:46:13 -!- timemob [~dongs@149.110.131.180.west.global.crust-r.net] has quit [Ping timeout: 240 seconds] 2013-04-30T12:46:33 -!- t1memob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Ping timeout: 240 seconds] 2013-04-30T12:52:27 < Laurenceb> flames per second 2013-04-30T12:54:33 < Laurenceb> RS stock a load of sensors 2013-04-30T12:54:47 < Laurenceb> dunno how far you could get with one connected to an F4 2013-04-30T12:57:16 < Robint91> Laurenceb, DCMI 2013-04-30T12:57:27 < Robint91> Laurenceb, but at those high frame rates you need an FPGA 2013-04-30T12:57:47 < Laurenceb> oh, your high speed project 2013-04-30T12:57:53 < Laurenceb> i remember 2013-04-30T13:03:45 < tim3mob> High blog project 2013-04-30T13:09:42 < dongs> sup blogs 2013-04-30T13:09:59 < Laurenceb> http://www.ifixit.com/Teardown/Samsung+Galaxy+S4+Teardown/13947/2 2013-04-30T13:10:02 < Laurenceb> lol avr32 2013-04-30T13:11:24 < dongs> where 2013-04-30T13:11:58 < zyp> step 13 2013-04-30T13:12:01 < karlp> dongs, got a link to "share" this st spam? 2013-04-30T13:12:07 < karlp> I ddidn't get any st spam today :| 2013-04-30T13:12:35 < dongs> Microcontroller news from STMicroelectronics 2013-04-30T13:12:36 < dongs> April 2013 2013-04-30T13:12:38 < dongs> this is what i got 2013-04-30T13:12:46 < dongs> weird, their shit usually includes "share with colleague" tpye shit 2013-04-30T13:13:08 < zyp> «MHL 2.0 transmitter» 2013-04-30T13:13:13 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 240 seconds] 2013-04-30T13:13:17 < zyp> so not jumping to MyDP 2013-04-30T13:14:50 < Tectu> MyDP? 2013-04-30T13:14:53 < Laurenceb> L1 moved to 110nm... 2013-04-30T13:15:09 < karlp> for the l100 presumably. 2013-04-30T13:15:19 < karlp> I normally get the st microcontroller news, that's all 2013-04-30T13:15:22 < Laurenceb> Going beyond low power: energy harvesting with the M24LR 2013-04-30T13:15:27 < zyp> Tectu, mobility displayport 2013-04-30T13:15:28 < Laurenceb> is about all thats interesting 2013-04-30T13:15:38 < zyp> Tectu, like MHL except with a DP lane instead of a TMDSL lane 2013-04-30T13:15:41 < zyp> TMDS* 2013-04-30T13:15:52 < Laurenceb> http://www.st.com/web/catalog/tools/FM116/SC1444/PF253360 2013-04-30T13:15:58 < Tectu> yeah, explaning a short form of something using two more short forms, brillian! 2013-04-30T13:15:59 < Tectu> :) 2013-04-30T13:16:26 < karlp> m24lr disco kit has been out for a few months now 2013-04-30T13:16:27 < Tectu> Laurenceb, I've already checked out that one, it's cheap as fuck 2013-04-30T13:16:32 < karlp> someone here was playing with it 2013-04-30T13:16:33 < Tectu> yeah 2013-04-30T13:16:38 < zyp> Tectu, do you need a teaspoon? 2013-04-30T13:17:27 < karlp> I'm more interested in getting the 13mhz baseboard for cheap than the energy harvesting eeprom :) 2013-04-30T13:17:34 < Tectu> zyp, na, I'm fine. Thanks! 2013-04-30T13:18:00 < zyp> Tectu, MHL is HDMI (TMDS) multiplexed on a micro USB port, so you can hook up the USB port of your phone to a TV 2013-04-30T13:18:25 < zyp> MyDP does the same, but using displayport signalling instead of TMDS signalling 2013-04-30T13:18:39 < Tectu> zyp, interesting! 2013-04-30T13:18:59 < Tectu> zyp, yes yes I know, newbie, but is teaspoon in this context something that should made sense? 2013-04-30T13:19:27 < karlp> to be fed with :) 2013-04-30T13:19:33 < karlp> and smaller than a normal spoon 2013-04-30T13:19:39 < Tectu> aah :D 2013-04-30T13:20:01 < Tectu> is it usually meant to be offensive or not? 2013-04-30T13:20:06 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 256 seconds] 2013-04-30T13:20:30 -!- Simon-- [~sim@2606:6a00:0:28:5604:a6ff:fe02:702b] has quit [Ping timeout: 264 seconds] 2013-04-30T13:20:39 < karlp> all up to the receiver :) 2013-04-30T13:21:47 < zyp> hmm, I guess it's not a common saying in english 2013-04-30T13:22:06 -!- Nutter [Nutter@199-195-151-246.dyn.novuscom.net] has quit [Ping timeout: 245 seconds] 2013-04-30T13:22:18 < Robint91> LOL @ STEP 10 1337 2013-04-30T13:23:12 -!- Nutter [Nutter@199-195-151-246.dyn.novuscom.net] has joined ##stm32 2013-04-30T13:23:16 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-04-30T13:23:55 < Tectu> zyp, is it in norwegian? (how is that language called anyway) 2013-04-30T13:25:21 < karlp> zyp: it's common enough, or at least, I understood perfectly :) 2013-04-30T13:25:46 < zyp> yes, needing something explained with a teaspoon means something along the lines that you are too dumb to understand the provided explanation and need something more easily digestable (overly simplified/dumbed down) 2013-04-30T13:27:06 < Tectu> When I feel bad in my life, It's always good to have a chat with zyp in ##stm32. It always makes me feel way better 2013-04-30T13:28:26 < zyp> :p 2013-04-30T13:33:15 <+Steffanx> Dont forget about Steffanx , Tectu. We always have such nice talks there :P 2013-04-30T13:33:59 < Tectu> :) 2013-04-30T13:35:23 -!- Simon-- [~sim@2606:6a00:0:28:5604:a6ff:fe02:702b] has joined ##stm32 2013-04-30T13:41:22 < jpa-> Robint91: have you found some place that sells LUPA300? 2013-04-30T13:41:37 < UweBonnes> Laurenceb: From the M24LR-DISCOVERY you can also reuse the CR95HF with the STM32F103CB as a BMP variant. 2013-04-30T13:42:35 < karlp> is that all you do uwe? create BMPs on everything you see? :) 2013-04-30T13:42:58 < karlp> wouldn't it be more useful to reuse that board as a cool nfc sniffer device? 2013-04-30T13:43:17 < Laurenceb> interesting 2013-04-30T13:43:32 < UweBonnes> Nearly ;-) 2013-04-30T13:43:43 < dongs> no fucking clue 2013-04-30T13:43:45 < dongs> more liek 2013-04-30T13:44:03 < Laurenceb> http://cds.linear.com/docs/en/application-note/an118fa.pdf 2013-04-30T13:44:08 < Laurenceb> page 13, note 2 2013-04-30T13:44:21 < UweBonnes> Well, I acn also upset other projects, like ethernut, where I work on STM32 support. 2013-04-30T13:45:25 < Laurenceb> rofl 2013-04-30T13:45:29 < Laurenceb> figure C3 2013-04-30T13:46:20 < UweBonnes> Quite a good ground plane... 2013-04-30T13:46:48 < Laurenceb> page 48.... 2013-04-30T13:49:28 < Robint91> jpa-, newark/farnell for 300$ 2013-04-30T13:49:30 < Robint91> meh 2013-04-30T13:50:24 < jpa-> Robint91: heh :) 2013-04-30T13:50:32 < jpa-> well that's better than nothing :) 2013-04-30T13:53:00 < jpa-> hmm can't see it on farnell here 2013-04-30T13:53:13 < jpa-> digikey has it for $154, but minimum 25 pcs 2013-04-30T13:53:50 < UweBonnes> jpa: Are you searching the M24LR-DISCOVERY? 2013-04-30T13:54:24 < jpa-> UweBonnes: no 2013-04-30T13:54:27 < jpa-> lupa300 2013-04-30T13:54:43 -!- tim3mob [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 245 seconds] 2013-04-30T13:54:49 < dongs> whats so special about it? 2013-04-30T13:55:03 < dongs> is it 300fps? 2013-04-30T13:55:04 < dongs> or somethign 2013-04-30T13:55:24 < Robint91> 250fps 2013-04-30T13:55:26 < Laurenceb> http://www.rottentomatoes.com/top/ <- i lolled 2013-04-30T13:55:34 < Laurenceb> 1. Toy Story 2 (1999) 2013-04-30T13:55:55 < dongs> i never watched that shit 2013-04-30T13:56:07 < dongs> also I havent seen anything on the top 20 list of that shit 2013-04-30T13:57:27 < Laurenceb> list only tells you that rotten tomatoes is crap 2013-04-30T13:57:39 < dongs> clearly. 2013-04-30T13:57:54 < dongs> never read that site anyway. 2013-04-30T13:59:03 < Laurenceb> 99% Finding Nemo 3D <- not sure if trolling... 2013-04-30T14:02:50 < dongs> never seen teh 3d version 2013-04-30T14:02:52 < dongs> normal one was ok 2013-04-30T14:03:28 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Ping timeout: 256 seconds] 2013-04-30T14:03:50 < karlp> jpa-: you hve been using nuttx right? 2013-04-30T14:06:12 < karlp> it looks really nicely documented 2013-04-30T14:07:16 < dongs> can nuttx be built with a real compiler 2013-04-30T14:11:14 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: to sleep, perchance to dream] 2013-04-30T14:11:19 < jpa-> dongs: yes 2013-04-30T14:11:20 < jpa-> karlp: yes 2013-04-30T14:11:49 < karlp> liking it? 2013-04-30T14:12:17 < jpa-> kind of.. it's has a lot of nice stuff, but i've had to fix quite a few bugs myself 2013-04-30T14:12:26 < karlp> looks like a pretty big project 2013-04-30T14:12:45 < jpa-> indeed, even though it mostly a one-man effort 2013-04-30T14:12:55 < karlp> full ethernet, but doesn't even mention radios. 2013-04-30T14:13:24 < karlp> have you used loadable binaries? 2013-04-30T14:13:32 < jpa-> not yet 2013-04-30T14:21:18 < karlp> heh, ti's new cc2538, 802.15.4 with an m3 core instead of the 8051 I'm allowed to buy from digikey whee 2013-04-30T14:22:06 < Laurenceb> now if they had a ism band version 2013-04-30T14:23:43 < karlp> man, datasheet's less than 2 weeks old 2013-04-30T14:23:59 < Laurenceb> im waiting for: http://www.energymicro.com/draco 2013-04-30T14:27:58 < talsit> mouser's BOM import tool is retarded 2013-04-30T14:28:16 < talsit> "lets reorder all the lines!!!" 2013-04-30T14:30:19 -!- CRF_Peter [~Peter@194.17.253.121] has joined ##stm32 2013-04-30T14:31:12 < karlp> Laurenceb: been waiting for a while :) 2013-04-30T14:32:07 < Laurenceb> yeah 2013-04-30T14:32:36 < karlp> continuous rx at 4ma would be delicious, but it has to arrive first :) 2013-04-30T14:33:48 -!- sterna1 [~Adium@194.17.253.121] has quit [Ping timeout: 264 seconds] 2013-04-30T14:34:23 < Tectu> NVIDIA: API mismatch: the NVIDIA kernel module has version 313.30, 2013-04-30T14:34:23 < Tectu> but this NVIDIA driver component has version 313.26. Please make 2013-04-30T14:34:23 < Tectu> sure that the kernel module and all NVIDIA driver components 2013-04-30T14:34:23 < Tectu> have the same version. 2013-04-30T14:34:25 < Tectu> what? 2013-04-30T14:34:53 < Robint91> Tectu, HAHAHA 2013-04-30T14:35:08 -!- baird [~cjb@ppp121-44-104-161.lns20.syd6.internode.on.net] has left ##stm32 ["Konversation terminated!"] 2013-04-30T14:36:20 -!- sterna1 [~Adium@194.17.253.121] has joined ##stm32 2013-04-30T14:39:44 -!- CRF_Peter [~Peter@194.17.253.121] has quit [Ping timeout: 256 seconds] 2013-04-30T14:40:26 <+Steffanx> Tectu, linux powa :P 2013-04-30T14:42:07 < Tectu> yeah, now just please don't hilight dongs 2013-04-30T14:42:30 <+Steffanx> For sure 2013-04-30T14:42:36 < Tectu> Steffanx, does 'glxinfo' work under your standard OSX setup? (terminal command) 2013-04-30T14:42:56 <+Steffanx> My setup isn't standard anymore, but yes 2013-04-30T14:43:05 < dongs> lol, lunix 2013-04-30T14:43:34 <+Steffanx> Not sure if it works because i have x ( xquarts) installed Tectu 2013-04-30T14:46:10 < Tectu> is xquarts something like Xorg/X11 2013-04-30T14:46:30 < dongs> but without opensores aids 2013-04-30T14:47:33 < Tectu> I am messing around with Xlib the first time... It's really a pain so far 2013-04-30T14:48:36 <+Steffanx> xquarts is open sores dongs 2013-04-30T14:48:51 <+Steffanx> Tectu, yes. 2013-04-30T14:48:56 < dongs> tectu, i wrote xlib driver for mozilla back when you weere 13 2013-04-30T14:48:57 <+Steffanx> xorg for os x 2013-04-30T14:49:10 <+Steffanx> You are OOLD 2013-04-30T14:49:45 < dongs> http://www-archive.mozilla.org/unix/xlib.html haha 2013-04-30T14:50:06 < Tectu> you must be one of those then: http://upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Baba_in_Nepal.jpg/220px-Baba_in_Nepal.jpg 2013-04-30T14:50:38 <+Steffanx> haha what dong? 2013-04-30T14:50:39 <+Steffanx> s 2013-04-30T14:51:11 < dongs> It will currently build, run and render pages. You can navigate web sites via links, scroll around in windows, just like a real browser! 2013-04-30T14:51:35 < Tectu> wow, how inovative! 2013-04-30T15:06:45 < karlp> heh, ti's prodcut selector has a tick box for "system on chip" and then another for "systen on chip" 2013-04-30T15:06:45 -!- sterna1 [~Adium@194.17.253.121] has quit [Ping timeout: 268 seconds] 2013-04-30T15:09:09 <+Steffanx> oops 2013-04-30T15:18:04 -!- zlog [~zlog@ip68-102-206-145.ks.ok.cox.net] has quit [Remote host closed the connection] 2013-04-30T15:19:36 < gxti> qyx_: kinda sucks to need to waste all that RAM on another stack 2013-04-30T15:20:21 -!- zlog [~zlog@ip68-102-206-145.ks.ok.cox.net] has joined ##stm32 2013-04-30T15:22:41 < gxti> maybe i'll replace the serial driver instead 2013-04-30T15:23:05 < gxti> [or just pitch the whole thing and use coos or something like i was going to anyway] 2013-04-30T15:32:00 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-04-30T15:46:29 -!- vpopov [~happylife@37-147-202-203.broadband.corbina.ru] has joined ##stm32 2013-04-30T15:49:59 -!- naftilos76 [~naftilos7@46.251.116.146] has quit [Quit: Αποχώρησε] 2013-04-30T15:59:44 -!- sterna1 [~Adium@194.17.253.121] has joined ##stm32 2013-04-30T16:01:37 < Robint91> Steffanx, http://i.imgur.com/WoF55qT.jpg 2013-04-30T16:05:33 <+Steffanx> :P 2013-04-30T16:11:16 < Thorn> take a diode connected bjt and apply v volts across it. what's the resulting current? (beta+1) * Ib (and b-e is basically a forward biased diode)? so it's essentially a short circuit for anything > 0.7V? 2013-04-30T16:11:34 < Robint91> euh 2013-04-30T16:11:36 < Robint91> what? 2013-04-30T16:12:28 < talsit> for AWG26, can I push 1A down the cable if it's inside my enclosure (runs of <70mm)? 2013-04-30T16:13:52 -!- capacitor [7bf38bbb@gateway/web/freenode/ip.123.243.139.187] has joined ##stm32 2013-04-30T16:20:08 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-30T16:20:43 -!- capacitor [7bf38bbb@gateway/web/freenode/ip.123.243.139.187] has left ##stm32 [] 2013-04-30T16:23:55 < Thorn> ltspice says 4.76A @ 5V, 7.7A @10V through a 2n3904. so it looks more or less resistive (about 1.2 Ohm) 2013-04-30T16:33:34 < Robint91> Thorn, what are you trying to do 2013-04-30T16:34:12 < Robint91> those values are more surreal than salvodor dali's art 2013-04-30T16:34:23 < Robint91> *Salvador 2013-04-30T16:38:04 < Thorn> http://i.imgur.com/XEQt5Rk.png 2013-04-30T16:39:13 < Robint91> Thorn, we don't do stuff like that 2013-04-30T16:39:28 < Robint91> Thorn, you drive those things with constant currents 2013-04-30T16:39:37 < Thorn> sure 2013-04-30T16:39:48 < Thorn> but the circuit has to behave somehow 2013-04-30T16:40:16 < gxti> Thorn: a ramp would be more informative than a constant voltage 2013-04-30T16:40:31 < gxti> hard to claim it's "more or less resistive" with one datapoint 2013-04-30T16:40:40 < Thorn> yeah, doing it now 2013-04-30T16:40:40 < Robint91> Thorn, in IRL it would go boom 2013-04-30T16:40:53 < gxti> Robint91: what do you mean a 3904 can't handle 7 amps? 2013-04-30T16:40:56 < gxti> idjit! 2013-04-30T16:41:13 < Thorn> https://coefs.uncc.edu/dlsharer/files/2012/04/G2.pdf says resistive too 2013-04-30T16:41:54 < Robint91> Thorn, when playing in these extreme regions the normal formulas for small signal amplification don't work any more 2013-04-30T16:42:26 < Robint91> Thorn, that PDF is small signal based 2013-04-30T16:42:32 < Robint91> Thorn, you aren't doing that 2013-04-30T16:47:54 < Thorn> http://i.imgur.com/qfjefLr.png 2013-04-30T16:49:14 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-30T16:54:37 < gxti> so resistive at destructive currents but not before 2013-04-30T16:54:38 < gxti> :p 2013-04-30T16:55:25 < gxti> edit the current plot and stick a - in front 2013-04-30T16:55:41 < gxti> (right click on the I(V1) at top) 2013-04-30T17:05:21 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-30T17:25:01 -!- Simon-- [~sim@2606:6a00:0:28:5604:a6ff:fe02:702b] has quit [Ping timeout: 245 seconds] 2013-04-30T17:26:14 -!- sterna1 [~Adium@194.17.253.121] has quit [Ping timeout: 248 seconds] 2013-04-30T17:30:16 -!- claude is now known as Claude 2013-04-30T17:32:30 -!- Simon-- [~sim@2606:6a00:0:28:5604:a6ff:fe02:702b] has joined ##stm32 2013-04-30T17:53:02 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-242-38.clienti.tiscali.it] has joined ##stm32 2013-04-30T18:01:18 -!- Jenev [~someone@208.84.201.151] has joined ##stm32 2013-04-30T18:02:12 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-04-30T18:02:18 < Jenev> hello everyone 2013-04-30T18:03:52 < Jenev> last time i was here I asked a question about dynamically loading code into RAM (got a bashing as well) 2013-04-30T18:04:08 < Jenev> but just in case anyone else wanted to know the answer.. 2013-04-30T18:05:18 < Jenev> after loading the code into RAM it's simply a matter of remapping the vector table to the begining of RAM then restarting the board with the SRAM boot configuartion enabled 2013-04-30T18:05:35 < Jenev> i.e. BOOT0 and BOOT1 held high 2013-04-30T18:05:42 -!- PT_Dreamer [~quassel@99.222.137.78.rev.vodafone.pt] has joined ##stm32 2013-04-30T18:06:03 < Jenev> even though no one might really care :/ 2013-04-30T18:06:48 < Jenev> oh and one more thing you have to ensure the code starts at 0x20000000 2013-04-30T18:07:00 < UweBonnes> Jenev: You don't need to pull Boot0/1 on devices > F1, you can use SYSREMAP too. 2013-04-30T18:08:00 < Jenev> UweBonnes, the pulling of the BOOT pins are to get it to boot from the SRAM after restart 2013-04-30T18:08:19 < Jenev> the remapping is just for the vector table 2013-04-30T18:08:32 < UweBonnes> The setting of SYSREMAP is to boot from SRAM after a core reset 2013-04-30T18:09:02 < Jenev> UweBonnes, oh ok didn't know that 2013-04-30T18:09:12 < Jenev> well then that's two ways of doing it :) 2013-04-30T18:09:34 < UweBonnes> And quite elegant as you don't need physical access to the device 2013-04-30T18:10:27 < Jenev> indeed 2013-04-30T18:11:18 < Jenev> but in my case I desoldered SB19 so for me it's just a matter of putting a jumper across BOOT0 and VDD :) 2013-04-30T18:11:26 < Jenev> so I can live with that 2013-04-30T18:12:52 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 272 seconds] 2013-04-30T18:14:34 < gxti> nifty, too bad i use F1 for everything so far :p 2013-04-30T18:15:54 < Jenev> one thing that I can't seem to get working though is the CoIDE method of doing this 2013-04-30T18:16:21 < Jenev> I have it working using a different linker script and a different startup file from the ones that came with CoIDE 2013-04-30T18:16:54 < Jenev> but I would like to have the convenience of doing this directly from default CoIDE stuff 2013-04-30T18:17:06 < Jenev> anyone have any experience with CoIDE? 2013-04-30T18:17:16 < UweBonnes> Think about connecting a GPIO pin to BOOT0 additional to the default pull resistor. When you need to run with BOOT0 pulled in the other direction, set the corresponding GPIO to the desired direction and do a ciore reset. 2013-04-30T18:18:03 -!- PT_Dreamer [~quassel@99.222.137.78.rev.vodafone.pt] has quit [Ping timeout: 260 seconds] 2013-04-30T18:19:00 < karlp> Jenev: part of the "bashing" you got was for "compiling a function into a .bin and it not working when I flashed it" 2013-04-30T18:19:31 < karlp> which is quite different from building an entire image linked to run from ram, loading it into ram, and resetting the device to run from ram. 2013-04-30T18:20:07 < karlp> lots of people are interested in running dynamically loaded code, no-one had a problem with that :) 2013-04-30T18:20:52 < Jenev> UweBonnes, yeah I thought about that too but then, that would mean I have to have some supporting code in flash which I want to avoid 2013-04-30T18:21:25 < Jenev> want to keep the "RAM setup" independent from the FLASH code 2013-04-30T18:21:45 < Jenev> now that I know I can just load it directly through the ST-LINK 2013-04-30T18:25:00 < Rickta59> UweBonnes, I just pulled the latest BMP code and those last 2 commits cause me to fail loading .. 2013-04-30T18:25:02 < Jenev> karlp, actually compiling a single function worked that way...but that doesn't matter now 2013-04-30T18:25:29 < UweBonnes> Rickta: What tree, what branch 2013-04-30T18:25:38 < Jenev> and a big portion of the bashing I got was from a guy compiling about C syntax errrors which was clearly not the case 2013-04-30T18:25:45 < Jenev> but...water under the bridge 2013-04-30T18:25:49 < Rickta59> https://github.com/gsmcmullin/blackmagic 2013-04-30T18:25:51 < Rickta59> master branch 2013-04-30T18:26:10 < Rickta59> https://github.com/gsmcmullin/blackmagic/commits/master the ones from apr 23 2013-04-30T18:26:11 < Jenev> *issue 2013-04-30T18:26:25 < Rickta59> if i back those off it loads fine 2013-04-30T18:26:42 < UweBonnes> So what device did you compile for? 2013-04-30T18:27:03 < Rickta59> make clean all PROBE_HOST=f4discovery 2013-04-30T18:27:14 < UweBonnes> The last commits is " nxp: support the lpc1114dip28 by Rickta59" 2013-04-30T18:27:32 < Rickta59> right and if cherry pick that and don't use your code it works fine also 2013-04-30T18:27:38 < UweBonnes> Do you use PC2/4/5/6 pinsa 2013-04-30T18:27:46 < Rickta59> i'm not even getting it to load 2013-04-30T18:28:17 < UweBonnes> What do you use to load? Did you remove eventual protection on then F4? 2013-04-30T18:28:29 < Rickta59> http://dpaste.com/1081822/ 2013-04-30T18:28:32 < Rickta59> just gdb 2013-04-30T18:29:02 < Rickta59> arm-none-eabi-gdb -ex 'target remote :4242' blackmagic 2013-04-30T18:29:04 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Quit: trepidaciousMBR] 2013-04-30T18:29:07 < UweBonnes> Where did you check and eventual remove protection? 2013-04-30T18:29:15 < UweBonnes> mon option erase 2013-04-30T18:29:29 < Rickta59> i didn't do that .. as i didn't have to do that before 2013-04-30T18:29:48 -!- Claude is now known as claude 2013-04-30T18:30:02 < UweBonnes> Before, you had a failing bootloader at 0x08000000, that protected itself. 2013-04-30T18:30:09 < Rickta59> is that a openocd monitor command? 2013-04-30T18:30:22 < Rickta59> mon option erase 2013-04-30T18:30:38 < UweBonnes> Now the bootloader is replaced by BMP and so the protection needs to be removed 2013-04-30T18:30:51 < UweBonnes> mon option erase is a BMP command 2013-04-30T18:31:20 < Rickta59> i'm using the f4 with st-utils to load blackmagin on the f4 2013-04-30T18:31:33 < Rickta59> not even using bmp at this point 2013-04-30T18:32:04 < UweBonnes> So use the ST win application to remove protection. 2013-04-30T18:32:26 < UweBonnes> karlp: can stlink remove protection? 2013-04-30T18:33:01 < Rickta59> if i just load the previous checkout, before yours hose exact commands work fine 2013-04-30T18:33:32 < Rickta59> http://dpaste.com/1081843/ 2013-04-30T18:33:43 < UweBonnes> Yes: the application before is loaded at 0x0801000 and started by the self-protected bootloader. 2013-04-30T18:34:22 < karlp> UweBonnes: no idea? you mean texane/stlink software I presume? 2013-04-30T18:34:54 < UweBonnes> So change transient the load address of the recent checkout to 0x08010000 and recompile. That way you should get it to work. 2013-04-30T18:35:53 < Rickta59> is there any advantage to switching pins to the ones you used? 2013-04-30T18:36:14 < UweBonnes> karlp: yes, I meant texane/stlink. I thought you had tight connections to that software... 2013-04-30T18:36:34 < karlp> I helped write some of it early on, getting stlinkv2 support mainly, 2013-04-30T18:36:46 < UweBonnes> Rickta59: They don't collide with the proposed UART connection. 2013-04-30T18:36:56 < karlp> but texane has a haphazard merge approach, and I got sick of merges breaking working code 2013-04-30T18:37:06 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-04-30T18:37:22 < karlp> also, openocd finally fixed some of their horror show, so I use that now 2013-04-30T18:37:25 < UweBonnes> Rickta59: And the recent no longer relies on the non-functional BMP bootloader 2013-04-30T18:38:02 < Rickta59> i could never get earlier versions of this code to load with openocd 2013-04-30T18:40:49 -!- daku is now known as DaKu 2013-04-30T18:40:55 < inca> UweBonnes: are you a fan of bitbanding? 2013-04-30T18:41:23 -!- zlog [~zlog@ip68-102-206-145.ks.ok.cox.net] has quit [Ping timeout: 260 seconds] 2013-04-30T18:41:47 < UweBonnes> Yes. A pitty tat GCC doesn't translate reg |= 1< UweBonnes: we could send them the patch ;) 2013-04-30T18:43:55 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-04-30T18:44:18 < inca> not sure how much it changes between cortexes 2013-04-30T18:44:21 -!- zlog [~zlog@ip68-102-203-82.ks.ok.cox.net] has joined ##stm32 2013-04-30T18:44:21 < UweBonnes> But M0 doesn't support bitbanding and many STM32F3 registers are outside a bitbanding area. And no other cortex then M3/M4 does bitbanding to my knowledge, so my sympathy sank a little. 2013-04-30T18:45:27 < inca> maybe I should put this on embdev wiki, too: http://forum.chibios.org/phpbb/viewtopic.php?f=3&t=1123 2013-04-30T18:46:00 < karlp> I thought I just saw bitbanding in the cm3 inside the cc2538 soc I was talking about earlier 2013-04-30T18:46:18 < inca> UweBonnes: even so, the gcc can generate the appropriate fast code for cm0 aliased to registers 2013-04-30T18:46:39 < inca> karlp: it's so much easier on my eyes 2013-04-30T18:46:41 < zyp> bitbanding is IMO a bit overrated 2013-04-30T18:46:58 < zyp> it's not really as useful as you make it sound like 2013-04-30T18:47:06 < inca> readability is huge 2013-04-30T18:47:28 < zyp> how so? aren't you wrapping it up in a macro anyway? 2013-04-30T18:47:44 < inca> random get/set functions for everything is not 100% applicable to baremetal dev 2013-04-30T18:47:59 < inca> zyp: sure, but macros are expanded at compile time 2013-04-30T18:48:06 < zyp> and? 2013-04-30T18:48:06 < inca> and pa8 = 1; is pretty obvious 2013-04-30T18:48:20 < inca> calling a function to set a bit is a little overkill 2013-04-30T18:48:48 < zyp> overkill how? 2013-04-30T18:49:00 < inca> functions, without optimization, are overhead 2013-04-30T18:49:03 < karlp> OPTIMIZE ALL OF IT! IMMEDIATELY! 2013-04-30T18:49:20 < zyp> inca, functions, properly inlined, is not. 2013-04-30T18:50:43 < inca> true, but readability is king. setting a variable which represents a piece of memory is more alike the action which is occuring and, most importantly, requires less typing 2013-04-30T18:51:05 < zyp> I can make another argument about overhead: accessing multiple bits in a single register through bitbanding is overhead 2013-04-30T18:51:55 < inca> the entire word is that bit 2013-04-30T18:52:03 < inca> it's an alias 2013-04-30T18:52:11 < inca> the microcode is the same 2013-04-30T18:52:17 < inca> once optimized 2013-04-30T18:52:23 < zyp> you missed the point 2013-04-30T18:52:24 < UweBonnes> zyp: x &= ~a, x|=b takes also a lot of code. 2013-04-30T18:52:47 < zyp> UweBonnes, not necessarily 2013-04-30T18:52:55 < karlp> inca: I'd argue it's _readability_ it's understandability 2013-04-30T18:53:07 < karlp> (its _not_ readability, that was meant to say) 2013-04-30T18:53:13 < inca> karlp: sure 2013-04-30T18:53:18 < inca> reader comprehension 2013-04-30T18:54:02 < UweBonnes> Zyp; you need to 6 load commands, 2 for x , and 2 for a and b each 2013-04-30T18:54:23 < karlp> UweBonnes: yes, but when a and b are multibit constants..... 2013-04-30T18:54:54 < zyp> UweBonnes, have you ever read optimized code? 2013-04-30T18:54:59 < zyp> gcc is smarter than that. 2013-04-30T18:55:04 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Quit: trepidaciousMBR] 2013-04-30T18:55:27 < inca> karlp: I think it still requires memory loads, assuming context switchability and all that 2013-04-30T18:55:48 < zyp> anyway 2013-04-30T18:55:51 < karlp> I think, as I hinted earlier, that you're overthinking it. 2013-04-30T18:55:56 < inca> haha 2013-04-30T18:56:06 < karlp> it's a somewhat useful thing for some sitations, 2013-04-30T18:56:10 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-04-30T18:56:11 < UweBonnes> Haven''t looked a gcc code for some time, but -O2 was ugly then. 2013-04-30T18:56:14 < zyp> «setting a variable which represents a piece of memory is more alike the action which is occuring» is a bad argument 2013-04-30T18:56:16 < karlp> I sure wouldn't list it as a much have feature to choose a chip based on 2013-04-30T18:56:32 < zyp> because it's not true 2013-04-30T18:56:38 < inca> karlp: some day we will all learn how to get along and have a conversation 2013-04-30T18:56:51 < inca> zyp: I believe that's a bit of a straw man, to be fair 2013-04-30T18:56:55 < UweBonnes> Well, bitbanding is a good idea in some situations and a bad in others... 2013-04-30T18:56:58 < zyp> every bitband write turns into a read-modify-write 2013-04-30T18:57:02 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Client Quit] 2013-04-30T18:57:12 < inca> zyp: you have just defined a turing machine 2013-04-30T18:57:58 < zyp> don't derail my argument. 2013-04-30T18:58:16 < inca> zyp: which is, what, exactly? 2013-04-30T18:58:18 < karlp> inca: we're having a fine conversation here right now, better than often, what's YOUR FUCKING PROBLEM MAN! 2013-04-30T18:58:42 < zyp> what I'm saying is that even with bitbanding, you are not guaranteed to only manipulate a single bit when you are dealing with hardware registers 2013-04-30T18:58:58 < inca> how so? 2013-04-30T18:59:35 < UweBonnes> zyp: it's up to the hardware to inhibit concurrent access during the bitbanding rmw cycle. 2013-04-30T18:59:43 < zyp> inca, because it always does a read-modify-write 2013-04-30T19:00:03 < zyp> which means that it will write back what it just read for the other 31 bits 2013-04-30T19:00:06 < UweBonnes> But ist rmw controlled by hardware, not software 2013-04-30T19:00:40 < zyp> UweBonnes, doesn't matter, bitbanding is part of the cpu core, so peripheral registers doesn't know the difference 2013-04-30T19:00:49 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Quit: leaving] 2013-04-30T19:02:44 < inca> zyp: I need a counter example in code. I do not follow the argument. 2013-04-30T19:03:17 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-04-30T19:03:20 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-04-30T19:03:53 < inca> AFAIK, the aliased region of memory is specially treated by the cpu… I wonder how much this has to do with the compiler 2013-04-30T19:04:06 < zyp> exactly 2013-04-30T19:04:13 < zyp> it's specially treated by the cpu 2013-04-30T19:04:13 < inca> which is weird 2013-04-30T19:04:22 < inca> why would the cpu do that 2013-04-30T19:04:24 < zyp> but it's not specially treated by the rest of the hardware outside the cpu 2013-04-30T19:04:28 < inca> and not the compiler? 2013-04-30T19:04:54 < inca> oh, I see what you are saying 2013-04-30T19:05:19 < zyp> anyway, I can give you an example 2013-04-30T19:05:20 < inca> maybe 2013-04-30T19:05:42 < zyp> imagine a register with status flags with r_w0 bits 2013-04-30T19:05:42 < UweBonnes> zyp: who do you think changes during the bb rmw access. The rtegister itself or the CPU accessting the register in another context? 2013-04-30T19:05:45 < inca> external peripherals waste time with the 32 bit word, whereas it is a bit manipulation… but the cycles should balance out 2013-04-30T19:05:51 < zyp> IIRC all the TIMx_SR are that kind 2013-04-30T19:06:10 < zyp> UweBonnes, the register itself of course 2013-04-30T19:07:18 < zyp> rc_w0* 2013-04-30T19:07:42 < zyp> so anyway, you are waiting for a timer interrupt, it's the UIF flag in the SR 2013-04-30T19:07:58 < zyp> then you want to clear it, so you attempt to write it to 0 through bitbanding 2013-04-30T19:08:21 < inca> I see 2013-04-30T19:08:23 < zyp> at that point, the cpu will read the SR, set the UIF bit to 0, then write everything back 2013-04-30T19:08:34 -!- _BJFreeman [~bjfree@174.sub-75-233-69.myvzw.com] has joined ##stm32 2013-04-30T19:08:41 < zyp> if another interrupt triggers in between the read and the write, it will be cleared immediately 2013-04-30T19:08:45 < inca> instead of using the register, it loads from memory 2013-04-30T19:09:00 < zyp> memory? 2013-04-30T19:09:04 < inca> and it lacks atomic-ness 2013-04-30T19:09:09 < inca> but wait 2013-04-30T19:09:14 < inca> nevermind the first 2013-04-30T19:09:33 < inca> hmm 2013-04-30T19:09:57 -!- Jenev [~someone@208.84.201.151] has quit [Quit: Leaving] 2013-04-30T19:10:03 < zyp> the point is that you get separate read and write transactions on the memory bus, and nothing is stopping the hardware from doing something with the register in between 2013-04-30T19:11:19 < zyp> and then you have registers with side effects, where you really want to write all bits at once 2013-04-30T19:11:26 -!- BJFreeman [~bjfree@174.sub-75-233-69.myvzw.com] has quit [Ping timeout: 255 seconds] 2013-04-30T19:12:24 < UweBonnes> if you use bitbanding on registers that do wrong with bitbanding, it's yourt fault. But its the best you can do on registers that work well with bitbanding. 2013-04-30T19:13:06 < zyp> depends 2013-04-30T19:13:10 < UweBonnes> x &= ~a; x |= b is by far more prone to non-atomaticy 2013-04-30T19:13:19 < zyp> how so? 2013-04-30T19:13:27 < inca> I won't lie, I am curious about the code that might be used to demonstrate your example, zyp… would you throw an exception between the writes and manually do it with the debugger? 2013-04-30T19:13:53 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Quit: trepidaciousMBR] 2013-04-30T19:13:59 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-04-30T19:14:03 < inca> and I think the pedantic value of watching that in a debugger would be useful for people new to the ARM architectures 2013-04-30T19:14:14 < UweBonnes> If an interrrupt happens in between the and and the or, x may be changed by the CPU 2013-04-30T19:14:30 < zyp> UweBonnes, that's why you wouldn't do that at all 2013-04-30T19:14:50 < inca> ok ok, we have too many straw men about 2013-04-30T19:14:57 < inca> let's get specific 2013-04-30T19:14:59 < zyp> UweBonnes, if you want to clear only the UIF bit, you do SR = ~UIF; 2013-04-30T19:15:16 < zyp> just to address that specific example 2013-04-30T19:15:30 < zyp> that avoids the race condition entirely. 2013-04-30T19:15:35 < UweBonnes> But that way, you change unrelated bits 2013-04-30T19:15:41 < zyp> no, you don't. 2013-04-30T19:15:49 < zyp> because they all are rc_w0 2013-04-30T19:15:50 < karlp> no, read the definitions of the register :) 2013-04-30T19:15:58 < karlp> it depends on the target reg and the bit defns :) 2013-04-30T19:16:01 < zyp> i.e. writing 1 to them has no effect 2013-04-30T19:16:09 -!- barthess [~barthess@77.67.160.175] has joined ##stm32 2013-04-30T19:16:12 -!- emeb [~ericb@ip72-223-89-10.ph.ph.cox.net] has joined ##stm32 2013-04-30T19:16:17 < karlp> which is back to what he said in the beginning: bitbanding isn't as simple as "make it all more better" 2013-04-30T19:16:23 < zyp> a bunch of other status registers are the opposite: rc_w1 2013-04-30T19:16:31 * inca sighs 2013-04-30T19:16:38 < zyp> which means that you write 1 to clear it, and writing 0 has no effect 2013-04-30T19:16:55 < UweBonnes> That's what I said: Use bitbanding where appropriate. 2013-04-30T19:16:56 < jpa-> especially the lovely usb otgfs :) 2013-04-30T19:17:00 < inca> so it's a new level of write permissions 2013-04-30T19:17:21 < zyp> jpa-, that's nothing 2013-04-30T19:17:32 < zyp> jpa-, have you seen the endpoint registers in the device-only usb core? 2013-04-30T19:17:41 < UweBonnes> registers with rc_w0 or rc_w1 bits are probably inappropriate. 2013-04-30T19:17:45 < zyp> jpa-, they have toggle bits, that toggle when you write 1 to them 2013-04-30T19:17:51 < jpa-> zyp: no, i have been shielded from it by the abundance of usb drivers :) 2013-04-30T19:17:57 < jpa-> lovely 2013-04-30T19:18:12 < jpa-> because writing, say, the value you want to write would be too easy :) 2013-04-30T19:18:12 < zyp> it's possibly the silliest thing I've seen in this hardware :p 2013-04-30T19:18:19 < inca> so bit-banding for GPIOx (two-way writable registers), yay 2013-04-30T19:18:48 < UweBonnes> jpa-: Any F4 usb driver with working controll transfers without the brain damaged ST setup? 2013-04-30T19:18:52 < zyp> IMO developers should just forget about bitbanding at all 2013-04-30T19:19:02 < zyp> it's a hassle and a waste of time 2013-04-30T19:19:11 < jpa-> UweBonnes: i was speaking about the F1 core in that statement 2013-04-30T19:19:26 < inca> I wish I could, but no one at GCC has found the need to allow me to directly access the registers of the Cortex hardware with rationality 2013-04-30T19:19:28 < jpa-> UweBonnes: my familiary with the otgfs core (F4) stems from the lack of drivers :) 2013-04-30T19:19:51 < zyp> it should be enabled as an automatic optimization by the compiler for the appropriate code, because that's where it would be useful 2013-04-30T19:19:52 < jpa-> UweBonnes: though my impression is that chibios driver & libopencm3 driver both work nowadays 2013-04-30T19:19:53 < Robint91> http://www.st.com/web/en/news/n3418 2013-04-30T19:19:54 < Robint91> OKAY 2013-04-30T19:19:55 < UweBonnes> I didn't have a problem with bulk transfer so long 2013-04-30T19:19:55 < Robint91> ST 2013-04-30T19:19:59 < inca> I agree it is weird to have the cpu complexity added just to alias a 32 bit word to a bit 2013-04-30T19:20:08 < inca> zyp: agreed 2013-04-30T19:20:17 < inca> it belongs in the compiler 2013-04-30T19:20:30 < Robint91> http://www.st.com/web/en/catalog/mmc/FM141/SC1169/SS1577/LN1810/PF258491 2013-04-30T19:20:31 < Robint91> wut 2013-04-30T19:20:33 < jpa-> zyp: bitbanding is quite useful for defining easily written per-pin variables in C.. but otherwise quite useless 2013-04-30T19:20:34 < karlp> Robint91: hah! I was waiting for this newws 2013-04-30T19:20:37 < Robint91> STM32F401CC 2013-04-30T19:20:50 < karlp> I think this is what my friend at mentor was talking about with some retooling 2013-04-30T19:21:02 < zyp> jpa-, per-bit you mean? 2013-04-30T19:21:11 < jpa-> zyp: i mean for gpio 2013-04-30T19:21:18 < jpa-> so yeah, per-pin per-bit :) 2013-04-30T19:21:43 < Robint91> karlp, what is the point of all those different types 2013-04-30T19:22:04 < zyp> well, pretty much any gpio-block nowadays have some way of doing atomic writes 2013-04-30T19:22:08 < zyp> I find that much more useful 2013-04-30T19:22:27 < jpa-> zyp: i agree in principle 2013-04-30T19:23:04 < karlp> Robint91: not much, but slowly respinning through all of them. 2013-04-30T19:23:18 < zyp> stm32 has BSRR, lpc has something similar, stellaris is using a whole range with the lower bits of the addr as a mask 2013-04-30T19:23:22 < jpa-> zyp: but i have seen some clever code that allows to do #define MY_FUNNY_LED PA5 MY_FUNNY_LED = 0; etc. 2013-04-30T19:23:56 < zyp> jpa-, as a C++ user, I can do that with operator=(), so I don't really care :p 2013-04-30T19:23:58 < Robint91> karlp, how many different STM32 are there 2013-04-30T19:24:02 < jpa-> zyp: yep :) 2013-04-30T19:24:10 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has joined ##stm32 2013-04-30T19:24:14 < jpa-> zyp: and as a C user, i can always have set_my_funny_led() 2013-04-30T19:24:23 < Robint91> karlp, +500 types 2013-04-30T19:24:25 < karlp> Robint91: f401 has lower run uA per mhz than L1 :) 2013-04-30T19:24:38 < karlp> yeah, but they count every combination of memory and package type 2013-04-30T19:24:41 < karlp> so it's not really that many 2013-04-30T19:24:54 < Robint91> karlp, yeah 2013-04-30T19:24:54 < zyp> oh, this avr32 project I'm working on 2013-04-30T19:25:12 < zyp> it has a set_system_led() or whatever, taking two arguments 2013-04-30T19:25:26 < zyp> one is which led and the other is on/off 2013-04-30T19:25:51 < zyp> and the names of the defines used for the on/off argument is like 20-30 characters long 2013-04-30T19:26:45 < jpa-> values are 0 and 1? 2013-04-30T19:26:48 < zyp> I wonder what the guy writing that was thinking 2013-04-30T19:26:52 < zyp> dunno, probably 2013-04-30T19:27:17 < jpa-> reminds me of a certain peripheral library with #define RESET 0 2013-04-30T19:27:30 < zyp> :) 2013-04-30T19:27:40 < karlp> Robint91: now just need a proeprly revised stm32l 2013-04-30T19:27:54 < karlp> the l100 is cheaper sure, but not lower power in any meaningful way 2013-04-30T19:27:55 < jpa-> zyp: is it WOULD_YOU_PLEASE_LIGHT_UP_THE_LED_FOR_ME? 2013-04-30T19:27:55 < Robint91> karlp, 3.96$ for the 256k, not bad 2013-04-30T19:28:02 < UweBonnes> karlp: what are the problems? 2013-04-30T19:28:12 < karlp> UweBonnes: pardon? 2013-04-30T19:28:25 < Robint91> karlp, I never used the the Lxxx series 2013-04-30T19:28:36 < Robint91> karlp, only the F103 F100 and F407 2013-04-30T19:28:37 < zyp> jpa-, more like A_BUNCH_OF_USELESS_NAMESPACES_ON 2013-04-30T19:28:44 < UweBonnes> karlp: What are the problems with L1 that you need a revision? 2013-04-30T19:28:52 < zyp> and correspondingly A_BUNCH_OF_USELESS_NAMESPACES_OFF 2013-04-30T19:28:56 < Robint91> karlp, the F100 is awesome, dirt cheap, fast, lot's of perhips 2013-04-30T19:28:58 < karlp> UweBonnes: nothing, but this new f401 has lower power per Mhz 2013-04-30T19:29:11 < karlp> the l1 is somewhat "old" I'd love to see it have lower power still 2013-04-30T19:29:15 < zyp> 18:18:48 < UweBonnes> jpa-: Any F4 usb driver with working controll transfers without the brain damaged ST setup? 2013-04-30T19:29:23 < zyp> mine works 2013-04-30T19:29:38 < jpa-> zyp: namespaces are a difficult thing.. sometimes you end up with too little and sometimes with too much 2013-04-30T19:29:42 < UweBonnes> zyp: your driver? your setup? 2013-04-30T19:29:43 < karlp> UweBonnes: and the newly announced l100 is _cheaper_ (nice) but the same power in most cases. 2013-04-30T19:29:51 < jpa-> zyp: would you recommend it already for real use? 2013-04-30T19:30:04 < UweBonnes> karlp: LPC? 1100 2013-04-30T19:30:10 < zyp> no, but UweBonnes didn't say he was going to use it for something real :p 2013-04-30T19:30:23 < jpa-> yeah well, he'll probably just make another bmp with it :) 2013-04-30T19:30:39 < UweBonnes> Yeah, BMPs for everything. 2013-04-30T19:30:41 < zyp> he just asked for something that has working control transfers, and it certainly has. 2013-04-30T19:30:56 < gsmcmullin> zyp: Care to look at the libopencm3 driver and see where my mistake is? 2013-04-30T19:30:57 < jpa-> zyp: even more, it also has working bulk transfers :) 2013-04-30T19:31:32 < zyp> gsmcmullin, sure 2013-04-30T19:31:39 < zyp> gsmcmullin, what's the problem? 2013-04-30T19:31:42 < jpa-> gsmcmullin: if you give him nice stm32f4discovery code that shows the problem, he'll be right on it 2013-04-30T19:31:43 < karlp> UweBonnes: never mentioned lpc. STM32L100 is "new" and cheaper than older STM32L151/STM32L152 2013-04-30T19:32:19 < gsmcmullin> zyp: Sometimes the first 4 bytes of the data seciton of control out transfers is lost. 2013-04-30T19:32:41 < karlp> (I bet it's a mistake with bitbanding! ;) 2013-04-30T19:32:50 < UweBonnes> karlp: Rcvuse my old eyes. Read "l100" for "1100" 2013-04-30T19:32:58 < jpa-> hmm.. didn't we see a funny 4-bytes bug once before? 2013-04-30T19:33:10 < jpa-> it had to do with the clock scaling bits in one config register 2013-04-30T19:33:12 < zyp> gsmcmullin, are you treating control out differently from bulk out? 2013-04-30T19:33:34 < gsmcmullin> No, the same. The problem is not obvserved on bulk out transfers though. 2013-04-30T19:34:23 < zyp> hmm 2013-04-30T19:34:29 < gsmcmullin> I had the problem on the f105 too, but it was fixed (swept under the carpet) with a spinning delay before reading. 2013-04-30T19:34:57 < zyp> to be perfectly honest, I don't have much code using control out, but I haven't observed any problems with the code that do 2013-04-30T19:35:02 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-04-30T19:35:40 < zyp> what's the percentage of «sometimes»? 2013-04-30T19:35:52 < Rickta59> so i couldn't figure out how to get it to unprotect in openocd, punted and just used stlink util in win32 2013-04-30T19:36:03 < jpa-> gsmcmullin: just to eliminate what i'm thinking about, what is the value you have in OTGFS->GUSBCFG field TRDT? 2013-04-30T19:36:07 < Rickta59> now I can load fine thanks UweBonnes 2013-04-30T19:36:07 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-04-30T19:36:21 < gsmcmullin> zyp: Occasional complaints to the mailing list or on IRC. I'm not really using it myself. 2013-04-30T19:36:30 < gsmcmullin> UweBonnes: Can you offer a number? 2013-04-30T19:37:01 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Client Quit] 2013-04-30T19:37:14 < UweBonnes> zyp: dfu uses controll transfers, and flashing bmp with it's 64 kbyte nearly always resulted in a failure. 2013-04-30T19:37:36 < UweBonnes> Some time is was semi-functional. 2013-04-30T19:37:59 < zyp> i.e. «usually observed when doing 1000 consecutive transfers» 2013-04-30T19:38:04 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has quit [Ping timeout: 256 seconds] 2013-04-30T19:38:16 < gsmcmullin> jpa-: Checking now. I wrote this long ago and have very little memory of it. 2013-04-30T19:38:33 < UweBonnes> As BMP dfu doesn't offer read back, checking the code requires a switch to the system boot loader. 2013-04-30T19:38:53 < jpa-> would be easy enough to make code to reproduce the bug and stop the USB as soon as invalid data is received 2013-04-30T19:39:09 < zyp> yeah 2013-04-30T19:39:19 < UweBonnes> zyp: in 100 64 byte control transfers there was nearly always at least one error, 2013-04-30T19:40:34 < gsmcmullin> It looks like ST have beefed up the docs on this OTGFS since I wrote my driver. 2013-04-30T19:40:54 < jpa-> don't trust everything they have written, though 2013-04-30T19:41:09 < zyp> it's mostly just a modified copy of the synopsys doc 2013-04-30T19:42:33 < gsmcmullin> When I wrote my driver, it involved a _lot_ of guesswork. 2013-04-30T19:46:13 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-04-30T19:48:55 < zyp> I can't see anything obviously wrong in the libopencm3 driver 2013-04-30T19:49:26 -!- talsit [~talsit@FLH1Agw127.osk.mesh.ad.jp] has quit [Quit: Leaving.] 2013-04-30T19:49:30 < gsmcmullin> jpa-: TRDT is set to 0xF in my code. Doc says should be 9 for 72MHz AHB clock. 2013-04-30T19:49:39 < zyp> 0xf in mine too 2013-04-30T19:49:41 < jpa-> gsmcmullin: more is ok 2013-04-30T19:49:50 < gsmcmullin> jpa-: I figured 2013-04-30T19:50:36 < jpa-> one guy here had 5 there and 24 MHz AHB.. caused very funny stuff 2013-04-30T19:50:54 < zyp> what I'm doing differently from libopencm3 is waiting for setup transaction completed before calling handler, but I can't see how that should make a difference so it probably doesn't matter 2013-04-30T19:51:07 < jpa-> (the doc is probably wrong about the 9 - probably 3 or something would be enough for 72MHz) 2013-04-30T19:51:50 < zyp> and «(void)*REBASE_FIFO(ep);» looks a bit weird, since there is only one receive fifo 2013-04-30T19:51:58 < zyp> but I guess the other ones are aliased 2013-04-30T19:52:04 < zyp> I'm always reading from FIFO 0 2013-04-30T19:52:20 < zyp> also irrelevant for control transfers 2013-04-30T19:55:08 < gsmcmullin> That does look a bit strange. I think that came in when this got adapted to support the otg_hs too. 2013-04-30T19:56:26 < jpa-> is it safe to assume that (void)*REBASE_FIFO(ep); generates a read anyway? 2013-04-30T19:57:21 < zyp> anyway, I have plans for tonight, so I don't really have time to look into it now, but if somebody can write up a simple example that would reproduce the issue I can probably look into it tomorrow 2013-04-30T19:59:45 < zyp> then I can write an equvalent example for my code and check for different behavior 2013-04-30T19:59:53 < gsmcmullin> zyp: Thanks. If I can find a discovery board I'll try to put something together. Will let you know. 2013-04-30T20:02:54 < zyp> hmm, I just got a suspicion 2013-04-30T20:06:01 < UweBonnes> ... 2013-04-30T20:06:17 < gsmcmullin> We're listening... 2013-04-30T20:06:18 < zyp> hmm, yeah 2013-04-30T20:06:28 < zyp> I don't see GRXFSIZ being set anywhere 2013-04-30T20:06:33 < zyp> i.e. RXFIFO size 2013-04-30T20:07:39 < gsmcmullin> OTG_FS_GRXFSIZ = stm32f107_usb_driver.rx_fifo_size; 2013-04-30T20:07:52 < zyp> https://github.com/libopencm3/libopencm3/blob/master/lib/usb/usb_fx07_common.c#L75 <- I'm looking at this 2013-04-30T20:08:13 < jpa-> it's in the device specific part 2013-04-30T20:08:19 < gsmcmullin> https://github.com/libopencm3/libopencm3/blob/master/lib/usb/usb_f107.c#L76 2013-04-30T20:08:30 < zyp> ah, right 2013-04-30T20:08:45 < zyp> and rx_fifo_size is sane? 2013-04-30T20:09:11 < gsmcmullin> 128 2013-04-30T20:09:30 < zyp> i.e. 512, since it's words, right? 2013-04-30T20:09:51 < gsmcmullin> My memory's too faded to know for sure, but that's what the comment says 2013-04-30T20:10:24 < zyp> sounds right 2013-04-30T20:10:50 < zyp> anyway, I'd read back and double check the fifo size/offset registers 2013-04-30T20:11:15 < zyp> I had a bunch of weird behavior when they weren't set correctly 2013-04-30T20:11:16 < UweBonnes> Well, at least for the F103 the RX bbuffer calculation is odd: 2013-04-30T20:11:40 < UweBonnes> I think the issue reported 2013-04-30T20:11:43 < UweBonnes> Mar 08 To libopencm3-d ( 59) [libopencm3-devel] USB F103 RX buffer calculation 2013-04-30T20:12:02 < UweBonnes> on the libopencm3 list is still pending 2013-04-30T20:12:38 < zyp> that's very unrelated 2013-04-30T20:12:42 < zyp> but what's that about? 2013-04-30T20:12:53 < gsmcmullin> UweBonnes: I think you are right. 2013-04-30T20:13:15 < zyp> the data buffer in F103 is odd in general, so it kinda makes sense that calculation would be odd :p 2013-04-30T20:14:14 < UweBonnes> It overestimated the buffer size. But as long as we don't allocate all, that should be no problem. 2013-04-30T20:15:00 < gsmcmullin> The host won't send more that you advertise in your desriptors, so you won't overrun the buffer. 2013-04-30T20:16:01 < zyp> the core shouldn't receive more than configured in the endpoint register either 2013-04-30T20:16:16 -!- Mobyfab [~Mobyfab@80.239.168.84] has left ##stm32 [] 2013-04-30T20:16:25 < zyp> unlike the dwc_otg core that can queue up multiple packets 2013-04-30T20:16:53 < zyp> but I'm heading out, talk to you later 2013-04-30T20:17:00 < gsmcmullin> zyp: cheers 2013-04-30T20:17:25 < UweBonnes> Zyp: bye 2013-04-30T20:17:29 -!- DaKu is now known as daku 2013-04-30T20:18:26 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Quit: trepidaciousMBR] 2013-04-30T20:28:08 -!- PT_Dreamer [~quassel@109.48.125.111] has joined ##stm32 2013-04-30T20:29:13 -!- UweBonnes [~bon@hertz.ikp.physik.tu-darmstadt.de] has quit [Quit: epic+tkirc2] 2013-04-30T20:30:41 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: to sleep, perchance to dream] 2013-04-30T20:36:43 < Thorn> gcc now supports 64-bit ARM 2013-04-30T20:37:11 < Thorn> http://gcc.gnu.org/gcc-4.8/changes.html 2013-04-30T20:40:08 <+Steffanx> stm64 supported too? 2013-04-30T20:40:52 < Thorn> Cortex-A53 and Cortex-A57 (wtf are those anyway) 2013-04-30T20:41:00 < jpa-> stm64f0, with 2kB ram and 64 bit address space 2013-04-30T20:41:12 * karlp giggles 2013-04-30T20:41:36 < Thorn> good old 32 words of RAM? 2013-04-30T20:42:33 < Robint91> karlp, know more 2013-04-30T20:42:39 < Robint91> don't you? 2013-04-30T20:42:52 < karlp> no, was just laughing at jpa's comments 2013-04-30T20:43:02 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-30T20:43:02 < karlp> I have virtuall zero industry connections. 2013-04-30T20:43:16 < karlp> a friend works at mentor, and this channel. 2013-04-30T20:43:42 < karlp> I'm just a chatty ircer 2013-04-30T20:43:56 <+Steffanx> The one with inside info here is very quiet lately :( 2013-04-30T20:44:07 < jpa-> silenced by st 2013-04-30T20:44:12 <+Steffanx> Who knows 2013-04-30T20:44:45 < jpa-> hmm.. Steffanx' nick is suspicious.. he may be a mole! 2013-04-30T20:45:23 <+Steffanx> *busted* 2013-04-30T20:49:20 -!- PT_Dreamer [~quassel@109.48.125.111] has quit [Ping timeout: 252 seconds] 2013-04-30T20:55:24 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-04-30T20:57:21 -!- PT_Dreamer [~quassel@a95-93-151-152.cpe.netcabo.pt] has joined ##stm32 2013-04-30T21:01:18 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-04-30T21:05:59 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Ping timeout: 245 seconds] 2013-04-30T21:18:43 -!- resset_ [~pillot@v194.c2.dhosting.pl] has joined ##stm32 2013-04-30T21:20:59 -!- resset [~pillot@v194.c2.dhosting.pl] has quit [Ping timeout: 268 seconds] 2013-04-30T21:26:35 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 246 seconds] 2013-04-30T21:29:45 -!- Laurenceb_ [~Laurence@host86-177-61-171.range86-177.btcentralplus.com] has joined ##stm32 2013-04-30T21:54:52 -!- Mobyfab [~Mobyfab@lcb.netyxia.net] has joined ##stm32 2013-04-30T21:56:08 -!- Jenev [~someone@207.191.240.19] has joined ##stm32 2013-04-30T21:56:36 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-04-30T22:12:09 -!- alexn_ [~alexn@93.104.205.194] has joined ##stm32 2013-04-30T22:14:46 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Ping timeout: 256 seconds] 2013-04-30T22:18:45 -!- inca [~inca@cpe-173-88-167-240.neo.res.rr.com] has quit [Quit: zzzz] 2013-04-30T22:31:33 -!- _BJFreeman is now known as BJFreeman 2013-04-30T22:56:39 -!- jaeckel_ [~jaeckel@unaffiliated/jaeckel] has joined ##stm32 2013-04-30T22:56:50 -!- jaeckel [~jaeckel@unaffiliated/jaeckel] has quit [Read error: Operation timed out] 2013-04-30T23:03:17 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-242-38.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-04-30T23:04:26 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-04-30T23:06:57 -!- alexn_ [~alexn@93.104.205.194] has quit [Ping timeout: 256 seconds] 2013-04-30T23:10:45 -!- UweBonnes [~bon@p5DDCD612.dip0.t-ipconnect.de] has joined ##stm32 2013-04-30T23:28:36 -!- barthess [~barthess@77.67.160.175] has quit [Quit: Leaving.] 2013-04-30T23:35:12 -!- inca [~inca@192.5.110.4] has joined ##stm32 2013-04-30T23:37:23 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-04-30T23:40:30 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Quit: Leaving] 2013-04-30T23:42:33 -!- jef79m [~jef79m@202-159-136-72.dyn.iinet.net.au] has quit [Quit: ZNC - http://znc.in] 2013-04-30T23:48:09 -!- jef79m [~jef79m@202-159-136-72.dyn.iinet.net.au] has joined ##stm32 2013-04-30T23:56:02 -!- daku is now known as DaKu --- Log closed Wed May 01 00:00:59 2013