--- Log opened Thu Dec 01 00:00:36 2011 2011-12-01T00:35:03 < karlp> well, I worked out why I couldn't seem to boot without the HSI last night. 2011-12-01T00:35:12 < karlp> I thought for sure it should be able to run on the MSI. 2011-12-01T00:35:25 < karlp> it can, but closer inspection of the clock tree showed that the ADC _must_ run off the HSI. 2011-12-01T00:35:41 < karlp> and my little test program was using the ADC; and blocking in ADC init 2011-12-01T00:35:47 < karlp> so, it was running. 2011-12-01T00:35:48 < karlp> bleh. 2011-12-01T00:35:51 < karlp> anyway, good to know :) 2011-12-01T00:36:26 < Laurenceb_> karlp: i probably asked before, but ever used seek on fatfs? 2011-12-01T00:36:30 < Laurenceb_> :P 2011-12-01T00:41:43 < karlp> no, sorry 2011-12-01T00:41:50 < karlp> I just opened, wrote, and closed, 2011-12-01T00:42:03 < karlp> why do you need to call truncate? 2011-12-01T00:42:21 < karlp> is this because you're seeking forwards to "preallocate" the file? 2011-12-01T00:42:24 < Laurenceb_> its supposed to speed up seek 2011-12-01T00:42:26 < Laurenceb_> yes 2011-12-01T00:42:35 < Laurenceb_> s/seek/write 2011-12-01T00:42:46 < karlp> does it actually speed it up? 2011-12-01T00:42:53 < karlp> I mean, was it working, but slow before? 2011-12-01T00:42:59 < karlp> and now it sometimes loses the last write? 2011-12-01T00:43:10 < Laurenceb_> according to someone on another channel is does 2011-12-01T00:43:32 < Laurenceb_> apparently on most cards it dramatically reduces the probability of a long block from the card 2011-12-01T00:43:40 < Laurenceb_> as in card blocking for hundereds of ms 2011-12-01T00:45:25 < karlp> hmm. do you know why the system_stm32xxxx code does this? RCC->APB1ENR |= RCC_APB1ENR_PWREN; 2011-12-01T00:45:33 < karlp> the power regulator is definitely on, 2011-12-01T00:45:47 < karlp> is that meant to be just enabling the clocks to the power management interface, 2011-12-01T00:46:05 < karlp> so that you have to do that before you can write to the PWR registers and have them take any effect? 2011-12-01T00:51:59 < Laurenceb_> seems to ring a bell to me 2011-12-01T00:52:19 < Laurenceb_> everything seems to have controllable clk on stm :P 2011-12-01T00:54:06 < karlp> hmm, looks like by default it powers up in range 2, not range 1. 2011-12-01T00:54:20 < karlp> man, I wish the register diagrams had a row that showed the reset state for each bit, 2011-12-01T00:54:40 < karlp> not just a "0x00b0c300" word for the register reset state 2011-12-01T00:57:51 < karlp> ahh, the register map giant infograph that is after the individual register descriptions has that. 2011-12-01T00:58:40 < Laurenceb_> any ideas what the "top of file" is? 2011-12-01T01:06:19 < Laurenceb_> ooh maybe i bounced to on/off switch 2011-12-01T01:06:26 < Laurenceb_> *bounced the 2011-12-01T01:07:00 < Laurenceb_> might explain why my logfile is screwed 2011-12-01T01:27:11 -!- Laurenceb_ [~Laurence@host86-174-22-129.range86-174.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2011-12-01T02:26:17 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 252 seconds] 2011-12-01T02:48:19 -!- cwoodall [~cwoodall@80-46-41-155-wireless1x.bu.edu] has joined ##stm32 2011-12-01T02:54:20 -!- cwoodall [~cwoodall@80-46-41-155-wireless1x.bu.edu] has quit [Ping timeout: 255 seconds] 2011-12-01T02:59:03 < karlp> heh, ST's microXplorer installed ok in wine, but then wants java to run :) 2011-12-01T03:03:48 < karlp> hmm, I've forgotten all my java tricks to set the class path properly... 2011-12-01T03:05:23 < AK6L> heh 2011-12-01T03:05:34 < AK6L> the ST-LINK/V2 utility installs fine under Windows 7 2011-12-01T03:05:40 < AK6L> but right before the installer quits it chokes on something 2011-12-01T03:05:43 < AK6L> and uninstalls itself. 2011-12-01T03:06:01 < AK6L> i got it to work by just leaving the error dialog up and running the utility. 2011-12-01T03:06:02 < karlp> you mean the ST provided util for it? 2011-12-01T03:06:05 < AK6L> yeah. 2011-12-01T03:06:21 < AK6L> that utility fixed my STM32F4 Discovery board, as I figured it would 2011-12-01T03:06:35 < karlp> heh, this microXplorer looks really neat, letting you choose what periphs you want, and it searchs the available pin mappings for you 2011-12-01T03:06:42 < AK6L> nice 2011-12-01T03:06:48 < karlp> unplugging and replugging in linux didn't resurrect it for you? 2011-12-01T03:06:54 < AK6L> karlp: nope. 2011-12-01T03:07:18 < AK6L> i suspect there might be a bug in st-util or flash 2011-12-01T03:07:44 < karlp> I don't think this tool had much QA though, it has a "db/DbDesigner-test" directory in the jar, full of excel spreadsheets 2011-12-01T03:07:56 < AK6L> karlp: kwality! 2011-12-01T03:08:27 < karlp> the jar runs ok and makes windows properly on linux, but someone broke the class path somewhere, so it can't find the db files 2011-12-01T03:09:04 < karlp> seems to only be for f105, f107 and 205, 207 anyway 2011-12-01T03:09:10 < karlp> still, might be interesting in the future. 2011-12-01T03:09:13 * karlp shelves it 2011-12-01T03:13:04 < karlp> has anyone seen an actual ST download location for this clock configuration tool excel sheet they keep referring to in the system_stm32xxxxxx.c files? 2011-12-01T03:13:33 -!- cwoodall [~cwoodall@80-46-41-155-wireless1x.bu.edu] has joined ##stm32 2011-12-01T03:18:30 -!- cwoodall [~cwoodall@80-46-41-155-wireless1x.bu.edu] has quit [Ping timeout: 258 seconds] 2011-12-01T03:19:40 -!- cwoodall [~cwoodall@comm575-0301-dhcp014.bu.edu] has joined ##stm32 2011-12-01T03:25:15 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-01T03:25:22 < joe9> BrainDamage: Hello, here. 2011-12-01T04:07:58 < jnosky> http://www.st.com/stonline/stappl/resourceSelector/app?page=resourceSelectorPage&doctype=st_software_rsrc&ClassID=1734 2011-12-01T04:09:58 < karlp> jnosky: you're a legend, why couldn't I find that earlier? 2011-12-01T04:10:37 < jnosky> I came across it just the other day myself 2011-12-01T04:11:12 < jnosky> Ive not tried it tho, im leary of messing with clocks at this point 2011-12-01T04:11:34 < jnosky> Im not real fluent in the startup procedure 2011-12-01T04:12:29 < Tom_itx> why is stuff so hard to find on st anyway? 2011-12-01T04:13:34 < jnosky> Theres just too much stuff 2011-12-01T04:14:11 < jnosky> Hard to believe the programmer has to start up the clocks 2011-12-01T04:14:13 < jnosky> :P 2011-12-01T04:14:31 < jnosky> But the tdmi was the same way i suppose 2011-12-01T04:14:41 < jnosky> you had to "feed" the pll or some shit 2011-12-01T04:14:52 < jnosky> I allways ignored it, used tha canned code 2011-12-01T04:14:57 < Tom_itx> with a pull rope? 2011-12-01T04:15:00 < karlp> I've just spent the last two days learning about the clocks :) 2011-12-01T04:15:01 < jnosky> I was hoping to do the same here 2011-12-01T04:15:23 < karlp> long and short, you can not do anything at all, and it will just run ok for many purposes. 2011-12-01T04:15:27 < jnosky> Well im its sure a good thing to know about ;) 2011-12-01T04:15:41 < karlp> the system_stmXXXXX files do a hell of a lot that is arguably redundant. 2011-12-01T04:15:42 < jnosky> After all it is... well... the clock and all :) 2011-12-01T04:15:54 < karlp> I'm just polishing up commits and test code in my repo. 2011-12-01T04:16:13 < karlp> I've replaced these atollic non-redistributable linker scripts in a few places too. 2011-12-01T04:16:34 < karlp> I kinda think the ./examples/* tree needs to be chopped out of the stlink repo though. 2011-12-01T04:17:03 < jnosky> I kinda made my own example repo 2011-12-01T04:17:15 < jnosky> That stuff doesnt really belong in stlink 2011-12-01T04:17:16 < karlp> I've got a working plain C startup file, simpler linker scripts, so you only have to define the top "memory map" portion 2011-12-01T04:17:20 < karlp> yeah, exactly. 2011-12-01T04:17:27 < karlp> I've been working in stlink just because it was convenient 2011-12-01T04:17:59 < karlp> but I think I want to chop out all of it except a very very basic blink example, just to help verify that the tool works, without having to get/build more tools 2011-12-01T04:18:17 < karlp> so.... 2011-12-01T04:18:21 < jnosky> I just noticed those attolic warnings in example repo as well 2011-12-01T04:18:37 < jnosky> I wonder if they send me a nasty-gram 2011-12-01T04:18:39 < karlp> anyone enough of a git master to know how to take a sub directory from one repo, and make it a whole new repo, keeping history? 2011-12-01T04:19:06 < karlp> I actually noticed the atollic stuff when texane first added a demo containing them. 2011-12-01T04:19:15 < jnosky> Well I say fuck em 2011-12-01T04:19:18 < karlp> it came from ST though, in their downloads 2011-12-01T04:19:29 < jnosky> They are riding on the back of eclipse 2011-12-01T04:19:37 < jnosky> Ya exactly 2011-12-01T04:19:54 < jnosky> Like most of the crap came from st 2011-12-01T04:20:56 < karlp> I reckon ST went to the tools vendors and said, "provide us some project files to go with these examples" 2011-12-01T04:21:19 < karlp> it's probably not unreasonable that ST could distribute a single zip with project configs for various commercial ides? 2011-12-01T04:21:22 * karlp shrugs 2011-12-01T04:21:25 < jnosky> tool vendors 2011-12-01T04:21:27 < jnosky> bah :P 2011-12-01T04:21:34 < karlp> anyway, I'm removing them from the stlink repo 2011-12-01T04:21:34 < jnosky> Tool repackagers 2011-12-01T04:21:48 < karlp> I've also learnt a hell of a lot about shit I never really meant to learn about 2011-12-01T04:21:59 < karlp> well, RIDE's startup and linker scripts are "free to use" 2011-12-01T04:22:07 < karlp> and ride are gcc guys 2011-12-01T04:22:14 < jnosky> attolic uses st startup code 2011-12-01T04:22:25 < karlp> it's atollic that has a "only use this with atollic tools" license 2011-12-01T04:23:03 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Quit: Terminated with extreme prejudice - dircproxy 1.2.0] 2011-12-01T04:23:06 < karlp> I used atollic for about 30 minutes to verify that my board still worked, back in the bad old days when stlink tools still claimed that the blink examples "worked" 2011-12-01T04:23:13 < jnosky> How come they can make and sell plugins for eclipse anyway? 2011-12-01T04:23:22 < karlp> why not? 2011-12-01T04:23:31 < jnosky> Well eclipse is open src 2011-12-01T04:23:48 < jnosky> All the other plug ins are free, annd open, that i have ever seen 2011-12-01T04:23:58 < karlp> hahaha 2011-12-01T04:24:08 < karlp> there's hundreds of companys that use eclipse as the gui :) 2011-12-01T04:24:27 < karlp> I don't normally mind, it's normally pretty apparent which ones actually care, and which ones don't 2011-12-01T04:24:42 < karlp> the litmus test is, "can I install your tool as a feature into my existing eclipse installation" 2011-12-01T04:24:54 < karlp> vs "you must use this complete package preconfigured" 2011-12-01T04:25:00 < jnosky> All thier plug in does is hide the make files 2011-12-01T04:25:52 < karlp> hehe: "This tool runs on STM32L1xx Ultra Low Power Medium-Density Devices" 2011-12-01T04:25:58 < karlp> it's talking about a .xls :) 2011-12-01T04:27:01 < jnosky> Oh you cnat run excell on yer L1? 2011-12-01T04:27:04 < jnosky> pity 2011-12-01T04:29:32 < karlp> that link you sent, it has clock config tools for L1, F2, and F4. have you seen one for F1? 2011-12-01T04:30:14 < karlp> oh, it was pretty clear tonight reading the clock ssection for the F10Yxx, the F100xx, the L1, F2 and F4, that the F10Yxx is definitely an older chip. 2011-12-01T04:30:36 < karlp> it's pretty clearly their first step into the M3 chips 2011-12-01T04:38:28 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2011-12-01T04:50:16 < joe9> this stm product selector page sucks http://www.st.com/stonline/stappl/productcatalog/app?page=productSelectorPage . Is there a better version anywhere else? 2011-12-01T04:50:35 < joe9> i am looking for a chip with C programming, USb low speed, 11 ADC channels and 1 SPI peripheral in as big a packaging as possible. 2011-12-01T04:53:07 < BrainDamage> use http://www.st.com/internet/mcu/subclass/1169.jsp 2011-12-01T04:53:11 < BrainDamage> for F1 devices 2011-12-01T04:53:28 < joe9> BrainDamage: thanks. 2011-12-01T05:20:16 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has quit [Quit: OOOOOO Whats that....] 2011-12-01T05:27:48 -!- Eartaker [~Eartaker@c-67-185-76-100.hsd1.wa.comcast.net] has joined ##stm32 2011-12-01T05:27:48 -!- Eartaker [~Eartaker@c-67-185-76-100.hsd1.wa.comcast.net] has quit [Changing host] 2011-12-01T05:27:48 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has joined ##stm32 2011-12-01T05:34:30 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-01T05:41:52 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [Ping timeout: 258 seconds] 2011-12-01T05:42:23 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-01T06:07:23 < joe9> i am trying to understand the USB peripheral operation, but, am not able to find any docs on the website that can help me out. http://www.st.com/internet/mcu/product/216826.jsp 2011-12-01T06:07:37 < joe9> any suggestions on where else I should be looking? 2011-12-01T06:11:10 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-01T06:11:57 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [Ping timeout: 252 seconds] 2011-12-01T06:12:22 -!- Tom_L is now known as Tom_itx 2011-12-01T06:32:02 < joe9> is anyone aware of any stm device for a usb low speed device? I see the full speed device STM32F103, but curious, if there is a device with the low speed peripheral. 2011-12-01T07:34:01 < joe9> Hello, I am just starting with the stm32. I read from the spec that the HSI clock -> PLL -> USB clock. I am assuming that HSI = High Speed Internal Clock (RC) and does not need any external crystal. 2011-12-01T07:34:05 < joe9> Is that correct? 2011-12-01T07:34:33 < joe9> Can i use the USB peripheral (Full Speed Device mode of operation only) without an external crystal? 2011-12-01T07:40:57 < joe9> found this article: http://docs.google.com/viewer?a=v&q=cache:8fuN8VE9CFsJ:www.icbank.com/Forum/ST/board/upload/STM32F10x_Seminar_9_18_ppt.pdf+stm32F103+usb+clock&hl=en&gl=us&pid=bl&srcid=ADGEESjkimDSmnbu-EDbfHqJPvkrsxpnskZr-qklrcZyZJm76xntkg_Ia-gxp2oGPeV9FXJkxfpv7Mn4E1olJ5L0j8LjnkdXH8w6vMOgtKSQ6fYFCRqYu05ebOHV_Q0B2IaAA8KNsxI3&sig=AHIEtbQgZ5lOCvU0v01GIBJ2qmW436C-HA 2011-12-01T07:41:08 < joe9> which says that i can use HSI to run the USB Clock. 2011-12-01T07:41:18 < joe9> Is that a bad idea? any experiences? 2011-12-01T08:38:47 < emeb> yeesh - this stlink v1 USB implementation really bites. The quirks thing doesn't seem to help on my Fedora 13 system... 2011-12-01T08:42:51 -!- cwoodall [~cwoodall@comm575-0301-dhcp014.bu.edu] has quit [Remote host closed the connection] 2011-12-01T08:51:23 -!- West0n [~West0n@unaffiliated/west0n] has joined ##stm32 2011-12-01T09:01:59 -!- West0n [~West0n@unaffiliated/west0n] has left ##stm32 ["cool story bro"] 2011-12-01T09:14:00 -!- emeb [~ericb@ip72-223-86-178.ph.ph.cox.net] has quit [Quit: Leaving.] 2011-12-01T10:49:41 -!- Laurenceb_ [~Laurence@host86-174-22-129.range86-174.btcentralplus.com] has joined ##stm32 2011-12-01T11:03:11 -!- Laurenceb_ [~Laurence@host86-174-22-129.range86-174.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2011-12-01T11:54:24 < karlp> emeb: what version of stlink are you using? 2011-12-01T11:54:41 < karlp> if quirks-mode ignore doesn't work, you should take that up with fedora :) 2011-12-01T11:55:05 < karlp> if you're using an old stlink version, still built on sg-utils, then yes, it sucks, and I recommend you upgrade 2011-12-01T12:52:30 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-01T12:52:33 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-01T12:52:34 -!- Crenn-NAS [~Crenn@CPE-60-230-106-101.vic.bigpond.net.au] has joined ##stm32 2011-12-01T13:24:01 < Laurenceb> ah my datalogger works :P 2011-12-01T13:24:11 < Laurenceb> turns out i screwed the filesystem previously 2011-12-01T13:24:25 <+Steffanx> Haha 2011-12-01T13:24:35 <+Steffanx> You had to format it and it works now? :) 2011-12-01T13:27:33 < Laurenceb> yes 2011-12-01T13:29:59 < karlp> oh. 2011-12-01T13:30:10 < karlp> I should have rememebered I had that problem a few times too in the beginning :( 2011-12-01T13:30:37 <+Steffanx> So.. it's all your fault karlp ! 2011-12-01T13:31:40 < Laurenceb> heh 2011-12-01T13:31:51 <+Steffanx> You guys don't have to work/go to school? You seem to be here all day long karlp and Laurenceb 2011-12-01T13:31:59 < Laurenceb> i am at work 2011-12-01T13:32:02 < Laurenceb> this is my job 2011-12-01T13:32:17 < Laurenceb> arm dev 2011-12-01T13:32:52 <+Steffanx> Self-employed ? 2011-12-01T13:34:16 < Laurenceb> its complicated :P 2011-12-01T13:35:14 <+Steffanx> Freelance ? 2011-12-01T13:35:20 <+Steffanx> How can something like that be complicated? 2011-12-01T13:35:34 < Laurenceb> im doing a commercially sponsored PhD atm 2011-12-01T13:35:52 < BrainDamage> professional IRCer ? 2011-12-01T13:36:08 <+Steffanx> Ah, lol :P 2011-12-01T13:45:50 < karlp> I am at work too. 2011-12-01T13:46:18 <+Steffanx> Oh, your boss doesn't care (or doesn't even know)? L) 2011-12-01T13:46:26 < karlp> stm32 isn't directly work related, but I'm collecting ideas for future hardware. 2011-12-01T13:46:37 < karlp> I'm not always sitting here staring at irc :) 2011-12-01T13:47:22 < karlp> boss knows I talk to people online outside thecompany, and they often help me with my work problems. 2011-12-01T13:47:26 < karlp> as I (try) to help them. 2011-12-01T13:47:36 < karlp> this is perfectly acceptable to work :) 2011-12-01T13:48:22 < karlp> I do then go home and irc with the same nick, and chat about topics that overlap with work. 2011-12-01T13:48:29 < karlp> what about you? you're here a lot too. 2011-12-01T13:48:39 <+Steffanx> Uhm, I only work 3 days/week 2011-12-01T13:48:59 <+Steffanx> Just finished my study and I don't want to work 40 hours/week yet :P 2011-12-01T13:50:35 < karlp> hehe. 2011-12-01T13:50:39 < karlp> I can understand that. 2011-12-01T13:50:50 < karlp> I used to work 90%, four days one week, 5 the other. loved it 2011-12-01T13:51:08 < karlp> started a new job though, and we're a little understaffed, 2011-12-01T13:51:16 <+Steffanx> I want to go for my master next year anyway :) 2011-12-01T13:51:28 < karlp> saying, "yeah, I don't really want to work much" when I actually do love my day job (now) wouldn't really work. (yet) 2011-12-01T13:51:41 < karlp> I want to go back to 90% or less in the future again though 2011-12-01T13:52:20 <+Steffanx> I learn a lot from my hobby-bobby projects so it's good for my boss too :P 2011-12-01T13:52:25 < Laurenceb> any idea why fatfs capitalises filenames? 2011-12-01T13:56:32 < karlp> because old fat only had capitals 2011-12-01T13:56:37 < karlp> or, more correctly, 2011-12-01T13:56:42 < karlp> because fat is case insensitive 2011-12-01T13:56:56 < karlp> what do you do for the three days? 2011-12-01T13:58:05 < Laurenceb> hmm 2011-12-01T13:58:15 < Laurenceb> is there some config somewhere i need to change? 2011-12-01T14:00:43 < Laurenceb> use unicode? 2011-12-01T14:01:28 <+Steffanx> Long file names.. 2011-12-01T14:01:43 < Laurenceb> oh 2011-12-01T14:01:48 < karlp> fat is still intrinsically case insensitive 2011-12-01T14:02:03 < karlp> you can probably chage the fatfs code to not capitalize if that's important foryou 2011-12-01T14:03:40 <+Steffanx> FatFS supports long file names? 2011-12-01T14:04:37 < karlp> yep, in the config somewhere 2011-12-01T14:09:21 < Laurenceb> why does make not detect that i have deleted a file? 2011-12-01T14:09:36 < Laurenceb> i delete a c file and try make clean, make 2011-12-01T14:09:43 < Laurenceb> and it still tries to compile the file 2011-12-01T14:10:49 < Laurenceb> oh i need sync 2011-12-01T14:10:51 < Laurenceb> weird 2011-12-01T14:12:58 <+Steffanx> Life is weird 2011-12-01T14:20:37 < Laurenceb> oh shit 2011-12-01T14:20:41 < Laurenceb> 130248 bytes 2011-12-01T14:28:02 < Laurenceb> ah TINY_TABLE helps - still 71560bytes 2011-12-01T14:28:18 < Laurenceb> unicode support seems to be needed for long file name :( 2011-12-01T14:29:19 < BrainDamage> there's probably some lightweight utf-8 libs 2011-12-01T14:32:48 < Laurenceb> i have 128KB so *shrug* 2011-12-01T15:07:00 < joe9> anyone using usb functionality on the STM32? did you use the internal RC oscillator (HSI) for the USB clock? I am wondering if I can get away without using an external crystal. 2011-12-01T15:07:11 <+Steffanx> Ask Laurenceb joe9 2011-12-01T15:08:07 < joe9> Laurenceb: any thoughts on using the internal RC oscillator for the USB clock? The spec (STM32F103R6) seems to think that it is theoretically possible to do so. But, am not sure of the practical implications. 2011-12-01T15:08:14 < joe9> Steffanx: thanks. 2011-12-01T15:11:39 < Laurenceb> joe9: should work 2011-12-01T15:11:57 < Laurenceb> it needs to be clked up to 48mhz for the usb core iirc 2011-12-01T15:12:12 < Laurenceb> im using 72mhz with external 12mhz xtal and pll 2011-12-01T15:13:30 < joe9> Laurenceb: Thanks a lot. 2011-12-01T15:14:28 < Laurenceb> https://github.com/Laurenceb/STM32-Logger/ 2011-12-01T15:16:41 < joe9> Laurenceb: Why are you using an SD card and not an Eeprom? Was that a requirement? Eeprom's are easier to interface, aren't they? 2011-12-01T15:16:59 < Laurenceb> yes 2011-12-01T15:17:05 < Laurenceb> but i need lots of storage 2011-12-01T15:17:14 < Laurenceb> a few GB 2011-12-01T15:18:53 < joe9> oh, ok. thanks. 2011-12-01T15:26:17 < joe9> is it easier to hack/reverse engineer a device with an SD card? 2011-12-01T15:26:43 < jpa-> easier than what? 2011-12-01T15:26:58 < joe9> just curious, have never used one? but, it would probably easy to do something and read it on some other SD card reader and figure out the differences. 2011-12-01T15:27:08 < joe9> easier than using an internal eeprom 2011-12-01T15:28:21 < jpa-> sd cards are quite easy to interface without any reverse engineering 2011-12-01T15:28:57 < joe9> no, reverse-engineering the device using the SD-card, I meant. 2011-12-01T15:29:11 < joe9> no, reverse-engineering the functionality of the device using the SD-card, I meant. 2011-12-01T15:29:41 < jpa-> depends on what the functionality is :D 2011-12-01T15:30:51 < joe9> jpa-: fair enough. 2011-12-01T16:15:11 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Quit: leaving] 2011-12-01T16:35:44 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-01T16:39:14 < Laurenceb> rtc works XD 2011-12-01T16:46:57 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-01T16:48:56 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-01T17:32:53 < Laurenceb> seems jtag/swd halt halts the RTC as well 2011-12-01T17:33:24 < jpa-> there is a register where you can configure that 2011-12-01T17:34:07 < Laurenceb> ah yeah 2011-12-01T17:56:47 -!- emeb [~ericb@ip72-223-86-178.ph.ph.cox.net] has joined ##stm32 2011-12-01T17:58:20 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-01T18:07:43 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-01T18:35:16 < AK6L> argh. don't understand this. 2011-12-01T18:35:31 < AK6L> stm32f4 discovery board programs just fine under windows 2011-12-01T18:35:36 < AK6L> but i can't flash it or debug it under linux anymore. 2011-12-01T19:14:21 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-01T19:14:22 -!- mode/##stm32 [+v Steffann] by ChanServ 2011-12-01T19:14:28 < Laurenceb> oh wow 2011-12-01T19:14:36 < Laurenceb> theres a usb hub in my desktop 2011-12-01T19:14:55 < Laurenceb> bypassing it i get ~1MB/s 2011-12-01T19:16:30 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 244 seconds] 2011-12-01T19:19:21 <+Steffann> Nice Laurenceb 2011-12-01T19:20:01 < Laurenceb> looks like usb hub leads to a lot of overhead or something 2011-12-01T19:20:08 < Laurenceb> or it was just a slow hub 2011-12-01T19:22:39 < karlp> hehe, what's that, 50% or so speedup? 2011-12-01T19:22:47 <+Steffann> +400kbps 2011-12-01T19:23:17 < karlp> he was getting 600 before though right? 2011-12-01T19:23:25 <+Steffann> So, Yes 2011-12-01T19:23:32 <+Steffann> So, not it's 400 extra :) 2011-12-01T19:23:35 <+Steffann> *now 2011-12-01T19:23:45 < jpa-> how big are your transfer blocks now? 2011-12-01T19:23:56 <+Steffann> 1bit .. what do you think 2011-12-01T19:23:59 < jpa-> for 512 byte packet it sure adds some overhead :) 2011-12-01T19:26:49 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Quit: Leaving] 2011-12-01T19:27:41 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-01T19:27:44 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-01T19:36:55 < Laurenceb> seems my honeywell diff pressure sensor is being annoying 2011-12-01T19:37:15 < Laurenceb> takes ~10seconds to get a stable output? 2011-12-01T19:37:43 < Laurenceb> *does the adc 2011-12-01T19:37:56 < Laurenceb> after initial init and cal 2011-12-01T19:40:23 < Laurenceb> its probably my front end :( 2011-12-01T19:40:43 <+Steffanx> poor Laurenceb 2011-12-01T19:40:49 < Laurenceb> yeah it sucks 2011-12-01T19:40:55 < Laurenceb> nothing works properly 2011-12-01T19:41:02 <+Steffanx> You know what sucks? 2011-12-01T19:41:13 < Laurenceb> what 2011-12-01T19:41:24 <+Steffanx> That 2011-12-01T19:41:34 < Laurenceb> lol ok 2011-12-01T19:41:39 < BrainDamage> vacuum 2011-12-01T19:41:44 * Laurenceb off 2011-12-01T19:41:47 < Laurenceb> cya all 2011-12-01T19:45:09 <+Steffanx> bb 2011-12-01T19:48:00 < karlp> doh, too late, 2011-12-01T19:48:09 < karlp> which stm chip was laurence using for usb again? 2011-12-01T19:48:11 < karlp> f103 which? 2011-12-01T19:48:52 < karlp> F102 usb are cheap on digikey right now, was going to snag a couple, 2011-12-01T19:48:58 < karlp> but onyl with 16k flash, 4k ram 2011-12-01T19:49:51 -!- tunilame [29e2af63@gateway/web/freenode/ip.41.226.175.99] has joined ##stm32 2011-12-01T19:50:17 < tunilame> hello 2011-12-01T19:51:36 < tunilame> I'm making a tutorial, to explain what karlp did last time for me to make my stm32l-discovery work with 32l-dac and 32l-lcd 2011-12-01T19:51:47 < tunilame> I had an error while doing everything from zero: 2011-12-01T19:53:24 < karlp> hello again tunilame, welcome back 2011-12-01T19:53:46 < tunilame> while making the 32l_dac, I had this error: /home/tunilame/sat/lib/gcc/arm-none-eabi/4.5.2/../../../../arm-none-eabi/bin/ld: cannot find -lstm32_stdperiph_l1xx 2011-12-01T19:53:46 < tunilame> thanks :D 2011-12-01T19:53:59 < tunilame> I think it's a permission problem, I'll verify it 2011-12-01T19:54:03 < karlp> no, 2011-12-01T19:54:15 < karlp> that's the "make -C ../libs_stm/build" step again 2011-12-01T19:54:19 < tunilame> I installed the toolchain with sudo 2011-12-01T19:54:22 < tunilame> aha 2011-12-01T19:54:33 < tunilame> thanks again! 2011-12-01T19:54:33 < tunilame> I forget :( 2011-12-01T19:54:38 < karlp> not a problem :) 2011-12-01T19:55:18 < tunilame> the tutorial will be in french (at first), it'll be translated to english then 2011-12-01T19:55:23 < karlp> also, figures, now that work's ready to order parts again, I've convinced them to order from mouser, (by doing the leg work to find cheaper suitable parts) so that I could by 802.15.4 modules (which digikey won't ship to iceland) 2011-12-01T19:55:31 < karlp> and now, mouser's out of stock of the bloody things 2011-12-01T19:55:38 < karlp> 2500 on order :( 2011-12-01T19:57:30 < karlp> quick, what else should I get from mouser? 2011-12-01T19:57:41 < karlp> do they sell whiskey? 2011-12-01T19:58:31 < karlp> tunilame: you can feel very free to edit https://github.com/texane/stlink/blob/master/doc/tutorial/tutorial.tex if you want :) 2011-12-01T19:59:46 < tunilame> @karlp: it's latex? or what? 2011-12-01T20:01:40 < karlp> yeah, something texane wrote 2011-12-01T20:02:01 < karlp> I edited it once, but I haven't really gone over the whole thing and re-edited it in a while. 2011-12-01T20:09:48 < tunilame> ok, I never used it, it's time to learn it :) 2011-12-01T20:10:14 < tunilame> I'll edit it as soon as possible (I need to finish my little tutorial first) 2011-12-01T20:11:49 < karlp> I'd never used it much either, but I figured I could edit the text pretty well, and follow what was set up. 2011-12-01T20:12:01 < karlp> then you just type "pdflatex tutorial.tex" 2011-12-01T20:12:22 < karlp> and tutorial.pdf pops out, all pretty and gorgeous and looking like a book got scanned in and is now somehow offical 2011-12-01T20:29:55 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-01T20:45:59 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-01T20:46:02 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has left ##stm32 [] 2011-12-01T20:46:44 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-01T20:48:38 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-01T20:49:13 < joe9> hello, anyone used the newlib or libopencm3 on a stm32? Can you use those libraries in a commercial product? 2011-12-01T21:08:55 < jpa-> as long as you comply with the license :P 2011-12-01T21:10:18 < jpa-> newlib seems to be GPL mostly 2011-12-01T21:15:04 < joe9> or, are there any other better C libraries for STM32? 2011-12-01T21:15:14 < joe9> jpa-: which library do you use? 2011-12-01T21:15:33 < jpa-> klibc (stripped down version of it) 2011-12-01T21:15:44 < joe9> uclibc seems to be pretty popular too. 2011-12-01T21:15:56 < joe9> jpa-: any particular reason that you went with klibc? 2011-12-01T21:16:13 < jpa-> uclibc is only for linux IIRC 2011-12-01T21:16:21 < jpa-> it was the smallest one i found 2011-12-01T21:16:58 < jpa-> http://essentialscrap.com/boat/libraries.html 2011-12-01T21:18:12 < joe9> jpa-: ok, thanks. 2011-12-01T21:18:48 < jpa-> we checked around with ben1066 just a few days ago, it seems that the files I have used from klibc are actually not under GPL 2011-12-01T21:19:03 < jpa-> so if one were brave, he could drop the GPL licensing if not using tinyprintf 2011-12-01T21:21:18 < joe9> jpa-: i am targeting the stm32f103r6 (32 KB of flash). For that purpose, the options are either Baselibc or klibc, it appears, from that url. Do you agree? 2011-12-01T21:21:44 < joe9> looks like newlib cannot even be used for that device. 2011-12-01T21:22:08 < jpa-> well it all depends on what functions you need 2011-12-01T21:22:12 < joe9> have you tried libopencm3? 2011-12-01T21:22:37 < jpa-> it does not address the same problem 2011-12-01T21:22:49 < jpa-> but no, i have not used it 2011-12-01T21:23:08 < jpa-> baselibc compiles to 4kB if you include all the functions (but it doesn't implement very many) 2011-12-01T21:23:16 < joe9> oh, ok. 2011-12-01T21:23:37 < jpa-> sometimes you can do without any libc 2011-12-01T21:24:30 < joe9> good to know. for a newbie like me, which library would you recommend starting off with? 2011-12-01T21:24:41 < jpa-> what do you want to do? 2011-12-01T21:25:10 < joe9> usb connectivity with an spi communication with a eeprom and some adc stuff. 2011-12-01T21:25:21 < joe9> usb connectivity, spi communication with a eeprom and some adc stuff. 2011-12-01T21:25:31 < joe9> i meant an external eeprom. 2011-12-01T21:26:09 < jpa-> libc probably isn't very important for that, you would only need it for some debug printfs probably 2011-12-01T21:26:41 < joe9> i currently have that functionality in a pic and I do not use any C library for that. 2011-12-01T21:26:44 < jpa-> libopencm3 may or may not make your job easier; i might recommend chibios because it is quite easy to use and the latest development versions even have some USB stuff 2011-12-01T21:26:53 -!- tunilame [29e2af63@gateway/web/freenode/ip.41.226.175.99] has quit [Quit: Page closed] 2011-12-01T21:27:03 < joe9> But, it would be good to have the flash-read/write operations in a library. 2011-12-01T21:27:16 < jpa-> well libc does not help for that 2011-12-01T21:27:24 < jpa-> i don't know if libopencm3 has anything 2011-12-01T21:27:40 < jpa-> chibios has some SPI code 2011-12-01T21:27:56 < joe9> i remember that while compiling C, it needed memmove and I just coded that function manually. 2011-12-01T21:28:24 < jpa-> true 2011-12-01T21:28:37 < joe9> libc could help with something like that. I do not need anything fancy. something to have when I need it. 2011-12-01T21:28:43 < jpa-> baselibc is also fine for memmove etc. simple functions 2011-12-01T21:28:55 < joe9> ok, cool. thanks . 2011-12-01T21:29:04 < jpa-> newlib should be ok too, memmove is probably very tiny in newlib also 2011-12-01T21:29:33 < jpa-> but considering that newlib is gpl, it may be out of question for you 2011-12-01T21:30:04 < joe9> i am not planning on selling the software. the software would probably be closed-source, but, hoping on selling the product. 2011-12-01T21:31:01 < jpa-> you must give out the source code if you sell a device with GPL code inside it 2011-12-01T21:31:29 < joe9> oh, ok. Isn't arm-gcc gpl code then? 2011-12-01T21:33:47 < jpa-> the compiler is, but the code it produces is not 2011-12-01T21:34:11 < joe9> oh, ok. so, the compiler can be used to produce the software of a commercial product. 2011-12-01T21:34:17 < joe9> got it. thanks. 2011-12-01T21:34:30 < jpa-> yeah 2011-12-01T21:36:15 < joe9> looks like that removes baselibc, klibc and newlib for my needs. 2011-12-01T21:36:38 -!- zlog [~zlog@ip68-102-105-167.ks.ok.cox.net] has quit [Ping timeout: 255 seconds] 2011-12-01T21:37:09 < jpa-> pdclib is possible 2011-12-01T21:37:12 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [Ping timeout: 244 seconds] 2011-12-01T21:37:22 < joe9> ok, thanks. 2011-12-01T21:37:31 < jpa-> but as i said, it is probable that baselibc is not covered by gpl after all 2011-12-01T21:37:36 < jpa-> i just haven't verified it 2011-12-01T21:38:51 < joe9> just checked it, it inherits the license of klibc 2011-12-01T21:40:19 -!- zlog [~zlog@ip68-102-105-167.ks.ok.cox.net] has joined ##stm32 2011-12-01T21:41:15 < jpa-> eh :) 2011-12-01T21:42:09 <+Steffanx> That nanopb looks nice jpa- 2011-12-01T21:42:20 < jpa-> i am the guy who forked klibc to create baselibc, and klibc is partly GPL and partly BSD and partly public domain 2011-12-01T21:42:39 < jpa-> but they don't give a clear identification of which file is which 2011-12-01T21:42:53 < jpa-> so it is difficult to be sure if baselibc includes any gpl code or not 2011-12-01T21:43:06 < jpa-> Steffanx: it has gained some users :) 2011-12-01T21:43:11 < joe9> jpa-: oh, really. Hats off to you.. Sorry about the confusion. 2011-12-01T21:43:15 <+Steffanx> some = ? 2011-12-01T21:43:23 < jpa-> Steffanx: 4 2011-12-01T21:43:29 <+Steffanx> Waow 2011-12-01T21:43:38 < jpa-> (4 people who have mailed me, anyway) 2011-12-01T21:44:00 < jpa-> (and i haven't even got around to using it myself yet :D 2011-12-01T21:44:40 <+Steffanx> lol 2011-12-01T21:44:48 < jpa-> actually, 5; not sure if everyone of them is using it though 2011-12-01T21:46:06 < jpa-> joe9: np :P 2011-12-01T22:13:11 -!- zlog [~zlog@ip68-102-105-167.ks.ok.cox.net] has quit [Ping timeout: 252 seconds] 2011-12-01T22:29:45 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-01T22:29:45 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has joined ##stm32 2011-12-01T22:48:13 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has quit [Ping timeout: 240 seconds] 2011-12-01T22:50:21 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [Ping timeout: 258 seconds] 2011-12-01T23:00:07 -!- peabody124_ [~peabody12@128.249.96.123] has joined ##stm32 2011-12-01T23:04:06 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 244 seconds] 2011-12-01T23:04:06 -!- peabody124_ is now known as peabody124 2011-12-01T23:10:23 -!- peabody124 [~peabody12@128.249.96.123] has quit [Remote host closed the connection] 2011-12-01T23:10:37 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-01T23:13:02 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-01T23:14:13 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has joined ##stm32 2011-12-01T23:15:15 -!- Laurenceb_ [~Laurence@host86-174-22-129.range86-174.btcentralplus.com] has joined ##stm32 2011-12-01T23:47:13 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has quit [Ping timeout: 252 seconds] 2011-12-01T23:47:27 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [Ping timeout: 248 seconds] --- Day changed Fri Dec 02 2011 2011-12-02T00:13:57 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-02T00:16:05 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has joined ##stm32 2011-12-02T00:17:16 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 260 seconds] 2011-12-02T00:45:44 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has quit [Ping timeout: 258 seconds] 2011-12-02T00:46:15 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [Ping timeout: 252 seconds] 2011-12-02T01:00:24 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-02T01:13:31 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 244 seconds] 2011-12-02T01:36:42 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-02T01:41:16 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [Ping timeout: 260 seconds] 2011-12-02T01:44:10 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-02T01:44:47 -!- Laurenceb_ [~Laurence@host86-174-22-129.range86-174.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2011-12-02T02:02:36 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has joined ##stm32 2011-12-02T02:12:02 -!- Laurenceb_ [~Laurence@host86-174-22-129.range86-174.btcentralplus.com] has joined ##stm32 2011-12-02T02:20:31 -!- Laurenceb_ [~Laurence@host86-174-22-129.range86-174.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2011-12-02T03:11:44 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-02T03:12:13 -!- peabody124 [~peabody12@128.249.96.21] has quit [Quit: peabody124] 2011-12-02T05:12:01 -!- erik-k [~erik-k@71-34-249-33.eugn.qwest.net] has quit [Remote host closed the connection] 2011-12-02T05:14:19 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Quit: Lost terminal] 2011-12-02T05:31:29 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-02T06:22:40 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Excess Flood] 2011-12-02T06:23:00 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2011-12-02T07:10:17 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-02T07:10:20 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-02T07:14:40 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 244 seconds] 2011-12-02T07:52:20 -!- emeb [~ericb@ip72-223-86-178.ph.ph.cox.net] has quit [Quit: Leaving.] 2011-12-02T08:07:08 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Read error: Connection reset by peer] 2011-12-02T08:07:08 -!- peabody124_ [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-02T08:07:09 -!- peabody124_ is now known as peabody124 2011-12-02T08:36:03 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has quit [Ping timeout: 244 seconds] 2011-12-02T08:40:17 -!- peabody124_ [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-02T08:40:17 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Read error: Connection reset by peer] 2011-12-02T08:40:17 -!- peabody124_ is now known as peabody124 2011-12-02T08:43:41 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has joined ##stm32 2011-12-02T09:23:34 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-02T09:24:39 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-02T11:52:10 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2011-12-02T12:41:06 -!- Laurenceb_ [~Laurence@host86-174-22-129.range86-174.btcentralplus.com] has joined ##stm32 2011-12-02T13:03:11 -!- Laurenceb_ [~Laurence@host86-174-22-129.range86-174.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2011-12-02T13:46:57 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-02T13:47:00 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-02T14:48:24 < jpa-> morning Steffanx 2011-12-02T14:48:50 <+Steffanx> Good afternoon 2011-12-02T14:48:58 <+Steffanx> And morning 2011-12-02T14:49:35 <+Steffanx> How's finland today? 2011-12-02T14:52:21 < jpa-> cold 2011-12-02T14:52:58 < jpa-> but i bought stud tires for my bike 2011-12-02T14:53:27 <+Steffanx> it's always cold in finland :P 2011-12-02T14:53:48 <+Steffanx> bike as in .. bicycle or bike as in motor bike? 2011-12-02T14:53:49 < jpa-> not in summer 2011-12-02T14:53:53 < jpa-> bicycle 2011-12-02T14:53:57 <+Steffanx> :) 2011-12-02T14:54:08 < jpa-> slipped over yesterday morning so it was about time :) 2011-12-02T14:54:27 <+Steffanx> Snowy over there? 2011-12-02T14:57:14 < jpa-> no, just icy 2011-12-02T15:55:36 <+Steffanx> Coffee 2011-12-02T16:25:49 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-02T16:38:18 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Read error: Connection reset by peer] 2011-12-02T16:39:40 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-02T16:44:09 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Client Quit] 2011-12-02T16:58:46 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 244 seconds] 2011-12-02T17:03:14 -!- peabody124 [~peabody12@128.249.96.127] has joined ##stm32 2011-12-02T17:37:30 -!- peabody124 [~peabody12@128.249.96.127] has quit [Quit: peabody124] 2011-12-02T17:42:34 -!- peabody124 [~peabody12@128.249.96.123] has joined ##stm32 2011-12-02T17:48:53 -!- peabody124 [~peabody12@128.249.96.123] has quit [Ping timeout: 252 seconds] 2011-12-02T18:00:15 -!- emeb [~ericb@ip72-223-86-178.ph.ph.cox.net] has joined ##stm32 2011-12-02T18:31:32 -!- peabody124 [~peabody12@128.249.96.123] has joined ##stm32 2011-12-02T18:50:01 -!- peabody124 [~peabody12@128.249.96.123] has quit [Quit: peabody124] 2011-12-02T19:03:54 -!- peabody124 [~peabody12@128.249.96.123] has joined ##stm32 2011-12-02T19:23:34 -!- emeb [~ericb@ip72-223-86-178.ph.ph.cox.net] has quit [Quit: Leaving.] 2011-12-02T19:55:19 -!- peabody124 [~peabody12@128.249.96.123] has quit [Quit: peabody124] 2011-12-02T20:03:55 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-02T20:38:01 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2011-12-02T21:49:58 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Read error: Connection reset by peer] 2011-12-02T21:55:28 -!- Laurenceb_ [~Laurence@host86-174-22-129.range86-174.btcentralplus.com] has joined ##stm32 2011-12-02T22:02:03 -!- Laurenceb_ [~Laurence@host86-174-22-129.range86-174.btcentralplus.com] has quit [Ping timeout: 244 seconds] 2011-12-02T22:06:45 -!- Laurenceb_ [~Laurence@host86-171-203-97.range86-171.btcentralplus.com] has joined ##stm32 2011-12-02T22:20:29 -!- vpopov [~happylife@46.251.80.89] has joined ##stm32 2011-12-02T22:43:20 -!- vpopov [~happylife@46.251.80.89] has quit [Read error: Operation timed out] 2011-12-02T22:53:25 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [Ping timeout: 240 seconds] 2011-12-02T22:55:26 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has quit [Ping timeout: 252 seconds] 2011-12-02T22:57:30 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-02T22:57:49 -!- district is now known as jesus 2011-12-02T22:58:06 -!- jesus is now known as district 2011-12-02T22:58:53 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has joined ##stm32 2011-12-02T23:28:59 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 --- Day changed Sat Dec 03 2011 2011-12-03T00:26:44 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 252 seconds] 2011-12-03T02:10:55 -!- Laurenceb_ [~Laurence@host86-171-203-97.range86-171.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2011-12-03T03:30:52 -!- peabody124 [~peabody12@128.249.96.21] has quit [Quit: peabody124] 2011-12-03T04:39:13 < karlp> heh, getting things to run from SRAM is proving a little tricky... 2011-12-03T04:39:20 < karlp> does anyone know a good working example of this? 2011-12-03T04:42:24 < karlp> or, what document the SCB register is in? 2011-12-03T04:42:28 < karlp> it's defined in core_cm3.h, 2011-12-03T04:56:27 -!- peabody124 [~peabody12@c-98-194-207-199.hsd1.tx.comcast.net] has joined ##stm32 2011-12-03T05:00:10 -!- peabody124 [~peabody12@c-98-194-207-199.hsd1.tx.comcast.net] has quit [Client Quit] 2011-12-03T05:02:50 -!- dekar [~dekar@ip-109-84-0-11.web.vodafone.de] has joined ##stm32 2011-12-03T05:17:54 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-03T05:18:36 < karlp> oh look, what a surprise, the stack pointer wasn't setup properly.... :) 2011-12-03T05:24:50 < karlp> wheee it works 2011-12-03T05:25:04 < karlp> 30KB/sec loads now :) 2011-12-03T05:35:34 < dekar> karlp, why are you playing with the stack pointer? building some kind of bootloader? 2011-12-03T05:36:37 < karlp> trying to set up the link scripts so that I can load a functional image into sram, instead of having to write to flash every time 2011-12-03T05:37:17 < karlp> at reset, the stack poitner gets loaded in from 0, or sram with the boot pin, 2011-12-03T05:40:22 < karlp> but this is after reset 2011-12-03T06:05:27 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-03T06:20:17 < karlp> and we're done :) 2011-12-03T06:20:18 < karlp> whee. 2011-12-03T06:31:39 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has quit [Quit: OOOOOO Whats that....] 2011-12-03T06:35:16 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has joined ##stm32 2011-12-03T07:14:49 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 252 seconds] 2011-12-03T07:25:20 < Eartaker>  2011-12-03T07:31:20 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has quit [Quit: OOOOOO Whats that....] 2011-12-03T07:32:49 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has joined ##stm32 2011-12-03T08:40:36 -!- AaronM [~Aaron@adsl-74-226-119-171.mem.bellsouth.net] has joined ##stm32 2011-12-03T08:40:37 -!- AaronM [~Aaron@adsl-74-226-119-171.mem.bellsouth.net] has quit [Changing host] 2011-12-03T08:40:38 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has joined ##stm32 2011-12-03T09:22:55 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-03T09:35:19 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has quit [Quit: Quit] 2011-12-03T11:59:39 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2011-12-03T12:09:11 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Read error: Connection reset by peer] 2011-12-03T12:37:37 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-03T12:37:40 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-03T14:23:48 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Quit: Leaving] 2011-12-03T14:24:06 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-03T14:24:09 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-03T14:54:49 -!- Laurenceb_ [~Laurence@host86-179-81-37.range86-179.btcentralplus.com] has joined ##stm32 2011-12-03T16:30:05 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-03T16:44:49 -!- Laurenceb__ [~Laurence@host86-179-87-130.range86-179.btcentralplus.com] has joined ##stm32 2011-12-03T16:45:17 < dekar> Steffanx, hey my product bricked hardware worth 15k? :/ 2011-12-03T16:45:42 <+Steffanx> LOLOL? 2011-12-03T16:46:17 < dekar> trying to unbrick optical transceivers now 2011-12-03T16:46:40 < dekar> they're only half bricked, laser doesn't turn on anymore and they act weird 2011-12-03T16:46:41 <+Steffanx> You shouldn't work on saturday :) 2011-12-03T16:46:47 < dekar> probably firmware corruption -.- 2011-12-03T16:46:57 < dekar> that happened 2 days ago 2011-12-03T16:47:11 -!- Laurenceb_ [~Laurence@host86-179-81-37.range86-179.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2011-12-03T16:47:16 <+Steffanx> I guess the transceivers are buggy? 2011-12-03T16:47:33 < dekar> Well I reverse engineered their firmware update method 2011-12-03T16:47:38 < dekar> must have broken something 2011-12-03T16:47:39 -!- Laurenceb_ [~Laurence@host86-177-209-178.range86-177.btcentralplus.com] has joined ##stm32 2011-12-03T16:48:08 < dekar> but I guess in any case my R&D budget should cover the damage -.-" 2011-12-03T16:48:16 <+Steffanx> Hehe 2011-12-03T16:48:37 <+Steffanx> What's your 'product' btw? 2011-12-03T16:48:47 < dekar> flexBox2 2011-12-03T16:48:59 < dekar> universal transceiver hacking hardware :) 2011-12-03T16:49:01 -!- Laurenceb__ [~Laurence@host86-179-87-130.range86-179.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2011-12-03T16:50:23 <+Steffanx> You have Illustrator skills dekar ? 2011-12-03T16:50:46 < dekar> like for that adobe software? nope 2011-12-03T16:50:51 <+Steffanx> Yes, that sw 2011-12-03T16:51:27 < dekar> that's vector graphics software? 2011-12-03T16:51:31 < dekar> I used inkscape once 2011-12-03T16:51:36 < dekar> was quite nice 2011-12-03T16:51:48 <+Steffanx> inkscape sucks on os x 2011-12-03T16:53:07 < dekar> Steffanx, http://dekar.wc3edit.net/eel_logo.png 2011-12-03T16:53:13 < dekar> made that in inkscape 2011-12-03T16:53:23 < dekar> I liked using it on debian 2011-12-03T16:53:35 < dekar> open office sucks on OSX as well 2011-12-03T16:53:39 < dekar> tons of rendering bugs 2011-12-03T16:54:02 <+Steffanx> I have to make something for a laser cutter, in Excel or look-a-like it's very easy, but it then it's not a vector drawing 2011-12-03T16:54:41 <+Steffanx> I can export it as PDF and import it, but then it's pretty hard to edit it 2011-12-03T16:54:41 < dekar> make it in excel, laser cut it, scan it and vectorize it :D 2011-12-03T16:55:13 < dekar> dunno, try to tell inkscape to vectorize it from your pdf 2011-12-03T16:55:24 < dekar> or that adobe thing 2011-12-03T16:55:31 < dekar> adobe stuff is sooo expensive 2011-12-03T16:55:41 <+Steffanx> Illustrator even recognizes the font/characters 2011-12-03T16:55:51 < dekar> we have all of that at the company and it was like 4k? iirc 2011-12-03T16:55:57 <+Steffanx> but puts everything in a separate layer 2011-12-03T16:56:02 <+Steffanx> It's very expensive yes 2011-12-03T16:56:15 <+Steffanx> And ofcourse i paid for it :P 2011-12-03T16:56:28 < dekar> and since I don't really need it I rather stay away :P 2011-12-03T16:56:35 < dekar> pirate bay license -.-" 2011-12-03T16:56:45 < dekar> I don't really feel like pirating stuff 2011-12-03T16:57:06 <+Steffanx> Me neither, but sometimes i have no choice 2011-12-03T16:57:08 < dekar> wouldn't do that for work related stuff 2011-12-03T16:57:52 <+Steffanx> It's pay, use a 'pirate bay' license or use the crappy open source alternative :( 2011-12-03T16:57:57 < dekar> on the other hand I can just buy any sw I need for work anyway 2011-12-03T16:58:09 <+Steffanx> This is not work related anyway 2011-12-03T16:58:13 < dekar> Hey, don't offend my eel 2011-12-03T16:58:14 <+Steffanx> It's for a hobby bobby project 2011-12-03T16:58:26 < dekar> he's proud of his origin 2011-12-03T16:58:40 <+Steffanx> Huh? 2011-12-03T16:59:01 < dekar> you called inkscape a crappy open source alternative 2011-12-03T16:59:11 <+Steffanx> Yeah 2011-12-03T16:59:19 < dekar> and I really liked it when I made that eel 2011-12-03T16:59:20 <+Steffanx> It can't import the pdf :P 2011-12-03T16:59:33 < dekar> make a screenshot :P 2011-12-03T16:59:33 < dekar> XD 2011-12-03T16:59:50 <+Steffanx> I didn't say you can't make nice things with crappy sw :) 2011-12-03T17:00:09 <+Steffanx> Where's that eel used for? 2011-12-03T17:00:15 < dekar> nothing 2011-12-03T17:00:22 < dekar> I was planning to use it for a project 2011-12-03T17:00:58 < dekar> he's Cutie the electrocuting eel :) 2011-12-03T17:05:50 <+Steffanx> :) 2011-12-03T17:06:02 <+Steffanx> Programmers shouldn't design :p 2011-12-03T17:07:01 <+Steffanx> I mean.. this is what i made once http://www.naffets.nl/share/logo-20111203-160643.png :) 2011-12-03T17:08:24 < dekar> dunno, that's not too bad either 2011-12-03T17:08:34 < dekar> I actually like my eel :) 2011-12-03T17:08:53 <+Steffanx> As long as you like it, it's ok :) 2011-12-03T17:13:16 <+Steffanx> What have you done with izua dekar ? 2011-12-03T17:13:31 < dekar> dunno -.- 2011-12-03T17:13:40 < dekar> I should text him 2011-12-03T17:13:57 <+Steffanx> This is him? http://www.last.fm/user/izua 2011-12-03T17:14:05 < dekar> dunno 2011-12-03T17:14:28 <+Steffanx> Oh, i thought you 'know' him 2011-12-03T17:14:59 -!- Laurenceb__ [~Laurence@host109-153-75-50.range109-153.btcentralplus.com] has joined ##stm32 2011-12-03T17:15:37 < dekar> I can give you his cell number if you want 2011-12-03T17:15:49 <+Steffanx> No, thanks :) 2011-12-03T17:17:50 -!- Laurenceb_ [~Laurence@host86-177-209-178.range86-177.btcentralplus.com] has quit [Ping timeout: 244 seconds] 2011-12-03T17:38:11 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-03T17:50:05 -!- vpopov [~happylife@46.251.80.89] has joined ##stm32 2011-12-03T18:28:42 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-03T19:16:24 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 244 seconds] 2011-12-03T19:25:13 -!- emeb [~ericb@ip72-223-86-178.ph.ph.cox.net] has joined ##stm32 2011-12-03T19:44:05 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Quit: leaving] 2011-12-03T19:54:29 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has quit [Ping timeout: 255 seconds] 2011-12-03T19:55:23 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [Ping timeout: 255 seconds] 2011-12-03T19:56:10 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-03T19:57:47 -!- zlog_ [~zlog@ip68-102-96-223.ks.ok.cox.net] has joined ##stm32 2011-12-03T20:09:16 -!- zlog_ [~zlog@ip68-102-96-223.ks.ok.cox.net] has quit [Remote host closed the connection] 2011-12-03T20:24:02 -!- Laurenceb_ [~Laurence@host86-178-238-182.range86-178.btcentralplus.com] has joined ##stm32 2011-12-03T20:26:25 -!- Laurenceb__ [~Laurence@host109-153-75-50.range109-153.btcentralplus.com] has quit [Ping timeout: 244 seconds] 2011-12-03T20:39:30 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has joined ##stm32 2011-12-03T20:40:02 -!- dekar [~dekar@ip-109-84-0-11.web.vodafone.de] has quit [Ping timeout: 252 seconds] 2011-12-03T20:54:18 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Excess Flood] 2011-12-03T20:54:38 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2011-12-03T20:59:37 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-03T22:04:44 -!- jaeckel [~jaeckel@unaffiliated/jaeckel] has quit [Ping timeout: 252 seconds] 2011-12-03T22:14:56 -!- jaeckel [~jaeckel@unaffiliated/jaeckel] has joined ##stm32 2011-12-03T22:40:28 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Quit: Lost terminal] 2011-12-03T22:41:46 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-03T22:46:10 -!- vpopov [~happylife@46.251.80.89] has quit [Ping timeout: 244 seconds] 2011-12-03T23:12:59 < karlp> get more! 2011-12-03T23:13:07 < karlp> it's not waste, it's use! 2011-12-03T23:14:47 < Tom_itx> flyback have you installed a toolchain yet? 2011-12-03T23:15:05 < Laurenceb_> oh no 2011-12-03T23:15:08 < Laurenceb_> troll time 2011-12-03T23:15:22 < Tom_itx> you know him too? 2011-12-03T23:15:41 < Laurenceb_> flyback trolls every channel on here 2011-12-03T23:17:01 < Tom_itx> he does have a good idea every few months though 2011-12-03T23:52:32 < Tom_itx> i'll be doing that in a couple days 2011-12-03T23:52:33 < jpa-> oh no, not flyback 2011-12-03T23:52:40 < Tom_itx> gotta replace the power jack 2011-12-03T23:53:08 < jpa-> ah, now i understood my confusion, he's in ignore :P --- Day changed Sun Dec 04 2011 2011-12-04T00:32:17 -!- Laurenceb__ [~Laurence@host86-174-22-126.range86-174.btcentralplus.com] has joined ##stm32 2011-12-04T00:34:55 -!- Laurenceb_ [~Laurence@host86-178-238-182.range86-178.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2011-12-04T00:35:14 -!- Laurenceb__ is now known as Laurenceb_ 2011-12-04T00:46:49 < karlp> bloody hell, I got the usart working, but that was a hell of a lot of config and enabling. 2011-12-04T01:17:35 -!- Laurenceb_ [~Laurence@host86-174-22-126.range86-174.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2011-12-04T01:30:44 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Read error: Connection reset by peer] 2011-12-04T01:31:15 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-04T01:38:23 -!- Laurenceb_ [~Laurence@host86-177-213-229.range86-177.btcentralplus.com] has joined ##stm32 2011-12-04T02:02:46 -!- Laurenceb_ [~Laurence@host86-177-213-229.range86-177.btcentralplus.com] has quit [Ping timeout: 244 seconds] 2011-12-04T02:09:40 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has quit [Quit: OOOOOO Whats that....] 2011-12-04T02:23:44 < karlp> jpa, did you look at libmaple at all when you were putting together baselibc? 2011-12-04T02:29:55 -!- Laurenceb_ [~Laurence@host86-174-20-122.range86-174.btcentralplus.com] has joined ##stm32 2011-12-04T02:36:52 -!- Laurenceb_ [~Laurence@host86-174-20-122.range86-174.btcentralplus.com] has quit [Ping timeout: 244 seconds] 2011-12-04T02:45:27 -!- AaronM [~Aaron@adsl-74-226-119-171.mem.bellsouth.net] has joined ##stm32 2011-12-04T02:45:37 -!- AaronM [~Aaron@adsl-74-226-119-171.mem.bellsouth.net] has quit [Changing host] 2011-12-04T02:45:38 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has joined ##stm32 2011-12-04T03:07:04 -!- emeb [~ericb@ip72-223-86-178.ph.ph.cox.net] has quit [Quit: Leaving.] 2011-12-04T03:28:58 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has quit [Read error: Connection reset by peer] 2011-12-04T03:29:16 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has joined ##stm32 2011-12-04T04:37:06 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Read error: Connection reset by peer] 2011-12-04T04:37:27 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-04T06:41:06 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-04T08:25:35 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Excess Flood] 2011-12-04T08:25:55 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2011-12-04T08:30:04 -!- vpopov [~happylife@46.251.80.89] has joined ##stm32 2011-12-04T09:35:27 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Read error: Connection reset by peer] 2011-12-04T09:35:39 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-04T10:26:55 -!- vpopov [~happylife@46.251.80.89] has quit [Ping timeout: 248 seconds] 2011-12-04T11:49:50 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-04T13:14:45 < jpa-> karlp: nope 2011-12-04T13:16:03 < jpa-> karlp: baselibc is just libc; libmaple seems to be just hardware abstraction 2011-12-04T13:25:01 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has quit [Quit: Quit] 2011-12-04T14:14:13 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-04T14:14:14 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-04T15:12:41 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 252 seconds] 2011-12-04T15:47:00 -!- Netsplit *.net <-> *.split quits: ben1066, Laurenceb 2011-12-04T15:47:10 -!- Netsplit *.net <-> *.split quits: zlog, district, mansfeld, whitequark, karlp, joe9, |Marco|, Crenn-NAS, AK6L, grummund, (+4 more, use /NETSPLIT to show all of them) 2011-12-04T15:47:18 -!- Netsplit *.net <-> *.split quits: jnosky, Rious, Tom_itx, jaeckel, @ChanServ 2011-12-04T15:52:42 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has joined ##stm32 2011-12-04T15:52:43 -!- whitequark [~whitequar@2002:1fba:61b3::1] has joined ##stm32 2011-12-04T15:52:43 -!- Laurenceb [~laurence@vlsi1.eee.nottingham.ac.uk] has joined ##stm32 2011-12-04T15:52:43 -!- ben1066 [~ben1066@host81-153-88-170.range81-153.btcentralplus.com] has joined ##stm32 2011-12-04T15:52:43 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2011-12-04T15:52:43 -!- jaeckel_ [~jaeckel@jaeckel.eu] has joined ##stm32 2011-12-04T15:52:43 -!- Crenn-NAS [~Crenn@CPE-60-230-106-101.vic.bigpond.net.au] has joined ##stm32 2011-12-04T15:52:43 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-04T15:52:43 -!- BrainDamage [BrainDamag@i.love.tiltshellz.org] has joined ##stm32 2011-12-04T15:53:08 -!- |Marco| [~source@248.79-160-186.customer.lyse.net] has joined ##stm32 2011-12-04T15:53:08 -!- jnosky [~foo@c-68-39-251-30.hsd1.nj.comcast.net] has joined ##stm32 2011-12-04T15:53:08 -!- _Shurik_ [~alex@99-120-247-177.lightspeed.tukrga.sbcglobal.net] has joined ##stm32 2011-12-04T15:53:08 -!- Rious [~csamuelso@ec2-50-17-240-121.compute-1.amazonaws.com] has joined ##stm32 2011-12-04T15:53:08 -!- AK6L [~xunil@paxil.xunil.net] has joined ##stm32 2011-12-04T15:53:08 -!- mansfeld [~andrew@robopoly/watson] has joined ##stm32 2011-12-04T15:53:08 -!- biot [~bert@kiutl.biot.com] has joined ##stm32 2011-12-04T15:53:08 -!- Kevin` [~kevin@67.52.47.65] has joined ##stm32 2011-12-04T15:53:08 -!- district [district@2607:f2f8:20c0::69] has joined ##stm32 2011-12-04T15:53:08 -!- karlp [~karl@palmtree.beeroclock.net] has joined ##stm32 2011-12-04T15:56:58 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-04T16:02:00 -!- ChanServ [ChanServ@services.] has joined ##stm32 2011-12-04T16:02:00 -!- ServerMode/##stm32 [+o ChanServ] by zelazny.freenode.net 2011-12-04T16:02:37 -!- joe9 is now known as Guest54132 2011-12-04T16:26:00 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-04T16:26:11 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-04T16:33:23 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-04T16:43:33 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-04T17:25:22 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-04T17:56:12 -!- Laurenceb_ [~Laurence@host81-159-190-96.range81-159.btcentralplus.com] has joined ##stm32 2011-12-04T19:07:07 -!- dekar [~dekar@ip-80-226-0-1.vodafone-net.de] has joined ##stm32 2011-12-04T19:37:32 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Excess Flood] 2011-12-04T19:37:57 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2011-12-04T19:44:13 -!- BrainDamage [BrainDamag@i.love.tiltshellz.org] has quit [Remote host closed the connection] 2011-12-04T19:45:31 -!- BrainDamage [BrainDamag@i.love.tiltshellz.org] has joined ##stm32 2011-12-04T20:32:55 < Laurenceb_> ooh i didnt know there was a pseudorandom DAC driver 2011-12-04T20:33:06 < Laurenceb_> ref manual p250 2011-12-04T20:35:58 < karlp> which ref manual? 2011-12-04T20:36:39 < karlp> RM0008 :) 2011-12-04T20:39:10 < karlp> heh, neat, 2011-12-04T20:45:51 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-04T20:45:51 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-04T20:50:13 -!- vpopov [~happylife@46.251.80.89] has joined ##stm32 2011-12-04T20:58:04 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-04T21:16:25 < Laurenceb_> theres hardware quadrature encoder support as well 2011-12-04T21:19:55 < karlp> do you know what the difference is between events and interrupts? 2011-12-04T21:21:36 < Laurenceb_> events are internal signals aiui 2011-12-04T21:22:39 < Laurenceb_> for e.g. setting up the adc 2011-12-04T21:23:02 < Laurenceb_> xmega avr took that idea to the extreme 2011-12-04T21:26:13 <+Steffanx> 'extreme' Laurenceb .. ? 2011-12-04T21:26:34 <+Steffanx> It's like all manufacturers should do it 2011-12-04T21:26:55 <+Steffanx> + how (somewhere in that sentence) 2011-12-04T21:28:47 < karlp> I'm not sure I understand. 2011-12-04T21:28:56 < karlp> like in the EXTI section of the ref manual, it says things like this: An interrupt/event request can also be generated by software by writing a ‘1’ in the software 2011-12-04T21:29:00 < karlp> interrupt/event register. 2011-12-04T21:29:10 < karlp> most of that chapter seems to make them out as interchangeable words. 2011-12-04T21:29:20 < karlp> Is there some other difference? 2011-12-04T21:38:11 < Laurenceb_> hmm 2011-12-04T21:38:46 < karlp> or is just that some people use interrupt to mean things on external lines and event for things inside the chip? 2011-12-04T21:51:09 < Laurenceb_> maybe 2011-12-04T21:51:23 < Laurenceb_> they always talk about event for things to trigger the adc for example 2011-12-04T21:51:37 < Laurenceb_> but then those are usually internally generated 2011-12-04T22:07:00 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 244 seconds] 2011-12-04T22:08:12 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-04T22:34:21 < Tom_itx> Laurenceb the discovery has quadrature support? 2011-12-04T22:52:00 -!- vpopov [~happylife@46.251.80.89] has quit [Remote host closed the connection] 2011-12-04T22:52:48 < Laurenceb_> dont know 2011-12-04T22:53:03 < Laurenceb_> is there a simple helper function to set the pwm duty cycle? 2011-12-04T22:53:07 < Laurenceb_> in the perif lib 2011-12-04T22:54:37 < Tom_itx> what were you talking about that had hardware quadrature? 2011-12-04T22:57:45 < Laurenceb_> F1 2011-12-04T22:58:27 < Tom_itx> oh 2011-12-04T22:59:46 < jpa-> Laurenceb_: the duty cycle is just one register anyway, what is hard about that? 2011-12-04T22:59:54 < Laurenceb_> heh 2011-12-04T23:04:49 < Laurenceb_> the auto reload register? 2011-12-04T23:05:31 < Tom_itx> are the F1 peripherals more for automotive? 2011-12-04T23:05:36 < Tom_itx> or motion control... 2011-12-04T23:05:48 < BrainDamage> more like for cheapskates 2011-12-04T23:06:00 < BrainDamage> which makes them awesome 2011-12-04T23:06:16 < Tom_itx> well he mentioned quadrature which was what i was curious about 2011-12-04T23:17:25 < karlp> Tom_itx: chapter 13.2 in RM0041 (for the value line) 2011-12-04T23:17:39 < karlp> so yeah, seems to be in the discovery board too 2011-12-04T23:19:24 < Tom_itx> which is the rm0041 since i named them human readable names? 2011-12-04T23:22:22 < Tom_itx> mmm seems i don't have that one yet 2011-12-04T23:23:03 < Tom_itx> and apparently you can't search with RM0041 2011-12-04T23:24:35 < jpa-> Laurenceb_: ARR is for the period 2011-12-04T23:24:54 < Laurenceb_> i see 2011-12-04T23:25:24 < karlp> stm32f100 programmers reference manual 2011-12-04T23:25:40 < karlp> not to be confused with stm32f10x programmers reference manual (rm0008) 2011-12-04T23:25:42 < Tom_itx> just ran across it, thanks 2011-12-04T23:25:51 < karlp> http://false.ekta.is/wp-content/uploads/2011/11/stm32_datasheet_map.html 2011-12-04T23:26:48 < Tom_itx> your site? 2011-12-04T23:47:47 < karlp> yep 2011-12-04T23:48:02 < karlp> haven't written much about my stm32 adventures yet. 2011-12-04T23:48:25 < karlp> been meaning too, was struggling to come up to speed first --- Day changed Mon Dec 05 2011 2011-12-05T00:02:27 -!- dekar [~dekar@ip-80-226-0-1.vodafone-net.de] has quit [Ping timeout: 240 seconds] 2011-12-05T00:17:07 -!- phantone [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-05T00:19:55 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 252 seconds] 2011-12-05T00:23:43 < Tom_itx> well, i will be for a long time 2011-12-05T00:23:58 < Tom_itx> since i'm not working on it steady 2011-12-05T00:27:38 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 252 seconds] 2011-12-05T00:27:48 < karlp> will be for a long time == struggling to come up to speed? 2011-12-05T00:28:25 < Tom_itx> well i probably will be but i'm not messin with it that much yet 2011-12-05T00:28:42 < Tom_itx> collecting pdf's and got the tools working 2011-12-05T00:28:48 < karlp> I've made great progress (in my mind) over the last week, 2011-12-05T00:29:07 < karlp> if I can finish some jobs around the house tonight, I think I've finished with all the demo and undestanding pieces, 2011-12-05T00:29:15 < karlp> about to start something more useful. 2011-12-05T00:29:40 < karlp> I think the biggest problem I had so far was learnign just how _many_ things need to be enabled and turned on before you can use them. 2011-12-05T00:29:59 < karlp> everything's remappable and has so many options 2011-12-05T00:30:33 < karlp> once I finally go tmy head around how the startup stuff worked, each incremental step has so far been pretty easy 2011-12-05T00:30:56 < Tom_itx> the 68332 i played with was somewhat that way 2011-12-05T00:31:49 < karlp> probably the same with most chips, but I can't remember starting a new chip before, the others were all so long ago... 2011-12-05T00:32:09 < karlp> also, avr-libc handles the startup stuff so well it took a long time before i ever had to look at it. 2011-12-05T01:33:07 -!- Laurenceb_ [~Laurence@host81-159-190-96.range81-159.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2011-12-05T03:11:53 < karlp> damnit, I thought I did magical linker tricks last night, it ran, it compiled, it was all happy, 2011-12-05T03:12:02 < karlp> somehow what I committed last night doesn't even compile today. 2011-12-05T03:15:32 < karlp> I have void Dummy_Handler(void) in one c file, and another has extern void Dummy_Handler(void) and then a bunch of "void USB_LP_IRQHandler(void) __attribute__((weak, alias("Dummy_Handler")));" 2011-12-05T03:15:40 < karlp> I could have sworn that all compiled last night. 2011-12-05T03:19:16 < Tom_itx> different moon phase 2011-12-05T03:24:07 < karlp> bleh, it was so promising too 2011-12-05T03:24:28 < karlp> I had the cortex m3 vectors in one table, and the chip specifics in separate files, and linked them in order. 2011-12-05T03:24:35 < karlp> something's not quite right... 2011-12-05T03:59:26 -!- phantone [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-05T04:03:32 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has quit [Remote host closed the connection] 2011-12-05T04:03:45 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [] 2011-12-05T04:05:11 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-05T04:05:24 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has joined ##stm32 2011-12-05T04:51:29 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Excess Flood] 2011-12-05T04:51:51 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2011-12-05T05:12:25 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-05T05:37:48 -!- peabody124 [~peabody12@108-205-218-4.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2011-12-05T07:26:25 -!- peabody124 [~peabody12@108-205-218-4.lightspeed.hstntx.sbcglobal.net] has quit [Quit: peabody124] 2011-12-05T07:27:14 -!- peabody124 [~peabody12@108-205-218-4.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2011-12-05T07:58:35 -!- whitequark [~whitequar@2002:1fba:61b3::1] has quit [Ping timeout: 252 seconds] 2011-12-05T07:59:29 -!- whitequark [~whitequar@2a00:ab00:1::4464:5550] has joined ##stm32 2011-12-05T12:32:56 -!- Laurenceb_ [~Laurence@host81-159-190-96.range81-159.btcentralplus.com] has joined ##stm32 2011-12-05T13:04:27 -!- Laurenceb_ [~Laurence@host81-159-190-96.range81-159.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2011-12-05T14:11:51 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [Ping timeout: 252 seconds] 2011-12-05T14:17:49 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-05T17:15:41 -!- BrainDamage [BrainDamag@i.love.tiltshellz.org] has quit [Quit: ZNC - http://znc.sourceforge.net] 2011-12-05T17:18:19 -!- BrainDamage [~BrainDama@i.love.tiltshellz.org] has joined ##stm32 2011-12-05T17:22:50 -!- BrainDamage [~BrainDama@i.love.tiltshellz.org] has quit [Client Quit] 2011-12-05T17:46:25 -!- emeb [~ericb@ip72-223-86-178.ph.ph.cox.net] has joined ##stm32 2011-12-05T17:56:34 < _Shurik_> Holly crap, push/pull is genius! 2011-12-05T18:08:29 -!- peabody124 [~peabody12@108-205-218-4.lightspeed.hstntx.sbcglobal.net] has quit [Quit: peabody124] 2011-12-05T18:29:57 -!- peabody124 [~peabody12@128.249.96.123] has joined ##stm32 2011-12-05T18:33:16 -!- peabody124 [~peabody12@128.249.96.123] has quit [Read error: Connection reset by peer] 2011-12-05T18:36:02 < Laurenceb> hmm maybe i fried my adc 2011-12-05T18:36:23 < Laurenceb> im getting large shifts in adc output when leds are running of gpio 2011-12-05T18:36:32 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-05T18:40:54 < Guest54132> is there a haskell implementation for stm32 chips? 2011-12-05T18:41:05 < Laurenceb> are you mad 2011-12-05T18:41:39 < Guest54132> i think there is some small haskell implementation floating around for embedded controllers. I am not sure if that was tried out on stm32 2011-12-05T18:42:40 -!- Guest54132 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Quit: leaving] 2011-12-05T18:42:57 < jpa-> i was actually considering that but haskell seemed too bloat :P 2011-12-05T18:45:36 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-05T18:47:11 < jpa-> joe9: why do you want haskell? 2011-12-05T18:47:28 < joe9> jpa-: haskell > C 2011-12-05T18:48:38 < jpa-> atleast if you use binary size as a measure ,) 2011-12-05T18:48:56 < joe9> haha.. 2011-12-05T18:49:02 < jpa-> but yeah, i was considering that too, ghc is atleast too bloat :P 2011-12-05T18:49:17 < joe9> there is a small haskell implementation that I checked out sometime ago. do not remember its' name though. 2011-12-05T18:49:39 < joe9> designed for embedded devices, afairc 2011-12-05T18:50:48 < joe9> ghc and hugs are way too bloated. 2011-12-05T18:58:33 < AK6L> anyone know of a working Forth implementation for the STM32F4? i'm despairing of ever finishing this port of Riscy Pygness. 2011-12-05T18:59:19 < AK6L> the gdb server and flash utils under linux put my STM32F4 Discovery board in some weird state now, have to flash it under Windows to get it out; doing anything with it under linux seems to throw it right back into crazy mode. 2011-12-05T19:12:59 < karlp> are you still getting that every time you try and flash? 2011-12-05T19:13:16 < karlp> I've got mine in some weird states occasionally, but normally an unplug/replug (or two) fixes it. 2011-12-05T19:14:20 < karlp> can you share the code, and the complete command sequence you're using? and file it all as a ticket on texane's github? 2011-12-05T19:14:55 < karlp> AK6L: mark4 in #avr seems to think that porting forth should only take one night, if you knwo forth, perhaps you could convince him to do it... 2011-12-05T19:24:13 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-05T19:24:16 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-05T21:33:56 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-255-224.clienti.tiscali.it] has joined ##stm32 2011-12-05T21:59:43 -!- Laurenceb_ [~Laurence@host81-159-190-96.range81-159.btcentralplus.com] has joined ##stm32 2011-12-05T22:19:20 < peabody124> yeah it would be really nice to track down a command we can send to the F4 to reset the STLink without a power cycle 2011-12-05T22:19:31 < peabody124> i still can't reliably flash without a power cycle of both the target and device 2011-12-05T22:19:35 < peabody124> and even then it normally takes twice 2011-12-05T22:19:53 <+Steffanx> buggy tools ftw :p 2011-12-05T22:21:03 < peabody124> heh 2011-12-05T22:21:18 < peabody124> after a while you sort of learn the dance 2011-12-05T22:22:47 < karlp> hmm, mine works pretty reliably on the 32L board, 2011-12-05T22:22:56 < karlp> if I try and press ctrl-c while it's writing flash though.. oooh boy 2011-12-05T22:23:03 < peabody124> haha been there 2011-12-05T22:23:04 < karlp> gdb has to be kill -9'd 2011-12-05T22:23:16 < peabody124> so you do it all through load within gdb? 2011-12-05T22:23:22 < peabody124> i normally just use the flash tool 2011-12-05T22:23:23 < karlp> mixed. 2011-12-05T22:23:32 < karlp> I often just use the flash tool, 2011-12-05T22:23:43 < karlp> but I spent some time getting boot from sram to work, 2011-12-05T22:23:46 <+Steffanx> Found the link karlp ? 2011-12-05T22:23:47 < karlp> and that has to be done through gdb 2011-12-05T22:24:03 < karlp> Steffanx: not yet, 2011-12-05T22:24:09 < karlp> saw the twitter status, just no link in it 2011-12-05T22:24:20 <+Steffanx> Oh, linl 2011-12-05T22:24:22 <+Steffanx> ak 2011-12-05T22:24:46 < karlp> anyone, christmas beer tasting time. 2011-12-05T22:24:46 < peabody124> yeah the odd thing is my bugs are really reproducible 2011-12-05T22:24:59 < peabody124> if i've been running and had a gdb session going, Ctrl-C st-util, run flash 2011-12-05T22:25:06 < karlp> I've got an f4 on order, it's hung up in payment processing at work, 2011-12-05T22:25:07 < peabody124> it will go through the whole sequence normally and fail to verify 2011-12-05T22:25:11 <+Steffanx> Sorry, iceland is too far away 2011-12-05T22:25:13 < karlp> I'll see how it goes again. 2011-12-05T22:25:18 < karlp> ttyl 2011-12-05T22:25:20 < peabody124> reboot both and then the flash goes through 2011-12-05T22:25:48 < karlp> at least though, I have been able to fix anythign by unplugging and replugging at most twice 2011-12-05T22:25:54 < peabody124> yea me too 2011-12-05T22:25:59 < karlp> AK6L seems to get it so locked up he has to boot into windows 2011-12-05T22:26:04 < karlp> which just seems completely whack 2011-12-05T22:26:08 < peabody124> did he say that explicitly? 2011-12-05T22:26:11 <+Steffanx> It seems to be all over the web karlp 2011-12-05T22:26:15 <+Steffanx> Google for "NXP USB VID / PID Program and USB-IF Certification" 2011-12-05T22:26:29 < peabody124> "the gdb server and flash utils under linux put my STM32F4 Discovery board in some weird state now, have to flash it under Windows to get it out; doing anything with it under linux seems to throw it right back into crazy mode." 2011-12-05T22:26:39 < peabody124> it seems like it just never works 2011-12-05T22:26:44 <+Steffanx> karlp "To reduce time to market and overall costs, NXP is taking an important step by offering customers the option to sub-license the company's USB Vendor ID number, eliminating a significant start-up cost for USB product developers" 2011-12-05T22:26:48 < peabody124> not that it's in some unrecoverable state every nth time 2011-12-05T22:43:26 < Laurenceb_> Steffanx: i thought you could already use ST's ids for stm32 2011-12-05T22:43:52 < Laurenceb_> we use Intel vendor/product for Xscale at work :D 2011-12-05T22:44:00 <+Steffanx> Use or .. sub-license? 2011-12-05T22:44:13 < Laurenceb_> hehe 2011-12-05T22:44:31 < Laurenceb_> i think i fried my adc :( 2011-12-05T22:45:01 < Laurenceb_> few days ago i was testing standby mode, i setup the analog rail to shut down and left it overnight 2011-12-05T22:45:22 <+Steffanx> That shouldn't fry it.. or it's buggy 2011-12-05T22:45:32 < Laurenceb_> next day it had discharged a 2Ah battery 2011-12-05T22:45:39 <+Steffanx> Ohom 2011-12-05T22:45:43 < Laurenceb_> even tho it was only drawing a few uA for the RTC 2011-12-05T22:46:08 < Laurenceb_> i didnt realise the analogue supply voltage should always be applied 2011-12-05T22:46:23 < Laurenceb_> it was running with 3v digital supply only 2011-12-05T22:48:05 < Laurenceb_> now my adc output fluctuates around when GPIO is running 2011-12-05T22:48:28 < Laurenceb_> though it was noise at first, but it wasnt happening before 2011-12-05T22:48:46 < Laurenceb_> im guessing the lipo managed to discharge through the adc or something --- Day changed Tue Dec 06 2011 2011-12-06T00:10:47 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has joined ##stm32 2011-12-06T00:11:28 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 244 seconds] 2011-12-06T00:12:07 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-255-224.clienti.tiscali.it] has quit [Ping timeout: 240 seconds] 2011-12-06T01:08:57 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has quit [Ping timeout: 252 seconds] 2011-12-06T01:09:08 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [Ping timeout: 240 seconds] 2011-12-06T01:12:17 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has joined ##stm32 2011-12-06T01:31:27 -!- Laurenceb_ [~Laurence@host81-159-190-96.range81-159.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2011-12-06T01:37:16 -!- whitequark is now known as fat 2011-12-06T01:37:25 -!- fat is now known as whitequark 2011-12-06T01:59:28 < karlp> peabody124: yeah,, I know, but I havne't yet got enough information on specifics to even try to see what's going on. 2011-12-06T01:59:43 < karlp> over the last week I've been mostly just _using_, and so far, so generally good. 2011-12-06T01:59:53 < peabody124> yea i saw that from your commit logs 2011-12-06T02:00:00 < karlp> bugs, yeah, but nothing I can pin down yet, and nothing that was a showstopper 2011-12-06T02:00:16 < karlp> so I'm jus tkeeping on, keeping on. 2011-12-06T02:00:20 < peabody124> but you don't know a command to reset the internal state of the stlink 2011-12-06T02:00:26 < karlp> nope :) 2011-12-06T02:00:38 < karlp> don't worry, I'm not hiding anything from you :) (or anyone) 2011-12-06T02:00:53 < karlp> however, 2011-12-06T02:01:06 < karlp> I was perusing the my.st forums the other night 2011-12-06T02:01:14 < karlp> and it seems this is a general problem, not a linux problem 2011-12-06T02:02:59 < peabody124> hehe well at least it's not a low hanging fruit 2011-12-06T02:40:47 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-06T03:09:38 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 240 seconds] 2011-12-06T03:37:19 -!- |Marco| [~source@248.79-160-186.customer.lyse.net] has quit [Ping timeout: 248 seconds] 2011-12-06T03:37:53 -!- |Marco| [~source@248.79-160-186.customer.lyse.net] has joined ##stm32 2011-12-06T03:48:34 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-06T04:31:23 -!- BrainDamage1 [~BrainDama@dynamic-adsl-94-36-255-224.clienti.tiscali.it] has joined ##stm32 2011-12-06T04:46:11 -!- |Marco| [~source@248.79-160-186.customer.lyse.net] has quit [Read error: Connection reset by peer] 2011-12-06T04:46:45 -!- |Marco| [~source@248.79-160-186.customer.lyse.net] has joined ##stm32 2011-12-06T05:54:23 -!- emeb [~ericb@ip72-223-86-178.ph.ph.cox.net] has quit [Quit: Leaving.] 2011-12-06T07:41:14 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has quit [Quit: Quit] 2011-12-06T10:43:44 -!- _Shurik_ [~alex@99-120-247-177.lightspeed.tukrga.sbcglobal.net] has quit [Read error: Connection reset by peer] 2011-12-06T10:44:17 -!- _Shurik_ [~alex@99-120-247-177.lightspeed.tukrga.sbcglobal.net] has joined ##stm32 2011-12-06T10:55:23 -!- Laurenceb_ [~Laurence@host81-159-190-96.range81-159.btcentralplus.com] has joined ##stm32 2011-12-06T11:03:47 -!- Laurenceb_ [~Laurence@host81-159-190-96.range81-159.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2011-12-06T11:08:57 -!- jaeckel_ is now known as jaeckel 2011-12-06T11:10:09 -!- jaeckel [~jaeckel@jaeckel.eu] has quit [Changing host] 2011-12-06T11:10:09 -!- jaeckel [~jaeckel@unaffiliated/jaeckel] has joined ##stm32 2011-12-06T11:27:36 -!- BrainDamage1 [~BrainDama@dynamic-adsl-94-36-255-224.clienti.tiscali.it] has quit [Remote host closed the connection] 2011-12-06T12:28:35 -!- ben1066 [~ben1066@host81-153-88-170.range81-153.btcentralplus.com] has quit [Ping timeout: 252 seconds] 2011-12-06T12:28:45 -!- ben1066 [~ben1066@host81-153-88-170.range81-153.btcentralplus.com] has joined ##stm32 2011-12-06T14:23:32 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 252 seconds] 2011-12-06T14:26:11 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Excess Flood] 2011-12-06T14:26:32 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2011-12-06T16:29:20 -!- Netsplit *.net <-> *.split quits: peabody124, Tom_itx 2011-12-06T16:31:40 -!- Netsplit over, joins: peabody124, Tom_itx 2011-12-06T17:53:23 -!- emeb [~ericb@ip72-223-86-178.ph.ph.cox.net] has joined ##stm32 2011-12-06T18:05:28 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-06T18:44:53 -!- district is now known as JOKEEXPLAINER 2011-12-06T18:45:23 -!- JOKEEXPLAINER is now known as district 2011-12-06T18:53:15 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-06T19:07:13 -!- Crenn-NAS [~Crenn@CPE-60-230-106-101.vic.bigpond.net.au] has quit [Ping timeout: 244 seconds] 2011-12-06T19:18:11 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-06T19:18:14 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-06T19:20:34 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-06T19:48:46 -!- peabody124 [~peabody12@128.249.96.21] has quit [Quit: peabody124] 2011-12-06T19:49:05 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-06T20:56:45 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Quit: Leaving] 2011-12-06T21:31:04 -!- Laurenceb_ [~Laurence@host31-52-255-175.range31-52.btcentralplus.com] has joined ##stm32 2011-12-06T22:37:42 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-06T22:52:13 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 255 seconds] 2011-12-06T22:54:18 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-06T23:56:47 -!- Laurenceb_ [~Laurence@host31-52-255-175.range31-52.btcentralplus.com] has quit [Ping timeout: 240 seconds] --- Day changed Wed Dec 07 2011 2011-12-07T00:09:48 -!- Laurenceb_ [~Laurence@host86-178-2-237.range86-178.btcentralplus.com] has joined ##stm32 2011-12-07T00:44:54 -!- peabody124_ [~peabody12@128.249.96.123] has joined ##stm32 2011-12-07T00:48:07 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 240 seconds] 2011-12-07T00:48:07 -!- peabody124_ is now known as peabody124 2011-12-07T01:45:29 -!- Crenn-NAS [~Crenn@CPE-124-181-18-252.lns7.win.bigpond.net.au] has joined ##stm32 2011-12-07T01:46:04 -!- peabody124_ [~peabody12@128.249.96.21] has joined ##stm32 2011-12-07T01:49:11 -!- peabody124 [~peabody12@128.249.96.123] has quit [Ping timeout: 244 seconds] 2011-12-07T01:49:12 -!- peabody124_ is now known as peabody124 2011-12-07T01:55:36 -!- crenn [~Crenn@CPE-121-219-113-78.lnse2.lon.bigpond.net.au] has joined ##stm32 2011-12-07T01:57:34 -!- crenn [~Crenn@CPE-121-219-113-78.lnse2.lon.bigpond.net.au] has quit [Read error: Connection reset by peer] 2011-12-07T01:58:14 -!- Crenn-NAS [~Crenn@CPE-124-181-18-252.lns7.win.bigpond.net.au] has quit [Ping timeout: 248 seconds] 2011-12-07T02:05:39 -!- Crenn-NAS [~Crenn@CPE-143-238-11-192.lnse1.win.bigpond.net.au] has joined ##stm32 2011-12-07T02:10:27 -!- Laurenceb_ [~Laurence@host86-178-2-237.range86-178.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2011-12-07T02:17:39 -!- crenn [~Crenn@CPE-143-238-50-95.lnse1.win.bigpond.net.au] has joined ##stm32 2011-12-07T02:19:56 -!- Crenn-NAS [~Crenn@CPE-143-238-11-192.lnse1.win.bigpond.net.au] has quit [Ping timeout: 240 seconds] 2011-12-07T02:22:23 -!- crenn [~Crenn@CPE-143-238-50-95.lnse1.win.bigpond.net.au] has quit [Ping timeout: 252 seconds] 2011-12-07T02:22:35 -!- Crenn-NAS [~Crenn@CPE-120-144-24-118.lnse5.win.bigpond.net.au] has joined ##stm32 2011-12-07T03:30:54 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has quit [Remote host closed the connection] 2011-12-07T03:30:56 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [] 2011-12-07T03:32:24 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-07T03:32:34 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has joined ##stm32 2011-12-07T04:00:33 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 252 seconds] 2011-12-07T04:05:08 -!- _Shurik_ [~alex@99-120-247-177.lightspeed.tukrga.sbcglobal.net] has quit [Remote host closed the connection] 2011-12-07T04:05:49 -!- _Shurik_ [~alex@99-120-247-177.lightspeed.tukrga.sbcglobal.net] has joined ##stm32 2011-12-07T04:29:20 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-07T04:45:32 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-07T05:22:14 -!- emeb [~ericb@ip72-223-86-178.ph.ph.cox.net] has quit [Ping timeout: 252 seconds] 2011-12-07T05:23:56 -!- emeb [~ericb@ip72-223-86-178.ph.ph.cox.net] has joined ##stm32 2011-12-07T06:21:04 -!- emeb [~ericb@ip72-223-86-178.ph.ph.cox.net] has quit [Quit: Leaving.] 2011-12-07T06:24:59 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has joined ##stm32 2011-12-07T06:30:18 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Excess Flood] 2011-12-07T06:30:39 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2011-12-07T07:44:07 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has quit [Ping timeout: 252 seconds] 2011-12-07T07:59:56 -!- Eartaker [~Eartaker@c-67-185-76-100.hsd1.wa.comcast.net] has joined ##stm32 2011-12-07T07:59:56 -!- Eartaker [~Eartaker@c-67-185-76-100.hsd1.wa.comcast.net] has quit [Changing host] 2011-12-07T07:59:56 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has joined ##stm32 2011-12-07T08:25:59 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Ping timeout: 244 seconds] 2011-12-07T09:21:09 -!- BrainDamage [BrainDamag@i.love.tiltshellz.org] has joined ##stm32 2011-12-07T09:57:02 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-07T15:18:25 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has quit [Remote host closed the connection] 2011-12-07T15:18:27 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [] 2011-12-07T15:19:49 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-07T15:19:52 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has joined ##stm32 2011-12-07T17:59:41 -!- emeb [~ericb@ip72-223-86-178.ph.ph.cox.net] has joined ##stm32 2011-12-07T18:02:56 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-07T18:29:32 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-07T18:55:48 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 244 seconds] 2011-12-07T18:56:57 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2011-12-07T20:16:20 -!- peabody124_ [~peabody12@128.249.96.123] has joined ##stm32 2011-12-07T20:19:36 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 240 seconds] 2011-12-07T20:19:36 -!- peabody124_ is now known as peabody124 2011-12-07T20:37:03 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-07T20:37:04 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-07T20:37:24 <+Steffanx> Hmmm, ##stm32 isn't locked and has no redirect anymore :( 2011-12-07T20:40:40 < jpa-> i did it! 2011-12-07T20:40:57 <+Steffanx> You did it? 2011-12-07T20:41:06 < jpa-> yeaa 2011-12-07T20:41:18 <+Steffanx> Whyy? 2011-12-07T20:41:25 < jpa-> because you took my ops 2011-12-07T20:41:31 <+Steffanx> I didn't 2011-12-07T20:41:32 <+Steffanx> You did 2011-12-07T20:41:36 < jpa-> :( 2011-12-07T20:41:51 <+Steffanx> I don't have the power to do that, izua has 2011-12-07T20:42:09 < jpa-> what did you do to izua? 2011-12-07T20:43:06 <+Steffanx> Ask dekar 2011-12-07T20:43:45 <+Steffanx> He has his phone number 2011-12-07T20:56:41 <+Steffanx> Can you pronounce it jpa- ? 2011-12-07T20:56:42 <+Steffanx> http://youtu.be/ab0czJ6_OF8?t=15m43s 2011-12-07T20:57:30 <+Steffanx> skip to 15:43 2011-12-07T20:59:28 <+Steffanx> or more like 16:00 2011-12-07T22:51:42 -!- peabody124_ [~peabody12@128.249.96.123] has joined ##stm32 2011-12-07T22:51:43 -!- peabody124 [~peabody12@128.249.96.123] has quit [Read error: Connection reset by peer] 2011-12-07T22:51:43 -!- peabody124_ is now known as peabody124 2011-12-07T22:53:03 -!- peabody124 [~peabody12@128.249.96.123] has quit [Read error: Connection reset by peer] 2011-12-07T22:53:05 -!- peabody124_ [~peabody12@128.249.96.123] has joined ##stm32 2011-12-07T23:08:02 -!- peabody124_ is now known as peabody124 2011-12-07T23:08:17 -!- crenn [~Crenn@CPE-124-180-50-116.lns8.lon.bigpond.net.au] has joined ##stm32 2011-12-07T23:10:38 -!- Crenn-NAS [~Crenn@CPE-120-144-24-118.lnse5.win.bigpond.net.au] has quit [Ping timeout: 240 seconds] 2011-12-07T23:14:14 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 --- Day changed Thu Dec 08 2011 2011-12-08T01:26:21 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 252 seconds] 2011-12-08T04:31:46 -!- peabody124 [~peabody12@128.249.96.123] has quit [Quit: peabody124] 2011-12-08T04:33:42 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-08T04:46:35 -!- AaronM [~Aaron@adsl-74-226-119-171.mem.bellsouth.net] has joined ##stm32 2011-12-08T04:46:45 -!- AaronM [~Aaron@adsl-74-226-119-171.mem.bellsouth.net] has quit [Changing host] 2011-12-08T04:46:46 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has joined ##stm32 2011-12-08T06:04:13 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 255 seconds] 2011-12-08T06:17:43 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-08T06:19:56 -!- emeb [~ericb@ip72-223-86-178.ph.ph.cox.net] has quit [Quit: Leaving.] 2011-12-08T06:31:47 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-08T06:43:58 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Excess Flood] 2011-12-08T06:44:18 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2011-12-08T07:32:28 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has quit [Quit: Quit] 2011-12-08T08:49:53 -!- erik-k [~erik-k@71-34-249-33.eugn.qwest.net] has joined ##stm32 2011-12-08T08:50:37 < erik-k> -_- adc seems stupidly overcomplex to set up, or is it just rm0008 overcomplicating things? 2011-12-08T08:51:32 < erik-k> All I want is a single analog sample now and then 2011-12-08T09:36:11 < jpa-> it doesn't have to be overcomplex 2011-12-08T09:36:20 < jpa-> but the more complex modes are often useful, too :) 2011-12-08T11:02:48 < erik-k> I just need to sample the point between a thermistor & resistor about 10 times a second so I can switch a heater on/off 2011-12-08T11:03:49 < erik-k> rm0008 goes into this huge detail about the various modes but (don't have it up at the moment) seemed to leave the "dumb, basic" mode out of the description. 2011-12-08T12:38:16 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-08T12:38:20 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-08T13:21:04 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 240 seconds] 2011-12-08T13:21:50 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-08T13:21:53 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-08T14:18:26 < Laurenceb> erik-k: but the adc is overcomplex cuz its awesome 2011-12-08T14:18:41 < Laurenceb> like all stm32 peripherals, theres method in the madness 2011-12-08T14:35:27 < jpa-> if you want it easy, just use chibios :) 2011-12-08T14:35:45 <+Steffanx> or not 2011-12-08T15:02:09 < karlp> do you not use an RTOS Steffanx? or just prefer something else? 2011-12-08T15:02:26 <+Steffanx> I never did so far 2011-12-08T15:03:34 < karlp> me either, 2011-12-08T15:03:43 < karlp> I had a look at freertos, and it seems rather complicated 2011-12-08T15:03:51 <+Steffanx> Yeah 2011-12-08T15:04:04 < karlp> used uCosII years back in uni, but haven't really used anything since 2011-12-08T15:05:11 * Laurenceb hacke dthe NVIC to do his multitasking 2011-12-08T15:06:58 <+Steffanx> I never really needed multitasking 2011-12-08T15:14:53 < Laurenceb> you can generate software interrupts and have them run in a low priority group 2011-12-08T15:16:59 <+Steffanx> I know :) 2011-12-08T15:55:11 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-08T16:00:07 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Quit: Leaving] 2011-12-08T18:15:16 -!- emeb [~ericb@ip72-223-86-178.ph.ph.cox.net] has joined ##stm32 2011-12-08T18:56:48 < karlp> whee, I have an F4 discovery board now, and also some f100 bare chips for some experiments 2011-12-08T18:56:55 < karlp> just in time for christmas :) 2011-12-08T19:16:34 < Rious> karlp: awesome! 2011-12-08T19:19:06 -!- peabody124_ [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-08T19:19:06 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Read error: Connection reset by peer] 2011-12-08T19:19:06 -!- peabody124_ is now known as peabody124 2011-12-08T19:21:58 -!- ben1066_ [~ben1066@host81-156-248-177.range81-156.btcentralplus.com] has joined ##stm32 2011-12-08T19:23:04 -!- ben1066 [~ben1066@host81-153-88-170.range81-153.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2011-12-08T20:03:07 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-08T20:44:19 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-08T23:49:35 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has quit [Remote host closed the connection] 2011-12-08T23:49:38 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [] 2011-12-08T23:51:00 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has joined ##stm32 2011-12-08T23:51:02 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 --- Day changed Fri Dec 09 2011 2011-12-09T00:04:14 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has joined ##stm32 2011-12-09T00:06:42 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has quit [Client Quit] 2011-12-09T00:52:41 -!- kerwood [~Marshall@c-76-21-166-25.hsd1.md.comcast.net] has joined ##stm32 2011-12-09T01:25:43 < karlp> man, these 2x25 pin connectors on the F4 discovery board are a bit of a nuisance 2011-12-09T01:26:22 < BrainDamage> yes, I think I'd have preferred a single line, but longer 2011-12-09T01:27:32 < BrainDamage> I love the integrated mic & accelerometer tough 2011-12-09T01:27:52 < karlp> seems interesting 2011-12-09T01:28:02 < karlp> packaging leaves a bit to be desired 2011-12-09T01:28:38 < karlp> the 32L board had a nice description of the modes when you press each button 2011-12-09T01:29:02 < karlp> so did the VL board 2011-12-09T01:29:30 < BrainDamage> the second mode after pressing, is using the accelerometer as tilt sensor 2011-12-09T01:29:38 < karlp> yeah, I figured that out 2011-12-09T01:29:41 < karlp> kinda neat :) 2011-12-09T01:31:01 < BrainDamage> I should get a 32L just to have 'em all >_> 2011-12-09T01:31:32 < karlp> 32L has a nice touch sensor and LCD:) 2011-12-09T01:31:36 < karlp> and it's low power 2011-12-09T01:54:46 < karlp> The demonstration software is preloaded in the board’s Flash memory. It uses the MEMS 2011-12-09T01:54:50 < karlp> motion sensor to blink the four LEDs according to the motion direction and speed. 2011-12-09T01:54:53 < karlp> Connecting the board to a PC with a second USB 'type A to micro-B' cable converts it into a 2011-12-09T01:54:56 < karlp> standard mouse, and board motion controls the PC cursor. 2011-12-09T01:54:59 < karlp> that wouldn't have taken much on the bit of cardboard... 2011-12-09T02:12:20 < Tom_itx> how about a daughter card for the F4 discovery with single row screw terminals? 2011-12-09T02:12:43 < Tom_itx> .1" spacing 2011-12-09T02:13:21 < BrainDamage> 2mm spacing screw terminals? never seen so small 2011-12-09T02:13:40 < Tom_itx> 2.54 2011-12-09T02:15:28 < Tom_itx> http://search.digikey.com/scripts/DkSearch/dksus.dll?vendor=0&keywords=277-1279-ND 2011-12-09T02:18:39 < karlp> even just coming with female headers instead of male... 2011-12-09T02:18:57 < karlp> I kinda want some female/male jumper leads for a few places. 2011-12-09T02:19:33 < BrainDamage> yes, I don't like male connectors either 2011-12-09T02:19:49 < BrainDamage> I bought a pack of female jumper wires 2011-12-09T02:19:50 < Tom_itx> dx has jumper wires 2011-12-09T02:20:01 < BrainDamage> where I plug inside normal wires 2011-12-09T02:20:36 < karlp> 40 pin might have worked, I could have used an old IDE cable.. 2011-12-09T02:20:44 < karlp> meh 2011-12-09T02:20:57 < karlp> another night 2011-12-09T02:21:48 < karlp> I think I need another usb micro cable. 2011-12-09T02:22:05 < karlp> I don't have enough new old phones yet 2011-12-09T02:22:17 < karlp> and still have too many of these usb mini ccables 2011-12-09T02:57:07 -!- emeb [~ericb@ip72-223-86-178.ph.ph.cox.net] has quit [Quit: Leaving.] 2011-12-09T03:36:52 -!- peabody124_ [~peabody12@128.249.96.123] has joined ##stm32 2011-12-09T03:40:41 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 244 seconds] 2011-12-09T03:40:41 -!- peabody124_ is now known as peabody124 2011-12-09T03:50:34 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-09T04:17:14 < jnosky> The male connectors indeed suck ass 2011-12-09T04:17:30 < jnosky> All the sparkfun brds use female 2011-12-09T04:17:47 < Tom_itx> what about screw terminals 2011-12-09T04:17:50 < Tom_itx> or spring loaded 2011-12-09T04:18:43 < jnosky> My standard procedure is to use dbl row male wire wrap style --------[]---------- 2011-12-09T04:19:06 < karlp> pardon? 2011-12-09T04:19:09 < jnosky> On a 1000 hole brd, then I just can plug the dev brds onto whatever im playin with 2011-12-09T04:19:11 < karlp> male wiretap? 2011-12-09T04:19:36 < jnosky> But that wont work here cause they cheaped out and used male 2011-12-09T04:20:30 < jnosky> like this: 2011-12-09T04:20:31 < jnosky> http://www.sparkfun.com/products/676 2011-12-09T04:21:03 < jnosky> You cant even find wire wrap females anymore 2011-12-09T04:21:41 < jnosky> The male - male are not hard to find or scrounge 2011-12-09T04:21:42 < BrainDamage> I tought about desoldering the connectors, but being a double row it's a pita 2011-12-09T04:21:53 < jnosky> Yea I was thinking the same thing 2011-12-09T04:22:09 < jnosky> I still aint firgured out what Im gonna do about ot 2011-12-09T04:22:21 < BrainDamage> I think I'll use some chipquik 2011-12-09T04:22:26 < BrainDamage> even if it's kinda nasty 2011-12-09T04:22:40 < BrainDamage> the low melting point might give me enough time to plug it off 2011-12-09T04:22:53 < BrainDamage> altough it requires troughrough cleaning afterwards 2011-12-09T04:23:07 < karlp> or, you do what you were meant to do, use it for eval, then put it on your own boards? :) 2011-12-09T04:23:29 < jnosky> Yea that route doesnt look so easy, since the legs stick out topside a bit too 2011-12-09T04:23:38 < karlp> jnosky: I mean, when you said, "my sop is to use dbl row male wire wrap style" 2011-12-09T04:23:42 < karlp> what did you mean exactly? 2011-12-09T04:23:59 < BrainDamage> I want to use it for eval, but being able to plug wires 'n stuff would be quite cool for evluation :p 2011-12-09T04:24:07 < karlp> BrainDamage: I do agree, don't worry :) 2011-12-09T04:24:21 < jnosky> its a stik of wire basically with a small seperator comes in strips 2011-12-09T04:24:27 < karlp> the 32L is probably tyhe only one of the three that is breadboard friendly. 2011-12-09T04:24:28 < jnosky> -----------[]------------ 2011-12-09T04:24:40 < jnosky> You could wire wrap in the bottom 2011-12-09T04:24:44 < karlp> jnosky: I don't know what your ascii pic is meant to mean, 2011-12-09T04:24:54 < jnosky> plug the board in on top 2011-12-09T04:24:58 < karlp> nor how it helps with the male on both sides headers on all the discovery baords 2011-12-09T04:25:08 < jnosky> it doesnt help 2011-12-09T04:25:14 < jnosky> It what I prefer 2011-12-09T04:25:20 < jnosky> -------is wire 2011-12-09T04:25:26 < BrainDamage> I wonder if a female-female strip exists 2011-12-09T04:25:28 < jnosky> [] is a plastic stopper 2011-12-09T04:25:31 < BrainDamage> that I could just plug on top 2011-12-09T04:25:40 < BrainDamage> would solve all issues 2011-12-09T04:25:45 < karlp> jnosky: that just sounds like the pins that are already there? 2011-12-09T04:26:05 < karlp> BrainDamage: samtec/4u might sell them? 2011-12-09T04:26:09 < jnosky> http://www.king-cart.com/cgi-bin/cart.cgi?store=phoenixent&product_name=HWS2358 2011-12-09T04:26:18 < jnosky> like that only long on both sides 2011-12-09T04:26:48 < karlp> jnosky: so, you're saying you normally use that on your own boards? 2011-12-09T04:27:11 < Tom_itx> pc100 thru board headers 2011-12-09T04:27:23 < jnosky> Well all the sparkfun brds are females 2011-12-09T04:27:52 < jnosky> I use those pin strips all the time for proto stuff 2011-12-09T04:28:27 < jnosky> Ive got a wire wrap gun, that can cut, strip, and wrap in one operation 2011-12-09T04:29:12 < jnosky> So if that brd had females, I could make a host of project brds 2011-12-09T04:29:33 < jnosky> connectting to those cheap ass dbl headers i showed 2011-12-09T04:29:34 < karlp> but, if you have wirewrap gear, why is this even a problem for you? 2011-12-09T04:29:40 < jnosky> and just plug the whole thing on and off 2011-12-09T04:29:54 < karlp> are they not long enough for your wirewrap gear? 2011-12-09T04:30:13 < jnosky> You mount those dbl row things on a 1000 hole vector brd 2011-12-09T04:30:21 < jnosky> Now you have pins on both sides 2011-12-09T04:30:32 < karlp> I'm sorry, what's 10000 hole vector board? 2011-12-09T04:30:38 < jnosky> you wire up yer peripherals, and plug the whole brd onto it topside 2011-12-09T04:31:00 < jnosky> http://www.google.com/imgres?imgurl=http://tangentsoft.net/elec/bitmaps/vector-board.jpg&imgrefurl=http://tangentsoft.net/elec/breadboard.html&h=381&w=381&sz=55&tbnid=PLXAfl2k7FFMPM:&tbnh=90&tbnw=90&prev=/search%3Fq%3Dvector%2Bboard%26tbm%3Disch%26tbo%3Du&zoom=1&q=vector+board&docid=KxtpEpvCpXB9uM&sa=X&ei=2HLhTpitBuLb0QGptbSIBg&ved=0CEgQ9QEwBA&dur=672 2011-12-09T04:31:03 < jnosky> wow 2011-12-09T04:31:49 < jnosky> did that link work? 2011-12-09T04:31:57 < karlp> I got bits out did. 2011-12-09T04:32:18 < karlp> so, you stick your big double sided long male/male pins in some vector/perf/vero board 2011-12-09T04:32:22 < karlp> and then what? 2011-12-09T04:32:41 < BrainDamage> I guess he wire wraps or solder each pin 2011-12-09T04:32:54 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has joined ##stm32 2011-12-09T04:32:54 < BrainDamage> and adds a set of new sockets on the board 2011-12-09T04:32:57 < karlp> I still don't see what you're plugging the male headers on either side of the discovery boards onto your vero board 2011-12-09T04:32:59 < jnosky> Then one side can hold the proto brd, ie you can plug discovery board right onto it 2011-12-09T04:33:13 < jnosky> Then the other side is available for connections 2011-12-09T04:33:27 < jnosky> plus you have tons of extra holes for components 2011-12-09T04:33:30 < karlp> so, you're just wirewrapping straight onto the discovery board headers 2011-12-09T04:33:45 < jnosky> No my plan is ruined 2011-12-09T04:33:49 < jnosky> since stm used male 2011-12-09T04:33:57 < karlp> ok, thank you. 2011-12-09T04:34:01 < jnosky> I dont want to do that 2011-12-09T04:34:06 < jnosky> Than i cant reuse the brd 2011-12-09T04:34:11 < jnosky> for different things 2011-12-09T04:34:12 < karlp> none of what you were saying made any sense with the male headers on the boards :) 2011-12-09T04:34:19 < karlp> no wonder I couldn't understand what you were talking about 2011-12-09T04:34:20 < jnosky> ahh ok sorry 2011-12-09T04:34:56 < jnosky> Thats why we were talking of sewating the males off 2011-12-09T04:34:59 < BrainDamage> just need to find a way to painlessy remove the male headers, or plug a female on top 2011-12-09T04:35:03 < jnosky> sweating 2011-12-09T04:35:09 < jnosky> ya that would be sweet 2011-12-09T04:35:17 < karlp> yeah, I just got confused when you were talking about "that's what you would do" 2011-12-09T04:35:25 < karlp> I thought you meant for the original headers 2011-12-09T04:35:26 < jnosky> or a gender changer 2011-12-09T04:35:29 < Tom_itx> hot air pencil 2011-12-09T04:35:35 < jnosky> Ive not seen one tho 2011-12-09T04:35:44 < BrainDamage> I don't have an hot air tool :/ 2011-12-09T04:35:59 < BrainDamage> also, sounds painful even with that 2011-12-09T04:36:02 < karlp> on the bright side, they _were_ nice enough to put boot0 beside vdd and pb2 (boot1) bside gnd 2011-12-09T04:36:04 < BrainDamage> since the strip is long 2011-12-09T04:36:10 < karlp> so they _designed_ in jumpers 2011-12-09T04:36:17 < karlp> but 25x2 is just a damn awkward size 2011-12-09T04:36:24 < BrainDamage> and one side will cool as you warm the other 2011-12-09T04:36:38 < karlp> it's like they spent all the time laying out the cool mems and audio and usb, 2011-12-09T04:36:44 < jnosky> Yea and the thru hole will be plugged when yer done 2011-12-09T04:36:51 < karlp> then went, "oh shit, we forgot we had to putheaders on this" 2011-12-09T04:37:16 < karlp> the VL has that other awkward bane, the rectangular pins, 2011-12-09T04:37:24 < jnosky> males are cheap, that why tehy used em 2011-12-09T04:37:36 < karlp> they coul dhave left them off. 2011-12-09T04:37:44 < jnosky> That would been waay better 2011-12-09T04:37:48 < karlp> plenty of dev boards come without headers 2011-12-09T04:37:57 < karlp> so you can put in what suits your work environment 2011-12-09T04:38:08 < BrainDamage> yeah, that 2011-12-09T04:38:19 < BrainDamage> being able to install myself would've been much better 2011-12-09T04:38:21 < jnosky> I dont reall wanna hard wire to that brd 2011-12-09T04:39:36 < jnosky> normally I have some supporting components for my projects 2011-12-09T04:39:42 < jnosky> They need a place to go 2011-12-09T04:39:47 < jnosky> and a way to interconnect 2011-12-09T04:43:44 -!- peabody124 [~peabody12@128.249.96.123] has quit [Quit: peabody124] 2011-12-09T04:54:41 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-09T05:01:02 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Excess Flood] 2011-12-09T05:01:21 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2011-12-09T05:27:20 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Read error: Connection reset by peer] 2011-12-09T05:27:41 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-09T06:04:47 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has quit [Quit: Quit] 2011-12-09T08:39:04 < erik-k> The Olimex stm32 boards all have .1" headers (up to a pair of 20x2s for the f107)... 2011-12-09T08:39:19 < erik-k> What I wouldn't do to have headers that I can, I dunno, actually plug into a motherboard 2011-12-09T12:55:56 -!- quitte [~quitte@tplink.ghb.hs-furtwangen.de] has joined ##stm32 2011-12-09T12:56:49 < quitte> i can't find documentation for the stdperiphlib. is there any? or am i supposed to go by the examples and headers? 2011-12-09T12:58:39 < jpa-> it sucks, just write to the registers directly (personal opinion :) 2011-12-09T13:00:08 < quitte> i would. but it's for an assignment that demands using the lib for some reason 2011-12-09T13:00:47 < jpa-> too bad 2011-12-09T13:00:55 < quitte> same reason i'm fighting uVision on a linux box 2011-12-09T13:09:01 < karlp> the only docs I've found are the comments in the headers and source 2011-12-09T13:09:13 < karlp> and the example blobs 2011-12-09T13:10:13 < quitte> should've asked that earlier. 2011-12-09T13:10:45 < karlp> it's not terrible when you get used to how it does things. 2011-12-09T13:13:00 < quitte> it's terrible having to learn an ide that i probably won't ever use again by some step-by-step tutorial. and of courese when skipping something the random double click this thing won't work 2011-12-09T13:13:39 < quitte> or maybe it's because the tutorial is outdated. sigh. it'll be over soon. 2011-12-09T14:29:14 < Laurenceb> i quite like the periph lib 2011-12-09T14:34:31 < quitte> any idea about this double click STM32_init.c to get a processor configuration dialogue thingie? 2011-12-09T14:35:44 < quitte> no configuration wizard for me. and i don't quite see how a configuration wizard could be part of a .c file 2011-12-09T14:37:14 < Laurenceb> i dont use any gui 2011-12-09T14:37:25 < Laurenceb> i dont need no stinking gui 2011-12-09T14:38:05 < quitte> it seems nobody does. except for java programmers. 2011-12-09T14:38:46 < karlp> there's an excel sheet that generates the file isn't there? 2011-12-09T14:39:06 < karlp> that startup stuff is what I was recently battling to understand 2011-12-09T14:41:50 < Laurenceb> i just use the startup.s file 2011-12-09T14:43:52 < karlp> I fix0red it. 2011-12-09T14:44:04 < karlp> one of arm's selling points was that you could write startup code i C 2011-12-09T14:44:11 < Laurenceb> lol 2011-12-09T14:44:16 < Laurenceb> mine is asm 2011-12-09T14:44:25 < karlp> yeah, like ST's provided ones. 2011-12-09T14:44:33 < Laurenceb> it probably is... 2011-12-09T14:44:38 < Laurenceb> i grabbed off github 2011-12-09T14:44:58 < karlp> https://github.com/karlp/kkstm32_base/tree/master/startup 2011-12-09T14:45:23 < karlp> just one bit of asm to make it run from sram 2011-12-09T14:45:39 < karlp> which should be possible to get rid of if I work out hte vector tables properly. 2011-12-09T14:45:46 < karlp> but it's enough for now, 2011-12-09T14:46:02 < karlp> plus it gave me a much better understanding of how the linkers and startup stuff all worked together 2011-12-09T14:49:06 < quitte> found the wizard. it's a tab at the bottom of the files editor window. 2011-12-09T14:50:21 < quitte> now to get the simulator working. and i guess then i need to punch something. 2011-12-09T17:15:24 < Laurenceb> hmm im failing to get pwm 2011-12-09T17:15:50 < Laurenceb> i need to enable the timer clk, the alt function io, and set the pins as alt function pp ? 2011-12-09T17:46:01 < quitte> in what way aren't you getting pwm? 2011-12-09T17:46:25 < Laurenceb> nothing on the pins 2011-12-09T17:46:53 < Laurenceb> https://github.com/Laurenceb/STM32-Logger/blob/master/timer.c 2011-12-09T17:47:31 < quitte> did you enable the peripheral clock in the apb register? 2011-12-09T17:47:37 < Laurenceb> oops 2011-12-09T17:47:38 < Laurenceb> RCC_APB2PeriphClockCmd(RCC_APB1Periph_TIM3, ENABLE); 2011-12-09T17:47:44 < Laurenceb> ^doh 2011-12-09T17:51:52 -!- _Shurik_ [~alex@99-120-247-177.lightspeed.tukrga.sbcglobal.net] has left ##stm32 [] 2011-12-09T17:58:03 -!- emeb [~ericb@ip72-223-86-178.ph.ph.cox.net] has joined ##stm32 2011-12-09T18:25:06 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Quit: leaving] 2011-12-09T18:42:24 < karlp> yeah, you need to enable _lots_ of clocks :) 2011-12-09T18:43:32 < Laurenceb> is there one for remapped io? 2011-12-09T18:45:10 < karlp> I couldn't say I'm expert enough, 2011-12-09T18:45:25 < karlp> just my experience over the last 10 day sor so, was that I had to enable a LOT more clocks than I expected. 2011-12-09T18:46:01 < karlp> Laurenceb: did sending APB1Periph to the APB2 clock command not raise an assert? 2011-12-09T18:46:24 < karlp> the std periph lib does lots of argument checking, at least in most places I'd looked at 2011-12-09T18:46:59 < Laurenceb> yeah 2011-12-09T18:47:02 < Laurenceb> weird that 2011-12-09T18:50:27 < karlp> perhaps your environment defines assert to be a noop? 2011-12-09T18:57:15 < quitte> i keep forgetting to push the run button after pushing debug. 2011-12-09T19:13:28 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-09T21:12:11 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-09T21:26:43 -!- crenn [~Crenn@CPE-124-180-50-116.lns8.lon.bigpond.net.au] has quit [Read error: No route to host] 2011-12-09T21:34:19 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-09T22:53:49 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-09T23:04:15 -!- peabody124_ [~peabody12@128.249.96.123] has joined ##stm32 2011-12-09T23:06:37 -!- peabody124 [~peabody12@128.249.96.21] has quit [Read error: Operation timed out] 2011-12-09T23:06:38 -!- peabody124_ is now known as peabody124 2011-12-09T23:47:43 -!- peabody124_ [~peabody12@128.249.96.123] has joined ##stm32 2011-12-09T23:47:43 -!- peabody124 [~peabody12@128.249.96.123] has quit [Read error: Connection reset by peer] 2011-12-09T23:47:43 -!- peabody124_ is now known as peabody124 --- Day changed Sat Dec 10 2011 2011-12-10T00:40:24 -!- peabody124 [~peabody12@128.249.96.123] has quit [Remote host closed the connection] 2011-12-10T00:40:39 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-10T01:36:53 -!- peabody124_ [~peabody12@128.249.96.123] has joined ##stm32 2011-12-10T01:40:49 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 252 seconds] 2011-12-10T01:40:50 -!- peabody124_ is now known as peabody124 2011-12-10T02:05:42 -!- peabody124 [~peabody12@128.249.96.123] has quit [Remote host closed the connection] 2011-12-10T02:05:59 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-10T02:20:40 < karlp> bleh, spi is not qorking first go 2011-12-10T02:20:47 < karlp> I bet I missed some init somewhere... 2011-12-10T02:58:53 < karlp> oh, so NSS can't actually be used as an automatic chip select 2011-12-10T03:05:50 -!- emeb [~ericb@ip72-223-86-178.ph.ph.cox.net] has quit [Quit: Leaving.] 2011-12-10T03:26:13 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 248 seconds] 2011-12-10T03:58:23 < karlp> eh, so I'm not the first to struggle with the SPI a bit. 2011-12-10T03:58:31 < karlp> oh well. out of nighttime. :| 2011-12-10T04:36:43 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has joined ##stm32 2011-12-10T04:42:16 < UnaClocker> I seem to be having trouble uploading new code to my board.. I loaded the flash example, but it doesn't seem to run.. 2011-12-10T04:42:32 < UnaClocker> err, blink_flash example, that is.. 2011-12-10T04:50:08 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2011-12-10T04:50:21 < TeknoJuce> 3rd times the charm 2011-12-10T04:51:53 < TeknoJuce> when people port the arduino bootloaders to stm32's does it run like crap or better then on avrs 2011-12-10T04:52:05 < TeknoJuce> than 2011-12-10T04:53:04 < UnaClocker> I'd imagine you could emulate an AVR faster than an AVR could run, with the ARM.. Since it's native, yeah, it's going to be quite a bit faster. 2011-12-10T04:58:06 < TeknoJuce> was just wondering for something like RepRap where the avr 8bit almost doesnt have enough power to run it but I didnt want to port all the code over to run natively on the stm32 so was hoping if I was able to get someone elses arduino stm32 bootloader working I could then run the reprap firmware ontop of that 2011-12-10T04:58:56 < UnaClocker> TeknoJuce: Yeah, that'd be awesome. 2011-12-10T05:04:29 < UnaClocker> I know there's a MapleLeaf that uses the Arduino boot loader. 2011-12-10T05:08:36 < TeknoJuce> Do you think it would be difficult if their code was avail. to make that work on an STM32F4 Discovery think their board had some extra ram or something on it 2011-12-10T05:09:46 < UnaClocker> Way beyond my skill level, someone could do it, I have no doubt. 2011-12-10T05:09:47 < TeknoJuce> thinkd they use wiring library port or something like that or maybe it was another boar 2011-12-10T05:10:11 < UnaClocker> http://leaflabs.com/devices/maple/ 2011-12-10T05:10:16 < TeknoJuce> What is your skill level/.? 2011-12-10T05:10:54 < UnaClocker> I'm good with Arduino, and I have a desire to figure out how to program an STM32.. ;) 2011-12-10T05:12:12 < TeknoJuce> what stm32 board do you have? 2011-12-10T05:12:33 < UnaClocker> STM32F4-Discovery 2011-12-10T05:12:49 < TeknoJuce> so wonder if that STM32 F103RB guessing that means its an F1 wonder what the 03RB means 2011-12-10T05:13:40 < TeknoJuce> perfect you and me will port maple to the stm32f4-d and fail awesomely! 2011-12-10T05:14:06 < UnaClocker> hehe.. I haven't even been able to get the blink example to load and run on the board yet.. ;) 2011-12-10T05:15:07 < TeknoJuce> hope you we're able to get the accelerometer mouse app to work :) 2011-12-10T05:15:23 < TeknoJuce> (comes preloaded on the board) 2011-12-10T05:15:45 < UnaClocker> Yeah, I was trying to load a basic example program onto it, figured once I had that down, I'd move on to "adjusting" the example program, and grow from there.. 2011-12-10T05:17:05 < TeknoJuce> took me forever to find the windows 7 driver for the v2linker 2011-12-10T05:17:20 < UnaClocker> Yeah, I had a similar adventure on OSX.. 2011-12-10T05:17:48 < TeknoJuce> stm32 doesnt seemed to make it easy for the n00bies even thought thats what it seems they are going after with the discovery board 2011-12-10T05:18:09 < UnaClocker> hehe, yeah, must be a different level of newbie.. ;) 2011-12-10T05:19:01 < TeknoJuce> this is for the n00bies born to parents of astrophysicists 2011-12-10T05:20:26 < UnaClocker> hehe.. Have you looked at the source for any of the examples? Just the simple "blink" one that alternates the LED's and implements a delay routine, it looks like a completely different language from the C I'm used to on the Arduino.. 2011-12-10T05:35:45 < TeknoJuce> exactly why I wanted to get the arduino bootloader running on it 2011-12-10T05:36:41 < UnaClocker> Yeah. 2011-12-10T06:36:50 < UnaClocker> http://leaflabs.com/docs/bootloader.html Well I used that git clone thing there, compiled it, and loaded it to my board... 2011-12-10T06:37:07 < UnaClocker> No idea if I compiled it properly for the STM32F4 or not.. Hope so.. ;) heh 2011-12-10T06:37:52 < TeknoJuce> haha so is it working? 2011-12-10T06:39:09 < UnaClocker> I dunno, I seem to be at the same place I got stuck with the blink example.. I loaded the compiled.elf, then type continue, and the green/red (transmit/receive, I assume?) LED's are blinking rapidly.. 2011-12-10T06:56:17 -!- Rious [~csamuelso@ec2-50-17-240-121.compute-1.amazonaws.com] has quit [Quit: ZNC - http://znc.sourceforge.net] 2011-12-10T06:58:18 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has quit [Quit: Leaving...] 2011-12-10T07:20:37 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-10T07:23:22 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-10T07:33:40 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has quit [Read error: Connection reset by peer] 2011-12-10T08:00:07 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has joined ##stm32 2011-12-10T12:06:12 -!- quitte [~quitte@tplink.ghb.hs-furtwangen.de] has quit [Quit: Lost terminal] 2011-12-10T12:12:06 < karlp> which "blink_flash" example are you using? 2011-12-10T12:41:46 < erik-k> Effing rm0008 is just flat lying... I can set ADC_CR2_ADON until the cows come home and it never samples 2011-12-10T12:45:53 < karlp> here's my adc init code: https://github.com/karlp/kkstm32_base/blob/master/example/32l_usart_exti_adc/main.c#L136 2011-12-10T12:57:13 < erik-k> What I don't get is, it does exactly /one/ conversion, when I first turn the adc on. 2011-12-10T13:12:17 < jpa-> erik-k: you must set ADC_CR2_ADON back to zero in between if you want to trigger conversions that way 2011-12-10T13:12:23 < erik-k> Aurgh, hell. the interrupt is edge triggered by the EOC bit and I needed to clear it. 2011-12-10T13:12:47 < jpa-> oops no 2011-12-10T13:13:23 < jpa-> exactly the opposite of what i said :) 2011-12-10T13:14:13 < erik-k> But it does say on p228 that reading ADCx->DR wipes EOC back to zero, which evidently doesn't happen (my ISR, as a test, just reads it and prints to serial console) 2011-12-10T13:14:37 < erik-k> -_- well, at least the hair-pulling intervals are getting shorter 2011-12-10T13:18:17 < erik-k> Is there any functional difference between setting ADON vs using SWSTART and setting the regular group to take only 1 sample? 2011-12-10T13:18:55 < jpa-> just use a timer :P 2011-12-10T13:19:43 < erik-k> That's precisely what I'm doing. Every X times the timer ISR is called it bangs the ADC (which is to measure temperature and control a heater) 2011-12-10T13:20:32 -!- whitequa1k [~whitequar@2a00:ab00:1::4464:5550] has joined ##stm32 2011-12-10T13:21:07 < erik-k> Now I just need to write the code to do the temperature LUT and flip the heater FET on/off appropriately 2011-12-10T13:29:59 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-10T13:35:57 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-10T13:42:34 -!- whitequark [~whitequar@2a00:ab00:1::4464:5550] has quit [Quit: 123] 2011-12-10T13:42:50 -!- whitequark [~whitequar@2a00:ab00:1::4464:5550] has joined ##stm32 2011-12-10T13:42:51 -!- whitequa1k [~whitequar@2a00:ab00:1::4464:5550] has quit [Quit: leaving] 2011-12-10T16:10:01 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-10T16:55:37 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-10T16:55:39 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-10T17:36:51 -!- emeb [~ericb@ip72-223-86-178.ph.ph.cox.net] has joined ##stm32 2011-12-10T18:26:24 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-10T18:28:13 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-10T18:29:58 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Read error: Connection reset by peer] 2011-12-10T18:30:08 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-10T20:18:43 -!- Steffanx is now known as ManInTheMiddle 2011-12-10T20:18:49 -!- ManInTheMiddle is now known as Steffanx 2011-12-10T20:19:24 -!- Laurenceb_ [~Laurence@host86-178-233-209.range86-178.btcentralplus.com] has joined ##stm32 2011-12-10T20:53:53 -!- csamuelson [~csamuelso@ec2-50-17-240-121.compute-1.amazonaws.com] has joined ##stm32 2011-12-10T20:55:08 -!- csamuelson is now known as Rious 2011-12-10T22:45:20 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has quit [Quit: By the time you read this I'll already be gone....] 2011-12-10T22:50:45 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has joined ##stm32 2011-12-10T23:44:03 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Excess Flood] 2011-12-10T23:44:23 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 --- Day changed Sun Dec 11 2011 2011-12-11T01:06:58 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-11T01:06:58 -!- mode/##stm32 [+v Steffann] by ChanServ 2011-12-11T01:07:01 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 244 seconds] 2011-12-11T02:06:56 -!- Laurenceb_ [~Laurence@host86-178-233-209.range86-178.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2011-12-11T02:34:58 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 255 seconds] 2011-12-11T03:10:18 -!- emeb [~ericb@ip72-223-86-178.ph.ph.cox.net] has quit [Quit: Leaving.] 2011-12-11T04:06:17 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2011-12-11T04:06:42 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925075973.dsl.bell.ca] has joined ##stm32 2011-12-11T04:06:47 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925075973.dsl.bell.ca] has quit [Changing host] 2011-12-11T04:06:48 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2011-12-11T06:27:16 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-11T06:30:28 < TeknoJuce> UnaClocker, any luck? 2011-12-11T07:00:30 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has quit [Quit: Leaving...] 2011-12-11T07:03:33 -!- peabody124 [~peabody12@108-205-218-4.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2011-12-11T07:16:24 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-11T07:21:53 -!- peabody124 [~peabody12@108-205-218-4.lightspeed.hstntx.sbcglobal.net] has quit [Ping timeout: 240 seconds] 2011-12-11T07:24:06 -!- peabody124 [~peabody12@108-205-218-4.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2011-12-11T08:43:40 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has joined ##stm32 2011-12-11T08:48:44 -!- peabody124 [~peabody12@108-205-218-4.lightspeed.hstntx.sbcglobal.net] has quit [Quit: peabody124] 2011-12-11T09:02:26 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Excess Flood] 2011-12-11T09:02:47 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2011-12-11T09:24:34 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Quit: Rebooting...] 2011-12-11T09:25:53 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2011-12-11T09:58:47 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925075973.dsl.bell.ca] has joined ##stm32 2011-12-11T09:58:48 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925075973.dsl.bell.ca] has quit [Changing host] 2011-12-11T09:58:48 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2011-12-11T12:02:33 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-11T12:02:36 -!- mode/##stm32 [+v Steffann] by ChanServ 2011-12-11T12:07:18 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has quit [Quit: By the time you read this I'll already be gone....] 2011-12-11T13:50:57 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 268 seconds] 2011-12-11T13:59:09 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-11T14:12:16 -!- ben1066_ is now known as ben1066 2011-12-11T16:03:30 -!- quitte [~quitte@tplink.ghb.hs-furtwangen.de] has joined ##stm32 2011-12-11T16:04:14 < quitte> hi. does the periphlib provide a delay function? 2011-12-11T16:16:48 -!- Laurenceb_ [~Laurence@host86-178-233-209.range86-178.btcentralplus.com] has joined ##stm32 2011-12-11T16:26:30 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-11T17:10:13 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-11T17:10:14 -!- zlog_ [~zlog@ip68-102-96-223.ks.ok.cox.net] has joined ##stm32 2011-12-11T17:11:02 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has quit [Ping timeout: 244 seconds] 2011-12-11T17:11:31 -!- zlog_ [~zlog@ip68-102-96-223.ks.ok.cox.net] has quit [Remote host closed the connection] 2011-12-11T17:11:39 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [Ping timeout: 252 seconds] 2011-12-11T17:11:45 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has joined ##stm32 2011-12-11T17:11:50 -!- Tom_L is now known as Tom_itx 2011-12-11T18:00:55 -!- peabody124 [~peabody12@108-205-218-4.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2011-12-11T18:13:25 < quitte> i think that the compiler might be optimizing while loops that i use for delay. how can i ensure it doesn't? 2011-12-11T18:14:58 -!- phantone [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-11T18:15:35 < jnosky> make the timing delay number volatile 2011-12-11T18:16:22 < quitte> thanks 2011-12-11T18:17:53 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 240 seconds] 2011-12-11T18:19:29 < quitte> jnosky: how would i write an endless loop then? while(1) doesn't work for some reason 2011-12-11T18:19:54 < Tom_itx> it should 2011-12-11T18:20:34 < jnosky> You have the {} ? 2011-12-11T18:21:11 < Tom_itx> what's the format for the 'if' one? 2011-12-11T18:21:16 < Tom_itx> i forget 2011-12-11T18:21:41 < jnosky> i use for(;;); 2011-12-11T18:22:08 < Tom_itx> err yeah 2011-12-11T18:22:43 < quitte> i have while at the end of main. but after a while of running the simulator shows that all time is spent in the Default_Handler 2011-12-11T18:23:33 < Tom_itx> jnosky, does the for(;;); compile to the same code as the while(1){}; ? 2011-12-11T18:24:20 < jnosky> I would think so 2011-12-11T18:24:22 < quitte> for(;;); behaves the same way. 2011-12-11T18:25:06 < Tom_itx> maybe you have other issues then 2011-12-11T18:29:15 < quitte> it seems to be caused by stm32_init(); 2011-12-11T18:29:37 < quitte> i guess i'll just live without the configuration wizard then. didn't like it in the first place. 2011-12-11T18:44:18 < jnosky> simulator? 2011-12-11T18:45:41 -!- emeb [~ericb@ip72-223-86-178.ph.ph.cox.net] has joined ##stm32 2011-12-11T18:45:42 < quitte> stm32f103rb simulator in keil µVision 2011-12-11T19:05:43 < jpa-> hmm, software floating point math seems to be surprisingly fast on the cortex-m3; just 36 cycles for multiply and 52 cycles for divide 2011-12-11T20:04:59 < jnosky> http://www.king-cart.com/phoenixent/product=RECEPTACLES-SOCKETS+PCB+MOUNT+.1SP+DUAL+ROW/exact_match=exact 2011-12-11T20:10:33 -!- peabody124 [~peabody12@108-205-218-4.lightspeed.hstntx.sbcglobal.net] has quit [Quit: peabody124] 2011-12-11T20:20:08 <+Steffann> Waow, you found the right channel Laurenceb :) 2011-12-11T20:24:32 < BrainDamage> karlp: one of my friends got a vl board, and he uses mac, what should the periferial appear as? 2011-12-11T20:24:38 < BrainDamage> it's a stlink v1 2011-12-11T20:24:50 <+Steffann> I have that one too.. here it appears as .. 2011-12-11T20:24:59 <+Steffann> I think a buggy mass storage device 2011-12-11T20:25:15 <+Steffann> I had some trouble with it on os x BrainDamage 2011-12-11T20:25:29 < BrainDamage> but what inside /dev ? 2011-12-11T20:25:41 <+Steffann> I tried to make it functional, but i failed (I didn't want to disable the mass storage driver) 2011-12-11T20:26:01 <+Steffann> Uhm 2011-12-11T20:26:03 < BrainDamage> can't you tell it to ignore that very usb id? 2011-12-11T20:26:17 <+Steffann> Maybe, I don't know how though 2011-12-11T20:28:35 -!- phantone is now known as phantoxe 2011-12-11T20:31:44 -!- peabody124 [~peabody12@128.249.96.127] has joined ##stm32 2011-12-11T20:34:37 < karlp> BrainDamage: ignoring that particular usb id is what you want to do, but I have no idea how to do that on OSX. 2011-12-11T20:35:10 < BrainDamage> after doing that, what should the device appear as, under /dev? so I can tell him 2011-12-11T20:36:20 <+Steffann> Here it tries to find it automatically BrainDamage .. not sure as which device it appears 2011-12-11T20:36:32 <+Steffann> dmesg shows nothing about it (which is does on linux most of the time) 2011-12-11T20:37:20 < karlp> it does't need to appear in /dev at all. 2011-12-11T20:37:27 <+Steffann> Possibly 2011-12-11T20:37:30 < karlp> libusb will open it based on vid/pid 2011-12-11T20:37:33 <+Steffann> How to check that anyway? 2011-12-11T20:37:51 <+Steffann> Here it fails with: 2011-12-11T20:37:52 <+Steffann> libusb:info [darwin_open] device open for access 2011-12-11T20:37:52 <+Steffann> libusb:error [darwin_claim_interface] USBInterfaceOpen: another process has device opened for exclusive access 2011-12-11T20:37:52 <+Steffann> 2011-12-11T19:35:41 WARN src/stlink-sg.c: libusb_claim_interface() failed 2011-12-11T20:37:59 <+Steffann> So your friend will probably have that same issue 2011-12-11T20:38:46 <+Steffann> I'm not sure how for example vmware/virtualbox it does though, they CAN claim it 2011-12-11T20:40:56 -!- peabody124_ [~peabody12@128.249.96.127] has joined ##stm32 2011-12-11T20:40:57 -!- peabody124 [~peabody12@128.249.96.127] has quit [Read error: Connection reset by peer] 2011-12-11T20:40:58 -!- peabody124_ is now known as peabody124 2011-12-11T20:42:16 <+Steffann> karlp with linux you use udev for something like that don't you? 2011-12-11T20:44:15 < BrainDamage> ok, I'll tell him then 2011-12-11T20:44:32 < karlp> on linux, the udev rules make it popup as /dev/stlinkv1 2011-12-11T20:44:38 < karlp> yeah, sorry, someone came to the door 2011-12-11T20:44:56 <+Steffann> Maybe it works for him BrainDamage 2011-12-11T20:45:08 <+Steffann> Just run st-util --stlinkv1 2011-12-11T20:45:11 <+Steffann> perhaps with 'sudo' 2011-12-11T20:45:20 < karlp> hmm, I didn't know you had claim failures Steffann 2011-12-11T20:45:22 < BrainDamage> ah, right, forgot the sudo 2011-12-11T20:45:38 < BrainDamage> I'll tell him, thanks 2011-12-11T20:45:46 <+Steffann> Oh, i'm pretty sure i told you that karlp :) 2011-12-11T20:45:49 < karlp> I know in python libusb code you sometimes need to detach the existing driver 2011-12-11T20:45:58 < karlp> Steffann: you probably did, but I don't remember it :) 2011-12-11T20:46:04 <+Steffann> :D 2011-12-11T20:46:21 <+Steffann> os x has no udev stuff :( 2011-12-11T20:47:20 < karlp> http://www.libusb.org/ticket/89 possibly... 2011-12-11T20:48:31 <+Steffann> That libusb website is always so as h*ell 2011-12-11T20:48:32 <+Steffann> -e 2011-12-11T20:49:34 < karlp> computers do suck 2011-12-11T20:51:06 <+Steffann> Yeah 2011-12-11T20:55:33 <+Steffann> There is another way.. aka a codeless kext 2011-12-11T20:56:05 <+Steffann> Which is just a codeless kernel extension which CAN clame the device 2011-12-11T20:56:33 <+Steffann> *claim 2011-12-11T20:58:04 <+Steffann> Not a nice solution though 2011-12-11T20:58:51 <+Steffann> I'll give it a try 2011-12-11T20:59:02 <+Steffann> it only seems to be a fine, inside a directory 2011-12-11T20:59:27 <+Steffann> *file 2011-12-11T20:59:30 <+Steffann> English is hard 2011-12-11T21:05:54 -!- peabody124 [~peabody12@128.249.96.127] has quit [Read error: Connection reset by peer] 2011-12-11T21:06:45 -!- peabody124 [~peabody12@128.249.96.127] has joined ##stm32 2011-12-11T21:11:05 -!- peabody124 [~peabody12@128.249.96.127] has quit [Ping timeout: 252 seconds] 2011-12-11T21:14:35 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-11T21:29:14 <+Steffann> Reboot and see it if works 2011-12-11T21:29:45 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Quit: Leaving] 2011-12-11T21:33:02 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has joined ##stm32 2011-12-11T21:33:42 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-11T21:33:44 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-11T21:39:47 < karlp> is this an stlink v1 on the 32VL discovery board? 2011-12-11T21:39:59 < karlp> are you brain damage's friend? 2011-12-11T21:40:15 < BrainDamage> he is 2011-12-11T21:40:22 < BrainDamage> it's a stlink v1 2011-12-11T21:41:05 < BrainDamage> I gave him a spare one, because he uses a ftdi chip to program the flash, and I tought he could use some pain in his life 2011-12-11T21:41:13 < karlp> well, it looks like steffan's trying something right now, 2011-12-11T21:41:23 < karlp> I don't have anything extra to add for osx and the v1 sorry 2011-12-11T21:43:41 <+Steffanx> it doesn't seem to work karlp 2011-12-11T21:43:47 <+Steffanx> I need os x in a vm.. 2011-12-11T21:43:56 <+Steffanx> Otherwise i have to restart my whole machine all the time 2011-12-11T21:44:01 <+Steffanx> Which is annoying 2011-12-11T21:45:13 <+Steffanx> How does the USBProber list your stm32 discovery Cpu86 ? 2011-12-11T21:46:11 <+Steffanx> I mean you see this? http://www.naffets.nl/share/USB_Prober-20111211-204602.png 2011-12-11T21:46:25 <+Steffanx> I'm not sure if my codeless driver is really loaded 2011-12-11T21:47:32 <+Steffanx> Incl. composite device etc? 2011-12-11T21:48:39 <+Steffanx> Time for a shower.. i'll be back 2011-12-11T22:23:01 -!- emeb [~ericb@ip72-223-86-178.ph.ph.cox.net] has left ##stm32 [] 2011-12-11T22:49:23 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Quit: Leaving] 2011-12-11T22:52:14 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-11T22:52:17 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-11T22:55:01 <+Steffanx> I give up for npw 2011-12-11T22:55:02 <+Steffanx> now 2011-12-11T23:06:30 <+Steffanx> Ok, one last chance 2011-12-11T23:06:50 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Quit: Leaving] 2011-12-11T23:09:50 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-11T23:09:50 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-11T23:11:07 <+Steffanx> Nope, i give up for now :) 2011-12-11T23:13:03 <+Steffanx> Oops 2011-12-11T23:20:27 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Quit: Leaving] 2011-12-11T23:23:26 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-11T23:23:29 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-11T23:28:41 <+Steffanx> karlp you there? 2011-12-11T23:52:12 -!- whitequark [~whitequar@2a00:ab00:1::4464:5550] has quit [Ping timeout: 268 seconds] 2011-12-11T23:56:04 < karlp> yep, for a while. 2011-12-11T23:56:40 -!- Kevin` [~kevin@67.52.47.65] has quit [Ping timeout: 258 seconds] --- Day changed Mon Dec 12 2011 2011-12-12T00:02:36 -!- Kevin` [~kevin@router.kwzs.be] has joined ##stm32 2011-12-12T00:18:15 -!- Netsplit *.net <-> *.split quits: kerwood, jnosky, CheBuzz, |Marco|, district, biot, AK6L, karlp, mansfeld 2011-12-12T00:18:27 -!- Netsplit *.net <-> *.split quits: Laurenceb_, zlog, peabody124, jaeckel, ben1066, erik-k, Laurenceb, Kevin`, TeknoJuce, BrainDamage, (+1 more, use /NETSPLIT to show all of them) 2011-12-12T00:18:28 -!- Netsplit over, joins: karlp 2011-12-12T00:18:50 -!- Netsplit over, joins: Laurenceb_ 2011-12-12T00:18:56 -!- mansfeld [~andrew@web130.webfaction.com] has joined ##stm32 2011-12-12T00:18:58 -!- Netsplit over, joins: BrainDamage 2011-12-12T00:19:14 -!- Netsplit over, joins: kerwood 2011-12-12T00:19:14 -!- mansfeld [~andrew@web130.webfaction.com] has quit [Changing host] 2011-12-12T00:19:14 -!- mansfeld [~andrew@robopoly/watson] has joined ##stm32 2011-12-12T00:19:18 -!- Netsplit over, joins: biot 2011-12-12T00:19:40 -!- Netsplit over, joins: CheBuzz, |Marco| 2011-12-12T00:19:48 -!- Netsplit over, joins: zlog, Rious 2011-12-12T00:20:03 <+Steffanx> I'll bug you another time karlp 2011-12-12T00:20:37 < karlp> still here.. 2011-12-12T00:20:47 -!- Netsplit over, joins: TeknoJuce, erik-k, Laurenceb 2011-12-12T00:20:49 < karlp> I've got about 20 minutes before walking dead starts... 2011-12-12T00:21:06 <+Steffanx> Whatever that is 2011-12-12T00:21:20 -!- Netsplit over, joins: Kevin`, ben1066 2011-12-12T00:21:23 <+Steffanx> I'm gone, so .. it'll be another time 2011-12-12T00:22:24 < karlp> you know where to find me :) 2011-12-12T00:22:45 <+Steffanx> Grave yard? 2011-12-12T00:23:43 -!- district [district@2607:f2f8:20c0::69] has joined ##stm32 2011-12-12T00:25:19 -!- AK6L [~xunil@paxil.xunil.net] has joined ##stm32 2011-12-12T00:25:27 -!- jaeckel [~jaeckel@unaffiliated/jaeckel] has joined ##stm32 2011-12-12T00:27:23 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-12T00:27:46 < joe9> anyone using stm32 for a commercial product? what toolchain do you use? 2011-12-12T00:31:04 < Laurenceb_> yes, and codesourcery 2011-12-12T00:31:28 < joe9> thanks. 2011-12-12T00:32:39 < joe9> i am just checking out codesourcery on google. It seems to be free/opensource. 2011-12-12T00:33:07 < joe9> probably, just the lite edition, maybe. 2011-12-12T00:33:21 < Laurenceb_> yes 2011-12-12T00:33:52 < joe9> there is a commercial edition out there, it appears. Do you use the lite or commercial version? 2011-12-12T00:35:29 < Laurenceb_> i use lite 2011-12-12T00:35:37 < joe9> pokeByteOff p'TMR2 0 (11 :: Word8) 2011-12-12T00:35:37 < joe9> pokeByteOff p'TMR4 0 (11 :: Word8) 2011-12-12T00:35:46 < joe9> sorry about that paste, wrong click. 2011-12-12T00:35:52 < Laurenceb_> i think the changes with the commercial version is just the gui and associated tools 2011-12-12T00:35:53 < Laurenceb_> lol 2011-12-12T00:36:22 < joe9> http://fun-tech.se/stm32/gcc/index.php, Have you checked this? 2011-12-12T00:36:38 < joe9> oh, that is good to know. I can live without the gui. 2011-12-12T00:43:16 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 240 seconds] 2011-12-12T00:53:36 < karlp> hmm, I had EXTI0 working well on pin A0, but trying to get the same code for PB2 just gives me continual interrupts, even with the pin tied low. 2011-12-12T00:58:02 < Laurenceb_> now thats weird 2011-12-12T00:58:07 < Laurenceb_> i had similar issues 2011-12-12T00:58:49 < Laurenceb_> i gave up in the end as i came up with a better way of arranging the interrupts anyway 2011-12-12T00:59:09 < Laurenceb_> but i had a problem of no interrupts from that pin 2011-12-12T00:59:22 < Laurenceb_> when i configured interrupts on falling edge 2011-12-12T00:59:41 * Laurenceb_ zzz 2011-12-12T01:03:47 -!- Laurenceb_ [~Laurence@host86-178-233-209.range86-178.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2011-12-12T01:25:16 < joe9> i am currently using the TLC1543 ADC from TI. It gives very accurate and reliable readings. I want to migrate to the STM32 platform and am checking out the inbuilt ADC peripheral. 2011-12-12T01:25:47 -!- whitequark [~whitequar@2a00:ab00:1::4464:5550] has joined ##stm32 2011-12-12T01:25:52 < joe9> I am not sure how it would compare with the TLC1543 and I am not able to find many technical details on the inbuilt ADC of the STM32. 2011-12-12T01:26:15 < joe9> wondering if anyone has any experience with comparing an external adc with the stm32 inbuilt adc? 2011-12-12T01:59:43 -!- Eartaker [~Eartaker@c-67-185-76-100.hsd1.wa.comcast.net] has joined ##stm32 2011-12-12T01:59:44 -!- Eartaker [~Eartaker@c-67-185-76-100.hsd1.wa.comcast.net] has quit [Changing host] 2011-12-12T01:59:44 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has joined ##stm32 2011-12-12T02:19:35 -!- whitequark [~whitequar@2a00:ab00:1::4464:5550] has quit [Ping timeout: 268 seconds] 2011-12-12T02:52:56 -!- whitequark [~whitequar@2a00:ab00:1::4464:5550] has joined ##stm32 2011-12-12T03:03:50 -!- jnosky [~foo@c-68-39-251-30.hsd1.nj.comcast.net] has joined ##stm32 2011-12-12T03:12:31 < karlp> hmm, PB2 is also boot1, 2011-12-12T03:12:36 < karlp> maybe I should try a different pint 2011-12-12T03:31:44 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-12T03:32:14 < karlp> ahha, no, syscfg wasn't wired 2011-12-12T03:55:47 < karlp> the defaults work for exit0 on port a. 2011-12-12T05:15:50 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 252 seconds] 2011-12-12T05:43:14 -!- peabody124 [~peabody12@108-205-218-4.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2011-12-12T06:08:44 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Quit: leaving] 2011-12-12T06:16:09 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has quit [Quit: Leaving...] 2011-12-12T08:14:53 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has quit [Quit: By the time you read this I'll already be gone....] 2011-12-12T08:19:51 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has joined ##stm32 2011-12-12T10:13:14 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has quit [Quit: By the time you read this I'll already be gone....] 2011-12-12T11:01:53 -!- peabody124 [~peabody12@108-205-218-4.lightspeed.hstntx.sbcglobal.net] has quit [Quit: peabody124] 2011-12-12T13:51:57 < quitte> in the context of interrupts - what is an event? 2011-12-12T14:06:40 < karlp> hehe,I asked the same question the other day :) 2011-12-12T14:07:05 < karlp> I think we decided it was just terminology. some people use interrupt o be external, and event to be triggered internally. 2011-12-12T14:07:21 < karlp> but given the way the docs refer to them, as best I can tell, they're the same. 2011-12-12T14:18:39 < quitte> from half a sentence somewhere in rm0008 i'm thinking that an event just means writing to the software interrupt event register - to cause an interrupt just as if there had been an edge on the external pin 2011-12-12T14:19:27 < quitte> it must be something more than terminology, as the evil wizard i'm using has a checkbox to enable events and anopther for interrupts on exti 2011-12-12T14:21:01 < quitte> the wizard isn't that evil anymore after i disabled timer interrupts :) 2011-12-12T14:33:23 -!- Laurenceb [~laurence@vlsi1.eee.nottingham.ac.uk] has quit [Ping timeout: 252 seconds] 2011-12-12T14:47:47 -!- Laurenceb [~laurence@vlsi1.eee.nottingham.ac.uk] has joined ##stm32 2011-12-12T14:50:43 < Laurenceb> karlp: any progress with exti on b.2? 2011-12-12T15:22:53 < karlp> yeah, syscfg wasn't wired up. 2011-12-12T15:23:15 < karlp> so i twas defaulting to port a, 2011-12-12T15:23:44 < karlp> which for exti2 is pa2, which is the tx line on usart2, so because I had a "I" getting printed out, caused continual interrupts :) 2011-12-12T15:24:02 < karlp> so that's good, but the spi's still not quite right. 2011-12-12T15:24:16 < karlp> I can write bytes to a teensy/avr slave, and it gets them ok, 2011-12-12T15:24:34 < karlp> but writing to the radio doesn't quite work yet. 2011-12-12T15:25:49 < Laurenceb> oh 2011-12-12T15:25:55 < Laurenceb> maybe i messed that up too 2011-12-12T15:26:09 < Laurenceb> so what does your code look like? 2011-12-12T15:26:21 < karlp> hmm, not sure if it's been pushed yet. 2011-12-12T15:26:38 < Laurenceb> GPIO_EXTILineConfig(GPIO_PortSourceGPIOA, GPIO_PinSource0); 2011-12-12T15:26:43 < Laurenceb> you missed that? 2011-12-12T15:26:48 < Laurenceb> - or equivalent 2011-12-12T15:27:00 < karlp> yeah, I think so, code's not in front of me right now 2011-12-12T15:27:12 < Laurenceb> ah - i had that code present 2011-12-12T15:27:12 < karlp> and for gpioA, pin0, you don't need it anyway. 2011-12-12T15:27:31 < Laurenceb> i see - it goes to A by default? 2011-12-12T15:27:41 < karlp> yep 2011-12-12T15:28:10 < karlp> which is why it worked just fine when I tested it out with the push button on teh discover board :) 2011-12-12T15:28:29 < karlp> the amount of config with stm32 seems a bit extravagent at times, 2011-12-12T15:28:43 < karlp> but I guess it's the price for being able to route things all over the place. 2011-12-12T15:56:31 < quitte> the exti interrupt causes the TIM2_IRQHandler to execute,too. any hints what to look for? 2011-12-12T16:02:37 < quitte> toggling the gpioc1 pin somehow actually causes the interrupt pending flag of ti2 to be triggered 2011-12-12T16:12:59 < quitte> i put both ISRs at the end of my main.c file. switching the isrs causes the timer interrupt to run the exti isr,too 2011-12-12T16:53:00 < quitte> i just added a function at the very end of the file. it is called on every interrupt. 2011-12-12T17:01:53 < quitte> https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Timer%20update%20event%20interrupt%20retriggering%20after%20exit&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=377 2011-12-12T17:02:11 < quitte> i don't quite understand how this issue is the same as min, but it helped 2011-12-12T17:05:55 < karlp> I read in some comment somewhere that clearing the status flag as the last statement in the ISR didn't always work 2011-12-12T17:06:07 < karlp> but I too have no idea why it would then go and call some other routine 2011-12-12T17:06:56 < quitte> yes. it needs to be read back to make sure the SR is in the desired state. the other routine thing? I'm entirely puzzled. 2011-12-12T17:08:43 < karlp> except that the stupid ST forum links are all broken 2011-12-12T17:08:50 < karlp> where's that faq item they refer too 2011-12-12T17:09:49 < quitte> i was assuming behind the login. but didn't bother. 2011-12-12T17:11:21 < quitte> dear veandors, i'd prefer to find datasheets on your site. but getting them from random places using google is just so much less hassle. 2011-12-12T17:45:20 -!- peabody124 [~peabody12@108-205-218-4.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2011-12-12T17:52:12 < quitte> and the problem is back. wtf! 2011-12-12T17:56:37 < karlp> you sure you're not missing a } somewhere? and your while loop in main is running on or something? 2011-12-12T17:57:51 < quitte> I put main() at the end in all my efforts to pinpoint the problem {}s look good to me 2011-12-12T17:58:38 < karlp> so now it's just calling an apparently unrelated interrupt continually? 2011-12-12T18:00:43 < quitte> after the isr i added void wtf(){} 2011-12-12T18:00:48 < quitte> it gets called 2011-12-12T18:01:31 < quitte> so not even an interrupt calling it. i think i misinterpreted a checkbox earlier, leading me to believe there was an actual interrupt 2011-12-12T18:03:39 < quitte> wtf^2 2011-12-12T18:04:04 < quitte> now i have the exti isr first, then timer, then wtf 2011-12-12T18:04:23 < quitte> when exti gets called wtf gets called. without calling the timer 2011-12-12T18:07:00 < quitte> full rebuild got the behaviour to a slightly more expected one. exti causes timer. timer sometimes causes wtf. 2011-12-12T18:07:23 < quitte> i'll give myself and my computer a break. maybe either of us needs to cool down 2011-12-12T18:07:54 -!- quitte [~quitte@tplink.ghb.hs-furtwangen.de] has quit [Quit: Lost terminal] 2011-12-12T18:14:04 -!- emeb [~ericb@ip72-223-86-178.ph.ph.cox.net] has joined ##stm32 2011-12-12T18:22:48 -!- Rious [~csamuelso@ec2-50-17-240-121.compute-1.amazonaws.com] has quit [Quit: ZNC - http://znc.sourceforge.net] 2011-12-12T18:23:31 -!- Rious [~Rious@ec2-50-17-240-121.compute-1.amazonaws.com] has joined ##stm32 2011-12-12T18:28:22 -!- Rious [~Rious@ec2-50-17-240-121.compute-1.amazonaws.com] has quit [Quit: ZNC - http://znc.sourceforge.net] 2011-12-12T18:30:50 -!- Rious [~Rious@ec2-50-17-240-121.compute-1.amazonaws.com] has joined ##stm32 2011-12-12T18:31:25 -!- Rious [~Rious@ec2-50-17-240-121.compute-1.amazonaws.com] has quit [Client Quit] 2011-12-12T18:32:22 -!- peabody124 [~peabody12@108-205-218-4.lightspeed.hstntx.sbcglobal.net] has quit [Quit: peabody124] 2011-12-12T18:33:46 -!- Rious [~Rious@ec2-50-17-240-121.compute-1.amazonaws.com] has joined ##stm32 2011-12-12T18:41:25 -!- quitte [~quitte@tplink.ghb.hs-furtwangen.de] has joined ##stm32 2011-12-12T18:41:52 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-12T18:41:55 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-12T18:49:07 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-12T19:17:25 -!- Thorn__ [~Thorn@2.93.107.34] has joined ##stm32 2011-12-12T19:17:25 -!- Thorn__ [~Thorn@2.93.107.34] has quit [Changing host] 2011-12-12T19:17:25 -!- Thorn__ [~Thorn@unaffiliated/thorn] has joined ##stm32 2011-12-12T19:20:18 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 255 seconds] 2011-12-12T19:29:52 < quitte> http://pastebin.com/qdgs2xKW 2011-12-12T19:30:01 < quitte> i pinpointed the mistake and can now avoid it 2011-12-12T19:30:12 < quitte> did i do something wrong, or is it the compiler? 2011-12-12T19:33:53 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Quit: Leaving] 2011-12-12T19:34:09 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-12T19:34:12 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-12T19:36:53 < quitte> the really funny thing is that the problem is triggered even if that struct isn't accessed 2011-12-12T19:37:54 <+Steffanx> " //taster sind normal high(3.3V)" <= ugly combination of german and english :P 2011-12-12T19:38:25 < quitte> yeah. i'll delete that comment. if that is the worst problem i'm happy. 2011-12-12T19:42:05 < jpa-> quitte: well, it is a shortcoming of GCC; partly 2011-12-12T19:42:36 < quitte> keil's cc in this case. 2011-12-12T19:42:37 < jpa-> most hardware registers in STM32 must be accessed on a 32-bit aligned boundary, whereas GCC will happily generate unaligned accesses with struct members 2011-12-12T19:43:05 < jpa-> ok, dunno about that, maybe there is an attribute you could set on the variable 2011-12-12T19:43:24 < quitte> but that struct should be aligned 2011-12-12T19:43:36 < quitte> tast1 is at the lsb 2011-12-12T19:44:06 -!- peabody124 [~peabody12@128.249.96.21] has quit [Read error: Connection reset by peer] 2011-12-12T19:44:22 < jpa-> well, it may be reading only the bottom byte of the variable or something 2011-12-12T19:44:39 <+Steffanx> I've seen similar things.. let me try to find it 2011-12-12T19:44:43 < jpa-> cannot say for sure without seeing the generated assembler :) 2011-12-12T19:45:02 < quitte> ok. i'll add an unsigned int :28; 2011-12-12T19:45:20 < jpa-> with gcc, that does not help 2011-12-12T19:45:21 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-12T19:45:30 < quitte> huh? 2011-12-12T19:45:41 < quitte> if i added named bits? 2011-12-12T19:46:10 < karlp> bit packing in structs is almost always going to cause pain. 2011-12-12T19:46:18 < jpa-> i haven't found a way to use bit-sized structs for hardware registers, atleast not in gcc 2011-12-12T19:48:44 < quitte> sigh. that didn't help. 2011-12-12T19:49:28 < karlp> well, at least you worked out what sort of code not to use :) 2011-12-12T19:49:37 < quitte> so no bitpacking for registers? ever? too bad. i really liked the readability 2011-12-12T19:50:22 < jpa-> quitte: you could check if the keil compiler has an attribute to force aligned access 2011-12-12T19:50:26 <+Steffanx> I don't like it quitte :P 2011-12-12T19:50:38 <+Steffanx> It doesn't make it more readable for me 2011-12-12T19:50:44 < quitte> shifting and masking is way worse imho 2011-12-12T19:50:49 < jpa-> one way to make it more readable is this: https://svn.kapsi.fi/jpa/paatti/gpio.h 2011-12-12T19:50:58 < quitte> instead of just saying: flip that bit 2011-12-12T19:51:41 < jpa-> BSRR and BSR make it easier, though 2011-12-12T19:52:10 < karlp> packing is not defined in K&R 2011-12-12T19:52:58 -!- Vaati [~fkunecke@osuosc/vaati] has joined ##stm32 2011-12-12T19:53:03 < jpa-> fortunately we have other standards than K&R now :) 2011-12-12T19:54:02 <+Steffanx> K&R => Trashbin :P 2011-12-12T19:54:19 < karlp> is packing defined in c99? 2011-12-12T19:54:24 < karlp> I don't think that changes anything. 2011-12-12T19:56:20 < quitte> C90 6.5.2 ? 2011-12-12T19:57:26 < karlp> well, it doesn't matter if they don't work anyway :) 2011-12-12T20:00:55 <+Steffanx> btw don't you have to do fancy stuff with volatile? 2011-12-12T20:01:07 < jpa-> yeah, volatile would be important there, too 2011-12-12T20:01:08 <+Steffanx> And perhaps use the packed attribute to try to 'force' it to be apcked? 2011-12-12T20:01:28 < jpa-> but none of that will help if the compiler does not know how the hardware should be accessed 2011-12-12T20:02:13 < jpa-> besides, you would get terrible concurrency issues in that way (main thread reads GPIOC->ODR to change it, interrupt triggers and changes it, main thread undoes the change) 2011-12-12T20:02:20 < jpa-> using BSRR and BRR is the way to go 2011-12-12T20:02:21 < quitte> using that bitfield worked perfectly fine - before i accessed it from an isr 2011-12-12T20:02:23 < karlp> packed takes out the spacing, but it won't change the alignement 2011-12-12T20:02:48 < jpa-> quitte: aha, i guess you were bitten by the concurrency instead of the alignment issue 2011-12-12T20:03:12 < quitte> jpa-: the problem wasn't wrong values 2011-12-12T20:03:31 < jpa-> hm 2011-12-12T20:03:44 < quitte> it was that functions that were written behind the isr were executed additionally to the isr 2011-12-12T20:03:47 < jpa-> well then it is not the issues that i know :P 2011-12-12T20:04:20 < jpa-> both the alignment and the concurrency only cause wrong values & overwriting the register with random data 2011-12-12T20:04:54 < jpa-> you may have an heisenbug hiding somewhere else :) 2011-12-12T20:29:38 < quitte> it was IDR not ODR. but i that should make it even less of a problem 2011-12-12T20:32:13 < quitte> unless - using a bitfield may have caused it to write for some reason - which in turn threw an exception - which there was no handler for? 2011-12-12T20:34:50 < jpa-> hmm i can't remember if barely doing an unaligned read causes an exception 2011-12-12T20:35:12 < jpa-> but it should escalate to hardfault, and you would be crazy to not have a hardfault handler 2011-12-12T20:46:42 < quitte> void HardFault_Handler(void){} doesn't get called 2011-12-12T20:47:12 < quitte> what kind of exception would a write to a read only register be? if such a thing exists? 2011-12-12T20:48:50 < quitte> the starup code comes with quite some handlers. none were called, except reset, of course 2011-12-12T20:54:58 < quitte> http://pastebin.com/MKMXb578 2011-12-12T21:14:20 < jpa-> hmm, nothing wrong with that 2011-12-12T21:15:23 < jpa-> it would be more efficient if the pointer was struct {..} * const gpioc_sr_in = .. 2011-12-12T21:16:31 < quitte> what kind of typecast would i use then? 2011-12-12T21:17:20 < jpa-> (struct foobar * const) IIRC 2011-12-12T21:17:44 < jpa-> the "constant pointer to a non-constant value" syntax in C is a bit tricky looking at first :P 2011-12-12T21:20:51 < quitte> (void *) compiled. didn't change a thing 2011-12-12T21:21:32 < quitte> and to me this whole thing with pointers and their type is still giving me a headache 2011-12-12T21:21:42 < jpa-> yeah well, at most it would only eliminate a single LDR there 2011-12-12T21:23:47 < quitte> sometime this week i'll try real hardware. 2011-12-12T21:27:12 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 268 seconds] 2011-12-12T21:29:20 -!- peabody124 [~peabody12@128.249.96.123] has joined ##stm32 2011-12-12T21:57:57 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-12T21:59:38 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-12T22:59:28 -!- Laurenceb_ [~Laurence@host86-178-233-209.range86-178.btcentralplus.com] has joined ##stm32 2011-12-12T23:17:30 -!- peabody124_ [~peabody12@128.249.96.123] has joined ##stm32 2011-12-12T23:17:31 -!- peabody124 [~peabody12@128.249.96.123] has quit [Read error: Connection reset by peer] 2011-12-12T23:17:31 -!- peabody124_ is now known as peabody124 2011-12-12T23:28:14 < quitte> while single stepping it looks like the stm32 is free of overhead for the isrs. no saving and restoring the stack. is that accurate? 2011-12-12T23:30:46 < jpa-> the saving and restoring happens in hardware and takes 6 cycles 2011-12-12T23:30:54 < quitte> i guess it isn't, when i recall the explanations about how a debugger works. 2011-12-12T23:30:55 < jpa-> or was it 12 2011-12-12T23:31:17 < quitte> really? still way better than the pic32 i'm used to 2011-12-12T23:34:49 < jpa-> yeah, and it is quite deterministic 2011-12-12T23:35:08 < jpa-> but IMO DMA avoids many of the situations where you would want low-latency interrupts 2011-12-12T23:35:24 < quitte> what do you mean by deterministic? 2011-12-12T23:35:55 < jpa-> that it always takes the same time (under some conditions etc etc) 2011-12-12T23:36:28 < quitte> ah. 2011-12-12T23:38:06 < quitte> low latency interrupts are nice for dma,too. the first and so far only time i tried dma transfers i was going crazy over trying to switch between transfers 2011-12-12T23:39:38 < jpa-> yeah that is nasty; having two buffers end-to-end and using the "half complete" interrupt to switch is probably the only sane way 2011-12-12T23:43:55 < quitte> i was surprised to find out that on the s3c2442(openmokos cpu) the dma controller has the highest bus priority. so it would block the cpu's memory access. does the stm32 have that problem,too? 2011-12-12T23:45:51 < jpa-> IIRC the stm32 has some kind of round-robin 2011-12-12T23:46:00 < jpa-> so that they both get max. 50% 2011-12-12T23:53:24 -!- peabody124 [~peabody12@128.249.96.123] has quit [Read error: Connection reset by peer] 2011-12-12T23:53:25 -!- peabody124_ [~peabody12@128.249.96.123] has joined ##stm32 2011-12-12T23:54:04 -!- peabody124_ [~peabody12@128.249.96.123] has quit [Remote host closed the connection] 2011-12-12T23:54:23 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 --- Day changed Tue Dec 13 2011 2011-12-13T00:32:13 < quitte> microchip writes their datasheets more understandably. at least if the chapter about timers is any measure 2011-12-13T00:49:25 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 244 seconds] 2011-12-13T01:29:25 < Laurenceb_> F4 has a more sophisticated bus matrix aiui 2011-12-13T01:29:41 < Laurenceb_> so its less of an issue 2011-12-13T01:31:25 < BrainDamage> aiui? 2011-12-13T01:34:49 < Laurenceb_> as i understand it 2011-12-13T01:38:00 -!- peabody124 [~peabody12@128.249.96.21] has quit [Remote host closed the connection] 2011-12-13T01:38:21 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-13T01:56:07 -!- Laurenceb_ [~Laurence@host86-178-233-209.range86-178.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2011-12-13T03:26:37 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Read error: Connection reset by peer] 2011-12-13T03:27:02 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has quit [Remote host closed the connection] 2011-12-13T03:27:05 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [] 2011-12-13T03:32:06 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-13T03:32:08 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has joined ##stm32 2011-12-13T03:32:41 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has joined ##stm32 2011-12-13T03:36:38 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 240 seconds] 2011-12-13T04:14:26 < jnosky> using BSRR and BRR is the way to go 2011-12-13T04:14:38 < jnosky> ^^I agree 100% 2011-12-13T04:14:59 < jnosky> Thats why they have it ;) 2011-12-13T04:15:44 < jnosky> And you dont need to rmw to use those, thats the big bone of it 2011-12-13T04:33:32 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-13T05:24:48 -!- emeb [~ericb@ip72-223-86-178.ph.ph.cox.net] has quit [Quit: Leaving.] 2011-12-13T05:59:40 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has quit [Quit: Leaving...] 2011-12-13T06:06:06 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has joined ##stm32 2011-12-13T06:41:30 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has quit [Quit: Leaving...] 2011-12-13T07:26:50 -!- Eartaker [~Eartaker@c-67-185-76-100.hsd1.wa.comcast.net] has joined ##stm32 2011-12-13T07:26:50 -!- Eartaker [~Eartaker@c-67-185-76-100.hsd1.wa.comcast.net] has quit [Changing host] 2011-12-13T07:26:50 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has joined ##stm32 2011-12-13T08:12:08 -!- quitte [~quitte@tplink.ghb.hs-furtwangen.de] has quit [Ping timeout: 240 seconds] 2011-12-13T08:12:13 -!- quitte [~quitte@tplink.ghb.hs-furtwangen.de] has joined ##stm32 2011-12-13T09:30:12 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 252 seconds] 2011-12-13T09:55:48 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-13T10:09:57 -!- Thorn__ [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 255 seconds] 2011-12-13T17:03:02 -!- Vaati [~fkunecke@osuosc/vaati] has quit [Read error: Operation timed out] 2011-12-13T19:03:52 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-13T19:03:55 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-13T19:28:55 -!- NonaSuomy [~TeknoJuce@bas1-london15-2925075973.dsl.bell.ca] has joined ##stm32 2011-12-13T19:28:55 -!- NonaSuomy [~TeknoJuce@bas1-london15-2925075973.dsl.bell.ca] has quit [Changing host] 2011-12-13T19:28:55 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2011-12-13T19:31:56 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 252 seconds] 2011-12-13T20:59:19 -!- Laurenceb_ [~Laurence@host86-178-233-209.range86-178.btcentralplus.com] has joined ##stm32 2011-12-13T22:25:43 < karlp> huh, I just noticed that the stlinkv2 has an extra IN endpoint. 2011-12-13T22:25:55 < karlp> I bet that's the one to use for the SWV/SWO data 2011-12-13T22:26:07 <+Steffanx> probably yes 2011-12-13T22:29:06 < Laurenceb_> oh sweet 2011-12-13T22:29:12 < Laurenceb_> thatd be cool 2011-12-13T22:30:18 <+Steffanx> Good luck reverse engineering it karlp 2011-12-13T22:36:25 <+Steffanx> Download IAR karlp 2011-12-13T22:36:43 <+Steffanx> it has support for SWO for the STLink/v2 2011-12-13T22:37:10 <+Steffanx> Version 6.21 2011-12-13T22:39:03 < karlp> one day :) 2011-12-13T22:39:15 <+Steffanx> Windows only :) 2011-12-13T22:42:43 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-13T22:43:59 <+Steffanx> Or try Atollic TrueSTUDIO karlp 2011-12-13T22:44:20 <+Steffanx> It has STLink + SWO support, not sure if that combination works 2011-12-13T22:44:21 < Laurenceb_> lanchon-stm32-names.inc:EXTERN (DMAChannel3_IRQHandler) 2011-12-13T22:44:25 < Laurenceb_> ^i dont follow 2011-12-13T22:44:31 < Laurenceb_> where is DMA2 isr? 2011-12-13T22:44:50 <+Steffanx> Isn't it combined with another one? 2011-12-13T22:44:59 < karlp> I have atollic on a windows vm, if it hasn't expired. 2011-12-13T22:45:10 <+Steffanx> 30 days.. 2011-12-13T22:45:49 < karlp> Laurenceb_: have a look at how I set up the vectors in https://github.com/karlp/kkstm32_base/tree/master/startup, 2011-12-13T22:46:13 <+Steffanx> No dma2 2011-12-13T22:46:20 < karlp> I'm kinda happy with being able to define the cortex m3 vectors in the common startup file, and then the different arch vector tables in separate files. 2011-12-13T22:46:28 < karlp> (though, I haven't actually written the files for the other arches yet) 2011-12-13T22:46:38 < Laurenceb_> i still see no DMA2 2011-12-13T22:46:41 < karlp> (this was part of the work to remove the attollic files from the stlink repo) 2011-12-13T22:46:53 < Laurenceb_> im not getting DMA1Channel1 interrupts from adc1 2011-12-13T22:46:57 < Laurenceb_> for some reason 2011-12-13T22:47:04 <+Steffanx> Define it yourself Laurenceb_ :) 2011-12-13T22:47:21 < Laurenceb_> https://github.com/Laurenceb/STM32-Logger/blob/master/interrupts.c 2011-12-13T22:47:27 < Laurenceb_> it compiles ok 2011-12-13T22:47:32 < Laurenceb_> using lanchon 2011-12-13T22:50:11 < Laurenceb_> ./lib/CMSIS_CM3/stm32f10x.h: DMA2_Channel1_IRQn = 56 2011-12-13T22:50:15 < Laurenceb_> that looks ok 2011-12-13T22:50:20 < Laurenceb_> think lanchon is screwed 2011-12-13T22:53:10 < Laurenceb_> how do i disassemble to look at the interrupts section? 2011-12-13T22:53:13 < karlp> lanchon has the ld scripts right, not this: https://github.com/Laurenceb/STM32-Logger/blob/master/lib/CMSIS_CM3/startup/gcc/startup_stm32f10x_md.s 2011-12-13T22:53:27 < karlp> that's where the order and name of the vectors is.. 2011-12-13T22:53:43 < Laurenceb_> ah 2011-12-13T22:54:02 < karlp> I'm guessing, seeing as that's the one that has the .o file? 2011-12-13T22:54:10 < Laurenceb_> DMA1_Channel1_IRQHandler 2011-12-13T22:54:14 < Laurenceb_> oh what the hell 2011-12-13T22:54:21 < Laurenceb_> no wonder it doesnt work 2011-12-13T22:54:52 < karlp> yeah, those vector tables are pretty prone to typos I'd say. 2011-12-13T22:55:05 < karlp> I copied and pasted from the pdf to make mine. 2011-12-13T22:55:48 < Laurenceb_> yeah my usb vector table was screwed too 2011-12-13T22:55:51 <+Steffanx> Lazy basterd :P 2011-12-13T22:55:56 <+Steffanx> ard 2011-12-13T22:56:08 < Laurenceb_> so do names in lanchon have to match the startup file? 2011-12-13T22:57:34 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-13T22:58:56 <+Steffanx> I still have to find the right settings for me codeless kernel extension :( 2011-12-13T22:59:04 <+Steffanx> It still doesn't work 2011-12-13T23:02:13 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-13T23:03:55 < Laurenceb_> whats the point on the lanchon names file? 2011-12-13T23:11:40 < karlp> fuck knows. 2011-12-13T23:12:07 < karlp> as far as I can see, the linker srcipts just need to make sure that the section gets put in the right place, 2011-12-13T23:12:13 < karlp> it shouldn't have any names in it anywhere. 2011-12-13T23:12:22 <+Steffanx> fuck doesn't know karlp 2011-12-13T23:13:02 <+Steffanx> reboot 2011-12-13T23:13:26 <+Steffanx> For the last time, of the codeless kext still doesn't work.. then it's over 2011-12-13T23:13:37 <+Steffanx> No stlink/v1 for me on os x 2011-12-13T23:13:52 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Quit: Leaving] 2011-12-13T23:14:11 < Laurenceb_> ok wut 2011-12-13T23:14:13 < Laurenceb_> void USB_HP_CAN_TX_IRQHandler(void) 2011-12-13T23:14:15 < Laurenceb_> works 2011-12-13T23:14:25 < Laurenceb_> yet its different in the startup 2011-12-13T23:14:47 < Laurenceb_> i need toi try on hardware 2011-12-13T23:16:34 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-13T23:16:37 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-13T23:16:42 < Laurenceb_> ah i see it has to be the same as lanchon file names 2011-12-13T23:18:48 < Laurenceb_> looks like i was correct to start with :( 2011-12-13T23:18:49 <+Steffanx> Laurenceb_ i fix your problem(s) you fix mine 2011-12-13T23:20:33 <+Steffanx> So get yourself a mac + stlink v1 :) 2011-12-13T23:20:58 < karlp> hohoho 2011-12-13T23:21:45 <+Steffanx> I tried to make the kext myself and tried to use the file from the stm8 discovery (seems to use the same pid/vid) 2011-12-13T23:21:56 <+Steffanx> but no luck 2011-12-13T23:22:15 < Laurenceb_> lmao 2011-12-13T23:22:15 <+Steffanx> Unless I screwed something up while messing with the kernel extensions 2011-12-13T23:22:22 < Laurenceb_> doh 2011-12-13T23:22:28 < Laurenceb_> i setup clks wrong i think 2011-12-13T23:22:35 < Laurenceb_> nothing to do with interrupts 2011-12-13T23:22:40 <+Steffanx> :P 2011-12-13T23:22:41 < karlp> this is just to try and make OSX ignore the mass storage part right Steffanx? 2011-12-13T23:22:42 < Laurenceb_> no clk to the dma - i fail 2011-12-13T23:22:48 <+Steffanx> Yeah karlp 2011-12-13T23:23:08 < Laurenceb_> stm kit is all at uni so i cant test to be sure :( 2011-12-13T23:23:14 < karlp> I mentioned it to Uwe tonight, but I don't think he's on OSX either. 2011-12-13T23:23:15 <+Steffanx> This is what someone used for os x 10.5 and an stm8 discovery (i have 10.7) 2011-12-13T23:23:16 <+Steffanx> https://github.com/afaerber/stlink/blob/master/darwin/Info.plist 2011-12-13T23:23:19 < karlp> your best bet might be peabody... 2011-12-13T23:23:43 < karlp> yeah, that afaerber code is where we got the idea that we could take away the sg-utils dependency 2011-12-13T23:24:04 <+Steffanx> It seems to be the only way to disable a driver for a device that uses a standard class driver 2011-12-13T23:24:05 < karlp> and though, if you get an F4 or a 32L board, 2011-12-13T23:24:13 < karlp> it works pretty well for programming the 32VL board too :) 2011-12-13T23:24:24 < karlp> and we all just pretend that the v1 doesn't exist :) 2011-12-13T23:24:42 <+Steffanx> I tried to pretend you don't exists, but i failed 2011-12-13T23:24:57 < karlp> I wonder if it's possible to set the VL board into DFU mode and upgrade it's firmware to stlinkv2? 2011-12-13T23:25:17 <+Steffanx> That would be.. nice, but unlikely 2011-12-13T23:25:47 <+Steffanx> Isn't the schematic of the stlink in the datasheet of the discovery board 2011-12-13T23:26:08 < Tom_itx> yes 2011-12-13T23:26:22 < karlp> well, the stlink hardware dongle can be upgraded to v2 can't it? 2011-12-13T23:26:48 < karlp> I would have thought it ws the same basic hardware as the programmer part of the discovery boards? 2011-12-13T23:29:50 <+Steffanx> Yeah, the stlink :P 2011-12-13T23:30:02 <+Steffanx> Some small differences --- Day changed Wed Dec 14 2011 2011-12-14T01:03:27 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 252 seconds] 2011-12-14T01:52:05 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2011-12-14T01:54:08 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 240 seconds] 2011-12-14T01:58:27 -!- Laurenceb_ [~Laurence@host86-178-233-209.range86-178.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2011-12-14T02:31:24 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-14T02:59:03 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has quit [Quit: By the time you read this I'll already be gone....] 2011-12-14T03:05:42 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-14T03:23:31 -!- peabody124 [~peabody12@108-205-218-4.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2011-12-14T03:55:01 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Quit: leaving] 2011-12-14T04:29:26 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has joined ##stm32 2011-12-14T04:44:10 -!- peabody124 [~peabody12@108-205-218-4.lightspeed.hstntx.sbcglobal.net] has quit [Quit: peabody124] 2011-12-14T04:45:24 -!- peabody124 [~peabody12@108-205-218-4.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2011-12-14T06:02:50 -!- erik-k [~erik-k@71-34-249-33.eugn.qwest.net] has quit [Remote host closed the connection] 2011-12-14T06:43:19 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has quit [Quit: Leaving...] 2011-12-14T08:12:25 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has joined ##stm32 2011-12-14T09:50:06 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has quit [Quit: By the time you read this I'll already be gone....] 2011-12-14T09:54:23 -!- peabody124 [~peabody12@108-205-218-4.lightspeed.hstntx.sbcglobal.net] has quit [Remote host closed the connection] 2011-12-14T09:55:50 -!- peabody124 [~peabody12@108-205-218-4.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2011-12-14T11:17:15 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2011-12-14T12:56:19 < Laurenceb> https://github.com/Laurenceb/STM32-Logger/blob/master/adc.c 2011-12-14T12:56:24 < Laurenceb> does that look sane? 2011-12-14T12:56:30 < Laurenceb> im not getting dma interrupts 2011-12-14T13:11:58 < karlp> apart from all the init code for adc2 being commented for adc1... 2011-12-14T13:12:03 < karlp> but I've never used the dma. 2011-12-14T13:12:19 < karlp> are you sure there isn't some nvic stuff you need to turn on the extra interrupts? 2011-12-14T13:19:57 < Laurenceb> yeah 2011-12-14T13:20:06 < Laurenceb> DMA_ISR_Config() 2011-12-14T13:20:13 < Laurenceb> ive got usart dma working ok before 2011-12-14T13:25:01 < BrainDamage> is it just my impression, or this is a clusterfuck :p? http://www.goodluckbuy.com/51-development-mcu-stm32-arm-cortex-m3-development-board-2-in-2-4-tft-lcd-support-avr.html 2011-12-14T13:28:17 < Laurenceb> wtf 2011-12-14T14:58:12 < quitte> i'm looking at the adc chapter in rm0008 right now. i could need some help about what's going on here. what is an injected channel group? 2011-12-14T14:58:54 < quitte> taking a bunch of samples from another pin while normally sampling from a different pin? 2011-12-14T15:01:26 < quitte> or maybe i need to start wuith a more basic question: for each sample that is taken i have to read that sample from the register in time before the next sample arrives? 2011-12-14T15:04:14 < jpa-> BrainDamage: it looks like the board is for another mcu and they have just added an adapter to make it more "modern" 2011-12-14T15:04:44 < jpa-> i'd rather take the parts separately than as that board :D 2011-12-14T15:05:22 < BrainDamage> hence clusterfuck 2011-12-14T15:06:12 < quitte> hahaha. "add all the things" 2011-12-14T15:19:36 < quitte> i'll ignore the injection thing - it seems that's to solve some problem i need to have first to get it. 2011-12-14T15:20:21 < quitte> is a adc channel always mapped to a unique input pin, or can i have multiple channels on one pin? 2011-12-14T15:28:24 < quitte> ok. afaict a channel always maps to exactly one pin. 2011-12-14T15:53:19 < quitte> where do i find the mappings from the PXn Pins to the ADC Channels? 2011-12-14T16:13:45 < jpa-> they are in the datasheet for the specific device 2011-12-14T16:14:17 < jpa-> (ie. stm32f103 reference manual defines the ADC and stm32f103rb datasheet gives the pins) 2011-12-14T16:26:15 < quitte> thanks. 2011-12-14T18:09:09 -!- peabody124 [~peabody12@108-205-218-4.lightspeed.hstntx.sbcglobal.net] has quit [Quit: peabody124] 2011-12-14T18:30:12 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-14T18:32:13 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-14T19:27:44 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-14T19:27:47 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-14T20:11:35 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Quit: Leaving] 2011-12-14T20:14:16 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-14T20:14:16 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-14T20:18:06 < AK6L> anyone around that wouldn't mind helping an ARM noob with some simple assembly? 2011-12-14T20:18:32 < AK6L> i've been trying for weeks now to get a USART working on this STM32F4 Discovery board, and having very limited success. 2011-12-14T20:21:43 < karlp> is there any particular reason you want to use assembly? 2011-12-14T20:21:59 < karlp> I found the st provided examples with their stdperiph lib worked out just fine. 2011-12-14T20:22:06 < karlp> usart worked almost first go for me. 2011-12-14T20:22:30 < karlp> as with all my experiemtns so far, the hardest thing was getting all the clocks set up, and setting up the pin functions properly 2011-12-14T20:22:40 < AK6L> karlp: i want to use assembly because my ultimate goal is to get this Forth implementation i found, which works on Cortex-M3, working on the STM32F4 Discovery 2011-12-14T20:22:49 < AK6L> and it's written in assembly. 2011-12-14T20:23:46 < AK6L> this is the simple proof-of-concept i'm trying to get working: https://github.com/xunil/riscy-pygness/blob/master/chargen-stm32.asm 2011-12-14T20:24:12 < AK6L> it's just supposed to output ascending low-ascii characters and loop back to the beginning when it hits 'z' 2011-12-14T20:27:03 < karlp> so, what do you get? 2011-12-14T20:32:06 < AK6L> karlp: the same three high-ascii characters over and over 2011-12-14T20:33:41 < AK6L> i have other baffling problems, too 2011-12-14T20:33:53 < AK6L> there's an even simpler program, led-stm32.asm, in that same repo 2011-12-14T20:34:04 < AK6L> when i load that, everything's fine, i can use texane's gdb server and step through it 2011-12-14T20:34:40 < AK6L> but if i load this chargen program, something breaks/freaks out, gdb server doesn't work anymore, and i can no longer use the flash utility (from texane's repo) to write new programs 2011-12-14T20:34:54 < AK6L> have to plug it into a windows box and load the led program back on it 2011-12-14T20:36:20 < AK6L> i'm about ready to toss these discovery boards in the trash. 2011-12-14T20:59:12 < karlp> there was some code committed to the texane repo last night that should help with the disconnect, 2011-12-14T20:59:21 < karlp> it changed the way the debugger detaches from the core. 2011-12-14T20:59:39 < karlp> you could see if that helps, it fixes some problems where the debugger enver worked again for one guy at least, 2011-12-14T21:04:14 -!- quitte [~quitte@tplink.ghb.hs-furtwangen.de] has quit [Ping timeout: 252 seconds] 2011-12-14T21:05:30 -!- quitte [~quitte@tplink.ghb.hs-furtwangen.de] has joined ##stm32 2011-12-14T21:10:08 < AK6L> karlp: i did a git pull and rebuild this morning to test it out, didn't seem to help. 2011-12-14T21:11:11 <+Steffanx> Apple is weird.. In their docs they say you should NEVER use "IOProbeScore" in a kext. An Apple Engineer says you sometimes have to :) 2011-12-14T21:15:21 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Read error: Connection reset by peer] 2011-12-14T21:15:37 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-14T21:15:40 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-14T21:30:49 <+Steffanx> Someone here really into USB? 2011-12-14T21:31:15 <+Steffanx> Especially on how driver matching is done.. 2011-12-14T21:31:38 < karlp> you still poking the VL board? 2011-12-14T21:31:41 <+Steffanx> Yeah 2011-12-14T21:32:17 <+Steffanx> I can see my codeless kext, but it still doesn't select MY driver 2011-12-14T21:33:38 < karlp> could be special case for mass storage? to try and be helpful to any and all flash cards? 2011-12-14T21:33:41 * karlp shrugs 2011-12-14T21:34:11 <+Steffanx> probably not.. I think i just don't understand how it works :) 2011-12-14T21:43:20 <+Steffanx> I can cheat.. but that would fuck up all drivers probably :P 2011-12-14T21:43:26 <+Steffanx> or all usb devices 2011-12-14T21:52:04 < karlp> yeah, usb mass storage is a pretty large class of devices .) 2011-12-14T21:52:13 < karlp> you don't want to trample that one too badly :) 2011-12-14T22:02:55 <+Steffanx> I WANT to have it functional karlp :) 2011-12-14T22:12:15 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 244 seconds] 2011-12-14T22:12:43 -!- Laurenceb_ [~Laurence@host109-153-80-5.range109-153.btcentralplus.com] has joined ##stm32 2011-12-14T22:17:58 -!- peabody124 [~peabody12@128.249.96.123] has joined ##stm32 2011-12-14T22:38:14 <+Steffanx> I also wonder why the usb logs also mentions "STM32 STlink ….. is a AppleUSBCDC" 2011-12-14T22:40:54 < BrainDamage> my friend said that probably the stlink in the descriptor it shows it as CDC that is controllable trough standard driver 2011-12-14T22:43:13 <+Steffanx> Anyway, I'm @ my "I give up" point again 2011-12-14T23:03:19 <+Steffanx> Oh, I'm still messing with it 2011-12-14T23:03:25 <+Steffanx> At least.. i WAS 2011-12-14T23:03:30 <+Steffanx> I gave up for now 2011-12-14T23:04:21 <+Steffanx> Yeah 2011-12-14T23:04:55 <+Steffanx> I tried to mess with a codeless kext 2011-12-14T23:06:34 <+Steffanx> What you tried to do anyway? Afaik the usb mass storage class claims the device, so it's unusable for other applications 2011-12-14T23:06:43 <+Steffanx> Not sure about the though 2011-12-14T23:08:45 <+Steffanx> You have the debug version of the iousbfamily? 2011-12-14T23:08:51 <+Steffanx> I have, you can see it there.. 2011-12-14T23:09:50 <+Steffanx> If you install it.. be sure you have the right version, otherwise you'll f*ck up your system 2011-12-14T23:12:00 <+Steffanx> Nah, maybe not.. it's a buggy implementation of the usbms class.. 2011-12-14T23:12:34 <+Steffanx> Linux doesn't like it either. It gave lots of I/O errors when i tried it with ubuntu server :) 2011-12-14T23:12:53 <+Steffanx> Do you run lion? 2011-12-14T23:13:24 <+Steffanx> There is this for os x 10.5 .. 2011-12-14T23:13:24 <+Steffanx> https://github.com/afaerber/stlink 2011-12-14T23:13:33 <+Steffanx> Maybe it works for snow leopard too 2011-12-14T23:13:42 <+Steffanx> It doesn't seem to work for me 2011-12-14T23:14:24 < karlp> Steffanx: what errors are you gettting on linux? this with a VL board? 2011-12-14T23:14:49 <+Steffanx> It's really the kernel which doesn't like it karlp 2011-12-14T23:14:54 <+Steffanx> I/O errors.. 2011-12-14T23:14:57 < karlp> you _do_ need the modprobe ignore config 2011-12-14T23:15:04 <+Steffanx> Ah 2011-12-14T23:15:15 <+Steffanx> That's probably it 2011-12-14T23:15:29 <+Steffanx> but that doesn't solve the os x issues :P 2011-12-14T23:15:37 < karlp> no, but what you want on OSX is the same thing, 2011-12-14T23:15:44 < karlp> tell the kernel to completely ignore the VID/PID 2011-12-14T23:16:10 < karlp> and don't even attempt to let the mass storage driver try _anything_ 2011-12-14T23:17:38 <+Steffanx> http://pastebin.com/QLPYHZxX …. that's what i see 2011-12-14T23:17:57 <+Steffanx> I'm still not sure WHY it selects the IOUSBMassStorageClass 2011-12-14T23:19:10 < karlp> Cpu86: http://pastebin.com/9dp8wtjY 2011-12-14T23:19:15 < karlp> it'll be the same... 2011-12-14T23:19:21 <+Steffanx> It is 2011-12-14T23:19:28 < karlp> the device declares itself as a mass storage device 2011-12-14T23:19:39 < karlp> you just need to tell the kernel to stop trying to load the usb mass storage driver 2011-12-14T23:19:47 < karlp> because it's implementation of said class is busted 2011-12-14T23:19:54 <+Steffanx> You can do that with a codeless kext, but i failed at that :P 2011-12-14T23:20:15 <+Steffanx> maybe some new lion feature? 2011-12-14T23:20:27 < karlp> steve decided you didn't need to do it. 2011-12-14T23:20:38 <+Steffanx> steve? 2011-12-14T23:20:53 <+Steffanx> Can you unload the mass storage class Cpu86 ? 2011-12-14T23:21:07 <+Steffanx> sudo kextunload /System/Library/Extensions/IOUSBMassStorageClass.kext (use at own risk ofcourse) 2011-12-14T23:21:20 < karlp> jobs. 2011-12-14T23:21:31 <+Steffanx> Ah steve.. steve is dead so i don't care :p 2011-12-14T23:22:15 <+Steffanx> 10875.865 [5] Finding driver for interface #0 of STM32 STLink, matching personality using com.apple.iokit.IOUSBMassStorageClass, score: 50000, wildCard = 0 2011-12-14T23:22:15 <+Steffanx> 10875.865 [6] Matched: bInterfaceClass (8) bInterfaceSubClass (6) 2011-12-14T23:22:22 <+Steffanx> ^^ that's why it matches Cpu86 :) 2011-12-14T23:23:17 <+Steffanx> reboot 2011-12-14T23:23:28 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Quit: Leaving] 2011-12-14T23:23:46 < BrainDamage> weeee, my f4 is playing nyan cat tune >_> 2011-12-14T23:24:04 < BrainDamage> ( with blinking rainbow ofc ) 2011-12-14T23:24:05 * karlp cheers 2011-12-14T23:24:23 < karlp> now _that's_ an appropriate demo 2011-12-14T23:24:34 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-14T23:26:36 < karlp> no, 2011-12-14T23:26:46 < Laurenceb_> we need video of this 2011-12-14T23:26:55 < Laurenceb_> for epicness 2011-12-14T23:27:38 < karlp> Cpu86: modeswitch is pretty well understood these days, it wouldn't have been a big deal either, but regardless, the stlinkv1 doesn't do that. 2011-12-14T23:32:07 -!- Laurenceb_ [~Laurence@host109-153-80-5.range109-153.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2011-12-14T23:36:39 -!- peabody124 [~peabody12@128.249.96.123] has quit [Quit: peabody124] 2011-12-14T23:41:29 -!- peabody124 [~peabody12@128.249.96.123] has joined ##stm32 2011-12-14T23:42:59 -!- peabody124 [~peabody12@128.249.96.123] has quit [Remote host closed the connection] 2011-12-14T23:43:16 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-14T23:46:46 -!- Laurenceb_ [~Laurence@host86-173-192-214.range86-173.btcentralplus.com] has joined ##stm32 2011-12-14T23:47:09 < karlp> if you're going to upload new firmware, you might as well just go all the way and upload some _other_ firmware --- Day changed Thu Dec 15 2011 2011-12-15T00:02:56 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-15T00:02:56 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-15T00:03:27 <+Steffanx> the stlink v1 is soo nice.. os x won't boot while the stlink is connecte 2011-12-15T00:03:29 <+Steffanx> d 2011-12-15T00:11:09 < BrainDamage> loool 2011-12-15T00:12:44 < karlp> neither does linux, 2011-12-15T00:12:53 < karlp> that's actually a bios issue, not an OS issue. 2011-12-15T00:13:12 < karlp> it's trying to work out if it's bootable 2011-12-15T00:13:26 <+Steffanx> my pc has no bios karlp :P 2011-12-15T00:13:57 < karlp> if you say so :) 2011-12-15T00:14:11 <+Steffanx> mac.. => EFI 2011-12-15T00:14:22 < karlp> what, a special name for bios? 2011-12-15T00:14:25 < karlp> it's the same thing 2011-12-15T00:14:37 <+Steffanx> It's a replacement :P 2011-12-15T00:14:57 < karlp> steve didn't like calling it the same as anyone else... 2011-12-15T00:15:13 < AK6L> just because it doesn't say Phoenix or Award when you boot up doesn't mean it isn't essentially a set of Basic Input/Output routines 2011-12-15T00:15:26 < AK6L> EFI wasn't apple's invention. 2011-12-15T00:15:31 <+Steffanx> Sorry, this time it was Intel 2011-12-15T00:16:56 <+Steffanx> And it's probably the bootloader, the EFI 2011-12-15T00:17:10 <+Steffanx> *not efi 2011-12-15T00:17:25 <+Steffanx> or whatever :) 2011-12-15T00:17:36 <+Steffanx> I don't care, it doesn't boot when the stlink v1 is connected 2011-12-15T00:23:51 <+Steffanx> i'll get myself a stmf4 discovery 2011-12-15T00:24:28 <+Steffanx> The easy solution 2011-12-15T00:25:31 < karlp> or a 32L 2011-12-15T00:25:48 < Laurenceb_> oh it thinks its a mass storage thing so tries to boot from it 2011-12-15T00:26:33 <+Steffanx> Yeah, but MOOOAAAR speed is better karlp 2011-12-15T00:26:49 <+Steffanx> Yeah, don't you like that Laurenceb_ 2011-12-15T00:28:32 <+Steffanx> Can you do something for me Laurenceb_ ? 2011-12-15T00:28:37 < Laurenceb_> what 2011-12-15T00:28:56 <+Steffanx> Changed your alternative nick to _Laurenceb or rewrite my client? :) 2011-12-15T00:29:20 <+Steffanx> *-d 2011-12-15T00:29:37 < karlp> what does that do to your client? 2011-12-15T00:30:01 <+Steffanx> It can't autocomplete his nick 2011-12-15T00:31:25 < Laurenceb_> heh 2011-12-15T00:31:36 < Laurenceb_> i though _ on the end was standard for alternative? 2011-12-15T00:31:52 <+Steffanx> It probably is, but my client sucks :P 2011-12-15T00:31:58 < Laurenceb_> cant now - its running on my work machine :P 2011-12-15T00:32:07 < karlp> your client sucks Steffanx 2011-12-15T00:32:20 <+Steffanx> Yeah, blame xchat aqua 2011-12-15T01:01:46 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Quit: Leaving] 2011-12-15T01:02:00 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-15T01:02:03 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-15T01:11:55 -!- monode [bc1bbd76@gateway/web/freenode/ip.188.27.189.118] has joined ##stm32 2011-12-15T01:21:22 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Read error: Connection reset by peer] 2011-12-15T01:27:27 -!- monode [bc1bbd76@gateway/web/freenode/ip.188.27.189.118] has quit [Ping timeout: 258 seconds] 2011-12-15T02:22:07 -!- Laurenceb_ [~Laurence@host86-173-192-214.range86-173.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2011-12-15T02:35:32 -!- phantone [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-15T02:36:25 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Disconnected by services] 2011-12-15T02:36:28 -!- phantone is now known as phantoxe 2011-12-15T03:05:03 -!- dekar [~dekar@ip-80-226-0-1.vodafone-net.de] has joined ##stm32 2011-12-15T03:15:23 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-15T03:16:03 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 244 seconds] 2011-12-15T04:15:48 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 255 seconds] 2011-12-15T04:35:08 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-15T05:46:47 -!- dekar [~dekar@ip-80-226-0-1.vodafone-net.de] has quit [Ping timeout: 240 seconds] 2011-12-15T05:51:05 -!- dekar [~dekar@ip-80-226-0-1.vodafone-net.de] has joined ##stm32 2011-12-15T08:25:22 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Read error: No route to host] 2011-12-15T08:25:42 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-15T08:29:56 -!- dekar [~dekar@ip-80-226-0-1.vodafone-net.de] has quit [Ping timeout: 240 seconds] 2011-12-15T13:05:08 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 240 seconds] 2011-12-15T13:05:27 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-15T13:05:30 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-15T13:21:32 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-15T13:35:07 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Quit: leaving] 2011-12-15T13:42:00 -!- dekar_ [~dekar@ip-80-226-0-1.vodafone-net.de] has joined ##stm32 2011-12-15T14:29:43 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2011-12-15T14:52:28 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-15T15:06:23 -!- dekar__ [~dekar@ip-80-226-0-1.vodafone-net.de] has joined ##stm32 2011-12-15T15:06:23 -!- dekar_ [~dekar@ip-80-226-0-1.vodafone-net.de] has quit [Read error: Connection reset by peer] 2011-12-15T15:06:48 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Quit: Lost terminal] 2011-12-15T15:16:24 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has quit [Ping timeout: 255 seconds] 2011-12-15T15:18:12 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [Ping timeout: 255 seconds] 2011-12-15T15:21:46 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has joined ##stm32 2011-12-15T16:48:52 -!- dekar__ [~dekar@ip-80-226-0-1.vodafone-net.de] has quit [Ping timeout: 240 seconds] 2011-12-15T16:49:15 -!- dekar_ [~dekar@ip-80-226-0-1.vodafone-net.de] has joined ##stm32 2011-12-15T17:04:23 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-15T17:09:32 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-15T17:13:50 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Quit: leaving] 2011-12-15T17:14:08 -!- dekar_ [~dekar@ip-80-226-0-1.vodafone-net.de] has quit [Read error: Connection reset by peer] 2011-12-15T17:14:32 -!- dekar_ [~dekar@ip-80-226-0-1.vodafone-net.de] has joined ##stm32 2011-12-15T17:14:46 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-15T17:21:44 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-15T17:29:10 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-15T17:43:08 -!- dekar_ [~dekar@ip-80-226-0-1.vodafone-net.de] has quit [Ping timeout: 240 seconds] 2011-12-15T17:59:10 -!- dekar_ [~dekar@ip-80-226-0-1.vodafone-net.de] has joined ##stm32 2011-12-15T18:18:14 -!- dekar_ [~dekar@ip-80-226-0-1.vodafone-net.de] has quit [Quit: This computer has gone to sleep] 2011-12-15T18:54:10 -!- dekar_ [~dekar@studpool-wlan-75-82.fs.fbi.h-da.de] has joined ##stm32 2011-12-15T18:58:27 -!- dekar_ [~dekar@studpool-wlan-75-82.fs.fbi.h-da.de] has quit [Ping timeout: 244 seconds] 2011-12-15T19:04:36 -!- dekar_ [~dekar@studpool-wlan-75-82.fs.fbi.h-da.de] has joined ##stm32 2011-12-15T19:23:38 -!- quitte [~quitte@tplink.ghb.hs-furtwangen.de] has quit [Ping timeout: 240 seconds] 2011-12-15T19:23:43 -!- quitte [~quitte@tplink.ghb.hs-furtwangen.de] has joined ##stm32 2011-12-15T19:38:12 -!- dekar_ [~dekar@studpool-wlan-75-82.fs.fbi.h-da.de] has quit [Quit: This computer has gone to sleep] 2011-12-15T19:41:28 -!- dekar_ [~dekar@studpool-wlan-75-82.fs.fbi.h-da.de] has joined ##stm32 2011-12-15T19:56:44 -!- dekar_ [~dekar@studpool-wlan-75-82.fs.fbi.h-da.de] has quit [Quit: This computer has gone to sleep] 2011-12-15T20:05:41 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2011-12-15T20:31:08 -!- dekar_ [~dekar@drms-590cf1d1.pool.mediaWays.net] has joined ##stm32 2011-12-15T20:40:44 -!- dekar__ [~dekar@drms-590cf1d1.pool.mediaWays.net] has joined ##stm32 2011-12-15T20:43:34 -!- dekar_ [~dekar@drms-590cf1d1.pool.mediaWays.net] has quit [Ping timeout: 252 seconds] 2011-12-15T20:43:42 -!- dekar_ [~dekar@drms-590cf1d1.pool.mediaWays.net] has joined ##stm32 2011-12-15T20:45:03 -!- dekar__ [~dekar@drms-590cf1d1.pool.mediaWays.net] has quit [Ping timeout: 245 seconds] 2011-12-15T20:55:45 -!- Laurenceb_ [~Laurence@host86-173-192-214.range86-173.btcentralplus.com] has joined ##stm32 2011-12-15T21:08:16 -!- dekar_ [~dekar@drms-590cf1d1.pool.mediaWays.net] has quit [Quit: Leaving] 2011-12-15T22:06:48 -!- BrainDamage [BrainDamag@i.love.tiltshellz.org] has quit [Ping timeout: 252 seconds] 2011-12-15T22:14:38 -!- BrainDamage [BrainDamag@i.love.tiltshellz.org] has joined ##stm32 2011-12-15T22:19:57 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Read error: Connection reset by peer] 2011-12-15T22:34:00 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-15T23:11:37 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 --- Day changed Fri Dec 16 2011 2011-12-16T00:55:46 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Quit: leaving] 2011-12-16T01:16:04 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 240 seconds] 2011-12-16T01:16:24 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-16T01:16:27 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-16T01:30:58 -!- dekar_ [~dekar@ip-80-226-0-1.vodafone-net.de] has joined ##stm32 2011-12-16T02:08:27 -!- Laurenceb_ [~Laurence@host86-173-192-214.range86-173.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2011-12-16T02:40:51 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has joined ##stm32 2011-12-16T03:12:27 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has joined ##stm32 2011-12-16T03:19:09 -!- peabody124_ [~peabody12@128.249.96.123] has joined ##stm32 2011-12-16T03:21:10 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 244 seconds] 2011-12-16T03:21:10 -!- peabody124_ [~peabody12@128.249.96.123] has quit [Read error: Connection reset by peer] 2011-12-16T03:21:15 -!- peabody124 [~peabody12@128.249.96.123] has joined ##stm32 2011-12-16T03:35:18 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has quit [Ping timeout: 255 seconds] 2011-12-16T03:38:59 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has joined ##stm32 2011-12-16T03:39:57 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-16T03:41:50 -!- peabody124 [~peabody12@128.249.96.123] has quit [Read error: Connection reset by peer] 2011-12-16T03:42:50 -!- peabody124 [~peabody12@128.249.96.123] has joined ##stm32 2011-12-16T03:52:47 -!- peabody124 [~peabody12@128.249.96.123] has quit [Read error: Connection reset by peer] 2011-12-16T03:52:55 -!- peabody124 [~peabody12@128.249.96.123] has joined ##stm32 2011-12-16T04:06:06 -!- peabody124_ [~peabody12@128.249.96.123] has joined ##stm32 2011-12-16T04:06:06 -!- peabody124 [~peabody12@128.249.96.123] has quit [Read error: Connection reset by peer] 2011-12-16T04:06:07 -!- peabody124_ is now known as peabody124 2011-12-16T04:08:42 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 244 seconds] 2011-12-16T04:13:08 -!- dekar_ [~dekar@ip-80-226-0-1.vodafone-net.de] has quit [Ping timeout: 240 seconds] 2011-12-16T04:21:18 -!- dekar [~dekar@ip-80-226-0-1.vodafone-net.de] has joined ##stm32 2011-12-16T04:32:10 -!- peabody124 [~peabody12@128.249.96.123] has quit [Read error: Connection reset by peer] 2011-12-16T04:32:42 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-16T04:35:30 -!- dekar_ [~dekar@ip-80-226-0-1.vodafone-net.de] has joined ##stm32 2011-12-16T04:35:48 -!- dekar [~dekar@ip-80-226-0-1.vodafone-net.de] has quit [Read error: No route to host] 2011-12-16T05:02:36 -!- dekar_ [~dekar@ip-80-226-0-1.vodafone-net.de] has quit [Ping timeout: 252 seconds] 2011-12-16T05:26:56 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 240 seconds] 2011-12-16T05:35:54 -!- dekar [~dekar@ip-80-226-0-1.vodafone-net.de] has joined ##stm32 2011-12-16T05:38:05 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has quit [Quit: Leaving...] 2011-12-16T05:45:01 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-16T05:57:55 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Read error: Connection reset by peer] 2011-12-16T05:58:56 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-16T06:11:13 < Tom_itx> what's default int size on arm? 2011-12-16T06:26:42 -!- dekar [~dekar@ip-80-226-0-1.vodafone-net.de] has quit [Ping timeout: 252 seconds] 2011-12-16T08:52:57 < jaeckel> int size shall be the native processor word length 2011-12-16T08:53:03 < jaeckel> 32bit 2011-12-16T09:07:11 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has quit [Ping timeout: 252 seconds] 2011-12-16T11:54:22 -!- dekar_ [~dekar@ip-80-226-0-1.vodafone-net.de] has joined ##stm32 2011-12-16T11:55:55 -!- theAdib [~adib@dslb-088-074-159-228.pools.arcor-ip.net] has joined ##stm32 2011-12-16T12:05:49 < karlp> jaeckel: shall, but won't always be. 2011-12-16T12:05:54 < karlp> int on avr is not 8bits. 2011-12-16T12:08:47 < Tom_itx> 16? 2011-12-16T12:08:53 < Tom_itx> and char 8? 2011-12-16T12:10:07 < karlp> on avr, yes, int is 16, char is 8. 2011-12-16T12:10:14 < karlp> and double is only 32. 2011-12-16T12:11:25 < jpa-> you mean long? 2011-12-16T12:11:35 < jpa-> or do they have shorter floating point types too? 2011-12-16T12:13:26 < karlp> double on avr is the same size as float. 2011-12-16T12:13:35 < karlp> both are 32bit 2011-12-16T12:13:55 < jpa-> oh 2011-12-16T12:14:07 < jaeckel> karlp: we're talkin about arm don't we? :D 2011-12-16T12:14:11 < jaeckel> and avr != arm 2011-12-16T12:15:04 < jpa-> well your general rule is not much use if it is not general :) 2011-12-16T12:15:47 < jaeckel> uhm ok, it should've added a 'for arm' at the end of my rule :D 2011-12-16T12:16:09 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-16T12:16:10 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-16T12:16:51 < jaeckel> and thanks for the hint ;) 2011-12-16T12:16:58 < jaeckel> I'll never forget that again 2011-12-16T12:17:41 < jpa-> ,) 2011-12-16T12:19:36 < karlp> jaeckel: sure, but you made a pretty blanket statement about "native processor word length" 2011-12-16T12:19:55 < karlp> yeah, what jpa said. 2011-12-16T12:20:04 < karlp> I should read the scrollback entirely, not just hte highlighted lines 2011-12-16T12:28:32 < BrainDamage> int is guaranteed to be at least 16 bits, on all platforms 2011-12-16T12:29:00 < BrainDamage> that's all the spec says :/ 2011-12-16T12:37:04 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2011-12-16T12:41:59 < quitte> BrainDamage: #include 2011-12-16T12:42:39 < BrainDamage> quitte: sure, there's size specific variables, which you should use when size is important 2011-12-16T12:42:55 < karlp> quitte: I think Tom_itx was the original question asker... 2011-12-16T12:42:57 < BrainDamage> which is actually my point 2011-12-16T12:42:59 < quitte> didn't read the backlog 2011-12-16T12:51:40 -!- dekar_ [~dekar@ip-80-226-0-1.vodafone-net.de] has quit [Ping timeout: 252 seconds] 2011-12-16T12:52:47 -!- dekar_ [~dekar@ip-109-84-0-68.web.vodafone.de] has joined ##stm32 2011-12-16T13:19:40 -!- dekar_ [~dekar@ip-109-84-0-68.web.vodafone.de] has quit [Ping timeout: 240 seconds] 2011-12-16T13:39:34 -!- dekar_ [~dekar@ip-109-84-0-68.web.vodafone.de] has joined ##stm32 2011-12-16T14:29:15 < Thorn> FreeRTOS V7.1.0 has been released. This ... adds Cortex-M4F ports for IAR and Keil --- why no gcc? 2011-12-16T14:40:16 -!- quitte [~quitte@tplink.ghb.hs-furtwangen.de] has quit [Ping timeout: 276 seconds] 2011-12-16T14:40:51 -!- quitte [~quitte@tplink.ghb.hs-furtwangen.de] has joined ##stm32 2011-12-16T15:00:14 <+Steffanx> You have to do that yourself? 2011-12-16T15:00:21 <+Steffanx> I guess IAR and Keil did the ports.. 2011-12-16T15:12:30 <+Steffanx> It works? 2011-12-16T15:12:47 <+Steffanx> How? 2011-12-16T15:13:22 <+Steffanx> I have it 2011-12-16T15:13:34 <+Steffanx> but i couldn't get my codeless kext functional :( 2011-12-16T15:14:11 <+Steffanx> ok :) 2011-12-16T15:14:13 -!- quitte [~quitte@tplink.ghb.hs-furtwangen.de] has quit [Ping timeout: 245 seconds] 2011-12-16T15:14:19 -!- quitte [~quitte@tplink.ghb.hs-furtwangen.de] has joined ##stm32 2011-12-16T15:14:46 <+Steffanx> You used that info.plist of a project on github ? 2011-12-16T15:16:10 <+Steffanx> Oh, this isn't a codeless kext, this is one with 'code' :) .. 2011-12-16T15:17:06 <+Steffanx> What did it say? 2011-12-16T15:19:43 <+Steffanx> You placed it in the extension directory and rebooted? 2011-12-16T15:24:55 < karlp> congratulations! 2011-12-16T15:25:30 <+Steffanx> It doesn't work for me yet 2011-12-16T15:27:21 -!- dekar_ [~dekar@ip-109-84-0-68.web.vodafone.de] has quit [Ping timeout: 268 seconds] 2011-12-16T15:28:25 <+Steffanx> 32 vs 64 bit perhaps? 2011-12-16T15:28:26 <+Steffanx> Can't load VendorSpecificDriver.kext - no code for running kernel's architecture. 2011-12-16T15:30:43 <+Steffanx> Yay 2011-12-16T15:30:44 <+Steffanx> Dependency Resolution Failures: 2011-12-16T15:30:44 <+Steffanx> 64-bit kexts must use com.apple.kpi.* libraries, not com.apple.kernel* libraries. 2011-12-16T15:32:40 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-16T15:38:36 <+Steffanx> :) 2011-12-16T15:38:39 <+Steffanx> Now it's codeless 2011-12-16T15:40:27 < karlp> so now it's just a file you drop in a directory and "restart" something? 2011-12-16T15:42:52 -!- theAdib [~adib@dslb-088-074-159-228.pools.arcor-ip.net] has quit [Ping timeout: 240 seconds] 2011-12-16T15:42:53 <+Steffanx> Yeah, and it's gone after a reboot 2011-12-16T15:42:56 <+Steffanx> 'gone' 2011-12-16T15:46:00 <+Steffanx> hmpf, no luck yet for me 2011-12-16T15:48:35 <+Steffanx> It builts, but doesn't load 2011-12-16T15:49:38 <+Steffanx> What did you do to remove that executable? 2011-12-16T15:51:32 <+Steffanx> No need to kill the kext deamon? 2011-12-16T15:52:55 <+Steffanx> That always seems to fail here.. 2011-12-16T15:53:09 <+Steffanx> I had that with my own kext too 2011-12-16T15:54:58 <+Steffanx> it loads now, but fails to unload :) 2011-12-16T15:56:21 <+Steffanx> No still loads the scsi stuff 2011-12-16T15:58:09 <+Steffanx> No 2011-12-16T15:58:18 <+Steffanx> The same board as you have 2011-12-16T15:58:31 <+Steffanx> Wha, it works :P 2011-12-16T15:58:54 <+Steffanx> After some changes 2011-12-16T15:59:13 <+Steffanx> I still wonder why this DOES work and my version didn't 2011-12-16T15:59:18 <+Steffanx> It's almost the same 2011-12-16T16:00:22 <+Steffanx> Oh, i thought that mr BrainDamage said you have a stm32vl .. 2011-12-16T16:00:42 <+Steffanx> *an 2011-12-16T16:00:50 <+Steffanx> but it seems to be the same :) 2011-12-16T16:01:06 < BrainDamage> no, I have the vl, and I gave him that 2011-12-16T16:01:15 <+Steffanx> Yes Cpu86 2011-12-16T16:01:23 < BrainDamage> they mount the same firmware tough 2011-12-16T16:01:25 <+Steffanx> I changed somethings in your version and now it works Cpu86 2011-12-16T16:01:48 <+Steffanx> kernel => kpi and i changed the version from 6 to 11.2 2011-12-16T16:01:49 <+Steffanx> .0 2011-12-16T16:02:54 <+Steffanx> Yeah i guess so 2011-12-16T16:03:43 <+Steffanx> I wonder why it didn't complain about the kernel=>kpi with my kext though 2011-12-16T16:09:25 <+Steffanx> You now can remove that project too, and just share the Info.plist 2011-12-16T16:13:30 <+Steffanx> 'built' :P 2011-12-16T16:13:41 <+Steffanx> It's just a directory, with a dir contents and a info.plist 2011-12-16T16:13:43 < BrainDamage> share both? 2011-12-16T16:13:58 <+Steffanx> A directory with an extension, just like .app 2011-12-16T16:13:59 <+Steffanx> :) 2011-12-16T16:14:12 <+Steffanx> I like that 2011-12-16T16:15:58 <+Steffanx> Argh, i changed something :) 2011-12-16T16:16:28 <+Steffanx> Now it doesn't seem to work anymore 2011-12-16T16:17:13 <+Steffanx> And now it does, weird OS .. OS X 2011-12-16T16:18:35 <+Steffanx> I see they call it 'XXX_shield" or something like that all the time 2011-12-16T16:18:42 <+Steffanx> Where XXX is hte productname 2011-12-16T16:22:20 <+Steffanx> Yeah :P 2011-12-16T16:22:30 * Steffanx goes for a reboot to clear up the mess he made 2011-12-16T16:22:45 <+Steffanx> *clean 2011-12-16T16:22:57 <+Steffanx> I should :p 2011-12-16T16:23:15 <+Steffanx> How do you clean up the kext mess you made? 2011-12-16T16:23:27 <+Steffanx> I want to be 100% sure i have the right/most recent version 2011-12-16T16:23:39 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Quit: Leaving] 2011-12-16T16:26:33 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-16T16:26:37 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-16T16:32:53 -!- dekar_ [~dekar@ip-109-84-0-68.web.vodafone.de] has joined ##stm32 2011-12-16T16:32:55 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Quit: Leaving] 2011-12-16T16:36:14 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-16T16:36:17 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-16T16:36:33 <+Steffanx> OS X loves me.. my keyboard didn't work :S 2011-12-16T16:38:26 <+Steffanx> So I really need my version Cpu86 2011-12-16T16:38:37 <+Steffanx> Your version, without code loads, but doesn't work 2011-12-16T16:38:55 <+Steffanx> My version with the kpi instead of kernel and another version works 2011-12-16T16:40:00 <+Steffanx> So that was the problem with my codeless kext too.. i also used com.apple.kernel all the time 2011-12-16T16:42:18 < BrainDamage> provide both? 2011-12-16T16:42:27 < BrainDamage> one for lion, one for leopard? 2011-12-16T16:42:38 <+Steffanx> C'est possible :) 2011-12-16T16:44:26 < BrainDamage> at least it gives something working for people, until the nature of difference has been ironed out 2011-12-16T16:44:57 -!- quitte [~quitte@tplink.ghb.hs-furtwangen.de] has quit [Read error: No route to host] 2011-12-16T16:45:09 <+Steffanx> Found a nice name yet Cpu86 ? 2011-12-16T16:49:46 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Read error: No route to host] 2011-12-16T16:51:00 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-16T16:51:04 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-16T16:51:32 <+Steffanx> !@#$%ˆ& OS X :( 2011-12-16T16:51:46 <+Steffanx> Flash/Chrome made os x hang 2011-12-16T16:52:17 <+Steffanx> Safari.. don't talk about that please 2011-12-16T16:52:31 <+Steffanx> Safari is/was big crap in Lion 2011-12-16T16:52:41 <+Steffanx> I guess it was, there's an update, but i didn't install it yet 2011-12-16T16:53:44 <+Steffanx> I was a slow memory eater 2011-12-16T16:53:58 <+Steffanx> And a little unstable 2011-12-16T16:54:30 <+Steffanx> I go for stlink_shield 2011-12-16T16:55:28 < BrainDamage> The Bundle, the Dummy, and the Ugly hack ? 2011-12-16T16:55:35 <+Steffanx> Yeah :P 2011-12-16T16:56:18 <+Steffanx> That's the BundleName BrainDamage 2011-12-16T16:56:39 < Laurenceb> lol 2011-12-16T16:57:32 <+Steffanx> Does that even matter? 2011-12-16T16:57:58 <+Steffanx> Actually it's not a WTF.. it's just designed like that :) 2011-12-16T16:58:27 <+Steffanx> It is? 2011-12-16T16:59:12 <+Steffanx> Oh, no :) 2011-12-16T17:00:01 <+Steffanx> I wonder if that bundle identifier really matters 2011-12-16T17:00:18 <+Steffanx> On the internet they also seem to use things like 'com.libusb.XXX_shield 2011-12-16T17:15:21 < Laurenceb> "just works" 2011-12-16T17:15:40 <+Steffanx> What hwat Laurenceb ? 2011-12-16T17:15:52 < Laurenceb> hehe 2011-12-16T17:16:58 <+Steffanx> what 2011-12-16T17:18:05 <+Steffanx> Yes? 2011-12-16T17:20:53 <+Steffanx> Me too, but i'm pretty sure only kpi works for me 2011-12-16T17:22:30 <+Steffanx> When I use kextstat, i don't even see any kext 'kernel' version 2011-12-16T17:22:58 <+Steffanx> They're all kpi 2011-12-16T17:23:41 <+Steffanx> Yes 2011-12-16T17:23:45 <+Steffanx> And some others 2011-12-16T17:25:22 <+Steffanx> It really seems to be a 32 vs 64 bit issue 2011-12-16T17:26:00 <+Steffanx> As first step maybe try to get it into texane's repo on github :) 2011-12-16T17:26:05 < dekar_> Steffanx, code less next stopped working on lion for me, gives me some architecture error on the syslog 2011-12-16T17:26:16 < dekar_> I switched to HID-API 2011-12-16T17:26:19 <+Steffanx> It works for me now :) 2011-12-16T17:26:33 < dekar_> neat, though HID-API is the way to go imo 2011-12-16T17:26:42 <+Steffanx> I switched from com.apple.kernel to com.apple.kpi 2011-12-16T17:26:46 < dekar_> it just works 2011-12-16T17:26:56 <+Steffanx> This is for the stlink v1 though 2011-12-16T17:27:00 <+Steffanx> No HID stuff 2011-12-16T17:27:01 < dekar_> oh 2011-12-16T17:27:18 < dekar_> umm why do you need to unload anything then? 2011-12-16T17:27:36 <+Steffanx> The usbmsc seems to claim the stlink v1 2011-12-16T17:27:45 < karlp> hid is unrelated to stlinkv1 or v2 2011-12-16T17:27:59 < karlp> v2 is a composite custom device, v1 is a usb mass storage 2011-12-16T17:27:59 <+Steffanx> As it is mass storage/scsi device dekar_ ... 2011-12-16T17:28:38 < dekar_> mass storage -.- 2011-12-16T17:28:44 < BrainDamage> btw, is there any plans to integrate st-util with openObsessiveCompulsiveDisorder ? 2011-12-16T17:28:45 < dekar_> I remember, I think you mentioned that before 2011-12-16T17:28:55 <+Steffanx> You never connected a v1 to windows dekar_ ? 2011-12-16T17:29:02 < dekar_> I don't have any 2011-12-16T17:29:03 <+Steffanx> It really shows up as some usb drive 2011-12-16T17:29:13 < BrainDamage> it did in linux too 2011-12-16T17:29:19 < BrainDamage> until I added a rule not to 2011-12-16T17:29:27 < BrainDamage> gvfs was smart enough to mount it 2011-12-16T17:29:27 <+Steffanx> Can you also see the files? 2011-12-16T17:29:36 < BrainDamage> yeah, 3 html links 2011-12-16T17:29:39 <+Steffanx> Waow :) 2011-12-16T17:29:47 < dekar_> wouldn't FS caching fuck up the communication with the stlink? 2011-12-16T17:29:54 <+Steffanx> When i tried it linux only gave some nice i/o errors 2011-12-16T17:30:05 < BrainDamage> it was unsable as stlink after being mounted 2011-12-16T17:31:11 <+Steffanx> Yeah :P 2011-12-16T17:31:18 <+Steffanx> That's a detail :P 2011-12-16T17:31:45 <+Steffanx> I wonder.. how many people really have issues with the stlink v1 on os x? 2011-12-16T17:32:02 <+Steffanx> but we should really get it into the repo 2011-12-16T17:33:09 <+Steffanx> Make a branch and do a pull request? 2011-12-16T17:33:32 <+Steffanx> I have no idea how it exactly works, karlp knows that 2011-12-16T17:33:45 -!- dekar__ [~dekar@ip-109-84-0-68.web.vodafone.de] has joined ##stm32 2011-12-16T17:33:47 -!- dekar_ [~dekar@ip-109-84-0-68.web.vodafone.de] has quit [Remote host closed the connection] 2011-12-16T17:33:53 < dekar__> why would they do that anyway? use bulk mode without additional drivers at _all_ costs? 2011-12-16T17:34:06 <+Steffanx> Lazy? 2011-12-16T17:34:26 <+Steffanx> And to show the help files :) 2011-12-16T17:34:39 < dekar__> they could have used it just for the help files 2011-12-16T17:34:41 <+Steffanx> or at least some html files 2011-12-16T17:34:51 < dekar__> like some 3g usb sticks do 2011-12-16T17:34:52 <+Steffanx> I really have no idea 2011-12-16T17:34:58 < dekar__> they show drivers on usb mass storage 2011-12-16T17:35:02 < dekar__> or even "dvd drive" 2011-12-16T17:35:10 <+Steffanx> Indeed 2011-12-16T17:35:11 <+Steffanx> That's nice 2011-12-16T17:35:13 <+Steffanx> imho 2011-12-16T17:35:16 < dekar__> yeah 2011-12-16T17:35:27 <+Steffanx> Drivers on the device itself 2011-12-16T17:35:37 < dekar__> really handy 2011-12-16T17:35:47 < dekar__> much better than optical discs 2011-12-16T17:37:01 < dekar__> I was wondering about the gpl: http://pastebin.com/B6zghCra 2011-12-16T17:37:08 < dekar__> failed to get an answer so far 2011-12-16T17:37:15 < dekar__> those guys at #fsf are weird 2011-12-16T17:37:28 < dekar__> isn't "viral marketing" a positive term? 2011-12-16T17:38:49 < dekar__> I don't think a public domain wrapper lib would make you GPL-"immune" 2011-12-16T17:40:39 <+Steffanx> Seriously that man should go into politics 2011-12-16T17:40:50 <+Steffanx> Thousand words.. no answer 2011-12-16T17:42:33 < dekar__> haha totally 2011-12-16T17:43:01 <+Steffanx> I also tried a similar question once.. 2011-12-16T17:43:10 <+Steffanx> They really can't help you with it 2011-12-16T17:44:38 < dekar__> I guess there is something wrong with my integrity 2011-12-16T17:44:40 < dekar__> XD 2011-12-16T17:47:57 <+Steffanx> So what you/we do Cpu86 ? 2011-12-16T17:50:09 <+Steffanx> me neither :) 2011-12-16T17:52:34 <+Steffanx> Make a load-kext option? 2011-12-16T17:54:23 <+Steffanx> It'seems to be very easy 2011-12-16T17:54:36 <+Steffanx> Fork the stlink repo from texane, do the changes and do a pull request 2011-12-16T17:56:50 <+Steffanx> Not really 2011-12-16T17:57:54 <+Steffanx> I only have the basic knowledge 2011-12-16T18:10:50 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-16T18:33:29 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-16T18:51:48 < Cpu86> Steffanx still there? 2011-12-16T19:16:55 -!- dekar__ [~dekar@ip-109-84-0-68.web.vodafone.de] has quit [Remote host closed the connection] 2011-12-16T19:17:28 -!- dekar [~dekar@ip-109-84-0-68.web.vodafone.de] has joined ##stm32 2011-12-16T19:20:03 <+Steffanx> Yes i am now Cpu86 2011-12-16T19:21:44 < Cpu86> i edited the makefile and the readme 2011-12-16T19:21:51 <+Steffanx> :) 2011-12-16T19:21:57 <+Steffanx> You want my version too? 2011-12-16T19:22:02 < Cpu86> i made a simple shell script ad invoked it by the makefile 2011-12-16T19:22:05 <+Steffanx> my info.plist 2011-12-16T19:22:15 < Cpu86> ok 2011-12-16T19:23:37 <+Steffanx> There's some useless info in that info.plist though 2011-12-16T19:23:44 <+Steffanx> Maybe you/i should remove that 2011-12-16T19:24:03 < Cpu86> if you want i'll modify it 2011-12-16T19:24:35 <+Steffanx> Mine still has the BundleId you gave it 2011-12-16T19:25:21 < Cpu86> here's the readme: http://cl.ly/CfZ2 i added something in the "if you have stlinkv1" section 2011-12-16T19:25:39 <+Steffanx> What do you use to upload things to that website? 2011-12-16T19:25:54 <+Steffanx> oh cl.ly :) 2011-12-16T19:26:34 <+Steffanx> http://pastebin.com/vmwLacru there it is Cpu86 2011-12-16T19:26:47 <+Steffanx> Just the contents of the Info.plist 2011-12-16T19:27:23 < Cpu86> could you please tell me what you think about the readme and if is correct? 2011-12-16T19:27:37 <+Steffanx> Not sure if the version numbers (11.2.0) are a little too specific 2011-12-16T19:28:52 <+Steffanx> Look ok en clear to me Cpu86 2011-12-16T19:29:34 < Cpu86> ok 2011-12-16T19:29:44 <+Steffanx> *looks 2011-12-16T19:30:09 <+Steffanx> One very very very small details 2011-12-16T19:30:10 <+Steffanx> -s 2011-12-16T19:30:16 <+Steffanx> It's OS X, not OSX :P 2011-12-16T19:30:44 < Cpu86> ok, i always write OSX 2011-12-16T19:31:50 < Cpu86> give me 5 minutes and i bundle everything so you can test it :) 2011-12-16T19:37:16 <+Steffanx> 5 minutes are over :) 2011-12-16T19:37:37 < Cpu86> 2 more minutes :) 2011-12-16T19:39:14 < Cpu86> here we go: http://cl.ly/Cecs 2011-12-16T19:39:39 < Cpu86> time for dinner 2011-12-16T19:50:35 <+Steffanx> Arh, 'stupid' question time. Is there a way to define extra include/lib paths so gcc knows where it can find some files to include? 2011-12-16T19:50:47 <+Steffanx> I can modify the makefile(s), but that sucks 2011-12-16T20:00:12 < Cpu86> -I for include 2011-12-16T20:00:19 < Cpu86> -L for libs 2011-12-16T20:00:55 <+Steffanx> Yes i know that.. but i have to modify all makefiles for that 2011-12-16T20:01:43 < Cpu86> put them in the overall CFLAGS 2011-12-16T20:01:54 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-16T20:02:08 <+Steffanx> Yes, but then i still have to modify all makefiles .. as there is no overall CFLAGS afaik 2011-12-16T20:02:25 <+Steffanx> at least it didn't work last time 2011-12-16T20:03:16 < Cpu86> in every Makefile there's the line CFLAGS+= 2011-12-16T20:03:55 < Cpu86> so if you do: CFLAGS="your options" make 2011-12-16T20:04:10 < Cpu86> it'll "keep" your own cflags 2011-12-16T20:05:03 < Cpu86> did you try the makefile for the stlink? 2011-12-16T20:06:34 <+Steffanx> ops, i didn't mean the CFLAGS, the LDFLAGS :P 2011-12-16T20:07:13 <+Steffanx> And i've other issues now 2011-12-16T20:07:18 <+Steffanx> I like open source :P 2011-12-16T20:10:20 < Cpu86> do you know how to contact texane through his github home? 2011-12-16T20:11:19 <+Steffanx> karlp is the expert 2011-12-16T20:11:27 <+Steffanx> It doesn't compile for me 2011-12-16T20:11:52 < Cpu86> what are you compiling? 2011-12-16T20:12:08 <+Steffanx> Everything :) 2011-12-16T20:12:16 <+Steffanx> but that's not your problem ofcourse :P 2011-12-16T20:12:37 < Cpu86> are you referring to texane? 2011-12-16T20:12:39 <+Steffanx> Someone forgot to test the things he wrote i guess 2011-12-16T20:12:42 <+Steffanx> Yes, your version 2011-12-16T20:12:55 <+Steffanx> Maybe i should try your modifications only 2011-12-16T20:13:14 <+Steffanx> The compile errors have nothing to do with your modifications 2011-12-16T20:13:20 <+Steffanx> At least.. i don't think they have 2011-12-16T20:13:33 <+Steffanx> As long as you didn't touch the code 2011-12-16T20:13:43 < Cpu86> i didn't touch the code 2011-12-16T20:13:54 <+Steffanx> Then it's not your fault 2011-12-16T20:14:00 < Cpu86> only added a folder and an entry in the Makefile 2011-12-16T20:14:08 < Cpu86> strange, it compiles for me 2011-12-16T20:14:26 <+Steffanx> Here it complains about a lot of things 2011-12-16T20:14:43 <+Steffanx> And because "cc1: warnings being treated as errors" .. it doesn't build 2011-12-16T20:15:42 < Cpu86> does the version from github compile? 2011-12-16T20:15:52 <+Steffanx> Haven't check yet 2011-12-16T20:15:57 <+Steffanx> I'll try your modifications first 2011-12-16T20:17:15 <+Steffanx> So it moves the kext to the extension dir so it load at start up? 2011-12-16T20:17:29 <+Steffanx> It seems to work 2011-12-16T20:17:47 < Cpu86> it changes own:group, copy the proper kext, load it and touch the directory 2011-12-16T20:18:03 <+Steffanx> Yeah, but it's not necessary to move it to the ext. directory :) 2011-12-16T20:18:20 <+Steffanx> Unless you really want to load it when you reboot/start/whatever 2011-12-16T20:19:01 <+Steffanx> You probably knew that 2011-12-16T20:19:14 < Cpu86> i think you'll want the kext every time you reboot 2011-12-16T20:19:24 <+Steffanx> Yes 2011-12-16T20:22:23 <+Steffanx> Are you sure you didn't touch the other makefiles? 2011-12-16T20:23:07 < Cpu86> pretty sure 2011-12-16T20:23:49 <+Steffanx> Hmpf weird shit 2011-12-16T20:23:55 <+Steffanx> me is confused :S 2011-12-16T20:29:35 <+Steffanx> I guess my toolchain sucks, I do have to modify all makefiles 2011-12-16T20:29:37 <+Steffanx> How nice 2011-12-16T20:29:52 <+Steffanx> Anyway, it works 2011-12-16T20:33:22 < Cpu86> toolchain?? i have the gcc & co shipped with Xcode 2011-12-16T20:34:32 <+Steffanx> gcc --version gives you? 2011-12-16T20:35:15 <+Steffanx> oh forget about it 2011-12-16T20:35:23 < Cpu86> 4.2.1 2011-12-16T20:35:34 < Cpu86> i still have Xcode 3.2.5 2011-12-16T20:35:57 <+Steffanx> Yeah, I forgot about the fact that they use LLVM 2011-12-16T20:36:51 <+Steffanx> gcc 4.2.x is pretty old :) 2011-12-16T20:38:05 <+Steffanx> I do stupid things today 2011-12-16T20:38:06 <+Steffanx> :P 2011-12-16T20:38:13 <+Steffanx> Probably because i'm a little tired 2011-12-16T20:39:39 <+Steffanx> You can email texane btw Cpu86 2011-12-16T20:39:51 <+Steffanx> texane@gmail.com <= from the authors fie 2011-12-16T20:39:52 <+Steffanx> file 2011-12-16T20:40:16 < dekar> so you're working to get that stlink to work under osx? 2011-12-16T20:40:19 < Cpu86> what a stupid, you're rigth! 2011-12-16T20:40:22 <+Steffanx> It works dekar 2011-12-16T20:40:30 <+Steffanx> v1 2011-12-16T20:40:40 < Cpu86> i'll email to texane later 2011-12-16T20:40:56 < dekar> ah nice :) 2011-12-16T20:40:59 < Cpu86> now i've to go 2011-12-16T20:41:02 < Cpu86> bye 2011-12-16T20:41:04 < dekar> http://www.aliexpress.com/wholesale/wholesale-clone-logic-analyzer.html?SortType=price_asc&SortType=y 2011-12-16T20:41:05 <+Steffanx> After all it was pretty easy 2011-12-16T20:41:08 <+Steffanx> bb Cpu86 2011-12-16T20:41:11 < dekar> those seem to be cool 2011-12-16T20:41:32 <+Steffanx> salea clone 2011-12-16T20:41:35 <+Steffanx> :) 2011-12-16T20:41:37 < dekar> yeah :) 2011-12-16T20:41:45 < dekar> I think I want one 2011-12-16T20:41:46 <+Steffanx> Which is just a usb chip with a backend on the pc 2011-12-16T20:41:51 < dekar> just to try it 2011-12-16T20:41:57 <+Steffanx> See how simple it is 2011-12-16T20:41:58 <+Steffanx> :) 2011-12-16T20:42:11 < dekar> yeah I read an article on that 2011-12-16T20:42:30 < dekar> why isn't there any stm32 based streaming logic analyzer? 2011-12-16T20:42:37 <+Steffanx> Slow? 2011-12-16T20:42:48 < dekar> slow? the stm32? 2011-12-16T20:42:58 < dekar> the newer ones sample at 50mhz afaik 2011-12-16T20:43:12 < dekar> the f1 only has 18mhz though 2011-12-16T20:43:24 <+Steffanx> The usb communication .. 2011-12-16T20:43:27 < dekar> at least I read that somewhere 2011-12-16T20:43:33 < dekar> oh, usb is fast 2011-12-16T20:43:57 <+Steffanx> Yes, but on a stm32 it's slowish :P 2011-12-16T20:44:08 < jpa-> some stm32's have high speed 2011-12-16T20:44:16 < jpa-> but full speed is not going to cut it :) 2011-12-16T20:44:19 <+Steffanx> Yes, but can it really do high speed? 2011-12-16T20:44:24 < dekar> umm those stm32f4 have full 480mbit/s don't they? 2011-12-16T20:44:24 < jpa-> no idea 2011-12-16T20:44:44 <+Steffanx> Yes, but can they really do ~20mbyte/s dekar ? 2011-12-16T20:45:57 <+Steffanx> The logic analyzer you have is better imho dekar 2011-12-16T20:46:12 <+Steffanx> except for the low memory buffer 2011-12-16T20:46:16 < dekar> I know, still those fake ones are funny 2011-12-16T20:46:34 < dekar> also I'd like to have a streaming one in case I need it 2011-12-16T20:46:48 <+Steffanx> Yes, that's a nice thing of that salea thingy 2011-12-16T20:47:35 < dekar> actually usb isn't necessarily needed, you could also write to SD 2011-12-16T20:47:52 <+Steffanx> Isn't SD even slower? 2011-12-16T20:48:02 <+Steffanx> Yes it is, ok :P 2011-12-16T20:48:09 < jpa-> SD is very slow, be happy if you get 4MB/s in SPI mode 2011-12-16T20:48:35 <+Steffanx> Use the dedicated hw of the f4 :) 2011-12-16T20:48:38 < jpa-> some STM32's have the SDIO peripheral, though, i don't know if you could use that without buying the SD card spec 2011-12-16T20:48:39 <+Steffanx> *peripheral 2011-12-16T20:48:52 < dekar> -.- 2011-12-16T20:48:56 <+Steffanx> I think you can.. they even have an example 2011-12-16T20:49:05 <+Steffanx> Or .. maybe it's just an example :P 2011-12-16T20:49:11 < dekar> never knew sd was slow 2011-12-16T20:49:17 < dekar> so? use sram :D 2011-12-16T20:49:19 < dekar> jk 2011-12-16T20:49:24 <+Steffanx> Nah, that's better :) 2011-12-16T20:49:41 < jpa-> use firewire and write directly to RAM on the PC 2011-12-16T20:49:57 <+Steffanx> 1MByte of SRAM is better than that 16k buffer that openbench thing has 2011-12-16T20:50:05 < dekar> so spi is slow? so having an SPI to ethernet IC is a bad idea? 2011-12-16T20:50:24 < dekar> jpa-, haha using DMA :D 2011-12-16T20:50:26 <+Steffanx> doesn't the F4 has 30mbit spi's? 2011-12-16T20:50:42 < jpa-> "slow" is relative 2011-12-16T20:50:53 < dekar> 30mbit sounds slow to me 2011-12-16T20:50:58 <+Steffanx> Relative is also relative 2011-12-16T20:51:08 < jpa-> it is slow relative to 100Mbps ethernet, but fast compared to rs232 :) 2011-12-16T20:51:13 <+Steffanx> The enc28j60 sucks anyway dekar :P 2011-12-16T20:52:51 < dekar> I see :) 2011-12-16T20:54:10 < dekar> I just did the final review of our schematics earlier today and they forgot to ground boot1 even though I told them to do that like thrice :/ 2011-12-16T20:54:28 <+Steffanx> Hehe 2011-12-16T20:54:47 <+Steffanx> You a schematic review :) 2011-12-16T20:54:49 < dekar> but it seems like my product will be in production early in 2012 :) 2011-12-16T20:55:09 < dekar> though I basically just wrote the firmware and picked the pins I wanted 2011-12-16T20:55:09 <+Steffanx> your product? :) 2011-12-16T20:55:16 < dekar> flexBox2 2011-12-16T20:55:26 < dekar> wasn't much involved in the hardware 2011-12-16T20:56:11 < dekar> the schematic guy switched over to dc/dc converters :D 2011-12-16T20:56:22 < dekar> he didn't like the linear ones 2011-12-16T20:57:03 < dekar> oh dc/dc doesn't imply switched mode? I mean switched mode then 2011-12-16T20:58:29 < jpa-> switched to switched mode? 2011-12-16T20:59:35 <+Steffanx> Yes yeyes 2011-12-16T21:00:07 < dekar> yeah 2011-12-16T21:00:23 < dekar> which means more power for lasers :D 2011-12-16T21:01:13 <+Steffanx> Which probably means more efficient devices :P 2011-12-16T21:02:17 < dekar> those components he picked are rated up to 3A, somehow no one seems to care about the maximum USB current -.-" 2011-12-16T21:02:29 <+Steffanx> Hehe 2011-12-16T21:05:46 < jpa-> dekar: in switched mode, the switching current is often 2x the actual current, and it is also good to leave some margin :) 2011-12-16T21:07:06 < dekar> oh, didn't know that 2011-12-16T21:07:15 < dekar> but it makes sense I guess 2011-12-16T21:07:37 <+Steffanx> dont guess 2011-12-16T21:08:51 < dekar> wouldn't that result in weird frequencies in the power source? 2011-12-16T21:09:18 < dekar> or is there a capacitor between the source and the actual switching 2011-12-16T21:09:46 < jpa-> there is 2011-12-16T21:09:58 < jpa-> and it does result in awful noise 2011-12-16T21:10:07 < dekar> ah okay, I only knew you need one for the output 2011-12-16T21:10:45 < jpa-> usually both sides, unless your goal is to create a radio transmitter 2011-12-16T21:11:12 < dekar> which would be a pretty cool feature, I could then use stm32 sleep states to generate music :D 2011-12-16T21:20:03 -!- Laurenceb_ [~Laurence@host86-173-192-214.range86-173.btcentralplus.com] has joined ##stm32 2011-12-16T21:20:16 <+Steffanx> To make ADSL signals non-functional? 2011-12-16T21:31:29 < dekar> getting VDSL anyway 2011-12-16T21:31:40 < dekar> actually I don't have internet right now 2011-12-16T21:31:49 < dekar> they cut my ADSL a week ago 2011-12-16T21:32:54 < dekar> and VDSL somehow isn't ready 2011-12-16T21:32:55 < dekar> using some 3g stick I found at the company right now 2011-12-16T21:35:05 < karlp> dekar: FS caching doesn't fuck up comms, because the comms with th stlink are via magic scsi commands given to the device, you don't interact with it via the file system. 2011-12-16T21:36:13 < karlp> also, using HID for everything is a terrible hack. people are abusing it badly purely because lots of things have a hid driver built in, so they don't need to ship any _extra_ driver software, but they still always need their own app for it. 2011-12-16T21:36:44 < karlp> also, HID support is getting dropped from libusb in windows, so it's going to stop being friendly anyway. (still debate about that on libusb lists I'm told) 2011-12-16T21:39:29 < karlp> Steffanx: as for not testing, texane's policy is currently, "apply everything that patches cleanly, without any testing at all" 2011-12-16T21:39:35 < karlp> texane master has been broken numerous times. 2011-12-16T21:40:12 <+Steffanx> That sucks 2011-12-16T21:42:50 < karlp> ok, caught up on scrollback. 2011-12-16T21:42:56 < jpa-> it is constantly broken :) 2011-12-16T21:43:03 < karlp> the best way is probably still to fork texane on github, and submit a pull. 2011-12-16T21:43:20 < karlp> I haven't tried Uwe's latest merge yet, 2011-12-16T21:43:27 < karlp> looked like one or two useful bits, and a lot of noise. 2011-12-16T21:43:58 < karlp> Uwe's strange too, uses git, but won't go on github, prefers to email people with 8 or 9 git format-patch files 2011-12-16T21:44:13 < karlp> won't come here, started an extra mailinglist thing. 2011-12-16T21:44:15 * karlp shrugs 2011-12-16T21:45:01 < karlp> if you fork texane on github, I'm more than happy to look things over 2011-12-16T21:45:08 < karlp> make sure it doesn't break on linux at least :) 2011-12-16T21:45:14 <+Steffanx> you are weird too karlp 2011-12-16T21:45:22 < karlp> you're the one using a mac ;) 2011-12-16T21:45:39 <+Steffanx> That doesnt make me weird 2011-12-16T21:45:55 < jpa-> it does :) 2011-12-16T21:46:07 < dekar> karlp, the windows API allows you to access HID devices using the generic windows HID driver 2011-12-16T21:46:08 <+Steffanx> No it doesn 2011-12-16T21:46:09 <+Steffanx> t 2011-12-16T21:46:16 < dekar> thus you can do that without libusb 2011-12-16T21:46:28 < karlp> dekar: sure, but it doesn't meant you should make your devices HID just to use that. 2011-12-16T21:46:34 < dekar> I switched over to HIDAPI which is a wrapper for the windows api 2011-12-16T21:46:38 < karlp> and, that means you have to use the windows api, 2011-12-16T21:46:43 < karlp> rather than one api for all major OSs 2011-12-16T21:46:57 < dekar> karlp, libusb is using the windows api as well 2011-12-16T21:47:02 < karlp> yeah, but not for long... 2011-12-16T21:47:09 < karlp> the hid is being removed 2011-12-16T21:47:20 < dekar> karlp, it still uses the windows api for usb 2011-12-16T21:47:25 < dekar> you have to use native apis 2011-12-16T21:47:29 < dekar> that's how it works 2011-12-16T21:48:15 < dekar> I don't care about libusb being nazi anymore, as I said I use HID-API now which works fine (also an open source project) 2011-12-16T21:48:26 < dekar> karlp, everyone is ranting about me using hid, but it is the most convenient way by far 2011-12-16T21:48:36 <+Steffanx> no way 2011-12-16T21:48:43 < dekar> before HID people have been using FTDI chips so they need no driver 2011-12-16T21:48:52 < dekar> what's better, HID or an FTDI? 2011-12-16T21:48:53 < karlp> only because they were idiots 2011-12-16T21:49:06 < dekar> our last product used an FTDI 2011-12-16T21:49:12 < dekar> the new one uses HID 2011-12-16T21:49:26 < dekar> even projects like the bus pirate use an FTDI 2011-12-16T21:49:32 < karlp> hid's better than ftdi, sure, 2011-12-16T21:49:40 < karlp> but choosing a usb class that matches your device is better 2011-12-16T21:49:50 < karlp> why people did everything with ftdi and serial is beyond me. 2011-12-16T21:49:54 < dekar> I know it is "abusing" it, but my device doesn't need throughput 2011-12-16T21:50:05 < karlp> let's make usb look mor elike serial, because we refuse to learn anything new 2011-12-16T21:50:06 <+Steffanx> Nothing wrong with rs232 karlp 2011-12-16T21:50:07 < dekar> karlp, people did that so it was "driverless" 2011-12-16T21:50:10 <+Steffanx> it's easy to interface 2011-12-16T21:50:13 < karlp> there's lots wrong with rs232 2011-12-16T21:50:20 < dekar> we need an usb device that works with limited windows accounts 2011-12-16T21:50:21 <+Steffanx> tnot reall 2011-12-16T21:50:22 <+Steffanx> y 2011-12-16T21:50:23 < dekar> no admin permissions 2011-12-16T21:51:57 < dekar> karlp, non HID usb was never an option for me, my boss would have wanted me to use an FTDI again 2011-12-16T21:52:16 < karlp> well, as I said, I vastly prefer HID to ftdi :) 2011-12-16T21:52:27 <+Steffanx> i dont 2011-12-16T21:52:39 < dekar> my product only does i2c btw, so throughput isn't an issue 2011-12-16T21:52:40 < karlp> depends what the use case is of course .) 2011-12-16T21:53:27 < dekar> and I agree on rs232 being easier to use, my usb protocol has to handle stuff like fragmentation due to small packet sizes 2011-12-16T21:53:52 < dekar> rs232 is just a stream 2011-12-16T21:54:28 < karlp> with absolutely no definition of what goes where, or when. without both sides agreeing ahead of time. 2011-12-16T21:54:40 <+Steffanx> :) 2011-12-16T21:54:52 < jpa-> rs232, like tcp, is great for stream-style devices; annoying when you need packets 2011-12-16T21:56:01 < dekar> the one time I used rs232 I implemented a small human readable text interface and it worked pretty well 2011-12-16T21:56:48 < karlp> ok, texane's already merged the osx driver 2011-12-16T21:56:53 <+Steffanx> Waow 2011-12-16T21:56:58 < karlp> tar.gz and all. 2011-12-16T21:57:09 < karlp> like I said, he's just in "apply ALLLL THE PATCHES" mode 2011-12-16T21:57:14 <+Steffanx> Hehe 2011-12-16T21:57:34 < dekar> http://www.signal11.us/oss/hidapi/ 2011-12-16T21:57:40 < dekar> really easy to use 2011-12-16T21:57:55 < karlp> still, it's all completely irrelevant 2011-12-16T21:58:01 < karlp> neiterht the stlinkv1 or v2 is a hid device :) 2011-12-16T21:58:13 < dekar> still people here are using HID 2011-12-16T21:58:15 < karlp> no would I expect a v3 to be either. 2011-12-16T21:58:35 < dekar> it would suck if it was, the speed is too low for jtag like use cases 2011-12-16T21:58:46 < karlp> but no drivers?! 2011-12-16T21:58:49 < karlp> use HID ALL THE TIME! 2011-12-16T21:58:52 < karlp> remember? :) 2011-12-16T21:59:00 < karlp> sorry, cheap shot... 2011-12-16T21:59:24 < dekar> mass storage does the same :P 2011-12-16T22:00:08 < karlp> and mass storage probably wasn't a terrible idea, if they'd actually implemented mass storage properly 2011-12-16T22:00:20 < karlp> that's been a lot of the problem. 2011-12-16T22:00:44 < dekar> I guess they should have some HID like class with generic OS drivers that doesn't have those HID restrictions 2011-12-16T22:00:49 < jpa-> the "disappear and reappear" behaviour is especially annoying 2011-12-16T22:01:09 < karlp> anyway, home time for me I reckon. 2011-12-16T22:01:14 < karlp> talk to you all later 2011-12-16T22:01:39 < dekar> imo the device should be able to tell the OS whether it wants only administrative users to access it, or everyone 2011-12-16T22:02:38 < jpa-> what kind of device should say "only admins, please"? 2011-12-16T22:02:46 < dekar> I see why a mass storage device shouldn't be writeable by everyone 2011-12-16T22:02:55 < dekar> it would break the whole FS permissions 2011-12-16T22:03:13 < dekar> every user could just make all files SUID on unix systems 2011-12-16T22:03:21 < dekar> that would be a root exploit 2011-12-16T22:04:04 < jpa-> that is still a problem that can be only solved on the OS level 2011-12-16T22:04:59 < jpa-> and it is quite easy to solve under linux 2011-12-16T22:05:32 < dekar> also unprivileged users would steal root's data 2011-12-16T22:05:39 < jpa-> if udev wasn't so obscure, it should even be easy to configure "these ports at the back of the PC are admin-only; these ports in the hub sitting on the table are for the currently logged-in user" 2011-12-16T22:06:42 < jpa-> but windows is the actual problem.. currently it makes no sense which devices need admin access and which don't 2011-12-16T22:06:59 < dekar> yeah 2011-12-16T22:07:07 < dekar> windows should ship with the libusb driver 2011-12-16T22:07:12 < dekar> would solve all problems :D 2011-12-16T22:08:51 <+Steffanx> libusb1.0 please 2011-12-16T22:09:11 < dekar> and load it for all PID/VIDs :) 2011-12-16T22:09:19 <+Steffanx> Yeah sure 2011-12-16T22:09:25 < dekar> haha 2011-12-16T22:10:12 <+Steffanx> He didn't really merge it karlp 2011-12-16T22:10:29 <+Steffanx> He just made a directory with the things Cpu86 mailed him 2011-12-16T22:11:48 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-16T22:13:32 < Cpu86> here i am 2011-12-16T22:14:04 < dekar> does usb3 have any implications on hid? 2011-12-16T22:14:06 < Cpu86> i saw the changes but he didn't ungziped the archive, i've just emailed it 2011-12-16T22:17:49 <+Steffanx> A USB3 mouse.. llol 2011-12-16T22:19:00 < Cpu86> ok, README has been changed with the instruction to ungzip before using it 2011-12-16T22:19:09 <+Steffanx> Haha 2011-12-16T22:20:40 < Cpu86> now we wait for the huge mass to report problems on the driver LOL 2011-12-16T22:25:38 <+Steffanx> We'll see 2011-12-16T22:25:41 <+Steffanx> No one uses it :P 2011-12-16T22:28:47 -!- kingargon [kingargon@ip98-165-189-206.ph.ph.cox.net] has joined ##stm32 2011-12-16T22:28:49 < kingargon> sweet 2011-12-16T22:29:04 < kingargon> im home :) 2011-12-16T22:29:39 < kingargon> anyone know a good stm32 i2c tutorial? 2011-12-16T22:29:55 < kingargon> im trying to interface a ar1010 radio ic 2011-12-16T22:30:47 <+Steffanx> Ah, damn this kingargon :) 2011-12-16T22:31:29 < kingargon> lol. 2011-12-16T22:31:46 <+Steffanx> should make a script for that channel 2011-12-16T22:32:19 <+Steffanx> or izua should get back 2011-12-16T22:32:33 < kingargon> im just glad there is a stm32 channel on irc! 2011-12-16T22:32:41 < kingargon> empty or not lol 2011-12-16T22:34:38 < kingargon> anyone using the stm32f4 chips yet? 2011-12-16T22:35:11 < Cpu86> BrainDamage use it 2011-12-16T22:36:15 < kingargon> is he idle? i wanted to know if there were any major changes in the lib 2011-12-16T22:36:24 < kingargon> im migrating from cortex m3 2011-12-16T22:36:38 < Cpu86> yep, he's idle 2011-12-16T22:37:47 -!- dekar_ [~dekar@ip-80-226-0-1.vodafone-net.de] has joined ##stm32 2011-12-16T22:38:05 <+Steffanx> vodafone? 2011-12-16T22:38:26 < dekar_> yeah 2011-12-16T22:38:30 < dekar_> that's me 2011-12-16T22:38:45 <+Steffanx> bus/train? 2011-12-16T22:38:49 < dekar_> at home 2011-12-16T22:38:55 < dekar_> no adsl and no cdsl 2011-12-16T22:38:57 < dekar_> *vdsl 2011-12-16T22:39:02 <+Steffanx> No coax/cable? 2011-12-16T22:39:03 < dekar_> switching ISP 2011-12-16T22:39:08 < dekar_> so SNAFU 2011-12-16T22:39:08 <+Steffanx> ah 2011-12-16T22:39:21 < dekar_> using some company 3g sim card 2011-12-16T22:39:25 <+Steffanx> Fancy 2011-12-16T22:39:29 < dekar_> it's pretty neat actually 2011-12-16T22:39:33 < dekar_> unlimited data 2011-12-16T22:39:39 < dekar_> no calls though -.- 2011-12-16T22:41:08 -!- dekar [~dekar@ip-109-84-0-68.web.vodafone.de] has quit [Ping timeout: 240 seconds] 2011-12-16T22:41:11 <+Steffanx> voip? 2011-12-16T22:41:38 < dekar_> that works ofc 2011-12-16T22:42:22 < dekar_> just no cellphone calls 2011-12-16T22:45:08 < karlp> the fuck did Uwe do?! bloody texane. 2011-12-16T22:46:49 < karlp> bloody hell 2011-12-16T22:47:32 < karlp> moronic busted merges. 2011-12-16T22:48:29 -!- dekar_ [~dekar@ip-80-226-0-1.vodafone-net.de] has quit [Quit: Leaving] 2011-12-16T22:51:01 < kingargon> hey guys im kinda confused on i2c. i have a device with 17 registers. if i wanted to address the first in 7 bit mode, i would address 0x01 in the packet? 2011-12-16T22:51:07 < kingargon> does that make since? 2011-12-16T22:51:10 < kingargon> *sense 2011-12-16T22:53:15 < karlp> bleh, people that fix TODO statements, but leave the TODO there. 2011-12-16T22:53:19 < karlp> the hell man. 2011-12-16T22:53:23 < karlp> (not you kingargon) 2011-12-16T22:53:50 <+Steffanx> poor karlp 2011-12-16T22:54:27 < karlp> well, stlink had been getting pretty stable. 2011-12-16T22:54:36 < karlp> more and more at least. 2011-12-16T22:54:57 < karlp> I've found the bad commit, or at least the first one. 2011-12-16T22:55:03 <+Steffanx> It's still a mess :P 2011-12-16T22:55:12 <+Steffanx> Especially the out of date docs 2011-12-16T22:55:27 <+Steffanx> "If you are targetting F1 devices, with either stlinkv1 or v2 hardware, you 2011-12-16T22:55:27 <+Steffanx> _need_ to use karlp's libwork2 branch. " 2011-12-16T22:55:28 < karlp> what's out of date in them now? 2011-12-16T22:55:29 <+Steffanx> :P 2011-12-16T22:55:33 < karlp> oh, yeah, 2011-12-16T22:55:40 < karlp> that wasn't meant to get to his branch, but 2011-12-16T22:55:46 < karlp> my branch hasn't been merged back in yet. 2011-12-16T22:56:20 < karlp> that note wasn't even meant to still be in my own branch at the time, 2011-12-16T22:56:29 < karlp> but texane went from being awol, to apply all the patches all the time 2011-12-16T23:11:24 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-16T23:39:04 -!- Cpu86 [~Cpu86@host177-78-dynamic.24-79-r.retail.telecomitalia.it] has quit [Quit: Cpu86] 2011-12-16T23:51:46 < karlp> This document is only available in a PDF version to registered ARM customers. 2011-12-16T23:51:47 < karlp> bleh. 2011-12-16T23:51:51 < karlp> so I can browse it all online, 2011-12-16T23:51:55 < karlp> but not in a pdf 2011-12-16T23:54:40 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has joined ##stm32 --- Day changed Sat Dec 17 2011 2011-12-17T00:15:59 < karlp> so, quick poll, if you use stlink's "flash" tool, to just write a binary to flash, would you expect the tool to reset and start the device running again? 2011-12-17T00:16:12 < karlp> or simply exit debug mode, requiring some form of reset by the user manually? 2011-12-17T00:16:24 < karlp> or, I guess a third, optionally reset and run. 2011-12-17T00:16:39 < karlp> (one of the recent patches merged changed it from reset and run, to simply detach) 2011-12-17T00:25:38 <+Steffanx> karlp, i'd like reset and run 2011-12-17T00:25:52 <+Steffanx> I like that because it's how it works with AVR's most of the time :) 2011-12-17T00:27:32 < karlp> I would tend to agree 2011-12-17T00:27:55 < karlp> I was thinking even more was broken in these new merges from Uwe until I remembered what he'd done. 2011-12-17T00:28:23 < karlp> Steffanx: how hard is it for a user to rebuild the kext stuff themselves? 2011-12-17T00:28:31 <+Steffanx> No 2011-12-17T00:28:56 <+Steffanx> Actually the project is quite useless imho 2011-12-17T00:29:33 <+Steffanx> A codeless kext is not more than a 'directory' with a extension, which contains a directory 'Contents' which contains a file called 'Info.plist' 2011-12-17T00:29:34 <+Steffanx> That's all 2011-12-17T00:29:46 < karlp> so you only really need: stlink_shield10_6.kext/Contents/Info.plist 2011-12-17T00:29:51 < karlp> and the one for 7 2011-12-17T00:29:56 < karlp> none of the rest of the cruft? 2011-12-17T00:30:14 < karlp> what about the Resrouces and the InfoPlist.strings? 2011-12-17T00:31:14 < karlp> is that just used to replace the default string/key pair if people wanted more languages? 2011-12-17T00:31:24 <+Steffanx> That's not necessary afaik 2011-12-17T00:32:17 <+Steffanx> I have to test it though 2011-12-17T00:32:36 < karlp> ok, if you can try that, I'll tidy up how this is packaged, try and update the docs a bit for that too. 2011-12-17T00:33:16 <+Steffanx> Just keep it for now :) 2011-12-17T00:35:20 < karlp> ok.. :) 2011-12-17T00:35:31 <+Steffanx> I'll try tomorrow 2011-12-17T00:38:06 < karlp> what was this about having to retouch that directory every boot? 2011-12-17T00:38:20 < karlp> that "install.sh" that copies the plist, is that then permanent? 2011-12-17T00:38:56 <+Steffanx> Very permanent 2011-12-17T00:39:34 <+Steffanx> It copies the kext to the extension directory 2011-12-17T00:39:40 <+Steffanx> And touches that dir, so os x knows something changed 2011-12-17T00:39:53 < karlp> good good. 2011-12-17T00:40:10 < karlp> how can people check that they have this running? 2011-12-17T00:40:52 <+Steffanx> Uhm.. 2011-12-17T00:41:51 <+Steffanx> I'm not sure how.. the only way i know of is using the usb prober and see if the usb mass storage driver doesn't gets loaded 2011-12-17T00:41:56 < karlp> ok, no worries then :) 2011-12-17T00:42:12 < karlp> this 10.6 vs 10.7 thing, 2011-12-17T00:42:27 < karlp> I take it 10.7 is the way forward? 2011-12-17T00:42:36 < karlp> so it should only use 10.6 for 10.6, not for anything that's not 10.7? 2011-12-17T00:42:49 < karlp> are you on 10.6 or 10.7? 2011-12-17T00:42:55 <+Steffanx> Lion :) 2011-12-17T00:42:58 <+Steffanx> Which is 10.7 2011-12-17T00:43:02 < karlp> oh, fuck it, it can stay as it is. 2011-12-17T00:43:10 <+Steffanx> Cpu86 uses 10.6 2011-12-17T00:43:10 < karlp> when another one comes out, someone can patch the installer then. 2011-12-17T00:58:39 < karlp> Steffanx: https://github.com/karlp/stlink/tree/merge-temp should have a better readme at the top level, and less clutter for the osx. 2011-12-17T00:59:14 < karlp> I've got to fix the 32L flash writing though before I'm goign to ask texane to pull. 2011-12-17T00:59:30 <+Steffanx> :) 2011-12-17T00:59:31 < karlp> 32L flashing is totally busted right now in master, as is gdb. 2011-12-17T00:59:38 <+Steffanx> :S 2011-12-17T01:00:00 < karlp> I've fixed gdb in that merge-temp branch though. 2011-12-17T01:02:52 <+Steffanx> I like how messy some projects are :P 2011-12-17T01:03:26 < karlp> I do not. 2011-12-17T01:03:35 < karlp> I thought this project was getting _better_ 2011-12-17T01:03:39 < karlp> not going backwards. 2011-12-17T01:04:02 < karlp> I'm trying to keep my master always working at least. 2011-12-17T01:11:00 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-17T01:14:28 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [Ping timeout: 240 seconds] 2011-12-17T01:21:26 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 248 seconds] 2011-12-17T01:42:18 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 252 seconds] 2011-12-17T01:42:30 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-17T02:01:43 -!- kingargon [kingargon@ip98-165-189-206.ph.ph.cox.net] has quit [Ping timeout: 245 seconds] 2011-12-17T02:05:47 -!- kingargon [kingargon@ip98-165-189-206.ph.ph.cox.net] has joined ##stm32 2011-12-17T02:28:27 -!- Laurenceb_ [~Laurence@host86-173-192-214.range86-173.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2011-12-17T02:30:06 -!- kerwood [~Marshall@c-76-21-166-25.hsd1.md.comcast.net] has quit [Quit: Leaving.] 2011-12-17T02:33:37 -!- kerwood [~Marshall@c-76-21-166-25.hsd1.md.comcast.net] has joined ##stm32 2011-12-17T03:16:22 -!- Tom_L is now known as Tom_itx 2011-12-17T03:58:37 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has quit [Remote host closed the connection] 2011-12-17T03:58:40 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [] 2011-12-17T04:00:02 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-17T04:00:03 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has joined ##stm32 2011-12-17T04:02:14 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Quit: leaving] 2011-12-17T04:28:06 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 248 seconds] 2011-12-17T04:32:30 -!- argontha1 [~kingargon@ip98-165-189-206.ph.ph.cox.net] has joined ##stm32 2011-12-17T04:34:08 -!- kingargon [kingargon@ip98-165-189-206.ph.ph.cox.net] has quit [Ping timeout: 240 seconds] 2011-12-17T04:35:55 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-17T05:05:28 -!- argontha1 [~kingargon@ip98-165-189-206.ph.ph.cox.net] has quit [Ping timeout: 245 seconds] 2011-12-17T05:16:03 -!- kingargon [~kingargon@ip98-165-189-206.ph.ph.cox.net] has joined ##stm32 2011-12-17T05:22:34 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-17T05:48:20 -!- argontha1 [~kingargon@ip98-165-189-206.ph.ph.cox.net] has joined ##stm32 2011-12-17T05:49:10 -!- kingargon [~kingargon@ip98-165-189-206.ph.ph.cox.net] has quit [Ping timeout: 248 seconds] 2011-12-17T06:04:47 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-17T06:22:25 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-17T07:09:36 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has quit [Quit: By the time you read this I'll already be gone....] 2011-12-17T09:30:08 -!- argontha1 [~kingargon@ip98-165-189-206.ph.ph.cox.net] has quit [Ping timeout: 240 seconds] 2011-12-17T09:36:06 -!- kingargon [~kingargon@ip98-165-189-206.ph.ph.cox.net] has joined ##stm32 2011-12-17T10:13:06 -!- kingargon [~kingargon@ip98-165-189-206.ph.ph.cox.net] has quit [Ping timeout: 255 seconds] 2011-12-17T10:16:20 -!- Cpu86 [~Cpu86@host177-78-dynamic.24-79-r.retail.telecomitalia.it] has joined ##stm32 2011-12-17T11:18:54 -!- Cpu86 [~Cpu86@host177-78-dynamic.24-79-r.retail.telecomitalia.it] has quit [Quit: Cpu86] 2011-12-17T11:47:36 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-17T11:47:39 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-17T12:17:13 -!- kingargon [kingargon@ip98-165-189-206.ph.ph.cox.net] has joined ##stm32 2011-12-17T12:34:34 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-17T12:36:30 <+Steffanx> Me and my 'dirty' mind 2011-12-17T12:36:54 <+Steffanx> When I read the nick of peabody I always tend to pronounce it as 'peeboy' 2011-12-17T14:01:41 -!- Laurenceb_ [~Laurence@host86-173-192-214.range86-173.btcentralplus.com] has joined ##stm32 2011-12-17T17:02:36 < Thorn> Dave Jones has a $10k scope x_x 2011-12-17T17:02:46 <+Steffanx> Fancy 2011-12-17T17:02:52 <+Steffanx> Who is ave Jones? 2011-12-17T17:02:54 <+Steffanx> Dave 2011-12-17T17:04:39 < Thorn> http://www.eevblog.com/ 2011-12-17T17:04:52 <+Steffanx> Nooooooo 2011-12-17T17:05:42 < Thorn> lol 2011-12-17T17:05:49 <+Steffanx> I'm allergic for/to that guy 2011-12-17T17:43:02 < Tom_itx> does dave jones know how to use it? 2011-12-17T17:43:21 <+Steffanx> Don't talk about Dave Jones please 2011-12-17T17:44:25 < Tom_itx> is he a fly in your ointment? 2011-12-17T17:44:37 <+Steffanx> My what? 2011-12-17T17:45:04 < Tom_itx> did he poop in your post toasties? 2011-12-17T17:45:10 < Tom_itx> same idea 2011-12-17T17:45:46 <+Steffanx> No, his voice... 2011-12-17T17:45:51 < Tom_itx> oh 2011-12-17T17:45:51 <+Steffanx> I can't listen to that for 5 seconds 2011-12-17T17:45:59 < Tom_itx> lucky for me i've never watched him 2011-12-17T17:46:17 <+Steffanx> Lucky bastard 2011-12-17T18:06:57 -!- kingargon [kingargon@ip98-165-189-206.ph.ph.cox.net] has quit [Ping timeout: 252 seconds] 2011-12-17T18:09:51 -!- kingargon [~kingargon@ip98-165-189-206.ph.ph.cox.net] has joined ##stm32 2011-12-17T18:28:16 -!- kingargon [~kingargon@ip98-165-189-206.ph.ph.cox.net] has quit [Ping timeout: 240 seconds] 2011-12-17T19:33:02 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has joined ##stm32 2011-12-17T20:04:37 -!- kingargon [~kingargon@ip98-165-189-206.ph.ph.cox.net] has joined ##stm32 2011-12-17T20:29:57 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-17T20:35:28 -!- kingargon [~kingargon@ip98-165-189-206.ph.ph.cox.net] has quit [Ping timeout: 245 seconds] 2011-12-17T20:49:25 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-17T21:01:12 -!- kingargon [kingargon@ip98-165-189-206.ph.ph.cox.net] has joined ##stm32 2011-12-17T21:02:40 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-17T22:19:00 -!- Eartaker [~Eartaker@199.250.32.249] has joined ##stm32 2011-12-17T22:19:00 -!- Eartaker [~Eartaker@199.250.32.249] has quit [Changing host] 2011-12-17T22:19:00 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has joined ##stm32 2011-12-17T22:50:34 -!- peabody124 [~peabody12@128.249.96.123] has joined ##stm32 2011-12-17T23:00:30 -!- philpem [~philpem@discferret/team-lead] has joined ##stm32 2011-12-17T23:37:52 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 244 seconds] 2011-12-17T23:43:29 -!- kingargon [kingargon@ip98-165-189-206.ph.ph.cox.net] has quit [] 2011-12-17T23:54:19 -!- peabody124 [~peabody12@128.249.96.123] has quit [Remote host closed the connection] 2011-12-17T23:54:33 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 --- Day changed Sun Dec 18 2011 2011-12-18T00:02:00 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has quit [Ping timeout: 255 seconds] 2011-12-18T00:22:51 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-18T00:22:54 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-18T00:35:57 -!- biot is now known as biot2 2011-12-18T00:35:59 -!- biot2 is now known as biot 2011-12-18T00:46:04 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 244 seconds] 2011-12-18T00:48:59 < CheBuzz> So is stlink working with openocd now? 2011-12-18T00:49:42 < karlp> god no. 2011-12-18T00:49:58 < karlp> when openocd gets their swd stuff sorted out I'll try and work on getting it merged in. 2011-12-18T00:50:02 < CheBuzz> Haha, ah, ok. I though I had seen talk about integrating it a while back 2011-12-18T00:50:12 < karlp> oh, it's on the list of things to do :) 2011-12-18T00:50:17 < CheBuzz> Is it possible to use gdb with it then? 2011-12-18T00:50:23 < karlp> but then I started digging in the openocd source 2011-12-18T00:50:31 < karlp> and realised they weren't quite ready for swd stuff yet. 2011-12-18T00:50:37 < karlp> it is possible to use with gdb, 2011-12-18T00:50:49 < karlp> with the caveat that a recent merge broke the texane master. 2011-12-18T00:51:02 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 248 seconds] 2011-12-18T00:51:13 < karlp> master here: https://github.com/karlp/stlink is being kept stable 2011-12-18T00:51:59 < CheBuzz> Do does it just act as a remote gdbserver? (I've only ever used it to flash) 2011-12-18T00:52:07 < karlp> yes, it's aremote gdb server 2011-12-18T00:52:21 < karlp> the pdf in the doc/tutorial example shows some very basic methods on how to use it 2011-12-18T00:52:46 < karlp> it's basically (in one window): ./gdbserver/st-util 2011-12-18T00:52:58 < karlp> and in another, arm-none-eabi-gdb blah.elf 2011-12-18T00:53:05 < karlp> target ext :4242 2011-12-18T00:53:08 < karlp> load blah.elf 2011-12-18T00:53:16 < karlp> continue to start running 2011-12-18T00:53:35 < CheBuzz> Ah ok. I'm going to try to get it working under Eclipse 2011-12-18T00:54:12 < CheBuzz> Basically the same idea as JTAG->OpenOCD 2011-12-18T00:55:52 < karlp> should behave the same 2011-12-18T00:56:00 < karlp> just with a different command syntax to get the server started 2011-12-18T00:56:09 < karlp> we're not trying to reinvent any wheels 2011-12-18T00:56:13 < karlp> not any big ones anyway :) 2011-12-18T00:56:24 < CheBuzz> Right. I have cloned your git repo and have built it, so I'll let you know how it goes 2011-12-18T00:57:04 < karlp> more usage reports are always better :) 2011-12-18T00:57:10 < karlp> what target device? 2011-12-18T00:57:18 < karlp> which stlink? 2011-12-18T00:57:52 < CheBuzz> Target device is the STM32F4-Discovery board. stlink is from your repo. 2011-12-18T00:57:57 < CheBuzz> ls 2011-12-18T00:58:13 < karlp> that's a pretty well used combo, should be fine. 2011-12-18T00:59:00 < CheBuzz> Yes, nothing drives free development like free hardware :) 2011-12-18T01:01:58 * karlp mutters about region based bullshit promos 2011-12-18T01:04:38 < CheBuzz> Wish I had some more, I'd send you one. Unfortunately I've only got the one left for myself. The ones that my wife, mother-in-law, 3 year-old, and 1 year-old all "ordered" were donated to a few non-US/Canada friends 2011-12-18T01:05:13 < CheBuzz> Works just as expected by the way karlp. Thank you! 2011-12-18T01:05:43 < karlp> I have one, but I paid for it :) 2011-12-18T01:06:12 < karlp> there was a massive explosion in use/abuse/misuse of stlink when that promo came out :) 2011-12-18T01:06:24 < karlp> I wonder how many of them are in circulation vs the VL and L boards? 2011-12-18T01:06:55 < karlp> stlink was only _just_ getting the 32L board (well, the stlinkv2 in general) working, when there was this massive shitstorm of activity all of a sudden. 2011-12-18T01:06:58 < karlp> fun times :) 2011-12-18T01:08:34 < karlp> man, semiconductor pricing is awesome. stm32f217, 1 meg flash, 15.27 2011-12-18T01:08:41 < karlp> with 512k flash, 15.31 2011-12-18T01:09:22 < CheBuzz> Higher cost for less flash? That's odd. 2011-12-18T01:09:37 -!- district is now known as pineapples 2011-12-18T01:09:59 < karlp> not uncommon in my reading. 2011-12-18T01:10:08 < karlp> they might have originally been priced differnently, 2011-12-18T01:10:20 < karlp> but through demand for varioius models, the final retail channel pricing gets a bit mixed up :) 2011-12-18T01:10:51 -!- pineapples is now known as district 2011-12-18T01:11:04 < CheBuzz> Seems flashing is not working in that version though karlp 2011-12-18T01:12:12 < karlp> through gdb it very very very much depends on how you set up the sections and linker scripts. 2011-12-18T01:12:29 < karlp> via the cli flash tool, you just need a bin and an address 2011-12-18T01:12:44 < CheBuzz> Yes, that is what I was referring to, the cli tool 2011-12-18T01:12:55 < karlp> really? 2011-12-18T01:13:20 < karlp> does it flash, but your app doesn't work? 2011-12-18T01:13:20 < CheBuzz> I get: 2011-12-18T01:13:22 < CheBuzz> 2011-12-17T16:10:22 INFO src/stlink-common.c: Loading device parameters.... 2011-12-18T01:13:23 < CheBuzz> 2011-12-17T16:10:22 INFO src/stlink-common.c: Device connected is: F4 device 2011-12-18T01:13:23 < CheBuzz> 2011-12-17T16:10:22 INFO src/stlink-common.c: SRAM size: 0x30000 bytes (192 KiB), Flash: 0x100000 bytes (1024 KiB) in pages of 16384 bytes 2011-12-18T01:13:24 < karlp> or does it report errors flashing? 2011-12-18T01:13:29 < CheBuzz> And there it hangs forever 2011-12-18T01:13:49 < CheBuzz> It works just fine using MikeSmith's branch 2011-12-18T01:13:50 < karlp> unplug usb, replug usb? 2011-12-18T01:13:56 < CheBuzz> https://github.com/MikeSmith/stlink/tree/ 2011-12-18T01:14:18 < CheBuzz> Same thing 2011-12-18T01:14:32 < karlp> interesting. 2011-12-18T01:14:41 < karlp> well.... use his then :) 2011-12-18T01:15:01 < karlp> I know mine is still working for 32L and 32VL, the f4 is still in a box at the moment, been busy. 2011-12-18T01:15:11 < karlp> I hate it when this shit falls apart again. 2011-12-18T01:15:24 < karlp> I wonder where I broke mine for the f4 boards? 2011-12-18T01:15:28 < CheBuzz> No problems then. 2011-12-18T01:15:37 < CheBuzz> I only tested yours because his is very slow. 2011-12-18T01:15:49 < karlp> mine should be the same speed. 2011-12-18T01:15:55 < karlp> no-ones done any work to speed tha tup yet. 2011-12-18T01:16:07 < karlp> I've been struggling to keep it actually working on all major targets 2011-12-18T01:16:14 < karlp> seems to be a game of whackamole 2011-12-18T01:16:21 < CheBuzz> Ah, so even on 32L and 32VL it is as slow? As in, 4kb chunk takes about 3-5 seconds 2011-12-18T01:16:40 < karlp> oh, no, I mean, an F4 will be the same on all forks at the moment 2011-12-18T01:16:45 < karlp> I haven't seen any commits to fix that. 2011-12-18T01:17:05 < karlp> 32L is fairly slow, 32VL has an sram loader that's decent, but not awesome. 2011-12-18T01:17:06 < CheBuzz> That's fine then. 2011-12-18T01:17:30 < karlp> both the 32L and f4 have other flash programming modes that haven't been implemented yet 2011-12-18T01:17:39 < karlp> so they _will_ get faster, 2011-12-18T01:19:58 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-18T01:23:41 < CheBuzz> With stlink, do you need to do anything special to mask interrupts while you step through the code? Like "monitor cortex_m3 maskisr on" ? 2011-12-18T01:26:19 < karlp> I believe that falls into the, "reasons to move the back end into openocd, instead of having our own gdbserver implementation" 2011-12-18T01:26:38 < karlp> there is some support for monitor commands, but it's all very basic. 2011-12-18T01:26:54 < karlp> and I don't remember seeing anything to turn off interrupts while stepping or anything. 2011-12-18T01:27:23 < karlp> I personally don't have a lot of experience using gdb(server) in embedded anyway. 2011-12-18T01:27:38 < karlp> I might try and smack the code around a lot, but I'm hardly an expert in this area. 2011-12-18T01:29:53 < CheBuzz> No worries, it appears to be working fine. 2011-12-18T02:49:13 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Read error: Connection reset by peer] 2011-12-18T02:49:33 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-18T03:53:18 -!- f1yback [~flyback@c-98-219-134-156.hsd1.pa.comcast.net] has joined ##stm32 2011-12-18T03:53:25 < f1yback> Tom_itx: you around? 2011-12-18T04:02:01 -!- Eartaker [~Eartaker@c-67-185-76-100.hsd1.wa.comcast.net] has joined ##stm32 2011-12-18T04:02:01 -!- Eartaker [~Eartaker@c-67-185-76-100.hsd1.wa.comcast.net] has quit [Changing host] 2011-12-18T04:02:01 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has joined ##stm32 2011-12-18T04:16:01 < jnosky> CheBuzz I got it all working under eclipse, thats what I use 2011-12-18T04:17:00 < jnosky> My repo has some demos, with .cproject files 2011-12-18T04:17:26 < jnosky> For the f4 only tho 2011-12-18T04:46:14 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-18T05:27:31 < philpem> Has anyone managed to get the STM32 standard peripheral lib working on the STM32VL-Discovery with texane's st-link tools? 2011-12-18T05:27:41 < philpem> I'm getting "Loading section .isr_vector, size 0x1d0 lma 0x8000000" from gdb 2011-12-18T05:27:55 < philpem> followed by a load error 2011-12-18T05:35:01 -!- peabody124 [~peabody12@108-205-218-4.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2011-12-18T06:00:06 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-18T07:16:45 -!- NonaSuomy [~TeknoJuce@69.158.138.230] has joined ##stm32 2011-12-18T07:16:52 -!- NonaSuomy [~TeknoJuce@69.158.138.230] has quit [Changing host] 2011-12-18T07:16:52 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2011-12-18T07:18:25 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 276 seconds] 2011-12-18T07:37:17 -!- |Marco| [~source@248.79-160-186.customer.lyse.net] has quit [Read error: Connection reset by peer] 2011-12-18T07:41:16 -!- |Marco| [~source@248.79-160-186.customer.lyse.net] has joined ##stm32 2011-12-18T08:42:22 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has quit [Quit: By the time you read this I'll already be gone....] 2011-12-18T09:13:29 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 268 seconds] 2011-12-18T09:16:06 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has quit [Quit: Leaving...] 2011-12-18T09:39:38 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2011-12-18T10:13:30 -!- |Marco|_ [~source@248.79-160-186.customer.lyse.net] has joined ##stm32 2011-12-18T10:14:46 -!- karlp_ [~karl@palmtree.beeroclock.net] has joined ##stm32 2011-12-18T10:16:15 -!- Laurenceb_ [~Laurence@host86-173-192-214.range86-173.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2011-12-18T10:16:15 -!- |Marco| [~source@248.79-160-186.customer.lyse.net] has quit [Ping timeout: 240 seconds] 2011-12-18T10:16:15 -!- Laurenceb_ [~Laurence@86.173.192.214] has joined ##stm32 2011-12-18T10:16:42 -!- karlp [~karl@palmtree.beeroclock.net] has quit [Read error: Connection reset by peer] 2011-12-18T10:49:59 -!- Laurenceb_ [~Laurence@86.173.192.214] has quit [Ping timeout: 240 seconds] 2011-12-18T11:48:35 -!- peabody124 [~peabody12@108-205-218-4.lightspeed.hstntx.sbcglobal.net] has quit [Quit: peabody124] 2011-12-18T12:59:43 < philpem> Is it possible to use GDB to debug a Flash-based application? I'm having no end of trouble with it 2011-12-18T12:59:56 < philpem> This is on an STM32VL-Discovery, BTW. 2011-12-18T13:52:56 < jpa-> it is possible and it works fine for me 2011-12-18T13:53:37 < jpa-> using that very same board and karlp's (some a bit old) version of stlink 2011-12-18T13:54:16 < jpa-> texane's stlink has been broken quite often lately 2011-12-18T13:56:04 < jpa-> try this https://github.com/karlp/stlink/tree/ or https://github.com/PetteriAimonen/stlink 2011-12-18T14:19:53 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-18T14:19:56 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-18T14:30:18 -!- Laurenceb__ [~Laurence@host86-173-192-214.range86-173.btcentralplus.com] has joined ##stm32 2011-12-18T14:39:55 < philpem> jpa-, well, I've tried Mike Smith's branch... will try the other two 2011-12-18T14:40:56 < philpem> my problem with the 'mikesmith' fork is that it appears to flash code in, but GDB won't execute it properly 2011-12-18T14:41:27 < philpem> if I put a breakpoint on 'main', it never breaks 2011-12-18T14:57:29 < philpem> 'file test' 'load test' 'break main' 'continue' gets the chip stuck in a loop at "0x08001efc in WWDG_IRQHandler ()" 2011-12-18T15:33:32 < jpa-> do you have watchdog on? 2011-12-18T15:39:55 -!- sourcebox [~chatzilla@static-87-79-70-47.netcologne.de] has joined ##stm32 2011-12-18T15:46:13 -!- sourcebox [~chatzilla@static-87-79-70-47.netcologne.de] has left ##stm32 [] 2011-12-18T15:50:26 < karlp_> there is a massive lack of testing :( 2011-12-18T16:08:28 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-18T16:10:16 < philpem> jpa-, it shouldn't be on 2011-12-18T16:10:44 < philpem> jpa-, unless it's on by default on powerup, or there's a config fuse or EEPROM byte I need to change 2011-12-18T16:11:26 < philpem> it was running the ST Micro demo firmware (the LED blinker thing)... don't know if the flash needs erasing (or how to do it if it does) 2011-12-18T16:12:08 < philpem> (also, i'm idling -- if it's >10 mins since I posted, prefix your message with my /nick -- it makes xchat blink the tray icon) 2011-12-18T16:12:36 < jnosky> press the reset button, then type run 2011-12-18T16:26:51 < philpem> Transfer rate: 1 KB/sec, 1486 bytes/write. 2011-12-18T16:26:51 < philpem> (gdb) run 2011-12-18T16:26:51 < philpem> The program being debugged has been started already. 2011-12-18T16:26:51 < philpem> Start it from the beginning? (y or n) y 2011-12-18T16:26:51 < philpem> Starting program: /home/philpem/dev/stm32/blinker/test 2011-12-18T16:26:52 < philpem> ^C0x08001efc in WWDG_IRQHandler () 2011-12-18T16:27:18 < philpem> hit the reset button after the "transfer rate" line. 2011-12-18T16:31:48 < philpem> pastebin dump of the full output after I power cycled the board: http://pastebin.com/0E4pRpMz 2011-12-18T16:32:02 < karlp_> also, current texane stlink doesn't reset and start the code after flashing, 2011-12-18T16:32:12 < karlp_> this was an unexpected changd pushed in from Uwe 2011-12-18T16:32:25 < karlp_> you have to press reset yourself.. 2011-12-18T16:32:41 < philpem> this is the karlp branch... 2011-12-18T16:34:08 < philpem> as for code, i'm using ST's peripheral library, startup_stm32f10x_md_vl.s, stm32_flash.ld, core_cm3.c and system_stm32f10x.c 2011-12-18T16:34:24 < philpem> my main() just contains 'for (;;); return 0;' 2011-12-18T16:34:57 < philpem> I just want to get the debugger talking to the board first, then start adding stuff on 2011-12-18T16:36:18 -!- peabody124 [~peabody12@108-205-218-4.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2011-12-18T17:13:26 < philpem> ok, this is just weird. 2011-12-18T17:13:29 < philpem> (gdb) p StartUpCounter 2011-12-18T17:13:29 < philpem> Cannot access memory at address 0x20003fbc 2011-12-18T17:13:29 < philpem> (gdb) p HSEStatus 2011-12-18T17:13:29 < philpem> Cannot access memory at address 0x20003fb8 2011-12-18T17:21:25 < philpem> Cannot access memory at address 0x20003fb8 2011-12-18T17:21:26 < philpem> (gdb) bt f 2011-12-18T17:21:26 < philpem> #0 SetSysClockTo24 () at /home/philpem/dev/stm32/blinker/lib/CMSIS/CM3/DeviceSupport/ST/STM32F10x/system_stm32f10x.c:591 2011-12-18T17:21:26 < philpem> StartUpCounter = 2011-12-18T17:21:26 < philpem> HSEStatus = 2011-12-18T17:21:28 < philpem> #1 0x08001d58 in SetSysClock () at /home/philpem/dev/stm32/blinker/lib/CMSIS/CM3/DeviceSupport/ST/STM32F10x/system_stm32f10x.c:424 2011-12-18T17:21:31 < philpem> No locals. 2011-12-18T17:21:33 < philpem> Cannot access memory at address 0x20003fc4 2011-12-18T17:21:35 < philpem> seems almost none of this stuff actually works :-( 2011-12-18T17:21:58 < philpem> back to the Bus Pirate and IICBUG i guess :( 2011-12-18T17:22:07 < jpa-> philpem: the VL discovery has only 0x2000 bytes of ram 2011-12-18T17:22:16 < philpem> hm. 2011-12-18T17:22:18 < jpa-> maybe your stack pointer is wrong 2011-12-18T17:22:26 < jpa-> p $sp 2011-12-18T17:23:45 < philpem> (gdb) p $sp 2011-12-18T17:23:45 < philpem> $1 = (void *) 0x20003fe0 2011-12-18T17:23:49 < philpem> ... the hell? 2011-12-18T17:24:09 < philpem> wrong damn linker script. 2011-12-18T17:25:23 < philpem> no suitable linker scripts in the ST libraries either? 2011-12-18T17:30:44 * philpem makes a note: write a shell or python script to build STM32 linkscripts and throw it on github 2011-12-18T17:38:33 < jpa-> that might work: https://svn.kapsi.fi/jpa/paatti/stm32.ld 2011-12-18T17:39:01 < jpa-> though the linker script is often fairly tightly bound into your startup code and especially into the C runtime initialization 2011-12-18T17:39:59 < jpa-> the codesourcery toolchain also comes with generic-m.ld, which often works 2011-12-18T17:41:29 < philpem> the problem is, ST seem to rely on toolchains which auto-generate linker scripts 2011-12-18T17:42:03 < philpem> so they provide one or two as part of the examples, but i suspect the rest are either built on the fly when needed, or included with the toolkits 2011-12-18T17:42:13 < philpem> (IAR, Keil, Atollic...) 2011-12-18T17:42:48 < jpa-> well, every toolchain has its own linker script format 2011-12-18T17:43:03 < philpem> good point 2011-12-18T17:43:15 < philpem> truestudio seems to use LD 2011-12-18T17:43:21 < jpa-> from what i have seen, most linker scripts (such as the one that comes with codesourcery) are horribly complicated 2011-12-18T17:43:48 < philpem> mmm 2011-12-18T17:43:50 < jpa-> truestudio uses GCC 2011-12-18T17:44:06 < jpa-> IAR and Keil have their own compilers IIRC 2011-12-18T17:44:44 < jpa-> i like the very basic linker scripts, such as the one pasted above; but of course it might not work perfectly for C++ static initializers etc. 2011-12-18T18:02:47 < philpem> yay, it works! :) 2011-12-18T18:02:55 < philpem> had to fix the LD-script 2011-12-18T18:03:58 < philpem> (gdb) b main 2011-12-18T18:03:58 < philpem> Breakpoint 1 at 0x8001b58: file test.c, line 3. 2011-12-18T18:03:58 < philpem> (gdb) cont 2011-12-18T18:03:58 < philpem> Continuing. 2011-12-18T18:03:58 < philpem> Note: automatically using hardware breakpoints for read-only addresses. 2011-12-18T18:03:59 < philpem> Breakpoint 1, main () at test.c:3 2011-12-18T18:04:01 < philpem> 3 for (;;); 2011-12-18T18:12:20 -!- theAdib [~adib@dslb-088-074-159-228.pools.arcor-ip.net] has joined ##stm32 2011-12-18T18:12:42 -!- peabody124 [~peabody12@108-205-218-4.lightspeed.hstntx.sbcglobal.net] has quit [Quit: peabody124] 2011-12-18T18:39:38 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-18T18:48:49 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-18T18:56:26 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2011-12-18T18:59:51 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 244 seconds] 2011-12-18T19:14:25 < jpa-> philpem: congrats :) 2011-12-18T19:14:35 < philpem> jpa-, thanks :) 2011-12-18T19:16:58 < philpem> there's a much better commented ld script here, which is quite nice: https://sites.google.com/site/stm32discovery/open-source-development-with-the-stm32-discovery/setting-up-eclipse-for-stm32-discovery-development 2011-12-18T19:18:04 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has joined ##stm32 2011-12-18T19:20:35 < philpem> not sure what ".ARM.attributes" is supposed to do, or the ">ram AT>rom" tacked onto the .data segment 2011-12-18T19:22:42 < jpa-> >ram AT >rom means that the initialization values are stored in rom, while the actual data is accessed from ram 2011-12-18T19:23:02 < jpa-> it is the responsibility of the C runtime to copy them 2011-12-18T19:24:12 < philpem> ah. 2011-12-18T19:25:29 < philpem> so effectively it tells the linker "store this stuff in flash, but link the rest of the code to access it from RAM" 2011-12-18T19:26:58 < jpa-> yeah 2011-12-18T19:38:17 < philpem> guess the next step is to make an LED blink.. then make one of the DOGM displays do "something useful" :) 2011-12-18T19:43:30 -!- TeknoJuce [~TeknoJuce@69.158.138.230] has joined ##stm32 2011-12-18T19:43:30 -!- TeknoJuce [~TeknoJuce@69.158.138.230] has quit [Changing host] 2011-12-18T19:43:30 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2011-12-18T19:46:05 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 252 seconds] 2011-12-18T19:51:51 -!- NonaSuomy [~TeknoJuce@69.158.138.230] has joined ##stm32 2011-12-18T19:51:52 -!- NonaSuomy [~TeknoJuce@69.158.138.230] has quit [Changing host] 2011-12-18T19:51:52 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2011-12-18T19:53:35 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 268 seconds] 2011-12-18T21:02:00 -!- Kevin` [~kevin@router.kwzs.be] has quit [Read error: Connection reset by peer] 2011-12-18T21:02:23 -!- Kevin` [~kevin@router.kwzs.be] has joined ##stm32 2011-12-18T21:17:50 <+Steffanx> philpem .. that linker scripts still needs a fix 2011-12-18T21:17:53 <+Steffanx> (if you want to use it) 2011-12-18T21:18:10 <+Steffanx> There's a } missing at the end of thefile 2011-12-18T21:22:37 < philpem> I noticed :) 2011-12-18T21:22:49 < philpem> i've gone back to using a modified version of the one from Texane's blink demo 2011-12-18T21:23:01 < philpem> the one at the link i posted doesn't work with Newlib 2011-12-18T21:26:15 <+Steffanx> Weird, as the same website also shows how to get newlib functiona 2011-12-18T21:26:17 <+Steffanx> l 2011-12-18T21:27:27 < jpa-> it should work fine 2011-12-18T21:27:38 < jpa-> but it might not work with the newlib crt0.a 2011-12-18T21:27:47 < jpa-> but who uses that anyway ,) 2011-12-18T21:27:51 < philpem> :) 2011-12-18T21:28:41 < jpa-> well, it is not strictly newlib's crt0.a anyway; just a particular implementation of crt0.a compatible with newlib 2011-12-18T21:28:55 < jpa-> aka startup code 2011-12-18T21:29:05 < philpem> this is what I get if I use newlib with the "stm32discovery opensource" ldscript: 2011-12-18T21:29:06 < philpem> /opt/toolchains/arm-none-eabi-stm32/lib/gcc/arm-none-eabi/4.6.1/../../../../arm-none-eabi/lib/thumb/crt0.o: In function `change_back': 2011-12-18T21:29:06 < philpem> /home/philpem/dev/embedded_toolchains/build-20111218-022410/gcc-4.6.1/build/arm-none-eabi/thumb/newlib/libc/sys/arm/../../../../../../../newlib/libc/sys/arm/crt0.S:254: undefined reference to `__bss_start__' 2011-12-18T21:29:06 < philpem> /home/philpem/dev/embedded_toolchains/build-20111218-022410/gcc-4.6.1/build/arm-none-eabi/thumb/newlib/libc/sys/arm/../../../../../../../newlib/libc/sys/arm/crt0.S:254: undefined reference to `__bss_end__' 2011-12-18T21:29:07 < philpem> /opt/toolchains/arm-none-eabi-stm32/lib/gcc/arm-none-eabi/4.6.1/../../../../arm-none-eabi/lib/thumb/libc.a(lib_a-syscalls.o): In function `_sbrk': 2011-12-18T21:29:10 < philpem> /home/philpem/dev/embedded_toolchains/build-20111218-022410/gcc-4.6.1/build/arm-none-eabi/thumb/newlib/libc/sys/arm/../../../../../../../newlib/libc/sys/arm/syscalls.c:483: undefined reference to `end' 2011-12-18T21:29:13 < philpem> collect2: ld returned 1 exit status 2011-12-18T21:31:35 < jpa-> hmm yeah, never seen that syscalls.c file by newlib; i have just written my own back when i still used it :P 2011-12-18T21:32:14 < jpa-> but as i said, the linker script is quite tightly bound to the startup code and you need them to be compatible 2011-12-18T21:33:08 < Laurenceb__> tried grabbing something off github? 2011-12-18T21:33:19 < Laurenceb__> theres some example projects there 2011-12-18T21:33:26 < Laurenceb__> search for adam greig 2011-12-18T21:33:45 < Laurenceb__> /Randomskk 2011-12-18T21:37:19 -!- Laurenceb__ is now known as Laurenceb_ 2011-12-18T21:43:07 < philpem> ooo, STM32 skeleton projects. neat. 2011-12-18T22:17:16 < jnosky> Yeaah! I got the bulk transfer to work on the f4 1040kB/s! 2011-12-18T22:17:31 < jnosky> Not hid or cdc either ;) 2011-12-18T22:17:41 < Laurenceb_> i still think usb is annoyingly slow 2011-12-18T22:17:49 < Laurenceb_> try it behind a hub 2011-12-18T22:18:18 < jnosky> I think it is on a hub already 2011-12-18T22:18:26 < jnosky> Front panel is usually a hub i think 2011-12-18T22:19:48 < Laurenceb_> yeah i see slowdown for 800kB/s to 500 on the front panel of my machine 2011-12-18T22:20:41 < jnosky> Tried it around back and still got 1040 2011-12-18T22:21:03 < Laurenceb_> interesting 2011-12-18T22:21:14 < Laurenceb_> im using mass storage 2011-12-18T22:21:44 < Laurenceb_> its good for storing churches 2011-12-18T22:21:50 < jnosky> Anyway the nut was to get my own custom device to work, not using those supplied classes 2011-12-18T22:22:32 < jnosky> Simple BulkIn and BulkOut with a vendor control EP 2011-12-18T22:23:31 < jnosky> Its not using dma, i dunno if that will make it any faster 2011-12-18T22:31:00 < philpem> yay, squarewave output from PD2 :) 2011-12-18T22:31:29 < philpem> 2.6MHz or thereabouts. CPU core probably 8MHz or thereabouts. 2011-12-18T22:34:17 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-18T22:42:34 <+Steffanx> Whaaaaat YANKIEEEE 2011-12-18T22:42:43 <+Steffanx> What are you doing here? 2011-12-18T22:45:19 <+Steffanx> Hello flyback 2011-12-18T23:19:49 <+Steffanx> :) 2011-12-18T23:51:59 < philpem> flyback, shiny. I'm waiting until Farnell get the ST-LINK/v2 back in stock then getting an F4 Discovery and the ST-Link 2011-12-18T23:54:57 < AK6L> er, but the F4 Discovery has a built-in ST-LINK/v2 2011-12-18T23:55:18 < AK6L> you can even disconnect it from the discovery board and use it for other things, just move a couple jumpers. --- Day changed Mon Dec 19 2011 2011-12-19T00:00:56 < Laurenceb_> lol yeah 2011-12-19T00:01:01 < Laurenceb_> no need for stlink 2011-12-19T00:19:05 < philpem> hmm, point. 2011-12-19T00:19:21 < philpem> though AIUI the V2 can program the STM8 chips too 2011-12-19T00:24:03 -!- phantone [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-19T00:26:47 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 240 seconds] 2011-12-19T01:14:16 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Read error: Operation timed out] 2011-12-19T01:15:38 -!- phantone is now known as phantoxe 2011-12-19T01:34:34 -!- theAdib [~adib@dslb-088-074-159-228.pools.arcor-ip.net] has quit [Quit: Ex-Chat] 2011-12-19T02:04:47 -!- Laurenceb_ [~Laurence@host86-173-192-214.range86-173.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2011-12-19T03:31:48 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-19T03:49:57 -!- philpem [~philpem@discferret/team-lead] has quit [Ping timeout: 244 seconds] 2011-12-19T03:56:01 -!- Kevin`_ [~kevin@router.kwzs.be] has joined ##stm32 2011-12-19T04:04:20 -!- Kevin` [~kevin@router.kwzs.be] has quit [Ping timeout: 240 seconds] 2011-12-19T04:06:01 -!- Kevin`_ is now known as Kevin` 2011-12-19T05:24:53 * f1yback http://www.youtube.com/watch?v=rHJoj9IqeKg <--- JUST FOR YOU KIM JONG 2011-12-19T05:26:20 * f1yback DANCES 2011-12-19T05:51:31 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has quit [Quit: Leaving...] 2011-12-19T06:41:08 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Excess Flood] 2011-12-19T06:41:29 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2011-12-19T11:03:26 -!- |Marco|_ [~source@248.79-160-186.customer.lyse.net] has quit [Ping timeout: 244 seconds] 2011-12-19T11:03:38 -!- |Marco| [~source@248.79-160-186.customer.lyse.net] has joined ##stm32 2011-12-19T11:44:32 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 252 seconds] 2011-12-19T11:59:39 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-19T12:20:21 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-19T14:05:38 < karlp_> so... someone's allegedly added stlink support to openocd. 2011-12-19T14:05:47 < karlp_> I have no idea how it works from the code submitted, 2011-12-19T14:06:10 < karlp_> but if anyone uses openocd, and wants to try it out, this is the changeset: http://openocd.zylin.com/#change,279 2011-12-19T14:06:15 < karlp_> (I haven't tried this out at all) 2011-12-19T14:07:16 < karlp_> oh, ok, it needs multiple other proposed commits 2011-12-19T14:13:33 < BrainDamage> great news, let's hope he reused code from the current work and he didn't invent yet another wheel 2011-12-19T14:16:21 < karlp_> he did, it's all based on texane/stlink stuff, from some point in time. 2011-12-19T14:16:29 < karlp_> though of course, now it's all gpl, rather than bsd. 2011-12-19T14:16:40 < karlp_> whatever. 2011-12-19T14:16:55 < karlp_> it would have been nice if he'd spoken to _anyone_ about this, 2011-12-19T14:16:57 < karlp_> but so be it. 2011-12-19T14:17:04 < karlp_> this is a good thing 2011-12-19T14:17:16 < karlp_> should have more testing, should hopefully be more stable from here 2011-12-19T14:17:55 < BrainDamage> should also be more widespread, openocd is much more known tool than stlink's software 2011-12-19T14:18:22 < karlp_> oh absolutely. 2011-12-19T14:18:32 < karlp_> though openocd needs to drastically overhaul their docs and website. 2011-12-19T14:18:42 < karlp_> no useful working releases for a lot of targets 2011-12-19T14:18:52 < karlp_> still, maybe I can do that now. 2011-12-19T14:19:02 < karlp_> also, it looks like it only supports the stlink v2, 2011-12-19T14:20:03 < BrainDamage> probably because it doesn't abuses usb protocol badly so it doesn't need fancy udev rules or the kernel extension on mac 2011-12-19T14:21:43 < BrainDamage> it still would be nice if it would, since many boards / devices are out there to support, and those anti-hack are like 1 file large 2011-12-19T14:22:36 < karlp_> looks like the guy who did is the first person seen using an F2. 2011-12-19T14:22:46 < karlp_> which I'm pretty sure probably had pretty poor support in stlink, 2011-12-19T14:23:16 < karlp_> so he probabyl took some half code from stlink, did all the rest, and put it in openocd rather than in stlink. 2011-12-19T14:23:21 < karlp_> still, good for him, 2011-12-19T14:23:32 < karlp_> I couldn't work out how to make stlink code fit into openocd's architecture 2011-12-19T14:23:42 < karlp_> he's clearly someone who'd been hacking on openocd before --- Log closed Mon Dec 19 14:46:49 2011 --- Log opened Mon Dec 19 14:46:55 2011 2011-12-19T14:46:55 -!- jpa-_ [jpa@xob.kapsi.fi] has joined ##stm32 2011-12-19T14:46:55 -!- Irssi: ##stm32: Total of 25 nicks [1 ops, 0 halfops, 0 voices, 24 normal] 2011-12-19T14:47:36 -!- Irssi: Join to ##stm32 was synced in 45 secs 2011-12-19T14:47:48 -!- jpa- [jpa@xob.kapsi.fi] has quit [Ping timeout: 244 seconds] 2011-12-19T14:47:50 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 240 seconds] 2011-12-19T14:47:51 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2011-12-19T14:48:07 -!- You're now known as jpa- 2011-12-19T14:50:26 < BrainDamage> I think some complexity is inherently necessary, due to having to support all sorta tools, and probably there's tens of people working on it at the same time, which tends to tangle code up by itself 2011-12-19T14:52:08 -!- Netsplit *.net <-> *.split quits: district 2011-12-19T14:52:45 -!- Netsplit over, joins: district 2011-12-19T14:57:53 -!- Netsplit *.net <-> *.split quits: district 2011-12-19T15:00:11 -!- Netsplit over, joins: district 2011-12-19T15:03:32 < karlp_> yeah, I know :| 2011-12-19T15:04:08 < karlp_> you start to learn one thing, then find you have to throw that away, learn something else, find that's not "the way" either, learn something else. 2011-12-19T15:22:02 < Laurenceb> heh 2011-12-19T15:22:14 < Laurenceb> i tried to get openocd working with nxp a while back 2011-12-19T15:22:23 < Laurenceb> gave up after several days of pain 2011-12-19T15:33:07 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-19T15:46:21 < Thorn> I did get it working with lpc1768 but not without trouble 2011-12-19T16:55:24 -!- emeb [~ericb@ip72-223-90-48.ph.ph.cox.net] has joined ##stm32 2011-12-19T17:16:57 < karlp_> I find it hard to trust a project that thinks tcl is a good idea :| 2011-12-19T17:17:22 < karlp_> almost like forth. 2011-12-19T17:17:32 < karlp_> it might be awesome for you, but I don't want to touch it. 2011-12-19T17:17:46 -!- Thorn__ [~Thorn@2.93.107.103] has joined ##stm32 2011-12-19T17:17:46 -!- Thorn__ [~Thorn@2.93.107.103] has quit [Changing host] 2011-12-19T17:17:46 -!- Thorn__ [~Thorn@unaffiliated/thorn] has joined ##stm32 2011-12-19T17:20:59 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 252 seconds] 2011-12-19T17:27:02 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 252 seconds] 2011-12-19T17:27:45 -!- NonaSuomy [~TeknoJuce@69.158.138.230] has joined ##stm32 2011-12-19T17:27:45 -!- NonaSuomy [~TeknoJuce@69.158.138.230] has quit [Changing host] 2011-12-19T17:27:45 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2011-12-19T17:31:36 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-19T17:34:14 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 248 seconds] 2011-12-19T17:35:00 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2011-12-19T18:24:13 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-19T18:31:33 -!- peabody124 [~peabody12@c-98-194-201-181.hsd1.tx.comcast.net] has joined ##stm32 2011-12-19T19:10:19 -!- peabody124 [~peabody12@c-98-194-201-181.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-19T19:12:17 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-19T19:12:17 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-19T19:16:37 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-19T19:40:00 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-19T19:51:19 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-19T20:53:30 -!- Laurenceb_ [~Laurence@host86-173-192-214.range86-173.btcentralplus.com] has joined ##stm32 2011-12-19T21:30:37 -!- monode [bc1aa4f3@gateway/web/freenode/ip.188.26.164.243] has joined ##stm32 2011-12-19T21:48:23 -!- monode [bc1aa4f3@gateway/web/freenode/ip.188.26.164.243] has quit [Quit: Page closed] 2011-12-19T22:22:24 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-19T22:40:53 -!- Thorn__ [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 252 seconds] --- Day changed Tue Dec 20 2011 2011-12-20T00:08:00 -!- Laurenceb_ [~Laurence@host86-173-192-214.range86-173.btcentralplus.com] has quit [Remote host closed the connection] 2011-12-20T00:32:32 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 244 seconds] 2011-12-20T02:29:00 -!- emeb [~ericb@ip72-223-90-48.ph.ph.cox.net] has quit [Quit: Leaving.] 2011-12-20T03:05:01 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Quit: leaving] 2011-12-20T03:11:56 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 240 seconds] 2011-12-20T03:26:30 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-20T03:41:45 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has joined ##stm32 2011-12-20T04:13:07 -!- |Marco| [~source@248.79-160-186.customer.lyse.net] has quit [Read error: Operation timed out] 2011-12-20T04:16:22 -!- |Marco| [~source@248.79-160-186.customer.lyse.net] has joined ##stm32 2011-12-20T05:26:30 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-20T06:12:16 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has quit [Quit: Leaving...] 2011-12-20T06:27:17 -!- Eartaker [~Eartaker@c-67-185-76-100.hsd1.wa.comcast.net] has joined ##stm32 2011-12-20T06:27:17 -!- Eartaker [~Eartaker@c-67-185-76-100.hsd1.wa.comcast.net] has quit [Changing host] 2011-12-20T06:27:17 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has joined ##stm32 2011-12-20T07:59:53 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has quit [Quit: By the time you read this I'll already be gone....] 2011-12-20T08:07:06 -!- Eartaker [~Eartaker@c-67-185-76-100.hsd1.wa.comcast.net] has joined ##stm32 2011-12-20T08:07:06 -!- Eartaker [~Eartaker@c-67-185-76-100.hsd1.wa.comcast.net] has quit [Changing host] 2011-12-20T08:07:06 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has joined ##stm32 2011-12-20T08:57:53 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has quit [Quit: By the time you read this I'll already be gone....] 2011-12-20T11:23:03 -!- NonaSuomy is now known as TeknoJucer 2011-12-20T13:07:26 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-20T14:13:16 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-20T14:34:24 -!- peabody124 [~peabody12@c-98-194-201-181.hsd1.tx.comcast.net] has joined ##stm32 2011-12-20T15:07:27 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 240 seconds] 2011-12-20T15:10:28 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-20T16:02:32 -!- Laurenceb [~laurence@vlsi1.eee.nottingham.ac.uk] has quit [Quit: Leaving] 2011-12-20T16:19:17 -!- peabody124 [~peabody12@c-98-194-201-181.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-20T16:21:08 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 240 seconds] 2011-12-20T16:25:14 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-20T16:28:38 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Client Quit] 2011-12-20T16:34:02 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 --- Log closed Tue Dec 20 16:44:31 2011 --- Log opened Tue Dec 20 16:44:39 2011 2011-12-20T16:44:39 -!- jpa-_ [jpa@xob.kapsi.fi] has joined ##stm32 2011-12-20T16:44:39 -!- Irssi: ##stm32: Total of 24 nicks [1 ops, 0 halfops, 0 voices, 23 normal] 2011-12-20T16:45:17 -!- Irssi: Join to ##stm32 was synced in 42 secs 2011-12-20T16:50:12 -!- Netsplit *.net <-> *.split quits: jpa-, district 2011-12-20T16:50:53 -!- Netsplit over, joins: district 2011-12-20T17:00:08 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-20T17:23:29 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Remote host closed the connection] 2011-12-20T17:24:27 -!- emeb [~ericb@ip72-223-90-48.ph.ph.cox.net] has joined ##stm32 2011-12-20T17:24:46 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-20T17:29:29 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 252 seconds] 2011-12-20T17:31:48 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-20T17:34:21 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Read error: Operation timed out] 2011-12-20T17:38:52 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-20T17:46:36 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 240 seconds] 2011-12-20T19:05:46 -!- You're now known as jpa- 2011-12-20T20:07:10 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-20T20:07:13 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-20T20:17:58 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2011-12-20T20:56:30 -!- peabody124_ [~peabody12@128.249.96.123] has joined ##stm32 2011-12-20T20:58:15 -!- peabody124_ [~peabody12@128.249.96.123] has left ##stm32 [] 2011-12-20T21:00:09 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 240 seconds] 2011-12-20T21:29:24 < BrainDamage> I forgot who mentioned it, but st published a dev board for the stm32w chip, it's not a discovery tough, and costs 46$ on digikey: http://www.st.com/internet/evalboard/product/251361.jsp 2011-12-20T21:30:17 <+Steffanx> 46$ :( 2011-12-20T21:30:34 <+Steffanx> Too expensive for such a 'simple' board :( 2011-12-20T21:31:12 < BrainDamage> I agree they exceeded a bit on the price 2011-12-20T21:31:19 < BrainDamage> esp compared to the discovery boards 2011-12-20T21:32:57 <+Steffanx> Yeah 2011-12-20T21:50:05 < karlp_> yeah, I was hoping for a 32w discovery. 2011-12-20T21:50:14 < karlp_> I saw tha tboard, wasn't overly imipressed 2011-12-20T22:21:06 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-20T22:30:34 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-20T23:32:09 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has joined ##stm32 2011-12-20T23:59:41 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 240 seconds] --- Day changed Wed Dec 21 2011 2011-12-21T02:57:08 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-21T03:53:35 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2011-12-21T03:57:05 -!- TeknoJucer [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 244 seconds] 2011-12-21T04:27:33 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 248 seconds] 2011-12-21T04:27:41 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 240 seconds] 2011-12-21T04:27:51 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2011-12-21T04:35:55 -!- NonaSuomy is now known as TeknoJucer 2011-12-21T04:38:46 -!- emeb [~ericb@ip72-223-90-48.ph.ph.cox.net] has quit [Quit: Leaving.] 2011-12-21T04:39:58 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2011-12-21T04:42:22 -!- TeknoJucer [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 255 seconds] 2011-12-21T05:11:26 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-21T05:31:09 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2011-12-21T05:32:58 -!- NonaSuomy [~TeknoJuce@69.158.142.164] has joined ##stm32 2011-12-21T05:32:59 -!- NonaSuomy [~TeknoJuce@69.158.142.164] has quit [Changing host] 2011-12-21T05:32:59 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2011-12-21T06:17:28 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 268 seconds] 2011-12-21T06:17:41 -!- NonaSuomy [~TeknoJuce@bas1-london15-2925200354.dsl.bell.ca] has joined ##stm32 2011-12-21T06:17:41 -!- NonaSuomy [~TeknoJuce@bas1-london15-2925200354.dsl.bell.ca] has quit [Changing host] 2011-12-21T06:17:41 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2011-12-21T06:35:29 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 240 seconds] 2011-12-21T06:36:36 -!- NonaSuomy [~TeknoJuce@bas1-london15-1168017615.dsl.bell.ca] has joined ##stm32 2011-12-21T06:36:36 -!- NonaSuomy [~TeknoJuce@bas1-london15-1168017615.dsl.bell.ca] has quit [Changing host] 2011-12-21T06:36:36 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2011-12-21T06:39:12 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-21T06:40:17 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [Disconnected by services] 2011-12-21T06:40:26 -!- Tom_L is now known as Tom_itx 2011-12-21T06:47:17 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-21T06:49:18 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has quit [Quit: By the time you read this I'll already be gone....] 2011-12-21T06:49:19 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [Disconnected by services] 2011-12-21T06:49:25 -!- Tom_L is now known as Tom_itx 2011-12-21T07:47:56 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 240 seconds] 2011-12-21T07:48:52 -!- NonaSuomy [~TeknoJuce@bas1-london15-1168017615.dsl.bell.ca] has joined ##stm32 2011-12-21T07:48:53 -!- NonaSuomy [~TeknoJuce@bas1-london15-1168017615.dsl.bell.ca] has quit [Changing host] 2011-12-21T07:48:53 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2011-12-21T07:59:16 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 240 seconds] 2011-12-21T08:00:22 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2011-12-21T08:05:46 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 276 seconds] 2011-12-21T08:06:39 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2011-12-21T08:13:12 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 240 seconds] 2011-12-21T08:13:58 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2011-12-21T10:22:24 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-21T10:28:10 -!- mansfeld [~andrew@robopoly/watson] has quit [Quit: Changing server] 2011-12-21T10:48:23 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Excess Flood] 2011-12-21T10:48:45 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2011-12-21T11:00:05 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has quit [Ping timeout: 248 seconds] 2011-12-21T11:00:38 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [Ping timeout: 248 seconds] 2011-12-21T11:38:29 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-21T11:38:59 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has joined ##stm32 2011-12-21T12:39:22 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 255 seconds] 2011-12-21T15:11:03 -!- mansfeld [~andrew@robopoly/watson] has joined ##stm32 2011-12-21T17:26:50 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [Ping timeout: 252 seconds] 2011-12-21T17:26:51 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has quit [Ping timeout: 248 seconds] 2011-12-21T17:32:55 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-21T18:15:55 -!- emeb [~ericb@ip72-223-90-48.ph.ph.cox.net] has joined ##stm32 2011-12-21T19:25:52 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-21T19:25:53 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-21T19:34:19 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Read error: Connection reset by peer] 2011-12-21T19:36:45 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-21T19:36:57 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-21T20:17:57 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-21T20:22:21 -!- peabody124 [~peabody12@99-63-106-203.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2011-12-21T20:32:37 -!- Kevin` [~kevin@router.kwzs.be] has quit [Ping timeout: 276 seconds] 2011-12-21T20:33:34 -!- Kevin` [~kevin@router.kwzs.be] has joined ##stm32 2011-12-21T20:38:46 -!- peabody124 [~peabody12@99-63-106-203.lightspeed.hstntx.sbcglobal.net] has quit [Ping timeout: 248 seconds] 2011-12-21T20:49:26 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-21T21:04:00 -!- peabody124 [~peabody12@c-98-194-201-181.hsd1.tx.comcast.net] has joined ##stm32 2011-12-21T21:12:22 -!- peabody124 [~peabody12@c-98-194-201-181.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-21T21:29:52 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-21T22:52:07 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-21T22:53:54 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has joined ##stm32 2011-12-21T23:01:35 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [Ping timeout: 252 seconds] 2011-12-21T23:02:37 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has quit [Ping timeout: 255 seconds] 2011-12-21T23:04:30 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has joined ##stm32 2011-12-21T23:06:24 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-21T23:08:35 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-21T23:27:08 -!- peabody124_ [~peabody12@128.249.96.123] has joined ##stm32 2011-12-21T23:29:55 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 244 seconds] 2011-12-21T23:29:55 -!- peabody124_ is now known as peabody124 2011-12-21T23:58:38 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has quit [Ping timeout: 240 seconds] 2011-12-21T23:59:29 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [Ping timeout: 240 seconds] --- Day changed Thu Dec 22 2011 2011-12-22T00:02:03 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has joined ##stm32 2011-12-22T00:06:33 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-22T00:13:39 -!- zlog [~zlog@ip68-102-96-223.ks.ok.cox.net] has quit [Remote host closed the connection] 2011-12-22T00:13:42 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [] 2011-12-22T00:15:22 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-22T00:15:26 -!- zlog [~zlog@ip68-102-110-116.ks.ok.cox.net] has joined ##stm32 2011-12-22T00:32:09 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 252 seconds] 2011-12-22T01:10:01 -!- peabody124 [~peabody12@128.249.96.123] has quit [Quit: peabody124] 2011-12-22T01:27:58 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has joined ##stm32 2011-12-22T03:12:45 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has joined ##stm32 2011-12-22T03:22:45 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-22T03:24:17 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has quit [Quit: By the time you read this I'll already be gone....] 2011-12-22T04:02:49 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Read error: Operation timed out] 2011-12-22T04:07:31 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-22T04:35:19 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Quit: leaving] 2011-12-22T06:18:38 -!- emeb [~ericb@ip72-223-90-48.ph.ph.cox.net] has quit [Quit: Leaving.] 2011-12-22T06:43:29 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has quit [Quit: Leaving...] 2011-12-22T07:31:57 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-22T07:37:34 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has joined ##stm32 2011-12-22T09:34:27 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Ping timeout: 252 seconds] 2011-12-22T10:42:42 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has quit [Quit: Quit] 2011-12-22T13:16:44 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-22T13:16:52 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-22T13:42:00 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2011-12-22T13:46:48 -!- karlp_ is now known as karlp 2011-12-22T15:07:42 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-22T15:43:05 -!- peabody124_ [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-22T15:43:05 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Read error: Connection reset by peer] 2011-12-22T15:43:06 -!- peabody124_ is now known as peabody124 2011-12-22T16:07:48 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-22T16:48:53 -!- dekar [~dekar@drms-590ec6d0.pool.mediaWays.net] has joined ##stm32 2011-12-22T16:49:13 -!- dekar [~dekar@drms-590ec6d0.pool.mediaWays.net] has quit [Client Quit] 2011-12-22T17:14:59 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-22T17:22:03 -!- emeb [~ericb@ip72-223-90-48.ph.ph.cox.net] has joined ##stm32 2011-12-22T18:16:34 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-22T18:32:55 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-22T18:37:57 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-22T18:38:00 -!- mode/##stm32 [+v Steffann] by ChanServ 2011-12-22T18:40:25 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 252 seconds] 2011-12-22T19:03:20 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-22T19:08:56 -!- peabody124 [~peabody12@c-98-194-201-181.hsd1.tx.comcast.net] has joined ##stm32 2011-12-22T19:10:00 -!- peabody124 [~peabody12@c-98-194-201-181.hsd1.tx.comcast.net] has quit [Client Quit] 2011-12-22T20:01:42 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-22T20:41:07 -!- peabody124_ [~peabody12@128.249.96.123] has joined ##stm32 2011-12-22T20:43:38 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 240 seconds] 2011-12-22T20:43:38 -!- peabody124_ is now known as peabody124 2011-12-22T21:18:42 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [Ping timeout: 248 seconds] 2011-12-22T21:19:10 -!- zlog [~zlog@ip68-102-110-116.ks.ok.cox.net] has quit [Ping timeout: 276 seconds] 2011-12-22T21:22:10 -!- zlog [~zlog@ip68-102-110-116.ks.ok.cox.net] has joined ##stm32 2011-12-22T22:21:18 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-22T23:14:51 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-22T23:19:33 -!- emeb [~ericb@ip72-223-90-48.ph.ph.cox.net] has quit [Quit: Leaving.] --- Day changed Fri Dec 23 2011 2011-12-23T00:32:04 -!- hex-code [~hex-code@115.248.114.51] has joined ##stm32 2011-12-23T01:11:25 <+Steffann> Ha flyback :) 2011-12-23T01:11:56 <+Steffann> déjà vu 2011-12-23T02:22:16 -!- peabody124 [~peabody12@128.249.96.123] has quit [Ping timeout: 240 seconds] 2011-12-23T02:47:44 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-23T03:02:14 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 248 seconds] 2011-12-23T03:22:02 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-23T03:29:54 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has joined ##stm32 2011-12-23T03:47:41 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 244 seconds] 2011-12-23T03:58:58 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-23T04:28:04 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-23T06:18:19 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has quit [Quit: BANG! I'm gone, just like that, yo.] 2011-12-23T09:48:26 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-23T10:04:44 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [] 2011-12-23T10:26:30 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-23T12:33:41 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-23T12:33:44 -!- mode/##stm32 [+v Steffann] by ChanServ 2011-12-23T12:44:41 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2011-12-23T13:14:25 -!- Steffann is now known as Steffanx 2011-12-23T16:03:12 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-23T17:20:57 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-23T17:39:44 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-23T17:42:14 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-23T18:12:27 -!- emeb [~ericb@ip72-223-90-48.ph.ph.cox.net] has joined ##stm32 2011-12-23T18:51:22 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 276 seconds] 2011-12-23T19:33:36 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-23T19:33:39 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-23T19:39:26 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2011-12-23T20:15:50 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-23T20:29:39 -!- peabody124 [~peabody12@128.249.96.123] has joined ##stm32 2011-12-23T20:32:10 -!- peabody124 [~peabody12@128.249.96.123] has quit [Remote host closed the connection] 2011-12-23T20:32:29 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2011-12-23T22:58:36 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 240 seconds] 2011-12-23T23:02:16 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-23T23:34:54 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has joined ##stm32 2011-12-23T23:40:41 -!- sourcebox [~chatzilla@static-87-79-70-47.netcologne.de] has joined ##stm32 2011-12-23T23:43:41 < sourcebox> Hi. Can anybody help me regarding gdbserver with STM32L-DISCOVERY? 2011-12-23T23:45:45 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2011-12-23T23:51:46 < jpa-> sourcebox: yeah, just ask 2011-12-23T23:52:16 < jpa-> (though i have used only STM32VL-discovery myself) 2011-12-23T23:53:04 < sourcebox> I have a new board which is still running the demo. gdbserver seems fine, but I ran into "Load failed"error in gdb 2011-12-23T23:54:14 < sourcebox> gdb seems to "see" my code because I can use "run" and "continue" 2011-12-23T23:54:45 < jpa-> which gdbserver branch are you using? 2011-12-23T23:54:55 < sourcebox> I gives me correct hints where the execution has been stopped but the board itself is not flashed 2011-12-23T23:55:18 < sourcebox> I've compiled it from here https://github.com/texane/stlink 2011-12-23T23:55:23 < jpa-> IIRC the gdbserver source code includes flash register addresses separately for each controller - perhaps it doesn't know about the stm32l one 2011-12-23T23:56:29 < jpa-> hmm, looks like it should know it 2011-12-23T23:56:38 < sourcebox> But the examples that come with stlink have this board 2011-12-23T23:57:10 < sourcebox> gdbserver seems to work because I can start und stop the board 2011-12-23T23:57:19 < jpa-> the texane tree has been broken sometimes (reckless applying of patches without testing) 2011-12-23T23:57:22 < sourcebox> from within gdb 2011-12-23T23:57:23 < jpa-> you can try this https://github.com/karlp/stlink/tree/ --- Day changed Sat Dec 24 2011 2011-12-24T00:00:41 < sourcebox> The strange thing is that I can start/stop execution on the board so communication should work 2011-12-24T00:01:48 < sourcebox> My impression is that something on gdb itself is not configured correctly so it doesn't know what to do with the elf file 2011-12-24T00:08:36 -!- peabody124 [~peabody12@c-98-201-161-152.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2011-12-24T00:11:40 < sourcebox> Ok, I'm trying to do some thing manually. First converting .elf to .bin 2011-12-24T00:15:33 < jpa-> elf should work for flashing 2011-12-24T00:15:57 < jpa-> but the logic for actually writing flash is in stlink gdbserver 2011-12-24T00:16:31 < jpa-> you could try to get debug out of gdbserver 2011-12-24T00:16:35 < sourcebox> Yes, but I try to use the flash command from the pack to see what happens 2011-12-24T00:17:11 < jpa-> oh yeah 2011-12-24T00:20:34 < sourcebox> Got the following error "Error: Data length doesn't have a 32 bit alignment: +1 byte." 2011-12-24T00:24:47 < sourcebox> Flash was erased 2011-12-24T00:25:17 < sourcebox> But no new pages written 2011-12-24T00:34:18 < jpa-> where did you get your linker file? 2011-12-24T00:35:19 < sourcebox> It's one of the example files from the ST firmware library, but I get a similar error when I use an elf file from the stlink examples 2011-12-24T00:43:56 < sourcebox> Is there a chance to get a .bin file that will work correctly? 2011-12-24T00:49:23 < jpa-> you could try reading the default program out and writing it back, if it has not been overwritten yet 2011-12-24T00:49:51 < sourcebox> Tried that, same error :-) 2011-12-24T00:50:50 < sourcebox> File is 16534 bytes which isn't divideable by 32 2011-12-24T00:50:55 < jpa-> did you try another stlink branch already? 2011-12-24T00:51:23 < sourcebox> No, but I'm gonna do that now 2011-12-24T01:01:43 < sourcebox> Ok, seems to write the flash 2011-12-24T01:02:03 < sourcebox> But the original demo isn't running anymore 2011-12-24T01:03:17 < sourcebox> But it's possible that the readout wasn't correct 2011-12-24T01:39:47 < sourcebox> First success, flashing with flash command works but it's very slow 2011-12-24T01:50:07 <+Steffanx> STM should open source their windows too 2011-12-24T01:50:28 <+Steffanx> Maybe that makes the tool for linux/os x/whatever easier 2011-12-24T01:51:04 <+Steffanx> to write 2011-12-24T01:51:10 < BrainDamage> not necessarily 2011-12-24T01:51:31 <+Steffanx> 'maybe' :D :P 2011-12-24T01:51:32 < BrainDamage> if the code is very interwined with windows libs, you're faster starting from scratch 2011-12-24T01:51:55 < BrainDamage> altough I guess having a ref example, for how ugly it can be is better than revernse engineering raw protocols 2011-12-24T01:52:01 <+Steffanx> maybe.. but why is it so slow? 2011-12-24T01:53:42 < sourcebox> Does anybody of you use stlink on linux or os x? 2011-12-24T01:53:53 <+Steffanx> Yes. 2011-12-24T01:54:08 < sourcebox> Is flashing speed ok? 2011-12-24T01:54:28 <+Steffanx> Oh, i think someone who really use it can answer that one 2011-12-24T01:55:17 < sourcebox> I have a 6k blink demo for testing and it took ages via the flash command 2011-12-24T01:56:06 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 248 seconds] 2011-12-24T01:57:13 < BrainDamage> linux 2011-12-24T01:57:20 < BrainDamage> yes, it's slow 2011-12-24T01:57:26 < BrainDamage> can take even 1 minute 2011-12-24T01:57:28 <+Steffanx> You know why? 2011-12-24T01:57:31 < sourcebox> Currently OS X 2011-12-24T01:57:43 < sourcebox> But I can test on Linux too 2011-12-24T01:57:44 < BrainDamage> I think it has to do with transfer mode 2011-12-24T01:57:46 < BrainDamage> and block size 2011-12-24T01:57:56 <+Steffanx> think :P 2011-12-24T01:57:57 < BrainDamage> it's not doing a proper bulk transfer 2011-12-24T01:58:36 <+Steffanx> fix that :P 2011-12-24T01:58:47 <+Steffanx> You tried it on os x yet sourcebox ? 2011-12-24T01:59:00 < sourcebox> I'm on OS X now 2011-12-24T01:59:05 <+Steffanx> nvm 2011-12-24T01:59:19 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-24T01:59:22 <+Steffanx> You have a stlink/v2 so my following question isn't relevant 2011-12-24T01:59:45 < sourcebox> Yes, the STM32L-DISCOVERY should have the v2 2011-12-24T02:03:57 < sourcebox> I'm new to the platform, so I don't know what would be the best way to get around it. Maybe an external JTAG programmer? 2011-12-24T02:04:20 <+Steffanx> The STlink/v2 is ok.. just fix the driver :) 2011-12-24T02:04:25 <+Steffanx> /stlink tool 2011-12-24T02:05:05 < BrainDamage> nah, the stlink you got is ok as hardware 2011-12-24T02:05:13 < sourcebox> Unfortunately I'm not experienced enough to do that. 2011-12-24T02:05:14 < BrainDamage> it's the v1 that's horribly broken by design 2011-12-24T02:05:29 <+Steffanx> and v2 is also slow :P 2011-12-24T02:08:14 < sourcebox> According to this thread it shouldn't be much faster on Linux: https://github.com/texane/stlink/issues/32 2011-12-24T02:08:50 < BrainDamage> is the speed issue that problematic? 2011-12-24T02:09:15 < sourcebox> Have to see 2011-12-24T02:10:12 < sourcebox> I think my current project will have about 32k size without any debug code 2011-12-24T02:10:34 < BrainDamage> don't forget also that the tool is improving with the time 2011-12-24T02:10:44 < BrainDamage> I remember few months ago when it didn't work at all for me 2011-12-24T02:11:30 < sourcebox> I'm currently porting from AVR to STM32 2011-12-24T02:11:43 < BrainDamage> same for me actually 2011-12-24T02:11:49 < BrainDamage> I went from atmega to stm32 2011-12-24T02:12:05 < sourcebox> My personal style is to flash quite often 2011-12-24T02:12:22 < BrainDamage> for less price I get a device that is from 20 times more powerful 2011-12-24T02:14:54 < sourcebox> From what I already know, I think it's a good decision 2011-12-24T02:22:39 < jpa-> sourcebox: flashing speed is about 1kB/s for me on linux 2011-12-24T02:22:45 < jpa-> though that is v1 :P 2011-12-24T02:23:22 < sourcebox> 6k took me 23s, that's a liitle slow 2011-12-24T02:23:54 < jpa-> turn off debug messages in gdbserver if you still have them on :) 2011-12-24T02:24:57 < sourcebox> Currently only using the flash command, gdb still makes trouble 2011-12-24T02:25:10 < jpa-> ah, right 2011-12-24T02:26:18 < sourcebox> But I'm gonna check that tomorrow 2011-12-24T02:27:05 <+Steffanx> 1kB/s is @#$%ˆ& s slow jpa- 2011-12-24T02:27:13 <+Steffanx> imgo 2011-12-24T02:27:15 <+Steffanx> *imho 2011-12-24T02:29:28 < sourcebox> But even better than 0.26kB/s :-) 2011-12-24T02:29:38 <+Steffanx> but still too slow for me 2011-12-24T02:52:47 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has joined ##stm32 2011-12-24T03:40:24 -!- sourcebox [~chatzilla@static-87-79-70-47.netcologne.de] has quit [Quit: ChatZilla 0.9.87 [Firefox 9.0.1/20111220165912]] 2011-12-24T04:20:42 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 244 seconds] 2011-12-24T05:11:19 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has joined ##stm32 2011-12-24T05:15:23 -!- emeb [~ericb@ip72-223-90-48.ph.ph.cox.net] has quit [Quit: Leaving.] 2011-12-24T06:16:36 -!- jpa- [jpa@xob.kapsi.fi] has quit [Ping timeout: 240 seconds] --- Log closed Sat Dec 24 06:16:36 2011 --- Log opened Sat Dec 24 06:16:42 2011 2011-12-24T06:16:42 -!- jpa-_ [jpa@xob.kapsi.fi] has joined ##stm32 2011-12-24T06:16:42 -!- Irssi: ##stm32: Total of 28 nicks [1 ops, 0 halfops, 0 voices, 27 normal] 2011-12-24T06:17:29 -!- Irssi: Join to ##stm32 was synced in 51 secs 2011-12-24T06:45:35 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 268 seconds] 2011-12-24T06:48:04 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-24T06:58:43 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 276 seconds] 2011-12-24T07:12:21 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-24T07:21:01 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Read error: Connection reset by peer] 2011-12-24T07:27:58 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-24T07:31:44 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-24T08:07:39 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 252 seconds] 2011-12-24T08:40:24 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has quit [Quit: Leaving...] 2011-12-24T08:44:19 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-24T08:51:49 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 276 seconds] 2011-12-24T09:05:48 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-24T09:17:01 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 252 seconds] 2011-12-24T09:29:35 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-24T09:34:34 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 268 seconds] 2011-12-24T09:44:15 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-24T10:06:34 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 276 seconds] 2011-12-24T10:08:34 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-24T10:15:39 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 244 seconds] 2011-12-24T10:36:18 -!- joe9_ [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-24T10:40:50 -!- joe9_ [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 240 seconds] 2011-12-24T10:43:41 -!- joe9_ [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-24T10:52:23 -!- joe9_ [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 252 seconds] 2011-12-24T11:06:54 -!- joe9_ [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-24T11:11:08 -!- joe9_ [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 240 seconds] 2011-12-24T11:35:49 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-24T11:41:19 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 255 seconds] 2011-12-24T12:00:49 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-24T12:08:02 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 252 seconds] 2011-12-24T12:11:34 -!- whitequark [~whitequar@2a00:ab00:1::4464:5550] has quit [Remote host closed the connection] 2011-12-24T12:18:06 -!- whitequark [~whitequar@2a00:ab00:1::4464:5550] has joined ##stm32 2011-12-24T12:28:37 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has quit [Quit: peabody124] 2011-12-24T13:27:48 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-24T13:27:51 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-24T14:27:33 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-24T14:40:25 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 252 seconds] 2011-12-24T14:42:05 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 240 seconds] 2011-12-24T14:46:07 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-24T14:53:37 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 252 seconds] 2011-12-24T14:54:49 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-24T15:07:04 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-24T15:07:07 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-24T15:32:32 -!- hex-code [~hex-code@115.248.114.51] has quit [Quit: Leaving] 2011-12-24T15:32:47 -!- hex-code [~hex-code@115.248.114.51] has joined ##stm32 2011-12-24T15:37:24 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has joined ##stm32 2011-12-24T15:39:54 <+Steffanx> peabody124 … what's the origin of your nick. I really have to know 2011-12-24T15:40:42 <+Steffanx> I have a "seen things can't be unseen"-moment when i see your nick all the time 2011-12-24T16:01:17 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 252 seconds] 2011-12-24T16:10:43 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-24T16:19:06 < peabody124> Steffanx - no real meaning 2011-12-24T16:19:21 < peabody124> i picked it ages ago and peabody was gone, so i started adding powers of 2 2011-12-24T16:21:39 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Quit: Terminated with extreme prejudice - dircproxy 1.2.0] 2011-12-24T16:29:51 <+Steffanx> What's a peabody? 2011-12-24T17:59:52 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has joined ##stm32 2011-12-24T18:09:58 -!- jnosky [~foo@c-68-39-251-30.hsd1.nj.comcast.net] has quit [Ping timeout: 248 seconds] 2011-12-24T18:56:27 -!- emeb [~ericb@ip72-223-90-48.ph.ph.cox.net] has joined ##stm32 2011-12-24T19:27:31 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 255 seconds] 2011-12-24T20:16:08 -!- philpem [~philpem@discferret/team-lead] has joined ##stm32 2011-12-24T21:20:54 -!- peabody124_ [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has joined ##stm32 2011-12-24T21:20:54 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has quit [Read error: Connection reset by peer] 2011-12-24T21:20:55 -!- peabody124_ is now known as peabody124 2011-12-24T21:41:38 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has quit [Read error: Connection reset by peer] 2011-12-24T21:42:05 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has joined ##stm32 2011-12-24T22:15:50 -!- emeb [~ericb@ip72-223-90-48.ph.ph.cox.net] has left ##stm32 [] 2011-12-24T22:26:13 -!- TeknoJuce [~TeknoJuce@184.151.63.214] has joined ##stm32 2011-12-24T22:26:13 -!- TeknoJuce [~TeknoJuce@184.151.63.214] has quit [Changing host] 2011-12-24T22:26:13 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2011-12-24T22:59:01 -!- emeb [~ericb@ip72-223-90-48.ph.ph.cox.net] has joined ##stm32 2011-12-24T23:06:11 -!- You're now known as jpa- 2011-12-24T23:16:19 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has quit [Read error: Connection reset by peer] 2011-12-24T23:16:32 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has joined ##stm32 2011-12-24T23:18:55 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has quit [Read error: Connection reset by peer] 2011-12-24T23:19:11 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has joined ##stm32 --- Day changed Sun Dec 25 2011 2011-12-25T00:15:12 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [] 2011-12-25T01:14:17 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Read error: No route to host] 2011-12-25T01:15:19 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-25T01:15:22 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-25T01:49:16 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 244 seconds] 2011-12-25T02:04:25 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 255 seconds] 2011-12-25T02:06:02 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2011-12-25T02:19:59 -!- UnaClocker is now known as Guest5301 2011-12-25T03:45:02 -!- Guest5301 is now known as UnaClocker 2011-12-25T04:38:19 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-25T05:03:33 -!- emeb [~ericb@ip72-223-90-48.ph.ph.cox.net] has quit [Quit: Leaving.] 2011-12-25T05:05:08 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [Ping timeout: 240 seconds] 2011-12-25T05:06:57 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-25T05:14:11 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-25T05:18:30 -!- zlog [~zlog@ip68-102-110-116.ks.ok.cox.net] has quit [Remote host closed the connection] 2011-12-25T05:18:33 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [] 2011-12-25T05:19:55 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-25T05:20:00 -!- zlog [~zlog@ip68-102-110-116.ks.ok.cox.net] has joined ##stm32 2011-12-25T07:11:06 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2011-12-25T09:42:49 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has quit [Quit: Leaving...] 2011-12-25T14:24:41 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-25T14:24:44 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-25T16:37:35 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-25T17:10:08 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Read error: Operation timed out] 2011-12-25T17:12:23 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-25T17:28:10 -!- sourcebox [~chatzilla@static-87-79-70-47.netcologne.de] has joined ##stm32 2011-12-25T17:30:53 < sourcebox> Hi everybody. I already got a lot of things managed with my new discovery board, but now I got stuck with getting IRQ handlers running. 2011-12-25T17:32:12 < sourcebox> I think something with the startup code isn't working well and the isr vectors aren't correct 2011-12-25T17:54:55 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 244 seconds] 2011-12-25T17:56:41 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [Ping timeout: 252 seconds] 2011-12-25T18:06:59 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-25T18:08:06 < philpem> sourcebox, are you using the right LD-script and firmware library? 2011-12-25T18:08:25 < philpem> might be useful if you could post your code somewhere for us to look at 2011-12-25T18:09:02 < sourcebox> I think the LD script etc. should be right 2011-12-25T18:09:35 < sourcebox> I'm using the startup_stm32l1xx_md.s file from ST 2011-12-25T18:10:27 < sourcebox> The vectors are defined there, but I don't understand exactly how the are attached to my C functions 2011-12-25T18:11:24 < sourcebox> Is this done by the linker? 2011-12-25T18:54:55 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Quit: leaving] 2011-12-25T19:43:32 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has joined ##stm32 2011-12-25T19:43:44 < sourcebox> I was able to find a solution. 2011-12-25T20:16:40 -!- zlog [~zlog@ip68-102-110-116.ks.ok.cox.net] has quit [Ping timeout: 276 seconds] 2011-12-25T20:19:21 -!- zlog [~zlog@ip68-102-110-116.ks.ok.cox.net] has joined ##stm32 2011-12-25T20:58:43 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has quit [Quit: peabody124] 2011-12-25T21:13:49 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2011-12-25T21:14:13 -!- TeknoJuce [~TeknoJuce@184.151.63.214] has joined ##stm32 2011-12-25T21:14:14 -!- TeknoJuce [~TeknoJuce@184.151.63.214] has quit [Changing host] 2011-12-25T21:14:14 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2011-12-25T21:28:25 -!- UnaClock_ [~unaclocke@24-113-85-150.wavecable.com] has joined ##stm32 2011-12-25T21:28:40 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has quit [Read error: No route to host] 2011-12-25T21:30:47 -!- sourcebox [~chatzilla@static-87-79-70-47.netcologne.de] has left ##stm32 [] 2011-12-25T21:37:18 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [Ping timeout: 252 seconds] 2011-12-25T21:37:51 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-25T21:38:05 -!- Laurenceb_ [~Laurence@host86-177-62-66.range86-177.btcentralplus.com] has joined ##stm32 2011-12-25T21:38:26 < Laurenceb_> anyone here used flash? 2011-12-25T21:39:11 < Laurenceb_> - onboard for data storage 2011-12-25T22:10:08 < CheBuzz> Anybody know of a MySQL client implementation for embedded environments? I know mbed has one, but I can't seem to find the source for it, and it looks to be C++. Anybody know of a C version that is OSS? 2011-12-25T23:04:53 -!- zlog [~zlog@ip68-102-110-116.ks.ok.cox.net] has quit [Remote host closed the connection] 2011-12-25T23:04:56 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [] 2011-12-25T23:06:22 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-25T23:06:23 -!- zlog [~zlog@ip68-102-110-116.ks.ok.cox.net] has joined ##stm32 2011-12-25T23:43:43 -!- kerwood [~Marshall@c-76-21-166-25.hsd1.md.comcast.net] has quit [Ping timeout: 252 seconds] 2011-12-25T23:55:56 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-25T23:55:59 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-25T23:57:47 -!- kerwood [~Marshall@c-76-21-166-25.hsd1.md.comcast.net] has joined ##stm32 --- Day changed Mon Dec 26 2011 2011-12-26T02:47:29 -!- Laurenceb_ [~Laurence@host86-177-62-66.range86-177.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2011-12-26T03:16:01 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 244 seconds] 2011-12-26T03:41:18 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has joined ##stm32 2011-12-26T04:09:06 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-26T04:40:40 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-26T04:40:59 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Client Quit] 2011-12-26T06:08:09 -!- UnaClock_ [~unaclocke@24-113-85-150.wavecable.com] has quit [Quit: Leaving...] 2011-12-26T06:26:54 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has joined ##stm32 2011-12-26T07:48:56 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [Ping timeout: 240 seconds] 2011-12-26T07:50:49 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-26T08:07:00 -!- zlog [~zlog@ip68-102-110-116.ks.ok.cox.net] has quit [Remote host closed the connection] 2011-12-26T08:07:05 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [] 2011-12-26T08:08:24 -!- zlog [~zlog@ip68-102-110-116.ks.ok.cox.net] has joined ##stm32 2011-12-26T08:08:27 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-26T08:45:30 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has quit [Quit: By the time you read this I'll already be gone....] 2011-12-26T09:20:07 -!- BrainDamage [BrainDamag@i.love.tiltshellz.org] has quit [Ping timeout: 252 seconds] 2011-12-26T09:39:44 -!- BrainDamage [BrainDamag@i.love.tiltshellz.org] has joined ##stm32 2011-12-26T13:27:46 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-26T13:39:27 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Quit: leaving] 2011-12-26T14:47:54 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-26T14:47:57 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-26T15:37:24 -!- Laurenceb_ [~Laurence@host86-177-62-66.range86-177.btcentralplus.com] has joined ##stm32 2011-12-26T15:38:41 -!- ben1066 [~ben1066@host81-156-248-177.range81-156.btcentralplus.com] has quit [Read error: Operation timed out] 2011-12-26T16:18:33 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-26T16:40:04 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2011-12-26T16:44:51 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-26T16:51:09 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has quit [Ping timeout: 240 seconds] 2011-12-26T16:51:29 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2011-12-26T17:12:04 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has joined ##stm32 2011-12-26T18:12:43 -!- jnosky [~foo@c-68-39-251-30.hsd1.nj.comcast.net] has joined ##stm32 2011-12-26T18:40:14 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Quit: Lost terminal] 2011-12-26T19:17:29 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-26T19:47:26 -!- hex-code [~hex-code@115.248.114.51] has quit [Remote host closed the connection] 2011-12-26T19:49:49 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has joined ##stm32 2011-12-26T20:29:22 <+Steffanx> Have a nice lunch mr flyback 2011-12-26T20:30:46 <+Steffanx> :) 2011-12-26T20:42:50 < jnosky> I did a tree mod a few years back, used a 68hc05 2011-12-26T20:43:33 < jnosky> Light strings controlled by a triac 2011-12-26T20:44:07 < jnosky> Yers is led? 2011-12-26T20:44:26 < jnosky> oh cool 2011-12-26T20:44:58 < jnosky> I used the hc05 timers and a scavenged IR rcr to use a TV remote control as well 2011-12-26T20:46:30 < jnosky> The fibre optic sounds like a good idea, sounds easier 2011-12-26T20:46:48 < jnosky> I have to arrange my light strings in a particular way 2011-12-26T20:46:56 < jnosky> for best effects 2011-12-26T20:48:20 < jnosky> Color control would be awesome 2011-12-26T20:48:40 < jnosky> Mines like 10 years old already, they didn have shit like that at the time 2011-12-26T20:48:58 < jnosky> The wiring is the bitch tho 2011-12-26T20:59:46 < jnosky> yikes $45 each! 2011-12-26T21:06:49 <+Steffanx> no way 2011-12-26T21:07:10 <+Steffanx> oh, one from sparkfun 2011-12-26T21:07:17 <+Steffanx> That's because you pay hobby tax jnosky :P 2011-12-26T21:07:40 < jnosky> Well ya gotta get em prewired if ya can 2011-12-26T21:07:57 < jnosky> Otherwise its too much like work ;) 2011-12-26T21:36:53 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2011-12-26T21:38:16 <+Steffanx> US CRAP flyback 2011-12-26T21:47:44 < Laurenceb_> http://www.mathworks.co.uk/help/techdoc/ref/cumtrapz.html 2011-12-26T22:00:09 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has quit [Ping timeout: 240 seconds] --- Day changed Tue Dec 27 2011 2011-12-27T00:28:36 < kerwood> flyback: a neighbor down the street has an outdoor "christmas tree" made with those strips--nearly induces a seizure every time I drive past 2011-12-27T00:28:51 <+Steffanx> :P 2011-12-27T00:29:06 < BrainDamage> "mission accomplished" ? 2011-12-27T00:30:22 < BrainDamage> actually not, he said nearly 2011-12-27T00:40:31 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has joined ##stm32 2011-12-27T01:05:10 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 240 seconds] 2011-12-27T01:18:47 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 252 seconds] 2011-12-27T01:21:19 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-27T01:44:53 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has joined ##stm32 2011-12-27T01:48:39 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has quit [Ping timeout: 244 seconds] 2011-12-27T01:58:20 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has joined ##stm32 2011-12-27T02:46:49 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 240 seconds] 2011-12-27T02:54:16 -!- Laurenceb_ [~Laurence@host86-177-62-66.range86-177.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2011-12-27T04:56:10 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-27T05:03:41 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has quit [Quit: By the time you read this I'll already be gone....] 2011-12-27T06:06:31 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has quit [Quit: Leaving...] 2011-12-27T06:52:59 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has quit [Quit: peabody124] 2011-12-27T06:55:28 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has joined ##stm32 2011-12-27T07:21:26 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Quit: leaving] 2011-12-27T14:06:56 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-27T14:06:59 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-27T14:09:41 <+Steffanx> phear .. 2011-12-27T15:16:47 -!- Laurenceb_ [~Laurence@host86-177-62-66.range86-177.btcentralplus.com] has joined ##stm32 2011-12-27T15:32:57 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-27T15:43:54 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-27T19:24:33 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has quit [Quit: peabody124] 2011-12-27T22:02:18 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Excess Flood] 2011-12-27T22:02:38 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 --- Day changed Wed Dec 28 2011 2011-12-28T00:38:39 < Laurenceb_> how do i read the chip id? 2011-12-28T01:12:59 -!- BrainDamage [BrainDamag@i.love.tiltshellz.org] has quit [Ping timeout: 252 seconds] 2011-12-28T01:21:22 < karlp> Laurenceb_: stlink_read_chipid() ? in stlink codebase :) 2011-12-28T01:21:41 < karlp> can't remember right now which doc it's in, DBGMCU or somethign is the register to read 2011-12-28T01:21:49 < karlp> you want to read it in your own app code? 2011-12-28T01:22:02 < Laurenceb_> yeah 2011-12-28T01:22:06 < Laurenceb_> found it now thanks 2011-12-28T01:22:18 < Laurenceb_> uint32_t *Type = (uint32_t*)DBGMCU_BASE; 2011-12-28T01:22:30 < Laurenceb_> theres a unique id too 2011-12-28T01:22:43 < Laurenceb_> useful if someones making bombs with it :P 2011-12-28T01:24:17 < karlp> depends how well you think the supply chain is covered 2011-12-28T02:27:55 -!- peabody124 [~peabody12@ip68-102-210-178.ks.ok.cox.net] has joined ##stm32 2011-12-28T02:28:59 -!- peabody124 [~peabody12@ip68-102-210-178.ks.ok.cox.net] has quit [Client Quit] 2011-12-28T02:29:49 -!- Laurenceb_ [~Laurence@host86-177-62-66.range86-177.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2011-12-28T02:29:56 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 244 seconds] 2011-12-28T02:31:01 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-28T02:32:43 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [Disconnected by services] 2011-12-28T02:32:50 -!- Tom_L is now known as Tom_itx 2011-12-28T03:17:03 -!- AaronM [~Aaron@207.223.31.247] has joined ##stm32 2011-12-28T03:17:03 -!- AaronM [~Aaron@207.223.31.247] has quit [Changing host] 2011-12-28T03:17:03 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has joined ##stm32 2011-12-28T03:22:14 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has joined ##stm32 2011-12-28T04:29:50 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has joined ##stm32 2011-12-28T04:31:52 -!- philpem [~philpem@discferret/team-lead] has quit [Ping timeout: 244 seconds] 2011-12-28T04:40:41 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has quit [Quit: By the time you read this I'll already be gone....] 2011-12-28T04:52:13 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-28T06:03:09 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has quit [Quit: Leaving...] 2011-12-28T06:10:36 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has quit [Quit: Quit] 2011-12-28T06:15:14 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Excess Flood] 2011-12-28T06:15:34 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2011-12-28T07:33:59 -!- peabody124 [~peabody12@ip68-102-210-178.ks.ok.cox.net] has joined ##stm32 2011-12-28T11:10:08 -!- peabody124 [~peabody12@ip68-102-210-178.ks.ok.cox.net] has quit [Quit: peabody124] 2011-12-28T11:13:12 -!- peabody124 [~peabody12@ip68-102-210-178.ks.ok.cox.net] has joined ##stm32 2011-12-28T11:33:37 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2011-12-28T11:35:28 < Thorn> looks like codesourcery compilers were updated on 19 december 2011-12-28T11:38:07 -!- peabody124 [~peabody12@ip68-102-210-178.ks.ok.cox.net] has quit [Quit: peabody124] 2011-12-28T12:02:27 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-241-191.clienti.tiscali.it] has joined ##stm32 2011-12-28T13:12:36 -!- philpem [~philpem@discferret/team-lead] has joined ##stm32 2011-12-28T13:19:06 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-28T13:19:09 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-28T13:42:01 -!- zlog [~zlog@ip68-102-110-116.ks.ok.cox.net] has quit [Ping timeout: 276 seconds] 2011-12-28T13:45:08 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-241-191.clienti.tiscali.it] has quit [Ping timeout: 240 seconds] 2011-12-28T14:05:21 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-241-191.clienti.tiscali.it] has joined ##stm32 2011-12-28T14:06:25 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-241-191.clienti.tiscali.it] has quit [Client Quit] 2011-12-28T14:51:38 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [] 2011-12-28T14:53:00 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-28T14:53:36 -!- zlog [~zlog@ip68-102-110-116.ks.ok.cox.net] has joined ##stm32 2011-12-28T16:07:16 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-28T16:43:02 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 248 seconds] 2011-12-28T17:33:25 -!- jnosky [~foo@c-68-39-251-30.hsd1.nj.comcast.net] has quit [] 2011-12-28T18:03:32 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2011-12-28T18:10:10 -!- peabody124 [~peabody12@ip68-102-210-178.ks.ok.cox.net] has joined ##stm32 2011-12-28T18:41:20 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-28T18:41:20 -!- mode/##stm32 [+v Steffann] by ChanServ 2011-12-28T18:43:08 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 240 seconds] 2011-12-28T19:07:27 < jaeckel> has someone of you experience with the freescale compiler for coldfire uCs? 2011-12-28T19:08:12 < jaeckel> it seems to create buggy code for shift operations of 64bit variables 2011-12-28T19:08:31 < jaeckel> and possibly someone has found a work-around 2011-12-28T19:51:01 -!- philpem [~philpem@discferret/team-lead] has quit [Ping timeout: 244 seconds] 2011-12-28T20:02:56 -!- philpem [~philpem@discferret/team-lead] has joined ##stm32 2011-12-28T20:28:25 -!- BrainDamage [BrainDamag@i.love.tiltshellz.org] has joined ##stm32 2011-12-28T20:36:25 -!- Laurenceb_ [~Laurence@host86-177-62-66.range86-177.btcentralplus.com] has joined ##stm32 2011-12-28T20:36:27 < Laurenceb_> https://github.com/leaflabs/libmaple/tree/master/examples 2011-12-28T20:36:42 < Laurenceb_> i didnt realise you could use libmaple without arduino trash 2011-12-28T20:36:58 < Laurenceb_> that looks quite nice as an alternative to the periph lib 2011-12-28T20:37:55 < Laurenceb_> still seems to be stealing some recources like systick 2011-12-28T21:36:42 -!- sourcebox [~chatzilla@static-87-79-70-47.netcologne.de] has joined ##stm32 2011-12-28T21:38:26 < Thorn> digitalWrite x_x 2011-12-28T21:38:58 < Thorn> does it mean that libraries / drivers written for arduino are usable? 2011-12-28T21:40:47 < sourcebox> Hi everrybody. I have a question regarding USB handling. 2011-12-28T21:40:56 < Laurenceb_> Thorn: i think so 2011-12-28T21:41:09 < Thorn> that could be useful 2011-12-28T21:42:21 < sourcebox> My device features USB but it's optional to use it. Do I have to sense the presence of the host/hub via GPIO or can software detect it? 2011-12-28T21:45:51 < Thorn> the only way I know of is detecting if Vbus is present, you do need a gpio pin for that 2011-12-28T21:46:20 < Laurenceb_> you could setup the pins as gpio inputs 2011-12-28T21:46:26 < Laurenceb_> and use them to detect a cable 2011-12-28T21:46:56 < Laurenceb_> atm i have some hardware with vbus going through a capacitor to trigger an EXTI that resets the device 2011-12-28T21:47:10 < Laurenceb_> theres also a power button on the same pin 2011-12-28T21:47:16 < sourcebox> My main question is, can I leave USB enabled in the code even if it's not connected? 2011-12-28T21:47:23 < Laurenceb_> yes 2011-12-28T21:47:39 < Laurenceb_> but code will fail 2011-12-28T21:48:21 < Laurenceb_> i use the pull up/down resistors to enable one pin to be used as usb detect and power 2011-12-28T21:48:34 < sourcebox> And there's no chance to come around? 2011-12-28T21:48:59 < Laurenceb_> huh? 2011-12-28T21:50:11 < sourcebox> Well I mean then code fails, it's not able to do some kind of "recovering" when host comes back 2011-12-28T21:52:57 < sourcebox> I think i'm gonna use a pin for it, that's the safest method 2011-12-28T21:54:56 < Laurenceb_> oh erm yes 2011-12-28T21:55:08 < Laurenceb_> it should be possible to have the code handle the error 2011-12-28T21:55:27 < Laurenceb_> but its conveivable you might get the hardware into some weird state 2011-12-28T21:55:34 < Laurenceb_> ive seen it happen with i2c 2011-12-28T21:56:46 < sourcebox> I'm still a little confused with the whole USB stuff here. I have a working implementaion for AVR that I'm trying to port 2011-12-28T21:58:25 < Thorn> see UM0424 2011-12-28T21:59:11 < sourcebox> Currently open :-) 2011-12-28T22:00:12 < sourcebox> What I'm missing is some kind of bare minimal example that is just able to connect, send descriptors etc. 2011-12-28T22:00:30 < sourcebox> And doing nothing special 2011-12-28T22:02:22 < sourcebox> Due the UM0424 there should be some templates but I don't find any of them. Only examples 2011-12-28T22:02:49 < Thorn> I've been planning to do just that (both device and PC side with libusb) for quite some time now 2011-12-28T22:03:39 < Laurenceb_> http://charliex2.wordpress.com/2011/12/13/null-space-labs-juki-360-rebuild-part-iv-yes-were-in-la/ 2011-12-28T22:08:41 < sourcebox> Currently code gets stuck in a loop of the USB_Istr() interrupt as soon as I setup the IRQ via NVIC_Init(). 2011-12-28T22:09:04 < sourcebox> I'm sure I have to clear some flags... 2011-12-28T22:10:42 < Laurenceb_> oh i saw that 2011-12-28T22:10:49 < Laurenceb_> yeah you have to clear it 2011-12-28T22:11:00 < Laurenceb_> i has issues with interrupts pointing in the wrong places 2011-12-28T22:11:07 < Laurenceb_> due to typos in lanchon 2011-12-28T22:13:34 < sourcebox> From the examples, I used the wInterrupt_Mask variable, but I don't understand what it does. Initially it is set to 0, so none of the branches like if (wIstr & ISTR_CTR & wInterrupt_Mask) will be executed 2011-12-28T22:15:39 < Laurenceb_> this is on f103? 2011-12-28T22:15:59 < sourcebox> No on L1xx 2011-12-28T22:16:11 < sourcebox> But it seems to be identical 2011-12-28T22:16:28 < sourcebox> Only connectivity line is different 2011-12-28T22:17:13 < Laurenceb_> hmm its been a while since i did this 2011-12-28T22:17:16 < Laurenceb_> check my github 2011-12-28T22:18:22 < sourcebox> STM32-Logger? 2011-12-28T22:18:23 < Laurenceb_> i got mass storage working 2011-12-28T22:18:24 < Laurenceb_> yes 2011-12-28T22:21:07 < sourcebox> Did you start from the Mass_Storage example? 2011-12-28T22:21:33 < Laurenceb_> yes 2011-12-28T22:21:48 < Laurenceb_> ive swapped the sd interface for code from elm-chan 2011-12-28T22:22:51 < Laurenceb_> are you using lanchon? 2011-12-28T22:23:19 < sourcebox> My "problem" is, I really want to understand what's going on not just copy anything. 2011-12-28T22:23:27 < Laurenceb_> oh 2011-12-28T22:23:34 < Laurenceb_> i cant help you much :P 2011-12-28T22:23:37 < sourcebox> But USB is hard stuff 2011-12-28T22:23:45 < sourcebox> No offense to you 2011-12-28T22:23:45 < karlp> have you used usb on other devices? 2011-12-28T22:24:06 < karlp> are you mor elooking for advince on usb on stm32, or is this your first adventure with usb at all? 2011-12-28T22:24:14 < sourcebox> I'm quite new to STM32 but I did it successfully on AVR 2011-12-28T22:24:28 < karlp> usb parts, like the 32u4? 2011-12-28T22:24:33 < sourcebox> Yes 2011-12-28T22:24:49 < sourcebox> I didn't use LUFA but my own code 2011-12-28T22:24:53 < karlp> were you using somethin glike lufa, or 2011-12-28T22:24:56 < karlp> ok, that answers that :) 2011-12-28T22:25:06 < karlp> ok, then it sounds like you should have a decent understanding of how usb works, 2011-12-28T22:25:14 < karlp> so it's just the stm32 specifics 2011-12-28T22:25:24 < sourcebox> So I have a basic knowledge how USB works 2011-12-28T22:25:31 < sourcebox> Yes 2011-12-28T22:25:52 < karlp> the best advice I can give from my experiemtns so far (I'm pretty new to stm32 too) is that when you think you've turned on all the clocks you need, think again, and go turn on more clocks. 2011-12-28T22:26:26 < sourcebox> E.g. the endpoints: on AVR I use 2 endpoints, one for TX and one for RX 2011-12-28T22:26:38 < Laurenceb_> lol karlp 2011-12-28T22:26:45 < sourcebox> On STM32, there is this bidirectional stuff 2011-12-28T22:27:01 < sourcebox> Is this mandantory? 2011-12-28T22:27:50 < sourcebox> So do I have to setup just one EP or can I do it like before? 2011-12-28T22:32:26 < karlp> I would think you could do it like you did before, 2011-12-28T22:32:37 < karlp> bloody hell, openocd docs are terrible. 2011-12-28T22:33:12 < AK6L> hehe 2011-12-28T22:33:25 < AK6L> hey karlp, i figured out why my STM32F4 Discovery board was freaking out. 2011-12-28T22:33:32 < karlp> yeah? great news! 2011-12-28T22:33:34 < sourcebox> BTW I use your fork of stlink karlp 2011-12-28T22:33:35 < AK6L> GPIOA_MODER's reset value is *not* 0x0 2011-12-28T22:33:46 < AK6L> and the board gets *pissed* if you set it to 0x0. 2011-12-28T22:34:00 < karlp> what was setting it to 0? 2011-12-28T22:34:08 < AK6L> it's like 0xA8000000 or something, and i think the 3 high pins are related to the stlink interface 2011-12-28T22:34:09 < karlp> I still don't see why unplyugging and replugging didn't fix that 2011-12-28T22:34:11 < AK6L> my code was :P 2011-12-28T22:34:15 < karlp> right :) 2011-12-28T22:34:26 < karlp> but how did rebooting into windows fix it? 2011-12-28T22:34:47 < AK6L> karlp: it didn't; the windows utility was able to bring up the board in DFU mode, i guess 2011-12-28T22:35:07 < AK6L> karlp: reflashing under linux with the code from github worked fine once i jumpered BOOT0 and BOOT1 2011-12-28T22:35:12 < karlp> hmm, 2011-12-28T22:35:26 < karlp> fair enough 2011-12-28T22:35:49 < Laurenceb_> is dfu mode in the rom? 2011-12-28T22:35:56 < Laurenceb_> like the serial loader 2011-12-28T22:35:56 < karlp> there's a few changes filtering into github main now, hopefully should be a worthwhile new release aroun dnew years 2011-12-28T22:35:59 < AK6L> before, when i was replugging the board into USB, i think the code (which was resetting GPIOA_MODER) kicked off right away thus breaking the ST-Link/v2 interface 2011-12-28T22:36:01 < karlp> yeah, f4 has dfu built in 2011-12-28T22:36:07 < Laurenceb_> nice 2011-12-28T22:36:17 < karlp> there's a nice doc with all the available built in bootloaders 2011-12-28T22:36:24 < AK6L> so the stlink github code couldn't talk to the chip until i jumpered the BOOT bits. 2011-12-28T22:36:34 < AK6L> moral of the story: herp derp read the docs, dumbass. 2011-12-28T22:36:40 < AK6L> :) 2011-12-28T22:36:43 < karlp> heh 2011-12-28T22:37:14 < karlp> someone ported a chunk of texane/stlink code into openocd, to support th estlinkv2 at least 2011-12-28T22:37:25 < karlp> I'm trying to build and run openocd with the patches for the first time 2011-12-28T22:37:31 < karlp> it's less than pleasant so far 2011-12-28T22:38:06 < AK6L> from what i gather, running openocd at all is less than pleasant ;) 2011-12-28T22:38:24 < karlp> it seeeems like they have a better/more fully featured gdb server 2011-12-28T22:38:38 < karlp> and some of the other bugs that the texane/stlink project doesn't really want to have to deal with sorted out 2011-12-28T22:39:10 < AK6L> gotcha 2011-12-28T22:39:25 < karlp> so if it can be made to work, 2011-12-28T22:39:34 <+Steffann> i dont understand why you didn't that in the first place karlp 2011-12-28T22:39:36 < karlp> then isntead of putting in time on docs and bugfixes on stlink, I can just improve openocd instead. 2011-12-28T22:39:45 <+Steffann> Give openocd support for the stlink 2011-12-28T22:39:47 < karlp> Steffann: a) openocd didn't support swd at all. 2011-12-28T22:39:54 < karlp> openocd was a much bigger code base 2011-12-28T22:39:59 < karlp> I didn't write stlink :) 2011-12-28T22:40:01 <+Steffann> it did with a patch of versaloon 2011-12-28T22:40:19 < karlp> maybe, but openocd is ahuge undocumented mess with patches dangling in mailing lists 2011-12-28T22:40:27 < karlp> and I personally had NO idea where to even start 2011-12-28T22:40:40 < karlp> with stlink, I could actually start doing something 2011-12-28T22:40:47 <+Steffann> pebkac :P 2011-12-28T22:40:56 < karlp> I didn't see you doing it 2011-12-28T22:41:21 < sourcebox> I wish you all the best on getting it to work 2011-12-28T22:41:38 <+Steffann> I didn't need it karlp 2011-12-28T22:41:55 <+Steffann> I did.. a few days 2011-12-28T22:41:59 < karlp> the person who has submitted this patch to openocd hasn't turned up here at all, nor ever forked or commented on the stlink code either to the best of my understanding. 2011-12-28T22:42:04 <+Steffann> but i didn't even have the time to do it 2011-12-28T22:42:14 < sourcebox> Currently I use stlink on OS X, but I can get only 0.25kB/s speed which is very frustrating 2011-12-28T22:42:44 < sourcebox> Debug code of my USB project is corrently about 45k 2011-12-28T22:43:08 < karlp> that's something else to hopefully get from openocd, more people for perf stuff 2011-12-28T22:43:23 < karlp> sourcebox: there's very very very few people usin gthe L1xx targets 2011-12-28T22:43:26 < karlp> so it's very slow 2011-12-28T22:43:30 < karlp> it does 16bits at at time, 2011-12-28T22:43:44 < karlp> it needs to switch to half page writes 2011-12-28T22:43:51 < sourcebox> Ok 2011-12-28T22:44:07 < karlp> there's a little bit of code to try and do that, but it needs testing and bugfixing. 2011-12-28T22:44:22 < karlp> I use the L1 too, but so far I'm just dealiing with it, and trying to stop things from breaking. 2011-12-28T22:44:44 < karlp> the openocd patch only works with the stlinkv2 anyway, so until it works with the v1, stlink still lives on. 2011-12-28T22:44:56 < sourcebox> The L1 is perfect for my needs because I need USB and DACs 2011-12-28T22:45:03 < karlp> yeah, it's a neat chip 2011-12-28T22:45:30 < sourcebox> To get the same on F1 you have to use a much bigger chip 2011-12-28T23:00:52 < sourcebox> Well I think I have to find a better solution for flashing since doing USB code is a lot of trial and error 2011-12-28T23:11:30 < karlp> you can try running from ram.... 2011-12-28T23:11:47 < sourcebox> Only 16k 2011-12-28T23:12:38 < karlp> you should be able to make a subset of code that just implements your usb features? 2011-12-28T23:12:57 < karlp> or, buy an expesnive jtag programmer and tools... 2011-12-28T23:13:26 < sourcebox> Maybe but even the firmware libs are too big when compiled with debug code 2011-12-28T23:14:00 < sourcebox> What do you think about the versaloon project? 2011-12-28T23:14:10 < karlp> last I looked I felt it was like openocd 2011-12-28T23:14:13 < karlp> it might be great, 2011-12-28T23:14:19 < karlp> but I can't tell from their docs 2011-12-28T23:14:55 < sourcebox> I have an unused VL discovery here which I can flash with their code 2011-12-28T23:16:46 < sourcebox> Possibly better than the stlink v1 it features :-) 2011-12-28T23:19:32 < karlp> perhaps, 2011-12-28T23:19:41 < karlp> the stlinkv1, these days, is just as capable as the v2, 2011-12-28T23:20:19 < karlp> it was just a matter of getting linux and osx to try and stop loading the usb mass storage drivers for it. 2011-12-28T23:20:29 < karlp> the v1 doesn't have any SWV/SWO support, 2011-12-28T23:20:45 < karlp> but none of the free tools support that with the v2 yet either to th ebest of my knowledge. 2011-12-28T23:20:53 < karlp> (though, eventually, that will be the key feature) 2011-12-28T23:25:38 < Laurenceb_> yeah we need it asap 2011-12-28T23:36:34 < sourcebox> Firmware needs a "enable all clocks" function 2011-12-28T23:37:18 -!- AaronM [~Aaron@207.223.31.247] has joined ##stm32 2011-12-28T23:37:18 -!- AaronM [~Aaron@207.223.31.247] has quit [Changing host] 2011-12-28T23:37:18 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has joined ##stm32 2011-12-28T23:42:22 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Excess Flood] 2011-12-28T23:42:43 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 --- Day changed Thu Dec 29 2011 2011-12-29T00:33:40 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Excess Flood] 2011-12-29T00:33:59 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2011-12-29T00:47:54 -!- Xeo_it [~billG@204.152.218.120] has joined ##stm32 2011-12-29T00:47:59 < Xeo_it> hello 2011-12-29T00:53:49 < sourcebox> I came to the conclusion that getting stuck in the USB IRQ has to do something with the pullup 2011-12-29T00:54:44 < sourcebox> I the examples they setup the pullup first, then init USB interrupt 2011-12-29T00:55:24 < sourcebox> But as I understand the USB specs, this is not way it should be done 2011-12-29T01:12:23 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Excess Flood] 2011-12-29T01:12:43 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2011-12-29T01:29:10 < Laurenceb_> oh yeah 2011-12-29T01:29:15 < Laurenceb_> its due to bus error 2011-12-29T01:29:34 < Laurenceb_> i had that issue due to poorly designed external matching network 2011-12-29T01:36:47 < sourcebox> What I try to do is to setup the USB init at boot but let the IRQ disabled. Then I check for the host regularly. If it's connected, the enable the IRQ and the D+ pullup. Hope this works as expected. 2011-12-29T01:43:56 < sourcebox> But there's still one issue: what if the device is connected to a hub, but host is off. VBUS is still delivered then. 2011-12-29T01:50:48 < philpem> karlp, SWV/SWO? 2011-12-29T01:51:48 <+Steffann> Debug output over the programmer philpem 2011-12-29T01:52:18 <+Steffann> So you can debug using SWD and printf's :) 2011-12-29T01:52:28 < philpem> O_O 2011-12-29T01:52:43 < philpem> Now that would be nice. I could free up the USB port I'm using for the Bus Pirate :) 2011-12-29T01:52:50 <+Steffann> :) 2011-12-29T01:53:21 <+Steffann> The stlink/v2 seems to have a pin for it and some closed source IDE's also seem to support it 2011-12-29T01:53:38 < philpem> Guess I'd have to buy an ST-link and attach it to the VL-discovery though (or find a way to attach the STM32-discovery programmer to the VL) 2011-12-29T01:53:51 < philpem> or just use SWV/SWO on the target board 2011-12-29T01:53:57 < philpem> still learning atm :) 2011-12-29T01:54:27 < philpem> i've got GPIOs toggling but that's it. really needed a number cruncher for this project, but getting my head around all the different registers and how everything works is a pain. 2011-12-29T01:54:51 < philpem> reminds me of when I learned how to use the PIC16C84 as a wee' lad o' but 12 years age :P 2011-12-29T01:55:07 <+Steffann> Huh? VL discovery <> STM32-discovery?! 2011-12-29T01:55:43 < philpem> sorry, L-discovery 2011-12-29T01:56:01 < philpem> the STM32L Discovery has an ST-Link/V2 onboard, the STM32VL-Discovery has a /V1 2011-12-29T01:56:15 <+Steffann> Yeah, both work very well with the stlink tool from texane 2011-12-29T01:56:21 <+Steffann> Or at least, they should wokr :) 2011-12-29T01:56:46 < sourcebox> Warning! This is German! My first µC in 1994: http://mct.de/product/scotty08.html 2011-12-29T01:57:06 <+Steffann> Help! That is German! 2011-12-29T01:57:28 <+Steffann> Expensive stuff sourcebox 2011-12-29T01:57:30 < sourcebox> Look at the prices below! 2011-12-29T01:57:37 < sourcebox> They still sell it for that 2011-12-29T01:58:12 < philpem> Steffann, I've had trouble with Texane's branch... seems to be a bit hit and miss at the moment 2011-12-29T01:58:40 < philpem> Mmm, 68EC000... 68k on an 8bit bus was it (or was that the 68008?) 2011-12-29T01:59:06 < Laurenceb_> that seems to be insulting the scottish 2011-12-29T01:59:21 <+Steffann> Oh, that branch seems to break all the time philpem 2011-12-29T01:59:30 < Laurenceb_> my family is scottish 2011-12-29T01:59:41 < sourcebox> I don't remember it exactly, but there was already GCC for it 2011-12-29T01:59:53 < Laurenceb_> jk 2011-12-29T01:59:55 < Laurenceb_> XD 2011-12-29T01:59:56 <+Steffann> Huh Laurenceb_ ? 2011-12-29T02:00:03 < Laurenceb_> im only joking 2011-12-29T02:00:05 <+Steffann> I guess i missed the joke :P 2011-12-29T02:01:41 < Laurenceb_> my friend is building a spartan3 based amiga clone 2011-12-29T02:01:56 < Laurenceb_> not many developments recently, ill have to check up on it 2011-12-29T02:03:55 <+Steffann> You know what time it is? 2011-12-29T02:03:58 <+Steffann> Time to find by bed! 2011-12-29T02:04:41 <+Steffann> Ha, found it.. good night 2011-12-29T02:09:31 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 276 seconds] 2011-12-29T02:16:58 < Laurenceb_> thats pron 2011-12-29T02:17:02 < Laurenceb_> amiright 2011-12-29T02:32:09 -!- Laurenceb_ [~Laurence@host86-177-62-66.range86-177.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2011-12-29T02:45:16 -!- sourcebox [~chatzilla@static-87-79-70-47.netcologne.de] has quit [Quit: ChatZilla 0.9.87 [Firefox 9.0.1/20111220165912]] 2011-12-29T03:55:40 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Excess Flood] 2011-12-29T03:56:00 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2011-12-29T04:13:30 -!- peabody124 [~peabody12@ip68-102-210-178.ks.ok.cox.net] has quit [Quit: peabody124] 2011-12-29T04:22:22 -!- peabody124 [~peabody12@ip68-102-210-178.ks.ok.cox.net] has joined ##stm32 2011-12-29T04:22:29 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 240 seconds] 2011-12-29T04:51:42 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-29T05:50:52 -!- philpem [~philpem@discferret/team-lead] has quit [Ping timeout: 244 seconds] 2011-12-29T06:01:38 -!- Xeo_it [~billG@204.152.218.120] has quit [Quit: Leaving] 2011-12-29T07:46:42 -!- Eartaker [~Eartaker@c-67-185-76-100.hsd1.wa.comcast.net] has joined ##stm32 2011-12-29T08:08:28 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has quit [Remote host closed the connection] 2011-12-29T08:25:59 -!- Eartaker [~Eartaker@c-67-185-76-100.hsd1.wa.comcast.net] has quit [Changing host] 2011-12-29T08:25:59 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has joined ##stm32 2011-12-29T09:12:43 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2011-12-29T09:24:47 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has quit [Quit: By the time you read this I'll already be gone....] 2011-12-29T10:25:10 -!- grummund [~user@unaffiliated/grummund] has quit [Read error: Operation timed out] 2011-12-29T10:27:24 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2011-12-29T10:45:37 -!- Netsplit *.net <-> *.split quits: district 2011-12-29T10:49:15 -!- Netsplit over, joins: district 2011-12-29T12:28:16 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-29T12:28:17 -!- mode/##stm32 [+v Steffann] by ChanServ 2011-12-29T12:50:23 -!- philpem [~philpem@discferret/team-lead] has joined ##stm32 2011-12-29T13:37:31 -!- Steffann is now known as Steffanx 2011-12-29T15:55:18 -!- Laurenceb_ [~Laurence@host86-177-62-66.range86-177.btcentralplus.com] has joined ##stm32 2011-12-29T16:02:42 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-29T16:27:26 -!- emeb [~ericb@ip72-223-81-94.ph.ph.cox.net] has joined ##stm32 2011-12-29T16:53:31 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 276 seconds] 2011-12-29T19:38:51 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Quit: leaving] 2011-12-29T19:41:54 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-29T20:40:05 -!- feurig [~don@198.202.31.181] has joined ##stm32 2011-12-29T20:43:27 < feurig> dumb question. 2011-12-29T20:45:33 < feurig> so I have a chunk of code that sets up a vectored interrupt for the uart0 2011-12-29T20:45:41 < feurig> VICIntSelect &= ~0x00000040; //~VIC_IntSelect_UART0; 2011-12-29T20:45:41 < feurig> VICIntEnable |= 0x00000040; //VIC_IntEnable_UART0; 2011-12-29T20:45:41 < feurig> VICVectCntl1 = 0x26; 2011-12-29T20:45:41 < feurig> VICVectAddr1 = (unsigned int)UART0ISR; 2011-12-29T20:45:43 < feurig> U0IER = 0x01; 2011-12-29T20:46:27 < feurig> and I want to add a second vector for uart1 2011-12-29T20:47:45 < feurig> I understand what goes into VICIntSelect,Enable,Address and that I need to set U1IER but I dont understand what goes into the VICVectCntlN part 2011-12-29T20:48:21 < feurig> Tom_itx: ? 2011-12-29T20:52:14 < feurig> I mean the 6 is the channel for uart0 but where does the upper part come from? 2011-12-29T20:54:15 * feurig looks for the enable bit part. 2011-12-29T20:56:51 < feurig> nevermind the 2 is the enable. 2011-12-29T20:57:00 < feurig> #define VIC_VectCntl_ENABLE (0x00000020) 2011-12-29T20:57:10 < feurig> thanks. 2011-12-29T20:57:13 -!- feurig [~don@198.202.31.181] has left ##stm32 [] 2011-12-29T20:59:35 <+Steffanx> Hmm, izua has been gone for > 2 months now and doesn't even reply to emails :( 2011-12-29T21:00:34 < Tom_itx> well behave yourself then and i won't have to get the irc cops on you 2011-12-29T21:00:49 <+Steffanx> Nah, that's not my point 2011-12-29T21:01:03 < Tom_itx> yeah he shouldn't have left it high and dry 2011-12-29T21:01:55 <+Steffanx> I just wonder where he is.. he was here all they long 2011-12-29T21:03:58 -!- BrainDamage [BrainDamag@i.love.tiltshellz.org] has quit [Quit: ZNC - http://znc.sourceforge.net] 2011-12-29T21:07:45 -!- BrainDamage [BrainDamag@i.love.tiltshellz.org] has joined ##stm32 2011-12-29T21:13:02 -!- BrainDamage [BrainDamag@i.love.tiltshellz.org] has left ##stm32 ["PART #highaltitude :PART ##physics :PART #dANN :PART ##not-physics :PART ##electronics :QUIT :Leaving."] 2011-12-29T21:28:32 -!- BrainDamage [BrainDamag@i.love.tiltshellz.org] has joined ##stm32 2011-12-29T21:40:15 -!- Paradoxial [~Paradoxia@pool-108-28-22-94.washdc.fios.verizon.net] has joined ##stm32 2011-12-29T22:14:36 -!- Xeo_it [~bill@204.152.218.101] has joined ##stm32 2011-12-29T22:33:43 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Read error: Connection reset by peer] 2011-12-29T22:34:16 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-29T22:34:19 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-29T23:29:51 -!- peabody124 [~peabody12@ip68-102-210-178.ks.ok.cox.net] has quit [Quit: peabody124] 2011-12-29T23:57:57 -!- Paradoxial [~Paradoxia@pool-108-28-22-94.washdc.fios.verizon.net] has quit [Quit: :] 2011-12-29T23:58:18 -!- NonaSuomy [~TeknoJuce@bas1-london15-1168017615.dsl.bell.ca] has joined ##stm32 2011-12-29T23:58:19 -!- NonaSuomy [~TeknoJuce@bas1-london15-1168017615.dsl.bell.ca] has quit [Changing host] 2011-12-29T23:58:19 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 --- Day changed Fri Dec 30 2011 2011-12-30T00:01:16 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 240 seconds] 2011-12-30T00:55:34 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 255 seconds] 2011-12-30T01:28:26 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-30T01:28:53 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-30T02:02:09 -!- Laurenceb_ [~Laurence@host86-177-62-66.range86-177.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2011-12-30T02:57:29 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has joined ##stm32 2011-12-30T03:40:36 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-30T03:41:31 -!- zlog [~zlog@ip68-102-110-116.ks.ok.cox.net] has quit [Ping timeout: 252 seconds] 2011-12-30T03:44:52 -!- zlog [~zlog@ip68-102-110-116.ks.ok.cox.net] has joined ##stm32 2011-12-30T04:15:56 -!- zlog [~zlog@ip68-102-110-116.ks.ok.cox.net] has quit [Remote host closed the connection] 2011-12-30T04:15:58 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [] 2011-12-30T04:17:19 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-30T04:17:21 -!- zlog [~zlog@ip68-102-110-116.ks.ok.cox.net] has joined ##stm32 2011-12-30T04:51:36 -!- Xeo_it [~bill@204.152.218.101] has quit [Quit: quit] 2011-12-30T05:48:27 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has joined ##stm32 2011-12-30T06:01:39 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has quit [Quit: Leaving...] 2011-12-30T07:05:35 -!- Eartaker [~Eartaker@unaffiliated/eartaker] has quit [Quit: By the time you read this I'll already be gone....] 2011-12-30T07:21:33 -!- emeb [~ericb@ip72-223-81-94.ph.ph.cox.net] has quit [Quit: Leaving.] 2011-12-30T07:39:33 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has joined ##stm32 2011-12-30T08:12:46 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has quit [Remote host closed the connection] 2011-12-30T08:12:56 -!- AaronM [~Aaron@207.223.31.247] has joined ##stm32 2011-12-30T08:12:56 -!- AaronM [~Aaron@207.223.31.247] has quit [Changing host] 2011-12-30T08:12:56 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has joined ##stm32 2011-12-30T08:41:05 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has quit [Quit: Quit] 2011-12-30T11:01:14 -!- leppie [~lolcow@196-210-143-222.dynamic.isadsl.co.za] has joined ##stm32 2011-12-30T12:31:47 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-30T12:32:01 -!- mode/##stm32 [+v Steffanx] by ChanServ 2011-12-30T15:52:20 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-30T16:06:59 -!- leppie [~lolcow@196-210-143-222.dynamic.isadsl.co.za] has quit [Read error: Connection reset by peer] 2011-12-30T16:13:31 -!- leppie [~lolcow@196-210-143-222.dynamic.isadsl.co.za] has joined ##stm32 2011-12-30T16:31:17 -!- Laurenceb_ [~Laurence@host86-177-62-66.range86-177.btcentralplus.com] has joined ##stm32 2011-12-30T17:43:38 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2011-12-30T17:49:55 < Thorn> I just got my PCBs from seeedstudio, quality is excellent 2011-12-30T17:50:36 <+Steffanx> :D 2011-12-30T17:50:40 < Thorn> all 10 boards have markings on the edge, does that mean they did 100% electrical test? I didn't pay for that 2011-12-30T17:52:05 < Thorn> new year gift? :) 2011-12-30T17:57:06 < jpa-> :P 2011-12-30T17:57:36 < jpa-> my boards were great quality also, but only 5 had the mark :) 2011-12-30T18:01:05 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-30T18:01:06 -!- mode/##stm32 [+v Steffann] by ChanServ 2011-12-30T18:01:13 < Thorn> I need some kind of good optics to assemble this. about 100 components 2011-12-30T18:02:29 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 240 seconds] 2011-12-30T18:04:30 < Laurenceb_> my silkscreens were off 2011-12-30T18:04:34 < Laurenceb_> from seeed 2011-12-30T18:06:46 < Thorn> I've no noticeable registration problems. there're photos out there with really bad registraation errors, but on my boards it's probably within 0.1mm 2011-12-30T18:07:03 < Laurenceb_> interesting 2011-12-30T18:11:51 -!- emeb [~ericb@ip72-223-81-94.ph.ph.cox.net] has joined ##stm32 2011-12-30T18:12:45 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has joined ##stm32 2011-12-30T19:16:49 -!- Laurenceb_ [~Laurence@host86-177-62-66.range86-177.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2011-12-30T19:20:23 <+Steffann> Have pictures of them Thorn ? 2011-12-30T19:20:31 <+Steffann> *photo's 2011-12-30T19:21:05 < Thorn> not yet, I'll post some soon 2011-12-30T19:58:00 -!- Laurenceb_ [~Laurence@host86-177-62-66.range86-177.btcentralplus.com] has joined ##stm32 2011-12-30T20:15:35 < Tom_itx> seeed's quality lacks from other cheap chinese vendors 2011-12-30T20:15:53 <+Steffann> No way 2011-12-30T20:16:23 <+Steffann> Maybe years ago when you tried it.. 2011-12-30T20:16:34 < Tom_itx> it hasn't been that long 2011-12-30T20:16:53 <+Steffann> it was 100% perfect for me 2011-12-30T20:17:09 < Tom_itx> i'm sure they get it right alot of the time 2011-12-30T20:18:46 <+Steffann> itead does 4 layers now.. i wonder how good that is 2011-12-30T20:19:27 < Tom_itx> i think their quality is worse than seeed 2011-12-30T20:19:42 <+Steffann> Probably not 2011-12-30T20:19:56 <+Steffann> The quality of seeed is perfect, for me 2011-12-30T20:20:10 < Tom_itx> go forth and be happy then 2011-12-30T20:20:34 <+Steffann> Don't need 4 layer 2011-12-30T20:20:44 <+Steffann> I mean, the quality from that dorkbot isn't better 2011-12-30T20:21:10 < Tom_itx> the mask is heavier for one thing 2011-12-30T20:21:33 < Tom_itx> alot tougher for hand soldering than you get with alot of chinese vendors 2011-12-30T20:21:53 < Tom_itx> their mask is fine for production but not nearly as good for hand soldering 2011-12-30T20:22:15 <+Steffann> Who cares about that? :) 2011-12-30T20:22:27 <+Steffann> Who uses seeed for production pcb's anyway? 2011-12-30T20:22:42 < Tom_itx> i'm saying the mask can be thinner for production 2011-12-30T20:22:50 <+Steffann> oh ok :P 2011-12-30T20:24:30 < karlp> Thorn: I thought I read somewhere recently that seeed was upgrading to 100% etest as standard 2011-12-30T20:25:01 <+Steffann> Yeah, i read something about that too 2011-12-30T20:25:07 < Tom_itx> i dunno 2011-12-30T20:25:17 <+Steffann> Or sometimes they even do it for you 2011-12-30T20:25:42 < Tom_itx> i get mine back from GP and they all have divits on the pads where they were tested whether you ask for testing or not 2011-12-30T20:25:50 < Tom_itx> they just don't send you the results 2011-12-30T20:26:02 < Tom_itx> but they do mark some as bad and send you extra board material 2011-12-30T20:26:03 <+Steffann> lol 2011-12-30T20:26:09 <+Steffann> like seeed 2011-12-30T20:28:12 < Tom_itx> http://tom-itx.dyndns.org:81/~webpage/scope/DSC_0002.JPG 2011-12-30T20:28:22 < Tom_itx> that was one of the worst i've come across 2011-12-30T20:28:34 < Tom_itx> the 2 traces were joined for about 1/4" or so 2011-12-30T20:29:39 <+Steffann> I've seen that boar before.. 2011-12-30T20:29:46 <+Steffann> but one bad board doesn't make seeed bad 2011-12-30T20:29:53 < Tom_itx> no 2011-12-30T20:29:58 < Tom_itx> i've seen others 2011-12-30T20:30:12 < Tom_itx> if i had to, i'd use them 2011-12-30T20:30:27 <+Steffann> Ofcouse, but I've also seen many good ones 2011-12-30T20:30:37 < Tom_itx> i'd use them over itead 2011-12-30T20:30:58 <+Steffann> For the few board i got from seeed the quality is as good as an @#$% expensive service 2011-12-30T20:31:56 <+Steffann> So i'll use them until they screw up :0 2011-12-30T20:31:58 <+Steffann> :) 2011-12-30T20:32:15 < karlp> is GP gold phoenix? 2011-12-30T20:32:21 <+Steffann> That image is from 2 years ago.. 2011-12-30T20:32:22 < Tom_itx> yes 2011-12-30T20:49:50 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has quit [Read error: Connection reset by peer] 2011-12-30T20:50:23 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has joined ##stm32 2011-12-30T21:00:29 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has quit [Ping timeout: 240 seconds] 2011-12-30T21:06:10 -!- leppie [~lolcow@196-210-143-222.dynamic.isadsl.co.za] has quit [Read error: Connection reset by peer] 2011-12-30T21:08:46 -!- Netsplit *.net <-> *.split quits: phantoxe, Tom_itx, district 2011-12-30T21:08:46 -!- lolcow [~lolcow@196-210-143-222.dynamic.isadsl.co.za] has joined ##stm32 2011-12-30T21:16:50 -!- Netsplit *.net <-> *.split quits: biot 2011-12-30T21:19:20 -!- Netsplit *.net <-> *.split quits: lolcow 2011-12-30T21:19:25 -!- Netsplit *.net <-> *.split quits: karlp 2011-12-30T21:19:27 -!- zlog_ [~zlog@ip68-102-110-116.ks.ok.cox.net] has joined ##stm32 2011-12-30T21:21:14 -!- zlog_ [~zlog@ip68-102-110-116.ks.ok.cox.net] has quit [Remote host closed the connection] 2011-12-30T21:23:27 -!- Netsplit *.net <-> *.split quits: NonaSuomy, mansfeld, zlog, Laurenceb_, Thorn, emeb, jaeckel, whitequark, joe9, +Steffann, (+6 more, use /NETSPLIT to show all of them) 2011-12-30T21:24:18 -!- Netsplit over, joins: karlp 2011-12-30T21:24:18 -!- leppie [~lolcow@196-210-143-222.dynamic.isadsl.co.za] has joined ##stm32 2011-12-30T21:24:18 -!- Netsplit over, joins: zlog, biot 2011-12-30T21:24:18 -!- Tom_itx [~Tl@ip68-102-110-116.ks.ok.cox.net] has joined ##stm32 2011-12-30T21:24:18 -!- flyback- [~flyback@c-98-219-134-156.hsd1.pa.comcast.net] has joined ##stm32 2011-12-30T21:24:20 -!- Netsplit over, joins: district, phantoxe, Laurenceb_, emeb, +Steffann, Thorn, NonaSuomy, BrainDamage, joe9, kerwood (+7 more) 2011-12-30T21:25:09 -!- Tom_itx is now known as Guest19406 2011-12-30T21:27:51 -!- Guest19406 [~Tl@ip68-102-110-116.ks.ok.cox.net] has quit [] 2011-12-30T21:28:16 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-30T21:39:18 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has joined ##stm32 2011-12-30T21:47:41 < Thorn> http://electronics.stackexchange.com/questions/5186/how-to-read-the-text-printed-on-top-of-every-ic 2011-12-30T21:48:19 <+Steffann> Hehe nice 2011-12-30T21:48:51 < Thorn> that website has answers to many questions I'd never actually ask lol 2011-12-30T21:49:52 <+Steffann> stackoverflow does too 2011-12-30T21:52:13 < jpa-> Steffann: what are you doing on newyears? 2011-12-30T21:53:31 <+Steffann> Being the bored guy.. like always jpa- 2011-12-30T21:53:32 <+Steffann> You? 2011-12-30T21:53:40 < jpa-> same, same 2011-12-30T21:53:51 < jpa-> probably just staying at home and watching from window 2011-12-30T21:54:43 <+Steffann> LOL :P 2011-12-30T21:54:49 <+Steffann> I'm not THAT bad 2011-12-30T21:54:56 < jpa-> atleast i have a view :P 2011-12-30T21:55:49 <+Steffann> I wouldn't be surprised when you are serious 2011-12-30T21:56:34 < jpa-> http://koti.kapsi.fi/jpa/stuff/pix/pirkkala_valo.jpg 2011-12-30T21:56:47 <+Steffann> Yeah, nice view 2011-12-30T21:56:54 <+Steffann> That's the light beam? 2011-12-30T21:56:56 <+Steffann> *what's 2011-12-30T21:57:09 < jpa-> i don't know :D 2011-12-30T21:57:13 < jpa-> that is why i took the photo 2011-12-30T21:57:17 <+Steffann> Aah :D 2011-12-30T21:57:19 < jpa-> i think they were looking for me :) 2011-12-30T22:01:38 < jpa-> but where are you going to practise your boredness? 2011-12-30T22:02:33 <+Steffann> My room ofcourse 2011-12-30T22:02:36 <+Steffann> Behind my pc 2011-12-30T22:02:38 <+Steffann> Duh 2011-12-30T22:02:50 <+Steffann> in front of my pc :P 2011-12-30T22:03:22 < jpa-> :) 2011-12-30T22:03:39 <+Steffann> Otherwise you'll be alone here 2011-12-30T22:05:36 < jpa-> true 2011-12-30T22:05:49 < jpa-> i should get coding, but i've been too bored to 2011-12-30T22:06:02 <+Steffann> coding what? 2011-12-30T22:06:26 < jpa-> some stuff for libfixmath 2011-12-30T22:06:39 < jpa-> then finish documenting my matrix library 2011-12-30T22:06:41 <+Steffann> oh I used that lib once 2011-12-30T22:06:44 < jpa-> then make a kalman filter 2011-12-30T22:06:54 < jpa-> then integrate it to boat 2011-12-30T22:07:05 < jpa-> then fix the hull 2011-12-30T22:07:34 <+Steffann> You are really that into math? 2011-12-30T22:08:10 < jpa-> sure 2011-12-30T22:08:30 < jpa-> i actually enjoy it 2011-12-30T22:09:04 <+Steffann> math ? 2011-12-30T22:09:37 < jpa-> yeah 2011-12-30T22:11:14 <+Steffann> How can one enjoy that? 2011-12-30T22:11:32 < jpa-> https://svn.kapsi.fi/jpa/libfixmath/libfixmatrix/ what i have so far 2011-12-30T22:12:58 <+Steffann> That's not much 2011-12-30T22:13:05 <+Steffann> :) 2011-12-30T22:13:13 < jpa-> true, but all i need 2011-12-30T22:14:20 < jpa-> (all the matrix algebra necessary for kalman filters) 2011-12-30T22:14:34 <+Steffann> And not that difficult at all 2011-12-30T22:14:46 <+Steffann> Kalman is more difficult, at least… I do understand it :) 2011-12-30T22:16:31 < jpa-> most of the stuff is dead simple; qr decomposition is probably the most complex 2011-12-30T22:17:17 < jpa-> but it involves a lot of testing, whereas kalman filter is just a few simple formulas involving matrices 2011-12-30T22:17:37 <+Steffann> Maybe, but I don't understand what they say on wikipedia :P 2011-12-30T22:17:47 < jpa-> wikipedia explanation sucks, yeah :) 2011-12-30T22:18:00 < jpa-> fortunately our uni had a course on it 2011-12-30T22:18:10 <+Steffann> I've never seen a good/understandable explanation on the web 2011-12-30T22:18:26 <+Steffann> Maybe i've to search for osmething on the mit open courseware 2011-12-30T22:21:51 < jpa-> model the prior and posterior distributions using multidimensional normal distributions; have a linear model for the state transition and measurement model; use them to compute the new state estimate based on old estimate and measurements :P 2011-12-30T22:22:11 <+Steffann> YEAH 2011-12-30T22:23:08 < jpa-> so what part is the problem? ,) 2011-12-30T22:23:30 <+Steffann> kalman :) 2011-12-30T22:24:36 < jpa-> that is just bayes formula applied to the distributions :) 2011-12-30T22:24:38 < Laurenceb_> KALLLMAAAAAAAAAAAAAAAANNNNNNNNNNN!!!!! 2011-12-30T22:24:52 < Laurenceb_> the solution to and cause of all of lifes problems 2011-12-30T22:28:20 <+Steffann> so Laurenceb_ gets it? 2011-12-30T22:37:10 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has joined ##stm32 2011-12-30T23:17:14 -!- phantone [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-30T23:20:22 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 248 seconds] 2011-12-30T23:21:22 -!- kerwood [~Marshall@c-76-21-166-25.hsd1.md.comcast.net] has quit [Quit: Leaving.] 2011-12-30T23:23:17 -!- phantone is now known as phantoxe 2011-12-30T23:23:34 -!- kerwood [~Marshall@c-76-21-166-25.hsd1.md.comcast.net] has joined ##stm32 2011-12-30T23:56:52 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has quit [Quit: peabody124] --- Day changed Sat Dec 31 2011 2011-12-31T00:07:18 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 260 seconds] 2011-12-31T00:11:38 -!- jnosky [~foo@c-68-39-251-30.hsd1.nj.comcast.net] has joined ##stm32 2011-12-31T01:09:38 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has joined ##stm32 2011-12-31T01:52:10 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has joined ##stm32 2011-12-31T02:35:09 -!- Laurenceb_ [~Laurence@host86-177-62-66.range86-177.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2011-12-31T03:00:02 -!- kerwood [~Marshall@c-76-21-166-25.hsd1.md.comcast.net] has left ##stm32 [] 2011-12-31T03:00:09 -!- kerwood [~Marshall@c-76-21-166-25.hsd1.md.comcast.net] has joined ##stm32 2011-12-31T03:29:23 -!- whitequark [~whitequar@2a00:ab00:1::4464:5550] has left ##stm32 [] 2011-12-31T06:01:55 -!- dekar [~dekar@46.115.12.163] has joined ##stm32 2011-12-31T06:06:33 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has quit [Quit: Leaving...] 2011-12-31T06:30:27 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 240 seconds] 2011-12-31T06:36:18 -!- emeb [~ericb@ip72-223-81-94.ph.ph.cox.net] has quit [Quit: Leaving.] 2011-12-31T06:45:08 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-31T06:57:36 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 240 seconds] 2011-12-31T07:07:32 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2011-12-31T07:11:54 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-31T07:28:43 * flyback- http://youtu.be/YmpebnTbGAI <-- funniest scene in the movie, wait for the "pure" comment 2011-12-31T07:32:33 -!- philpem [~philpem@discferret/team-lead] has quit [Ping timeout: 244 seconds] 2011-12-31T08:42:31 * flyback- attempts to format some ancient cdrw 2011-12-31T08:51:14 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has quit [Quit: peabody124] 2011-12-31T09:05:50 -!- BrainDamage [BrainDamag@i.love.tiltshellz.org] has quit [Quit: ZNC - http://znc.sourceforge.net] 2011-12-31T09:15:16 -!- BrainDamage [BrainDamag@i.love.tiltshellz.org] has joined ##stm32 2011-12-31T10:08:17 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has quit [Quit: Quit] 2011-12-31T11:24:27 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-31T11:24:28 -!- mode/##stm32 [+v Steffann] by ChanServ 2011-12-31T12:04:08 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 240 seconds] 2011-12-31T12:24:57 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-31T12:55:07 -!- leppie [~lolcow@196-210-143-222.dynamic.isadsl.co.za] has quit [Ping timeout: 276 seconds] 2011-12-31T13:11:29 -!- leppie [~lolcow@196-210-143-222.dynamic.isadsl.co.za] has joined ##stm32 2011-12-31T13:19:51 -!- Laurenceb_ [~Laurence@host86-177-62-66.range86-177.btcentralplus.com] has joined ##stm32 2011-12-31T13:55:32 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has joined ##stm32 2011-12-31T14:03:56 <+Steffann> btw jpa- , what is that tower on the photo you posted here ? 2011-12-31T14:05:14 -!- zlog [~zlog@ip68-102-110-116.ks.ok.cox.net] has quit [Remote host closed the connection] 2011-12-31T14:05:16 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has quit [] 2011-12-31T14:07:02 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2011-12-31T14:07:06 -!- zlog [~zlog@ip68-102-110-116.ks.ok.cox.net] has joined ##stm32 2011-12-31T14:07:09 -!- Laurenceb_ [~Laurence@host86-177-62-66.range86-177.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2011-12-31T14:53:28 -!- philpem [~philpem@discferret/team-lead] has joined ##stm32 2011-12-31T15:03:05 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 244 seconds] 2011-12-31T15:03:30 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2011-12-31T15:43:20 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has quit [Quit: peabody124] 2011-12-31T16:06:34 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2011-12-31T16:26:31 -!- kerwood [~Marshall@c-76-21-166-25.hsd1.md.comcast.net] has quit [Read error: Connection reset by peer] 2011-12-31T16:26:39 -!- kerwood [~Marshall@c-76-21-166-25.hsd1.md.comcast.net] has joined ##stm32 2011-12-31T16:30:25 < jpa-> Steffann: ufo landing site, filled with water 2011-12-31T16:31:12 <+Steffann> ok.. 2011-12-31T16:31:33 <+Steffann> That watertower is still in use? 2011-12-31T16:33:25 < jpa-> yeah 2011-12-31T17:23:22 < Thorn> homemade pcb with solder mask http://we.easyelectronics.ru/evsi/yet-another-development-board-ili-mini64.html 2011-12-31T17:24:44 <+Steffann> In russian :( 2011-12-31T17:25:15 < Thorn> with pictures 2011-12-31T17:25:48 < Thorn> there's not much details on the technology anyway 2011-12-31T17:26:02 < Thorn> maybe there's some other article 2011-12-31T17:26:05 <+Steffann> Where's the website about? Or is it your blog? 2011-12-31T17:26:17 < jpa-> the plating is more interesting than the solder mask 2011-12-31T17:26:20 < Thorn> nope not mine 2011-12-31T17:27:07 <+Steffann> gold plating? 2011-12-31T17:27:08 < Thorn> it's a community with a blog hosting among other things 2011-12-31T17:28:54 < Thorn> this is what he used for tinning http://item.taobao.com/item.htm?id=8775294876 2011-12-31T17:29:28 <+Steffann> it sucks my russian is too bad 2011-12-31T17:30:34 < jpa-> the through-hole plating, i meant 2011-12-31T17:30:49 < Thorn> ah. there's none 2011-12-31T17:30:57 < Thorn> the pcb is single layer 2011-12-31T17:31:20 < jpa-> ah, missed that 2011-12-31T18:38:51 -!- peabody124 [~peabody12@pool-71-244-0-61.dllstx.fios.verizon.net] has joined ##stm32 2011-12-31T19:06:37 -!- UnaClocker [~unaclocke@24-113-85-150.wavecable.com] has joined ##stm32 2011-12-31T19:12:22 -!- emeb [~ericb@ip72-223-81-94.ph.ph.cox.net] has joined ##stm32 2011-12-31T19:28:01 -!- Laurenceb_ [~Laurence@host86-177-62-66.range86-177.btcentralplus.com] has joined ##stm32 2011-12-31T20:17:58 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 248 seconds] 2011-12-31T20:43:27 -!- zlog [~zlog@ip68-102-110-116.ks.ok.cox.net] has quit [Ping timeout: 252 seconds] 2011-12-31T20:44:40 -!- zlog [~zlog@ip68-102-110-116.ks.ok.cox.net] has joined ##stm32 2011-12-31T20:44:56 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 252 seconds] 2011-12-31T20:44:56 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has quit [Ping timeout: 252 seconds] 2011-12-31T20:46:48 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2011-12-31T20:47:49 -!- joe9 [~joe9@c-24-99-80-97.hsd1.ga.comcast.net] has joined ##stm32 2011-12-31T21:08:48 -!- biot [~bert@kiutl.biot.com] has quit [Ping timeout: 252 seconds] 2011-12-31T21:12:22 -!- biot [~bert@kiutl.biot.com] has joined ##stm32 2011-12-31T21:56:19 -!- Thorn__ [~Thorn@2.94.92.218] has joined ##stm32 2011-12-31T21:56:19 -!- Thorn__ [~Thorn@2.94.92.218] has quit [Changing host] 2011-12-31T21:56:19 -!- Thorn__ [~Thorn@unaffiliated/thorn] has joined ##stm32 2011-12-31T21:58:57 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 252 seconds] 2011-12-31T22:15:54 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2011-12-31T22:15:54 -!- mode/##stm32 [+v Steffann] by ChanServ 2011-12-31T22:43:04 -!- flyback- is now known as fishhead 2011-12-31T22:43:12 -!- fishhead is now known as i8086 2011-12-31T22:43:20 -!- i8086 is now known as fkyback 2011-12-31T23:08:21 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has joined ##stm32 2011-12-31T23:10:56 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has quit [Remote host closed the connection] 2011-12-31T23:11:18 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has joined ##stm32 2011-12-31T23:13:06 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has quit [Client Quit] 2011-12-31T23:13:24 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has joined ##stm32 2011-12-31T23:14:12 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has quit [Client Quit] 2011-12-31T23:14:31 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has joined ##stm32 2011-12-31T23:27:38 -!- dekar [~dekar@46.115.12.163] has quit [Ping timeout: 240 seconds] 2011-12-31T23:33:48 -!- dekar [~dekar@46.115.0.120] has joined ##stm32 2011-12-31T23:55:34 -!- dekar [~dekar@46.115.0.120] has quit [Ping timeout: 252 seconds] --- Log closed Sun Jan 01 00:00:58 2012