#avr | Logs for 2014-11-22

Back
[11:59:39] <LeoNerd> Woo. I just successfully removed my first ever 0603 component off a board
[11:59:55] <LeoNerd> A dead board I don't care about... just practicing until my real boards arrive
[12:00:30] <Thrashbarg> good
[12:01:47] <Tom_itx> hah
[12:01:59] <Tom_itx> LeoNerd is it still useable?
[12:02:04] <LeoNerd> Now.. hmm. It's a cap of.. er.. some kind. how do I measure it?. It's tiny
[12:02:15] <LeoNerd> Tom_itx: the board? No - it has some trace shorts on it. I already have a new one so it's fine
[12:32:01] <LeoNerd> Woo. So that's 4 0603s and two 1206 caps I just recycled
[12:39:16] <Tom_itx> LeoNerd, don't sneeze
[12:42:24] <LeoNerd> They're safely in the boxes onw
[12:42:25] <LeoNerd> now
[13:21:45] <mick_> hi all. i'm using <avr/wdt.h>. after wdt_enable(WDTO_4S) and no wdt_reset my atmega328 gets reset over and over again (approx every 50ms).
[14:23:11] <hypermagic> hello my friends
[18:26:06] <LeoNerd> Ordered myself some new solder... this stuff is much better
[18:26:10] <LeoNerd> I think the last one was just duff
[18:39:34] <Tom_itx> has some flux in it now ehh?
[18:43:20] <cmartin0> I am trying to user timer1 to generate a frequency on PC7 I am getting no output from the following code: http://pastebin.com/wpvRZsaZ. PB0 is connected to an LED and it does not blink. The ISR code is not being reached. Is there something wrong with the timer1 setup?
[18:44:33] <Tom_itx> if you're blinking PC7, PB0 isn't gonna blink
[18:46:15] <cmartin0> Tom_itx: wihth the code I have why would both not toggle?
[18:46:27] <Tom_itx> i didn't look
[18:48:15] <Tom_itx> is the led lit up?
[18:48:24] <Tom_itx> maybe it's blinking so fast you can't see it blink
[18:48:25] <Lambda_Aurigae> do either of them blink?
[18:48:32] <cmartin0> none toggle
[18:49:19] <Tom_itx> consider this: http://tom-itx.ddns01.com:81/~webpage/how_to/atmega168/mega168_led_blink_int_index.php
[18:49:25] <Lambda_Aurigae> what speed are you setting the clock to?
[18:49:30] <Lambda_Aurigae> err
[18:49:35] <Lambda_Aurigae> timer, rather.
[18:50:21] <Lambda_Aurigae> are they lit up or dark?
[18:50:37] <cmartin0> dark. I am probing with a scope and don't see a toggle.
[18:50:58] <Lambda_Aurigae> well, you aren't turning on interrupts for starters.
[18:51:02] <Lambda_Aurigae> no SEI
[18:51:02] <cmartin0> running at timer at no prescaling, cpu clock 16Mhz
[18:51:14] * cmartin0 ..
[18:51:19] <cmartin0> thx
[18:51:21] <cmartin0> ......
[18:51:42] <Lambda_Aurigae> also, that's gonna blink so fast it will look like it's lit up but a little dim maybe.
[18:52:09] <cmartin0> Lambda_Aurigae: thank you
[18:52:16] <Lambda_Aurigae> fix it?
[18:52:31] <cmartin0> yeah. now I need to figure out why that code doesnt work in my bigger project file.
[18:52:56] <Lambda_Aurigae> that will be 5 dollars, payable by cash or pizza.
[18:53:00] <Lambda_Aurigae> next time we meet.
[18:53:02] <Tom_itx> aww crap... i didn't even notice that
[18:53:16] <cmartin0> Lambda_Aurigae: Are you in PDX region?
[18:53:32] <Lambda_Aurigae> as I have no flippin clue what PDX region is, probably not.
[18:53:53] <cmartin0> Portland, Oregon, USA
[18:54:04] <Lambda_Aurigae> oh.
[18:54:06] <Lambda_Aurigae> not quite.
[18:54:21] <Lambda_Aurigae> I'm in the Bangor, Iowa, USA region.
[18:54:28] <cmartin0> mmm corn
[18:54:39] <Lambda_Aurigae> and tofu
[18:54:41] <Lambda_Aurigae> err.
[18:54:43] <Lambda_Aurigae> soybeans
[18:55:30] <Lambda_Aurigae> woohoo! my pxe boot server is working beautifully.
[18:56:23] <Casper> Lambda_Aurigae: mine is too
[18:56:40] <Lambda_Aurigae> pxe booting debian install
[18:56:41] <Casper> Lambda_Aurigae: are you using syslinux as your pxeloader?
[18:56:43] <Lambda_Aurigae> next, to try booting a whole debian system.
[18:56:58] <Lambda_Aurigae> whatever came from the debian site.
[18:57:04] <Casper> ok
[18:57:08] <Lambda_Aurigae> pxelinux.0
[18:57:11] <Lambda_Aurigae> and pxelinux.cfg
[18:57:12] <Casper> yeah
[18:57:24] <Casper> if you find that it do not load fast enought
[18:57:32] <Casper> you may want to look for lpxelinux.0
[18:57:43] <Casper> instead of using the tftpd, it can use http
[18:57:48] <Lambda_Aurigae> hmmm.
[18:58:06] <Casper> tftp use udp and tend to be in the few Mbit speed
[18:58:20] <Casper> http of course use tcp, and do get the gbit speed
[18:58:26] <Lambda_Aurigae> what I want to do is setup a full debian system on a share and be able to pxe boot enough to get it to mount the share and run from there.
[18:58:33] <Lambda_Aurigae> for diskless workstation
[18:58:57] <Lambda_Aurigae> the pxe boot to the debian installer was fast.
[18:58:58] <Casper> I use pxeboot at work for streaming hiren's boot cd and to install windows
[18:59:12] <Casper> so I need to stream a few 100MB of data each time
[18:59:30] <Casper> you are probably only streaming a few Mb...
[18:59:35] <Lambda_Aurigae> I just need to stream enough to get a kernel loaded basically.
[19:00:01] <Lambda_Aurigae> and won't mind too much for the startup time.
[19:00:29] <Lambda_Aurigae> wish I could do it wirelessly but don't think that will happen.
[19:01:28] <Casper> but you could use a small usb key
[19:01:39] <Lambda_Aurigae> could.
[19:06:00] <Lambda_Aurigae> hopefully tomorrow I will be able to get my rPI up and running too.
[19:28:50] <cmartin0> so I was doing TIMSK = blah in a differnt timer init function that cleared the previous vlaue of TIMSK from other timer intis. TIMSK is shared by all the timers so I need to do TIMSK |=