#avr | Logs for 2014-12-02

Back
[05:54:58] <Lambda_Aurigae> http://i.imgur.com/H9ilICU.jpg
[06:08:09] <twnqx> lol
[06:08:37] <Lambda_Aurigae> slight miscalculation by the cleaning crew there.
[06:08:58] <twnqx> i like your cormorats, btw
[06:09:50] <Lambda_Aurigae> first thing to come to mind there.
[06:10:48] <twnqx> Heart of Iowa communications... nice company name :)
[06:11:37] <Lambda_Aurigae> hole in the wall local phone company.
[06:11:45] <Lambda_Aurigae> but we do have fiber to the side of the house.
[06:12:17] <Lambda_Aurigae> I get 3Mb/s up and down for base..can go to 5 or 10 if I could talk the wife into paying for it.
[06:12:22] <Lambda_Aurigae> but 3 is good enough for us.
[06:12:33] <twnqx> :)
[06:12:35] <Lambda_Aurigae> they also feed phone and cable over the same fiber.
[06:12:59] <Lambda_Aurigae> there is a 200 pair fiber demark about 50 feet from my front door.
[06:13:11] <Lambda_Aurigae> and I live in the middle of no-fucking-where.
[06:13:56] <twnqx> hm. is Plexiglas an international term, or just german?
[06:14:14] <twnqx> i think it's acrylic glas in english..
[06:15:03] <twnqx> hah, thanks wikipedia :3
[06:15:40] <twnqx> so.. anyone knows about lasercutting acrylic glass? i know you can cutt through it, or engrave into it, but i wonder if you can, say, "remove 8 out of 10mm" with a laser
[06:17:10] <Lambda_Aurigae> I bet you could...adjusting the power to do so might be a bitch.
[06:17:20] <Lambda_Aurigae> might have to do it ias engraving and go over it multiple times.
[06:17:44] <Lambda_Aurigae> we have plexiglass here.
[06:17:51] <Lambda_Aurigae> it's clear plastic basically.
[06:18:19] <twnqx> guess it's all the same thing :3
[06:18:24] <twnqx> also can be colored!
[06:18:33] <Lambda_Aurigae> yeah.
[08:49:01] <hypermagic> Lambda_Aurigae> http://i.imgur.com/H9ilICU.jpg - looks like the MRI picked up the vacuum cleaner :)
[09:29:00] <twnqx> Lambda_Aurigae: http://www.sbnation.com/2014/11/26/7281129/radioshack-eulogy-stories
[17:34:36] <hetii> HI
[17:34:37] <hetii> :)
[18:07:57] <LeoNerd> I think my email to Atmel missed... :(
[18:08:03] <LeoNerd> As in, got bounced
[18:09:43] <Casper> LeoNerd: you ain'T important enought for them! that's why it bounced! :D
[18:09:57] <LeoNerd> Well, it bounced with an out-of-office notice, from a few months ago
[18:10:13] <LeoNerd> "This email address is not avail from Monday 4/28 through Monday 5/26."
[18:16:04] <LeoNerd> Sounds rather stale
[18:17:46] <specing> if you really needed them, you would mail them harder
[18:24:58] <N1njaneer> LeoNerd: What did you need assistance from Atmel with?
[18:25:28] <LeoNerd> N1njaneer: http://pastie.org/private/fa7eyvmaq86e9phutkv3q
[18:28:09] <N1njaneer> Yeah, better to get that through to an Atmel FAE so they can fire it up the chain. I can find out who your FAE is for the UK if you would like.
[18:28:18] <LeoNerd> FAE?
[18:28:25] <N1njaneer> Field Applications Engineer
[18:28:32] <LeoNerd> Ah
[18:28:38] <LeoNerd> Yah - if you have any thoughts that'd be useful
[18:28:51] <N1njaneer> Generally the local technical point of contact for inqueries and support for a vendor.
[18:29:02] <N1njaneer> I had two in today, actually. :)
[18:29:22] * LeoNerd ond
[18:30:11] <N1njaneer> Let me fire your email over to my FAE and see if he can figure out where to direct it to. :)
[18:30:20] <LeoNerd> Ah sure, thanks :)
[18:39:26] <N1njaneer> Sent, with your email included. It's a very worthwhile and helpful inquery. I'll let you know what he comes back with :)
[18:42:22] <N1njaneer> At very least, hopefully they'd allow third-party posting of the XML data elsewhere and get it okay'd through legal or such.
[18:44:06] <LeoNerd> Excellent, thanks for the help
[18:44:49] <LeoNerd> With any luck I'll post Device::AVR to CPAN tomorrow, that would use it
[18:47:40] <N1njaneer> Sure thing :)
[19:03:22] <twnqx> probably i am just to ignoreant of 500MB to bother...
[19:41:10] <apo_> Hmm
[19:41:38] <apo_> Should I write a slow as hell implementation of multi-master for some attiny, or use megas for my clients
[19:42:10] <apo_> ... eh, the comfort worth a few more cents. Hardware I2C it is!
[19:42:14] <apo_> comfort's*
[19:42:35] <apo_> LeoNerd: Aw (re mail)
[19:43:15] * apo_ reads rest
[19:43:17] <apo_> nice
[19:48:00] <hypermagic> hello my friends
[20:15:37] <apo_> hypermagic: \o
[20:16:35] <hypermagic> well... i did write once an 550 baud terminal for a very old "computer"
[20:16:44] <hypermagic> it all depends on if you want to do it
[20:17:53] <apo_> I'd rather use somebody else's multi-master code than get an atmega
[20:18:01] <apo_> I'd rather use an atmega than write my own multi-master code
[20:18:01] <apo_> ;)
[20:21:22] <hypermagic> hm, i did write a ps2 keyboard bitbanging on an atmega.
[20:21:47] <hypermagic> i did not have a choice actually
[20:22:29] <apo_> this is my project; I can do whatever I want, as long as it's within my budget :p
[20:22:46] <hypermagic> it cost me nothing
[20:22:53] <apo_> What'd you do with that?
[20:22:55] <hypermagic> only a few hundred coding hours
[20:23:12] <apo_> yuck
[20:24:14] <hypermagic> well i connect it to a pc and it can press keys.
[20:24:18] <hypermagic> write text
[20:24:37] <apo_> ~_~
[20:25:00] <hypermagic> might sound easy, but it took me hundreds of hours to make it even work
[20:25:58] <hypermagic> did you know you can ping the keyboard ?
[20:26:19] <hypermagic> it will pong back if it is alive by definition
[20:26:37] <apo_> nope
[20:27:22] <apo_> I earlier thought about how you could communicate with USB devices imitating keyboards by bitbanging I2C or similar on their caps and numlock LEDs, though! :p
[20:28:28] <hypermagic> duh i hate this induction cooker, the designer was very dumb
[20:28:37] <apo_> same
[20:28:39] <hypermagic> i will hack this shit apart and put an atmega in it
[20:28:42] <apo_> beeps all the damn time
[20:28:46] <hypermagic> yea
[20:28:47] <hypermagic> :/
[20:28:48] <apo_> I've been thinking about that
[20:28:55] <apo_> and it doesn't remember the temperature
[20:28:57] <hypermagic> and it does not do tempereature regualtion
[20:28:58] <apo_> always sets it to highest
[20:29:07] <hypermagic> oh, but it is dumb
[20:29:14] <hypermagic> it does not even regulate
[20:29:20] <apo_> wow
[20:29:33] <hypermagic> i took it apart i saw a diode as temp sensor, and i assume it was not calibrated
[20:29:39] <apo_> I need to open this thing up and see if I can hook a mega up to the touch controls
[20:29:48] <hypermagic> and the thermal paste contact is poor too
[20:29:50] <apo_> or if I'll have to roll my own capacitive sensing code
[20:30:00] <apo_> heh
[20:30:21] <hypermagic> also i think i should drill a hole in the ceramic surface and pull the diode sensor through to sense the temperature of the bottom of that damned dish
[20:30:30] <hypermagic> haha
[20:30:38] <hypermagic> mine does not even have that.
[20:30:42] <hypermagic> only pushbuttons
[20:30:51] <apo_> I'd like push buttons
[20:31:07] <hypermagic> i think it is not hard t wire them...
[20:31:21] <hypermagic> but i like capsense better
[20:31:27] <apo_> Don't wanna modify the external appearance, though
[20:32:02] <hypermagic> it is not harder than a proper button handling routine with debouncing and rate limit :P
[20:33:23] <apo_> debouncing? Caps! :p
[20:33:27] <hypermagic> for measuring capacitance you can simply connect your capacitor to an io pin
[20:34:17] <hypermagic> switch to low, wait for a few us, then release, set weak pullup, and set interrupt at high, measure ticks, and there you have it
[20:34:41] <hypermagic> time will be inversely proportional to your capacity
[20:34:47] <apo_> yeah, I know
[20:35:20] <hypermagic> what stops you from measuring a time ?:)
[20:35:32] <apo_> laziness :)
[20:35:34] <sabayonuser2> I'm getting these errors when attempting to make install avr-libc. http://sprunge.us/QObN
[20:35:40] <sabayonuser2> (very bottom)
[20:35:40] <apo_> First I'll do my MIDI project
[20:35:45] <hypermagic> yea i had errors too
[20:35:52] <hypermagic> this is why i compiled my own
[20:36:13] <sabayonuser2> avr-ranlib is definitely in my path, but it can't be found in the "make install" process for some reason.
[20:36:26] <hypermagic> the official atmel tools does not work.
[20:37:01] <sabayonuser2> hypermagic: I don't think this is the official atmel tools. http://www.nongnu.org/avr-libc/
[20:37:28] <hypermagic> i only know i compiled my own a few weeks ago because i had to.
[20:38:04] <sabayonuser2> hypermagic: It compiled just fine. It just won't install.
[20:38:52] <hypermagic> just saying, don't assume all will work, or even compile, you might have to search for versions that will compile
[20:39:46] <sabayonuser2> hypermagic I've already had to do that once. New "releases" of GCC above 4.7 had an internal compiler error.
[20:40:12] <hypermagic> checked your error
[20:40:19] <hypermagic> it is a bad makefile.
[20:41:36] <hypermagic> might want to tra a stable version, not a beta/svn
[20:41:40] <hypermagic> try
[20:42:20] <hypermagic> hello mr theta
[20:46:24] <sabayonuser2> hypermagic: I swear I did use a stable version.
[20:46:44] <hypermagic> apparently you did not :)
[20:47:05] <sabayonuser2> It's from /releases/avr-libc/avr-libc-1.8.1.tar.bz2, so it's a release version.
[20:47:05] <hypermagic> so try an older one :P
[20:47:48] <sabayonuser2> Isn't "release" supposed to be synonymous with stable, otherwise it's "pre-release"?
[20:48:07] <hypermagic> yes it should be working.
[20:48:33] <sabayonuser2> So I'm just an unlucky fella?'
[20:48:39] <hypermagic> but they always leave bugs in firefox for example
[20:49:09] <hypermagic> (and backdoors)
[20:49:21] <sabayonuser2> Right, but bug != dysfunctional.
[20:49:42] <hypermagic> just in case somebody wants to dl all your p0rn you know
[20:49:57] <hypermagic> and you are a nice guy because you know sharing is caring
[20:50:35] <sabayonuser2> How did you turn my technical problems into a discussion about pr0n?
[20:51:05] <hypermagic> it only took 3 sentences :) they are all related
[20:55:57] <sabayonuser2> You have a talent, sir.
[20:58:01] <hypermagic> checked my libc version
[20:58:05] <hypermagic> 1.8.1
[20:58:52] <hypermagic> cd avr-libc-1.8.1
[20:58:52] <hypermagic> mkdir build
[20:58:52] <hypermagic> cd build && ../configure --build=`./config.guess` --host=avr --prefix="$PREFIX/" && make -j $THREADS && make install
[20:58:57] <hypermagic> here is how i compiled it
[20:59:33] <hypermagic> and i used it with gcc 4.7.4
[20:59:44] <hypermagic> 4.8.1 was not working.
[21:02:40] <sabayonuser2> I know. I used those exact same versions.
[21:02:53] <hypermagic> ok
[21:03:43] <hypermagic> but your error is odd
[21:03:58] <hypermagic> mine did compile
[21:04:08] <sabayonuser2> So did mine.
[21:04:18] <hypermagic> well mine did install too
[21:04:23] <sabayonuser2> Mine didn't.
[21:04:36] <sabayonuser2> I suppose that's what makes it odd?
[21:05:20] <sabayonuser2> What do you know… doing it as root instead of sudo seemed to fix it for some reason.
[21:07:19] <hypermagic> ofc i did install gmp 6.0.0, isl-0.12.2, cloog-0.18.1, mpc-1.0.2mpfr-3.1.2, binutils-2.22, coreutils-8.23 with gcc 4.7.4, and avr-libc-1.8.1
[21:07:57] <hypermagic> hmm, i assumed you do make install using "root"
[21:08:38] <sabayonuser2> No. I did sudo make install, which would explain any dependencies between make and make install.
[21:08:49] <hypermagic> hm i never did that
[21:09:04] <hypermagic> but the error is odd anyway
[21:10:17] <sabayonuser2> You mean I should submit a bug report anyway?
[21:10:35] <sabayonuser2> I'm not sure if $PATH get's passed on with sudo or not.
[21:11:37] <hypermagic> i know if you want a proper root, you m ust "su -"
[21:11:50] <sabayonuser2> Yeah.
[21:12:03] <sabayonuser2> Wait, why the dash?
[21:12:32] <hypermagic> it has something to do with environment variables ...
[21:14:20] <hypermagic> but to tell you something cool right now i was not able to compile any bversion of scribus on this system
[21:15:29] <hypermagic> because errors in the latest "c00l" versions, and dependency hell in older ones
[21:16:16] <hypermagic> there are times when i just want my money back :/
[21:16:29] <hypermagic> it was free - dang!
[21:33:50] <sabayonuser2> Heh. Yep.
[21:35:42] <sabayonuser2> So what's the "Hello World" of AVR microcontroller?
[21:36:33] <Bright> blink an led?
[21:36:59] <Casper> le blinker is one of the easiest "hello world"
[21:37:08] <Casper> then you have the serial port hello world
[21:37:15] <Casper> then the lcd hello world
[21:37:43] <sabayonuser2> What if you don't have a real AVR yet, but just want to confirm that the toolchain works?
[21:39:34] <Casper> then you could load the binary in a simulator and hope that the simulator will do what it is supposed to do
[21:39:51] <Casper> or analyse the output
[21:40:00] <sabayonuser2> Okay.
[21:40:10] <Casper> (good makefile will also output a pseudo assembler file)
[21:48:11] <sabayonuser2> Now I'm confused compiling simulAVR. It can't find bfd.h.
[21:48:38] <sabayonuser2> To be clear, is it supposed to be using libbfd from the system prefix, or the toolchain one?
[21:58:55] <Casper> what is bfd.h ?!?