#avr | Logs for 2013-05-19

Back
[01:27:42] * GuShH hands theBear a cappuccino
[01:28:38] <theBear> woah, ok, but last one today, i'm on fire here
[01:28:59] <theBear> i'm blazing, innit
[06:58:50] <megal0maniac> http://www.visualmicro.com/
[06:59:20] <megal0maniac> For those who are scared to click, the Arduino IDE can now be integrated into AS6.1 though an extension...
[06:59:33] <megal0maniac> That is all :P
[06:59:55] <theBear> good god ! now you said that i'm too scared to click :)
[06:59:57] <twnqx> wow, two things i wouldn't touch at once!
[07:01:06] <Horologium> hehe.
[07:01:53] <Horologium> isn't that like,,,,praying to satan while sacrificing small kittens to cthulhu at the same time?
[07:02:06] <theBear> hehe
[07:02:12] <Horologium> could cause the universe to implode or something.
[07:02:56] <theBear> or your brain, at least the part that does intelligence and innovative efficient programming :)
[07:03:16] <Horologium> the universe only exists in my mind...so same difference.
[07:03:46] <twnqx> ah, so mean people here
[07:08:05] <theBear> you f00l ! it only exists in my mind, and so do you !
[07:08:23] <theBear> but you might cease to if yer don't start pleasing me more :)
[07:08:42] <twnqx> you're half of earth away
[07:08:50] * twnqx is neither impressed nor scared
[07:09:13] <theBear> i am ? i coulda sworn i was right here
[07:09:13] * theBear checks
[07:09:20] <theBear> yep, i seem to be attached to my neck
[07:09:47] <theBear> "don't you mean they cut off his dick ?" "NO ! they held his dick, and cut his ENTIRE BODY OFF !"
[07:10:02] <theBear> "in the end he was just a dick !"
[07:11:08] <theBear> hehe, i'm tired, i'll stop torturing you with my metaphysical nihilism know
[07:15:55] <inkjetunito> i made an alarm clock out of a raspberry pi
[07:16:30] <thetruthisoutthe> h
[07:16:35] <theBear> lol
[07:16:46] <theBear> ahh, we got an inside joke
[07:16:51] <RikusW> an overclocked one :-P
[07:17:15] <MrMobius> dont laugh. if this embedded linux bullshit takes off you will see a lot of that
[07:17:23] <theBear> what, h's ?
[07:17:34] <kobsu> :D
[07:18:00] <theBear> maybe it's taking off already, i already seen a bunch today :)
[07:18:25] <MrMobius> "look i made a 3x3 LED cube run by an ARM A13! It has 726382367 levels of brightness!"
[07:18:37] <theBear> lol
[07:20:55] <inkjetunito> :)
[07:21:09] <Tom_itx> w
[07:25:52] <thetruthisoutthe> 726382367 is seven hundred twenty-six million three hundred eighty-two thousand three hundred sixty-seven
[07:28:02] * theBear giggles a bit
[07:28:05] <theBear> tom knows the score
[07:32:40] * twnqx hopes he didn't taint Tom_itx with yesterday's use of
[07:32:40] <twnqx> w
[07:51:11] <abcminiuser> Christ I hate trying to port things
[07:51:18] <abcminiuser> Never goddam works out
[07:51:42] <twnqx> porting avrstudio to linux?
[07:51:48] <abcminiuser> LUFA demos to XMEGA
[07:52:06] <tzanger> LUFA should be pretty straightforward. check all your I/O assumptions
[07:52:06] <abcminiuser> It's impossible to have a demo that is a) dual architecture and b) 50-way board compatible
[07:52:12] <abcminiuser> While still staying simple
[07:52:22] <tzanger> avrstudio is based on visual studio, I dont' think it's getting ported anytime soon
[07:52:32] <abcminiuser> tzanger, you know I'm the author of LUFA, right?
[07:52:57] <tzanger> no, I thought it was twnqx for some reason
[07:53:02] <twnqx> what
[07:53:03] <abcminiuser> Ah
[07:53:04] <twnqx> lol
[07:53:04] <tzanger> I admit I have not had my coffee yet
[07:53:19] <twnqx> i haven't even used lufa yet
[07:53:21] <tzanger> abcminiuser: so you should have no problem porting LUFA then :-)
[07:53:27] <abcminiuser> Right well I'm going to go for technical compatibility in V1, or it'll never get done
[07:53:37] <abcminiuser> I'll add the LUFAConfig and clock code
[07:53:41] <tzanger> in all seriousness.. what is causing the screwiness?
[07:53:46] <abcminiuser> UI
[07:53:55] <twnqx> how would you use lufa without ui?
[07:54:00] <tzanger> pff. who uses UIs. :-)
[07:54:04] <abcminiuser> Different boards have different buttons, LEDs, etc
[07:54:10] <tzanger> right right
[07:54:17] <abcminiuser> So making demo code that makes sense across all of them is impossible
[07:54:29] <abcminiuser> ASF solves it with a different UI C file for each supported board
[07:54:31] <tzanger> abcminiuser: did atmel do anything nice for you for including LUFA in their asf?
[07:54:39] <abcminiuser> But royally screw that
[07:54:49] <abcminiuser> No, I've used the XDK system to make my own extension
[07:55:36] <tzanger> asf is a nice concept but jesus fuck does it complicate things
[07:55:40] <tzanger> and lead to disgusting code
[07:55:43] <abcminiuser> Indeed :P
[07:55:53] <tzanger> I used it for the first time at the atmel tech on tour seminar on thursday
[07:55:56] <tzanger> nasty, nasty, nasty
[07:55:59] <tzanger> I like the idea of libraries
[07:56:03] <abcminiuser> Oh, which product?
[07:56:04] <tzanger> I hate the idea of their pointy clicky shit
[07:56:09] <tzanger> sam4l
[07:56:17] <abcminiuser> Ah, not the one I did then
[07:56:27] <tzanger> got a real nice dev board (sam4l-ek) and two atmel radios
[07:56:58] <tzanger> got an altera seminar in two weeks where I get a really nice cyclone v board
[07:57:10] <tzanger> I only wish they put a fx3 on it instead of fx2
[07:57:12] <twnqx> tzanger: i came to the conclusion that the pointy clicky shit is only an attempt in vendor lock in
[07:57:44] <twnqx> "you have to use our UI, and once you settled in you don't want to change, so you'll stay with our products, mwahahaha"
[07:57:45] <tzanger> twnqx: not really, they're trying to make things easier but they're really turning down the quality of produced source code, or at least making it a chore to keep it clean
[07:58:09] <tzanger> I am hoping that I can use asf to use their libraries which I think is important and good, but then just drop to command line for the rest
[07:58:30] <tzanger> I mean the nice way of doing things is how avr-libc does it
[07:59:08] <tzanger> (sort of) documented library and just go. generators are useless if you ahve to edit the fucking header files after anyway
[07:59:30] <twnqx> i tried to import my last project into AS because i wanted to debug something and avarice produced no useful results
[07:59:36] <twnqx> i gave up after a few hours
[07:59:52] <tzanger> I have yet to use gdb with avr or even sam products
[08:00:19] <twnqx> avarice didn't even get me a meaningful backtrace
[08:00:21] <tzanger> the freertos stack being ported to sam4 was a nice touch
[08:00:34] <tzanger> twnqx: time to break out the LEDs, test points and a scope. :-)
[08:00:46] <RikusW> printf ?
[08:00:49] <twnqx> i have 4 LEDs, mainly for this particular reason :P
[08:00:52] <twnqx> and yes, printf
[08:00:59] <twnqx> though that's my own version of it
[08:01:05] <twnqx> using my serial port code
[08:01:36] <tzanger> woot! the snot coming out of my nose is clearing up... not the disgusting thick yellow shit fromt he sinus infection!
[08:02:23] <tzanger> avr-libc's printf let me down, I had to write my own to get some meaningful types (longer hex strings mostly)
[08:02:53] <tzanger> on my first real pic product I used the pwm to generate various analog voltages to tell me what was going on in the code
[08:03:11] <tzanger> on a scope with roll you got kind of a strip chart output
[08:03:30] <twnqx> :D
[08:03:36] <Horologium> somebody just gave me an old vt102 terminal...amber...
[08:03:43] <Horologium> think I'll use it for microcontroller debugging.
[08:04:01] <tzanger> lol
[08:04:10] <Horologium> tie it to the usart and away I go!
[08:04:42] <Horologium> \an attiny2313 probably has more processing power than what's in that terminal,,,
[08:04:47] <twnqx> tzanger: there's a trick with it, but i guess you know -Wl,-u,vfprintf -lprintf_flt?
[08:04:56] <tzanger> yep I know
[08:05:06] <twnqx> that got me 32bit hex with no problems...
[08:05:07] <tzanger> I wasn't printing floats
[08:05:19] <tzanger> but maybe the _flt part got longer hexes... I'll have to revisit it
[08:06:10] <twnqx> and then...
[08:06:12] <twnqx> -fno-builtin-printf
[08:06:25] <twnqx> i don't even have an idea where the default printf goes to :X
[08:06:28] <tzanger> yeah I never bother with that I just call mine fuck_printf() or something
[08:07:13] <tzanger> I'm so happy this channel exists. lots of like-minded people with very little posturing/dick waving
[08:07:27] * Horologium waves a Richard Stallman
[08:07:30] <twnqx> lol
[08:07:39] * abcminiuser yells at the wall
[08:07:49] <tzanger> even better that it's on freenode and not someone's two-node IRC network because he got pissed off and split away
[08:08:00] <Horologium> abcminiuser, you need a weirding module for that.
[08:08:00] <twnqx> :)
[08:08:05] <tzanger> heh
[08:08:34] <twnqx> abcminiuser: you wouldn't want to know how often i did that while writing this ONe µC application
[08:08:45] <twnqx> it even cost me a mouse :X
[08:08:52] <twnqx> and almost a TFT
[08:09:00] <abcminiuser> What's annoying is that the code is simple
[08:09:08] <abcminiuser> I just can't think of a nice abstraction for it
[08:09:15] <abcminiuser> So I have a choice of either
[08:09:23] <twnqx> for me it was always some minor obscure glitch that i couldn't catch
[08:09:32] <abcminiuser> a) Leaving things as-is, with technical XMEGA compatibility but no demos
[08:09:56] <abcminiuser> b) Adding XMEGA compatibility but not porting to the demos, so they will work if you remove all the board driver code
[08:10:10] <abcminiuser> c) Somehow making a magic but simple demo that works across both architectures
[08:10:29] <thetruthisoutthe> abcminiuser <= what may cause a timer1 in atmega to fail to trigger ctc mode using the ICR1 limit ?
[08:10:31] <twnqx> wouldn't you need tons of xmega boards to test the demos? or do you have those in the office?
[08:10:57] <thetruthisoutthe> it is not tied to timer1_ovf interrupt?
[08:11:01] <twnqx> (does LUFA support firmware upgrade over CAN?)
[08:11:32] <abcminiuser> thetruthisoutthe, pastebin your code
[08:11:41] <abcminiuser> twnqx, I have TONS of boards here at home
[08:11:45] <abcminiuser> And no, USB, no CAN
[08:12:06] <twnqx> but i have no USB :X
[08:12:10] <twnqx> at least not builtin
[08:12:17] <Horologium> LUFA is just USB...it's not a CAN library.
[08:12:29] <abcminiuser> Son of a...
[08:12:34] <abcminiuser> New Doxygen just released
[08:12:41] <tzanger> twnqx: when I was a kid I used to throw the nintendo controllers at the screen when I'd get pissed off.
[08:12:42] <twnqx> and atmel has a very small selection of can+usb chips
[08:12:49] <Horologium> dangit...gonna have to learn to breathe all over again.
[08:12:52] <abcminiuser> The day after I completed my XSLT transform between Doxygen XML and Docbook
[08:12:53] <twnqx> sam3x or so
[08:13:31] <twnqx> guess i'll have to build myself a demo board just to figure out how to program those
[08:13:38] <twnqx> and i still have some arm crosscompiler issues
[08:13:49] <Horologium> so do it with 2 AVRs.
[08:14:02] <twnqx> you need avrdude from repo
[08:14:03] <Horologium> one with can, one with usb, and both with usart for comms between them.
[08:14:08] <twnqx> ah
[08:14:09] <twnqx> lol
[08:14:49] <twnqx> http://www.mikrocontroller.net/topic/292174 want one? :P schematic attached *g*
[08:15:19] <Horologium> no thanks
[08:15:28] <Horologium> they only talk to german CANs it looks like.
[08:15:42] <twnqx> ignore the text
[08:15:51] <twnqx> though i only tested it with audi :>
[08:15:53] <Horologium> we only have afriCANs and mexiCANs around here.
[08:15:57] <Horologium> no germiCANs
[08:16:00] <twnqx> sad.
[08:16:05] <vectory_> :D
[08:16:08] <twnqx> you should change that
[08:16:20] <Horologium> they won't let me hunt africans or mexicans anymore.
[08:16:27] <twnqx> awww
[08:16:27] <Horologium> damned laws.
[08:16:37] <tzanger> he's cheating
[08:16:54] <tzanger> that's just a FT232 attached to an at90can128; I have one of those exact configurations for my shop controller
[08:16:57] <Horologium> but, as far as CAN,,,I don't have any need to talk to my truck.
[08:18:18] <twnqx> no! it's a 230X!
[08:18:19] <tzanger> interesting though, he's connected the 4 CBUS lines of the FT232 to PE4-7 for some unknown reason
[08:18:32] <twnqx> you never now what you can use them for
[08:18:34] <twnqx> also
[08:18:40] <twnqx> you can remap the pins
[08:18:45] <twnqx> and get cts/rts interrupt mode.
[08:19:07] <tzanger> it's *highly* unlikely you need to use that for normal uarts these days
[08:19:21] <twnqx> you do
[08:19:27] <tzanger> I've got a Cypress FX3 design I'm working on, that is a nice little chip
[08:19:28] <twnqx> i NEED rts cts in that thing or i lose data
[08:19:40] <twnqx> is that the usb 3.0?
[08:19:44] <tzanger> 320MB/sec parallel interface, sch-weet
[08:19:52] <twnqx> but bga, no?
[08:20:04] <tzanger> twnqx: why do you need CTS/RTS these days? what are you not keeping up with? what baudrate?
[08:20:12] <twnqx> 2mbit
[08:20:13] <tzanger> twnqx: yes, BGA only
[08:20:14] <abcminiuser> Man this system is Rube-Golberg
[08:20:30] <abcminiuser> Doxygen XML -> Docbook -> Microsoft Help
[08:20:33] <twnqx> and apparently the 230X ignores data while sending up on usb
[08:20:39] <tzanger> twnqx: 2Mbit on an AT90CAN? not bad... what's your actual throughput if you're throttling with CTS though?
[08:20:44] <abcminiuser> Then packaged up with some XML transforms, file copies and zips
[08:21:10] <tzanger> abcminiuser: which system is that, it does sound rather convoluted, especially since you could probably go from Doxygen directly to .chm
[08:21:25] <abcminiuser> My LUFA packager for Atmel Studio 6.1
[08:21:35] <tzanger> ahh
[08:21:41] <abcminiuser> I have to convert the Doxygen documentation into a special format that Studio understands
[08:21:49] <tzanger> twnqx: is that dual CAN-UART bridge link from mikrocontroller.net yours?
[08:21:57] <abcminiuser> And the code needs to be augmented with some XML files and specific packing
[08:22:13] <tzanger> right, right
[08:23:05] <tzanger> heh that design can be powered from external supply, vbus or vcan
[08:23:38] <twnqx> yes
[08:23:52] <twnqx> 3V-~2$V
[08:23:58] <twnqx> 3.3-24*
[08:24:25] <twnqx> though 3.3 is pushing it with diode drop
[08:25:09] <twnqx> and it can follow ignition if you want
[08:25:16] <twnqx> and yes, it's mine
[08:26:40] <twnqx> and i only tested up to 15, no power supply for more here :P
[08:26:43] <tzanger> so pwr0, pwrint and jp7 all turn on the CAN power fets?
[08:27:07] <twnqx> pwr0 and pwrint
[08:27:10] <twnqx> jp7 bypasses it
[08:27:42] <twnqx> the idea is to have the chance to write eeprom/flash even after the engine is turned off
[08:27:59] <tzanger> JP7 grounds Q1's gate, same as Q2 and Q3, no?
[08:28:06] <twnqx> err
[08:28:07] <twnqx> sec
[08:28:33] <twnqx> sorry, right
[08:28:40] <twnqx> jp7 is on the pcb under the switch
[08:28:46] <twnqx> should you want to use external switches
[08:29:33] <tzanger> what's the SJA used for? second CAN channel?
[08:29:56] <twnqx> yes
[08:30:15] <tzanger> are you using the external RAM to buffer CAN frames or?
[08:30:27] <twnqx> i moved the complete heap there
[08:30:35] <twnqx> 4kB ringbuffer for uart, etc
[08:31:44] <twnqx> Q4 is sadly an afterthought.
[08:32:10] <tzanger> anything interesting in the software?
[08:32:16] <twnqx> probably not
[08:32:26] <twnqx> i wrote a complete ODB stack though
[08:32:37] <tzanger> very nice, that is something I have to get to at some point
[08:32:50] <twnqx> OBD*
[08:32:54] <tzanger> I wrote my own DeviceNet stack about 8 years ago
[08:33:00] <twnqx> and of course the server side, not the client side :P
[08:33:02] <tzanger> still have the specs for that, but nowhere to use it :-)
[08:33:19] <twnqx> ISOTP is separated from that
[08:33:33] <twnqx> i can a beginning CAN TP 2.0 implementation but i scrapped it
[08:33:52] <twnqx> and i have an external decoder (to receive the serial data)
[08:34:00] <twnqx> that alone is 2k+ lines
[08:34:11] <tzanger> CAN-TP split off from what, OBD or DN?
[08:34:32] <twnqx> OBD
[08:34:32] <twnqx> since it's used with UDS as well
[08:34:55] <tzanger> I'm not up on my automotive comm network specs :-)
[08:35:10] <twnqx> ou can find all the iso standards on the net
[08:35:13] <twnqx> well, almost
[08:35:15] <tzanger> I know
[08:35:26] <twnqx> apparently i am lacking the latest OBD spec which has an extra function :X
[08:35:36] <tzanger> I grabbed about 80k attachments from the electronix.ru website last month
[08:36:03] <tzanger> found some neat stuff in there (I was originally looking for the MIPI CIS and dPHY specs)
[08:36:11] <tzanger> there are some important things in there worth having
[08:36:13] <tzanger> let me dig up the one
[08:37:54] <twnqx> oh
[08:38:17] <twnqx> and i have the code to remote-boot an Infineon Tricore chip over CAN, should you ever want to do that :P
[08:38:40] <tzanger> http://merkin.mixdown.ca/electronix.ru/75000/1282833730_51zwbr6y5sq8.jpg
[08:38:46] <twnqx> if you have iso15031-5 2011, i would be VERY interested
[08:38:47] <tzanger> that is worth saving, lol
[08:39:03] <tzanger> I have never heard of an infineon tricore chip
[08:39:23] <twnqx> just another SoC
[08:39:32] <twnqx> interesting parameters though
[08:39:38] <twnqx> opeerative up to 120°C
[08:40:00] <twnqx> dsp/vector instructions
[08:41:09] <twnqx> (or BS ISO 15031-5:2011, or SAE J1976 2011)
[08:41:12] <tzanger> I have the 2002 one, not 2011
[08:41:32] <twnqx> i have 2002 and 2006
[08:41:48] <twnqx> OBD_RPEDTCPERM = 0x0a, /* New in 15031-5/2011 - same as 7 for permanent DTCs */
[08:42:05] <twnqx> this was the only change i found on quick glance when it was up on some chinese web site for online viewing
[08:42:20] <tzanger> on weibo? I went through hell on that site with google translate to grab one of those MIPI specs
[08:42:33] <twnqx> i never figured out how to download them
[08:42:42] <tzanger> it ain't easy and I forget the exact process
[08:42:51] <tzanger> you had ot sign up to save it to your folder then you could access it from there I think
[08:43:07] <twnqx> and i t was doc188 or something
[08:59:24] <twnqx> tzanger: there's still one mistake lurking, even in that v1.1 - i should have 3.3V level shiters on both the UART1 and the FT230X
[08:59:33] <twnqx> shifters*
[10:45:08] <Horologium> http://www.smbc-comics.com/index.php?db=comics&id=2982&utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+smbc-comics%2FPvLb+%28Saturday+Morning+Breakfast+Cereal+%28updated+daily%29%29
[10:45:29] <Tom_itx> abcminiuser, why not just make multi LUFA versions instead of trying to cram it all into one?
[10:45:45] <abcminiuser> Because maintenance
[10:46:09] <abcminiuser> 99 projects, bootloaders and demos x n architectures would sucl
[10:46:11] <abcminiuser> *suck
[10:46:48] <Tom_itx> apparently it sucks now
[10:47:00] <Tom_itx> just thought it might be easier
[10:51:27] <Tom_itx> is it getting big enough it should be a 'team' effort now?
[10:51:53] <tzanger> abcminiuser: do what Intel does
[10:52:26] <tzanger> make every type lufa_typename and abstract everything away so it becomes such a convulted mess that the porting effort is an entity all on its own
[10:52:34] <abcminiuser> Tom_itx, storing that in my "no context quotes" book...
[10:52:34] <tzanger> it's disgusting but it *does* make it portable
[10:54:18] <Tom_itx> :)
[11:15:20] <megal0maniac> afriCAN is back
[11:18:18] <RikusW> *black ? :-P
[11:18:32] <megal0maniac> Bitch plz!
[11:18:55] <megal0maniac> I'm one of the "others"
[11:20:33] <megal0maniac> RikusW: Through studying for my prac exam tomorrow, I realised that I can replace the 12V relay with a 2N2222
[11:21:38] <megal0maniac> 5V---10K---RI---C|E---GND
[11:21:53] <megal0maniac> And 12V through a resistor on the base
[11:22:01] <megal0maniac> Yes? No?
[11:23:26] <RikusW> yes
[11:23:26] <RikusW> or use a 4v7 zener
[11:24:29] <megal0maniac> Where?
[11:24:32] <RikusW> if you need ground isolation use PC817 optocoupler
[11:25:32] <megal0maniac> I swear I'm going to use this channel as an academic reference for a project one day :P
[11:26:21] <abcminiuser> Jesus why did I buy this Scrubs box set
[11:26:34] <abcminiuser> This has to be the worst goddam DVD transfer ever
[11:26:43] <abcminiuser> Upconverted through a distributed network of potatos
[11:26:58] <megal0maniac> abcminiuser: I was about to get offended :P
[11:27:07] <Tom_itx> mashed or french fries?
[11:27:44] <Tom_itx> megal0maniac, why not? where are you gonna find a better bunch of ppl?
[11:28:09] <megal0maniac> Thumbs-up for Scrubs, can't speak for the quality
[11:28:15] <abcminiuser> Damn good show
[11:28:26] <abcminiuser> But this is horrendous, on a legit box set
[11:28:39] <abcminiuser> My Stargate SG1 S10 was bad, but this is awful
[11:29:02] <megal0maniac> The problem with DVD box sets is that I'm not sure what to do with DVDs anymore
[11:29:57] <abcminiuser> Damn, me too
[11:30:00] <abcminiuser> It's odd
[11:30:12] <abcminiuser> Two years ago I was RAAGGHH PHYSICAL MUST HAVE DISK
[11:30:27] <abcminiuser> Now I think "Goddamit, where is the damn disk why isn't this on XBMC"
[11:30:48] <abcminiuser> When I get back home in Aus and buy a house I'm making a bigass media center and transferring everything to soft copies
[11:31:00] <megal0maniac> And I HAVE to switch on my laptop to watch something
[11:32:07] <megal0maniac> I have a sort-of media center, and considered a blu-ray player (mainly for pc-less dvd watching), but changed my mind pretty quickly
[11:32:26] <megal0maniac> Also I needed that money for fuel :P
[11:33:05] <megal0maniac> Yet there's no easy way most of the time to get it digitally unless it's illegal
[11:33:38] <megal0maniac> Before iTunes was available here, you couldn't even get music. And that was only a year ago
[11:34:19] <twnqx> abcminiuser is from austria?
[11:34:40] <megal0maniac> twnqx wrote LUFA?
[11:34:40] <twnqx> NO
[11:34:40] <twnqx> ...
[11:34:40] <megal0maniac> h
[11:35:18] <Tom_itx> w
[11:35:58] <abcminiuser> Err, close...
[11:36:12] <megal0maniac> NEW ZEALAND?
[11:36:20] <abcminiuser> GET TO ZE CHOPPAH
[11:36:25] <Tom_itx> haha
[11:36:28] <Tom_itx> request to add PDI to saleae logic plugins
[11:36:48] <abcminiuser> s/Austria/Australia
[11:37:04] <twnqx> i see
[11:39:14] <megal0maniac> Tom_itx: http://community.saleae.com/
[11:40:00] <megal0maniac> DIY!
[11:40:12] <Tom_itx> it's ok
[11:40:52] <Tom_itx> i was reading the user requests
[11:42:08] <megal0maniac> Would be nice...
[11:42:26] <Tom_itx> several there would be
[11:42:42] <Tom_itx> the new beta revamped the whole software platform
[11:43:19] <Tom_itx> available for linux but not recomended for xp yet
[11:43:34] <megal0maniac> 1.1.17a?
[11:43:45] <Tom_itx> something like that
[11:44:05] <megal0maniac> Heh :) "Now with more bugs!"
[11:44:21] <megal0maniac> Honest developers
[11:44:34] <Tom_itx> at least they admit it
[11:46:11] <megal0maniac> I'd imagine you could butcher the I2C analyzer plug-in to work for PDI...
[11:49:58] <megal0maniac> jadew: Did you shelf that logic analyzer project?
[11:50:41] <OndraSter_> http://i.imgur.com/xZQpxHw.jpg
[11:51:24] <inkjetunito> |:D
[11:51:25] <inkjetunito> -|
[11:55:12] <twnqx> w
[11:58:18] <megal0maniac> What is Atmel SWI?
[11:59:44] <kobsu> single wire interface?
[12:01:02] <megal0maniac> Odd. Never come across it before
[12:07:00] <specing> OndraSter_: I see it spreading around
[12:14:58] <Tom_itx> odd the jungo driver for studio and the saleae usb driver don't like each other
[12:16:43] <Tom_itx> does windows have a usb diagnostic tool?
[12:49:06] <tzanger> hm, jungo isn't a cypres spart
[12:54:51] <Tom_itx> no, they sell tools to companies: https://www.jungo.com/st/products/windriver/
[12:57:39] <tzanger> I understand, but I was thinking out loud... why would a cypress driver give a shit about something else?
[12:58:11] <Tom_itx> does jungo use cypress?
[12:58:20] <Tom_itx> err does saleae use cypress?
[13:00:19] <RikusW> the AS jungo driver is limited to only Atmel programmer PIDs
[13:00:20] <tzanger> saleae is cypress yes
[13:01:12] * RikusW had a peek at its asm
[13:24:25] <megal0maniac> Tom_itx: What do you mean by "don't like each other"?
[13:24:26] * megal0maniac found tmux :)
[13:24:26] <Tom_itx> i can't get the saleae driver to install on my other pc
[13:24:26] <Tom_itx> i've tried all sorts of things
[13:24:34] <Tom_itx> seems the problem started with jungo or libusb
[13:25:42] <megal0maniac> What gives you that idea?
[13:26:37] <Tom_itx> because that's when the problem started
[13:27:01] <Tom_itx> when i was installing jungo and libusb drivers for the programmer
[13:27:27] <Tom_itx> i sent a note to saleae about the error
[13:28:49] <megal0maniac> They tend to be pretty good about support
[13:35:52] <megal0maniac> http://i.imgur.com/dDKxKyR.png
[13:35:52] * megal0maniac <3 embedded Linux
[13:38:54] <tzanger> http://www.swharden.com/blog/2013-05-19-wireless-microcontroller-pc-interface-for-3-21/
[13:38:54] <tzanger> that is slick
[13:40:16] <megal0maniac> Ooh! I have one of those sound cards...
[15:00:44] <abcminiuser> Woo, solved the issue
[15:02:30] <jadew> megal0maniac_afk, sort of, but I might start working again on it, sometimes soon
[15:02:32] <jadew> why do you ask?
[15:05:51] <jadew> ah, PDI, I guess it could be easily added
[15:06:13] <jadew> anyone can do it
[15:09:14] <jadew> one thing I'd like to do is a simple, avr based (probably quite low speed) analyzer, something anyone can build so they can debug simple stuff
[15:10:31] <jadew> problem with that is that even slow protocols have high frequency components, which means you can't really rely only on serial communication
[15:12:07] <jadew> you'll have to store the data in memory, now... the memory on your run of the mill avr is practically non-existent for this purpose and adding external memory to it will kick it from the "anyone can build it" zone into "well, if we're here, why not add a few more tweaks and come up with a trully decent one" zone
[15:12:14] <tzanger> no but your logic analyzer has reasonably high input impedance and responds the same way as the port pin you'll see weirdness with it
[15:12:59] <tzanger> the cypress FX2LP eval boards on ebay for $15 make damn good analyzers
[15:13:24] <jadew> yeah, but my target was something like... $2 LA
[15:15:35] <jadew> when relying on the serial connection, I guess it could decode up to 150Khz serial protocols like SPI and UART, but it would have trouble with i2c or 1-wire
[15:17:05] <sabesto> isnt that the one used in salea logic?
[15:17:18] <jadew> sabesto, most likely
[15:17:35] <jadew> you can get it for $10 as the saleae :P
[15:19:51] <jadew> http://www.aliexpress.com/item/Free-shipping-Saleae-USB-Logic-Analyzer-24M-8CH-ensure-quality-hign-powered-wholesale-and-retail/514908347.html
[15:20:42] <sabesto> hah
[15:22:40] <jadew> the reason it's so overpriced is because it's a niche market and they have to earn something on top of their expenses
[15:23:53] <jadew> but for that price, I would expect a way better product
[15:25:06] <sabesto> case is nice, but the cable thingies sucks
[15:25:19] <jadew> eh, that stuff doesn't really matter
[15:27:18] <jadew> for example logic16 has lower specs than the open bench logic sniffer
[15:27:46] <jadew> that one can sample 4 channels at 100Mhz, vs the 2 channels logic16 can
[15:27:57] <jadew> and can sample 2 channels at 200Mhz
[15:28:38] <jadew> so it has 32 inputs for 1/6 the price - case - leads
[16:19:44] <OndraSter_> http://www.youtube.com/watch?v=XHosLhPEN3k
[16:23:31] <ambro718> if I flood my device with data over serial, the rx interrupts kill it, even if the interrupt does nothing but read the UDR0. What could be the problem?
[16:24:07] <ambro718> by "kill" I mean, my data structures get messed up and an assertion failure is caught in most cases
[16:28:39] <ambro718> umm... this happens even if I don't enable the uart at all
[16:29:04] <ambro718> sending lots of data just plain kills my avr. What the hell?
[16:43:33] <Tom_itx> more filter caps around it help?
[16:43:39] <Tom_itx> what about a noisy supply
[16:44:33] <Tom_itx> does it have enough time to service the rx interrupt?
[16:49:38] <ambro718> I disabled usart and it still kills it
[16:50:44] <ambro718> I also tried connecting the relevant wire from the max232 to other pins on the avr (including rxd of usart1) and it doesn't kill it. Only having it on rxd for usart0 kills it.
[16:52:12] <ambro718> it may take up to a second of transmissions to kill it though
[16:52:57] <Tom_itx> maybe it doesn't have enough time to service it all if you're sending that much
[16:53:13] <Tom_itx> what clock rate?
[16:53:14] <ambro718> but it's not even supposed to be receiving. The entire usart0 is turned off.
[16:53:15] <ambro718> 20mhz
[16:53:24] <Tom_itx> what baudrate?
[16:53:26] <ambro718> 9600
[16:53:55] <Tom_itx> http://www.wormfood.net/avrbaudcalc.php
[16:54:11] <Tom_itx> you could go with 18.432 Mhz with zero error
[16:54:23] <Tom_itx> .2% isn't much
[16:54:31] <ambro718> filter caps, what's that? I have about 220uF of capacitors on the power supply
[16:54:44] <ambro718> this is irrelevant, the usart is *turned off*, and my chip dies
[16:55:58] <ambro718> i.e. I set to zero all the USRC0* and BRRR0* refisters
[16:56:05] <ambro718> UBRR0
[16:57:04] <Tom_itx> .1uf on the chip power pins
[16:57:12] <Tom_itx> not that that is the problem
[16:57:16] <Tom_itx> but it could help
[17:04:20] <tzanger> ambro718: 220uF won't do shit for Hugh frequency noise. great for bulk capacitance though
[17:05:07] <ambro718> the 0.1uF didn't help
[17:05:15] <ambro718> btw this is assembled on a breadboard
[17:05:55] <tzanger> ambro718: I typically put a 0.1 and 0.01uF ceramic chip cap under (opposite side) of every digital IC, and sometimes numerous ones if the part draws a lot of current / does a lot of switching
[17:06:22] <tzanger> take a pic for us please
[17:14:20] <ambro718> here, http://www.pasteall.org/pic/show.php?id=51666
[17:15:22] <ambro718> I only added all the capacitors because the current from the servo was killing it, and they fixed that. Power is from a 12V/5A power supply regulated down to 5V using an LM317.
[17:16:33] <ambro718> btw I don't have any capacitors on the LM317, only 2 resistors, could that be the problem?
[17:20:31] <ambro718> problem is still present if I remove my power supply and instead power via usb programmer (without the servo)
[17:22:04] <twnqx> you need 100nf on each VCC pin
[17:22:19] <twnqx> preferably ceramic
[17:23:17] <RikusW> http://www.youtube.com/watch?v=k-hYbWs2dPg
[17:24:33] <Horologium> twnqx, and shouldn't they be as close to the chip as physically possible, yes yes?
[17:24:45] <twnqx> of course
[17:25:01] <Horologium> something people take for granted that the newbs know.
[17:26:44] <twnqx> true :/
[17:26:57] <ambro718> each vcc pin? I only connected one vcc pin
[17:27:00] <Horologium> also, I don't see the extra GND connected anywhere...or the AVCC either.
[17:27:04] <twnqx> each and every
[17:27:14] <ambro718> avcc is connected, the blue wire across
[17:27:17] <Horologium> and the resonator is waaaaay far away from the chip.
[17:27:26] <Horologium> ok..
[17:27:30] <twnqx> avcc must always be connected, and have a capacitor as well, even if you don't use the adc
[17:27:30] <Horologium> so hook up the GND on that side too.
[17:27:44] <Horologium> should be right next to AVCC
[17:27:46] <twnqx> and all GNDs
[17:28:05] <Horologium> yes...all GNDs always always always connected.
[17:28:58] <twnqx> the resonatr... is that 3pin ceramic thingy on the upper part?
[17:29:32] <twnqx> anyway, if it clocks, that won't be the source of corruption i think
[17:29:56] <Horologium> no
[17:30:06] <Horologium> but being that far away it could cause instability.
[17:30:17] <ambro718> the resonator is the 3 pin thing on the other side, on the left next to the servo connection
[17:30:28] <Horologium> I've never used resonators, only clocks or crystals.
[17:30:48] <ambro718> I've just tried a 4MHz crystal instead and it doesn not have that problem
[17:31:03] <twnqx> the jumper wires will cause some extra capacitance
[17:31:13] <Horologium> hmmm.
[17:31:19] <Horologium> seems we have found the issue?
[17:31:28] <ambro718> I don't think so
[17:31:41] <ambro718> I need the full speed. I'll try the gnd connections now.
[17:31:52] <Horologium> what speed is the resonator?
[17:31:58] <ambro718> 20MHz
[17:32:11] <Horologium> 20MHz on a breadboard is pushing it just a bit.
[17:32:23] <Horologium> doable, but keep your leads as short as possible.
[17:42:10] <Tom_itx> what Horologium said.
[17:42:25] <Tom_itx> marginally doable at best
[17:43:10] <Tom_itx> maybe you should put it on a veroboard and try it
[17:43:43] <Tom_itx> better than a breadboard for prototyping, especially if you're having issues
[17:44:11] <Tom_itx> breadboards are for blinking leds, not balls to the wall data transfer rates
[17:44:19] <Horologium> and some breadboards are higher quality than others.
[17:44:26] <Horologium> but they all have issues at high speeds.
[17:45:02] <Horologium> FUUUUUUUUck...someone,,,not me,,,won 590million dollar lottery.
[17:45:22] <Tom_itx> crap
[17:45:30] <Tom_itx> was hoping it would roll over
[17:46:08] <Tom_itx> they only get to keep a couple hundred mil though
[17:46:20] <seldon> I.e., chump change.
[17:47:33] <twnqx> pretty crazy to win half a billion
[17:52:16] <Horologium> after taxes if you take the full thing you walk with around 200 mil.
[17:52:19] <seldon> "Don't spend it all at once."
[17:52:27] <Horologium> I could live comfortably off the interest from that!
[17:52:40] <Horologium> heck, even at 1% that's 2 mil a year.
[17:53:06] <twnqx> suddenly: hyper inflation
[17:53:07] <Horologium> and if I spent 5 mil a year I could never spend it all before I die I bet.
[17:53:12] <twnqx> and that sum is printed on a single bill.
[17:53:28] <seldon> subtract inflation. 5 mil in 50 years is going to be much less than 5 mil now.
[17:53:53] <Horologium> I doubt I'll live another 50 years.
[17:54:04] <Horologium> with my health like it is, I'll be surprised to live another 25.
[17:55:01] <seldon> Well, I doubt either of us is going to win half a billion in the lottery, so it's not really a pressing problem.
[17:55:41] <Horologium> true.
[17:55:56] <Horologium> but one can always hope..and spend my 2 bucks twice a week for it.
[17:56:09] <Horologium> 590.5 mil...148 mil for taxes
[17:56:21] <Horologium> 370mil lump sum...
[17:57:14] <seldon> You forgot the 2-bucks-per-week tax.
[17:57:33] <Horologium> and florida doesn't have a state income tax..so if they are a florida resident they save some on taxes.
[17:57:47] <Horologium> yeah, I know...lottery is a tax on people who are bad at math.
[17:58:04] <Horologium> there are worse things I could spend my money on though.
[17:58:22] <Horologium> ok..shower time.
[17:58:26] <theBear> all gambling is a tax on those people, except when i do it :)
[17:58:41] <Horologium> I'm ahead at casinos.
[17:58:45] <Horologium> but behind at lottery.
[17:58:52] <Horologium> ....
[17:58:55] <theBear> but i can honestly say i'm ahead, and have only EVER been $4 behind
[17:59:14] <theBear> and i don't do lottery, c'mon man, do the maths, even roulette or video-poker is better than lottery
[17:59:45] <theBear> get good at maths and do blackjack or <shudder> 5card or texas, you gotta be REAL unlucky to go backwards
[18:00:07] <theBear> even the video poker of various styles you can RADICALLY improve your chances with excessive math
[18:02:14] <ambro718> I've connected the other gnd and shortened some wires, problem persists :( http://www.pasteall.org/pic/show.php?id=51672
[18:02:35] <ambro718> I soldered wires to the resonator so I could connect it directly
[18:11:49] <Tom_itx> how many avr's would that buy?
[18:12:16] <theBear> wires ? you don't solder wires to crystals/resonators
[18:12:34] <Horologium> Tom_itx, most of them?
[18:15:10] <Tom_itx> i'd leave a couple for you
[18:15:25] <theBear> hehe
[18:15:37] <Tom_itx> i'd have one helluva machine shop though
[18:16:10] <theBear> but you couldn't use it, being most of the avrs in the way
[18:16:20] <Tom_itx> wanna bet?
[18:16:23] <Tom_itx> :)
[19:30:54] <tzanger> ambro718: any way to verify the oscillator is oscillating?
[19:32:28] <ambro718> I don't have an oscilloscope, but the AVR is running properly. Until I send a burst of data into the serial.
[19:33:01] <ambro718> (and at the right frequency it seems)
[19:33:49] <ambro718> single bytes are received correctly, but "cat /dev/zero > /dev/ttyUSB0" kills it. Even if UART is disabled on the AVR.
[19:41:52] <rue_shop3> whats the baus ratE?
[19:42:06] <rue_shop3> whats the baud rate?
[19:43:00] <Tom_itx> 9600
[19:43:40] <Badaboom> anyone know if you can write to a display driver and loop it?
[19:44:09] <rue_shop3> Tom_itx, whats the cpu clock freq?
[19:44:25] <rue_shop3> Badaboom, 'loop it'?
[19:44:42] <ambro718> rue_shop3: 20MHz
[19:45:02] <Badaboom> rue_shop3: ie: ive been trying to loop a certain saying to a max7219 but no sucess
[19:45:16] <Badaboom> using an attiny2313
[19:45:25] <rue_shop3> ambro718,
[19:45:34] <Badaboom> should be while (1) right?
[19:45:38] <Tom_itx> it's on a breadboard
[19:45:38] <rue_shop3> how much does you code do with the data its sent?
[19:46:11] <ambro718> rue_shop3: it's irrelevant, the crash happens even if USART is disabled, i.e. I'm not even commanding the AVR to receive anything
[19:46:17] <Horologium> we are right in the center of the channel for the first thunderstorm of the season here.
[19:46:23] <Horologium> 70+MPH winds now.
[19:46:24] <ambro718> it's an electrical not software problem
[19:46:36] <Horologium> tornado on the ground about 20 miles from me already.
[19:46:37] <rue_shop3> the avr is crashing?
[19:46:41] <Tom_itx> Horologium, i survived
[19:46:52] <Tom_itx> tornados here
[19:46:52] <ambro718> yes, I get sudden assertion failures in random places
[19:46:57] <theBear> we had 150kmh+ a week or two ago, don't panic
[19:46:57] <Tom_itx> now it's clear
[19:46:58] <Horologium> Tom_itx, where?
[19:47:01] <Tom_itx> ks
[19:47:04] <rue_shop3> Horologium, yea, dont move to somewhere where there aren't tornadoes, you couldn't get any insurance money
[19:47:09] <Horologium> I'm about an hour north of des moines iowa.
[19:47:34] <Badaboom> rue_shop3: ie: the max7219 buffers so i think thats my problem but idk
[19:47:43] <rue_shop3> Ihave 7219 code, but
[19:47:54] <Tom_itx> what's the 7219?
[19:47:58] <rue_shop3> asI recall the buffer is fixed to the character locations
[19:48:12] <Horologium> tennis ball sized hail not far from here too.
[19:48:16] <rue_shop3> Tom_itx, remember that AWESOME display muxing chip I was playing with like 3 weeks ago?
[19:48:43] <rue_shop3> Badaboom, want a copy of my code?
[19:48:50] <Tom_itx> i think so
[19:49:04] <rue_shop3> it can do brightness control
[19:49:17] <Tom_itx> nice
[19:49:35] <rue_shop3> it muxes up to 8x8 for you
[19:50:20] <thetruthisoutthe> h
[19:50:24] <Tom_itx> w
[19:50:25] <Horologium> z
[19:50:26] <rue_shop3> Badaboom, :
[19:50:35] <rue_shop3> http://pastebin.ca/2378872
[19:50:36] <thetruthisoutthe> sup Badaboom? what are you up to?
[19:51:12] <thetruthisoutthe> hey Tom_itx, Horologium, idling?
[19:51:43] <Tom_itx> debating a nap
[19:51:57] <Horologium> always.
[19:52:00] <Horologium> watching storm coming.
[19:52:13] <Badaboom> rue_shop3: rue_shop3 please,, ide appreciate it:)
[19:52:16] <Horologium> within half an hour or so I should be under the anvil of a major thunderstorm.
[19:52:27] <rue_shop3> Badaboom, pay more attention: http://pastebin.ca/2378872
[19:52:29] <rue_shop3> Badaboom, pay more attention: http://pastebin.ca/2378872
[19:52:29] <rue_shop3> Badaboom, pay more attention: http://pastebin.ca/2378872
[19:52:34] <LoRez> rue_shop3: don't do that.
[19:52:36] <Horologium> <rue_shop3> Badaboom, pay more attention: http://pastebin.ca/2378872
[19:52:44] <rue_shop3> LoRez, its my damn channel!
[19:52:52] <thetruthisoutthe> Horologium <= haha there too? is it huge?
[19:55:55] <Horologium> tennis ball sized hail, 70+MPH winds, at least one confirmed tornado about 20 miles from me.
[19:56:00] <Horologium> and I'm right in the central line.
[19:56:17] <rue_shop3> you gonna move away after this or stick around for the one next year
[19:56:18] <Horologium> http://www.wunderground.com/radar/radblast.asp?zoommode=zoom&num=6&delay=15&rbscale=0.44565217391304346&scale=1.000&noclutter=0&ID=DMX&type=N0R&lat=42.17216492&lon=-93.08415222&label=Union,%20IA&showstorms=10&map.x=452.5&map.y=201.5&centerx=400&centery=240&lightning=0&smooth=0&showlabels=1&rainsnow=0
[19:56:26] <Horologium> I'll stick.
[19:56:30] <Horologium> I have a basement and insurance.
[19:56:35] <Horologium> the circled + is me.
[19:56:39] <rue_shop3> what if your knew the one next year will kill you
[19:56:59] <Tom_itx> but you don't
[19:57:05] <rue_shop3> what if you did
[19:57:07] <thetruthisoutthe> wow
[19:57:12] <thetruthisoutthe> weather gone wild?
[19:57:14] <Horologium> then I would live like I was gonna die.
[19:57:21] <Horologium> normal iowa storms.
[19:57:29] <rue_shop3> really, instead of moving, wow
[19:57:31] <Horologium> haven't had a real bad one in a while.
[19:57:52] <Horologium> everywhere I've lived there has been some kind of weather or something that could kill me.
[19:58:14] <Horologium> hurry-canes, tordy-naders, earthy-shakes.
[19:59:11] <Tom_itx> http://www.intellicast.com/National/Radar/Current.aspx?animate=true&location=USKS0523
[19:59:15] <Tom_itx> show n tell?
[20:00:07] <Badaboom> rue_shop3: sorry,, phone rang
[20:00:27] <rue_shop3> Badaboom, pay more attention: http://pastebin.ca/2378872
[20:00:45] <Badaboom> thetruthisoutthe: heya:)
[20:00:46] <Horologium> nice big storm.
[20:00:52] <Badaboom> ty
[20:00:57] <Badaboom> i love storms
[20:01:29] <Horologium> me too.
[20:01:36] <Horologium> have a big bay window.
[20:01:47] <Tom_itx> at least one touch down in town and large hail on the east side
[20:01:53] <Horologium> wind just went from calm to 30+mph and increasing.
[20:02:04] <Horologium> gusting now....50+ I bet.
[20:02:17] <rue_shop3> Badaboom, did you open that link?
[20:02:35] <theBear> sounds like a perfect time to build a whatsit, you know, spinny cut in half pingpong balls
[20:02:38] <Tom_itx> we had wind a couple years back than bent over the large 'ibeam' interstate signs
[20:02:52] <Badaboom> rue_shop3: pasting now and compiling
[20:03:07] <rue_shop3> ah, you might have to adjust, its for a mega324
[20:03:14] <rue_shop3> but its pretty generic
[20:03:18] <Tom_itx> theBear, http://tom-itx.dyndns.org:81/~webpage/temp/anemom.jpg
[20:03:20] <Badaboom> kk
[20:03:21] <Tom_itx> one of those?
[20:03:25] <rue_shop3> it uses porta, you can prolly work out the rest
[20:03:36] <Badaboom> yeah b or d
[20:03:39] <Badaboom> kk
[20:03:57] <theBear> yeah, a anemometer !
[20:04:08] <rue_shop3> I just saw one fly by!
[20:04:15] <Badaboom> lol
[20:04:17] <Badaboom> cow
[20:04:33] <rue_shop3> Badaboom, ?
[20:04:39] <tzanger> http://i.imgur.com/dnPike0.gif
[20:04:46] <Badaboom> From twister the movie
[20:06:02] <theBear> hehe
[20:06:33] <ambro718> this is my serial receive interrupt, is there any potential for optimization? http://ideone.com/O1HzFL
[20:06:56] <ambro718> it writes into a small buffer and queues an event to the main loop
[20:07:22] <theBear> lol, that's my kinda gif
[20:09:17] <rue_house> NEVER EVER put a while like that in an interrupt handler!
[20:09:39] <ambro718> rue_house: what's the problem?
[20:09:58] <ambro718> the interrupt will fire again anyway if I don't read everything
[20:10:02] <Horologium> just had tornado spotted 5 miles from me.
[20:10:08] <Horologium> hasn't touched down though.
[20:10:40] <ambro718> hm, actually, when will it fire? what if other interrupts are also pending?
[20:11:03] <Horologium> doing polling inside of an interrupt?
[20:11:37] <Valen> is there anything i need to do to get my avr to wake from "power down" other than enable and trigger an interrupt?
[20:12:07] <Horologium> aaannnd,,,tornado warning canceled for the area...
[20:12:10] <Horologium> go figure.
[20:12:27] <Badaboom> rue_shop3: ty very much.. i like the intensity control,, was wondering how to get that to work,, now i know
[20:16:03] <Badaboom> every time i see nop i think of nom nom
[20:16:22] <Horologium> it eats processor cycles.
[20:16:28] <Badaboom> lol
[20:16:52] <theBear> erm, pretty sure that interrupts don't interrupt themselves, and once the flag is up, there's no way of knowing it's been hit again until you clear it
[20:16:58] <Badaboom> C........
[20:17:21] <theBear> h
[20:17:38] <Tom_itx> w
[20:18:33] <theBear> surely one anonymous letter deserves another, or two :)
[20:19:00] <Horologium> power flickering.
[20:19:02] <Horologium> hmmmm.
[20:19:44] <Badaboom> where are u?
[20:19:55] <Horologium> about 60 miles north of Des Moines Iowa.
[20:20:01] * Valen waits for Horologium to say something like "crap house just landed on some old lady"
[20:20:03] <Badaboom> ahh ok
[20:20:10] <theBear> i got crumbs on my seat :(
[20:20:15] <Horologium> naaa...that's Tom_itx down in kansas.
[20:20:27] <Badaboom> i was in tulsa not long ago,, had some bad storms there
[20:20:29] <theBear> you don't gotta worry till he's not there anymore
[20:20:36] <theBear> that's how it starts
[20:22:25] <Badaboom> My local weather:) http://www.wtsp.com/weather/zoomradar/radar_pinellas.aspx
[20:24:06] <theBear> grr, another thing about arduinos to get me down... now handy little wireless modules don't say what the interface is or why they have a header->usb plug with them anymore, they just 'to suit blah arduino' so sensible people like us have no idea whatsoever if they need a usb capable avr, actually have a usb interface, just use that connector for some absurd reason etc etc
[20:24:59] <Horologium> it's ardweeny. of course it's some absurd reason.
[20:25:13] <theBear> hehe
[20:25:41] <Badaboom> arduino is the best,, cough cough
[20:28:33] <theBear> hmm, you sound unwell.... maybe you should see a psychiatrist <grin>
[20:30:22] <Badaboom> Arduino ------ > Arduin of Ivrea (955–1015) was Margrave of Ivrea and King of Italy.
[20:32:57] <Badaboom> rue_shop3: I dont have enough ports on this chip:(
[20:37:30] <Badaboom> wait nm,, your setup linr may have just clarified that
[20:37:36] <Badaboom> line
[20:48:52] <Badaboom> ahh its not spi anyways
[20:50:36] <Badaboom> well,, ill bbl
[20:55:14] <thetruthisoutthe> theBear <= storm there too?
[20:56:23] <theBear> nah, and it's on the edge thismorning, but it looks like i'm putting the washing hanger back out in the yard in half an hour or so
[20:58:21] <thetruthisoutthe> nah queued mp3 songs containing substring "storm" :)
[20:58:43] <theBear> mmm, don't think i got any of them
[20:59:38] <theBear> my playlist looks more like this today http://rateyourmusic.com/artist/venetian_snares
[21:03:16] <Horologium> my music list...ummm....well, I did hear the theme music from Judge Dredd while watching the movie...does that count?
[21:03:56] <ambro718> when I start transmitting on serial it just keep transmitting garbage after I have nothing else to transmit
[21:05:44] <ambro718> I keep TXEN0 always enabled; when I have something new to send, I buffer it and enable the UDRIE0 interrupt. In the interrupt, I write the UDR0, and if there's nothing more in the buffer, disable UDRIE0.
[21:10:48] <Casper> interrupts are NOT to be set by software
[21:11:03] <Casper> look like you might be doing something very wrong codewise
[21:11:27] <ambro718> "interrupts are NOT to be set by software" huh?
[21:11:37] <theBear> i got jetsons in my list
[21:11:41] <theBear> theme that is
[21:32:44] <theBear> depending on the hw you got, but for the purposes of this conversation those are just long/short 'bytes' <grin>, and they still got framing stuff you can't completely get rid of
[21:35:45] <ambro718> theBear: I was complaining how the serial port userspace interfaces are unnecessarily tangled up with the terminals. Just open man stty and see how most options have to do with the kernel-level interpretation of data that only makes sense when you're using a serial port as a terminal.
[21:36:07] <ambro718> a proper design would have /dev/serial interfaces and corresponding /dev/ttyS interfaces
[21:36:43] <ambro718> and by opening /dev/serial you'd implicitly get the raw stuff
[21:37:13] <ambro718> </rant>
[21:38:37] <theBear> meh, semantics, you still gotta set framing/rate and all that stuff, and well, by default there is no echo or anything silly, if the default rate/framing suits whatever you are talking to, the ttyS?? device does act like a 'raw' interface
[21:39:30] <ambro718> theBear: that's the problem, by default, there *is* interfering terminal stuff that you explicitly have to turn off.
[21:39:54] <ambro718> some special ascii chars are interpreted as control and ignored for example
[21:40:56] <ambro718> oh, by the way, the tty settings magically get saved and restored
[21:41:58] <ambro718> so by doing something as trivial as "screen /dev/ttyUSB0 115200", your serial port is screwed for raw i/o no matter how many times you unplug and replug it
[21:42:13] <theBear> maybe on your system they do, but that's not standard
[21:42:28] <theBear> and running screen aint really trivial
[21:42:31] <ambro718> I've grepped the udev rules (Gentoo) but I haven't found anything that does that
[21:42:31] <theBear> visitor, i'm out
[21:49:10] <thetruthisoutthe> hello, operator? there is an emergency, get me out now :)
[21:49:47] <Valen> thetruthisoutthe: get to a landline ;-P
[22:57:50] <theBear> ahh, what a world we live in... just making someone breakfast is enough to borrow a couple tons of metal and plastic and some flammable liquid, all of which put together form some kind of magical iron horse !
[23:06:07] <Casper> theBear: that actually obey you well too!
[23:07:05] <theBear> heh, they do, some other people not so much <grin>
[23:08:38] <Casper> the problem with those iron horses... is that when they refuse to obey you... it's hard to figure out why...
[23:09:18] <theBear> only really the newer ones :)
[23:40:40] <Casper> theBear: even the old one sometime... but atleast they were simpler, way simpler...
[23:41:01] <Casper> does it have fuel? does it have sparks? if yes and yes then check timing
[23:43:55] <theBear> yeah more or less
[23:45:15] <Casper> could be flooded (bro succeded to flood his injection engine)
[23:49:11] <Valen> wouldn't be the first time I sat there with foot to the floor letting the thing breathe for a while after flooding it ;->