#avr | Logs for 2012-03-03

Back
[01:28:24] <inflex> struth, people are interested in watching my Marantz CD an amp auctions on eBay at least
[01:58:28] <Roklobsta> yeah i got 1 bid and 6 watching my EVK1104
[03:04:57] <RikusW> have anyone around here used load cells before ?
[03:05:43] <theBear> err, have they got another name ?
[03:06:19] <RikusW> its used for weighing stuff
[03:06:30] <theBear> ok, nup :)
[03:06:38] <RikusW> got a wheatstone bridge inside
[03:06:59] <theBear> mmm... don't see wheatstone's often these days
[03:07:09] <ziph> Anyone who does a lot of Audio happen to know what the SRF of a 50V 4700uF electrolytic might be, approximately?
[03:07:50] <RikusW> theBear: the deforming of the metal changes the resistances
[03:08:00] <theBear> err, series resistance something ? generally a 4700 is good for around 1amp of quiet audio rail
[03:08:03] <RikusW> usually the output changes only a few mV
[03:08:13] <ziph> You mean strain gauges?
[03:08:22] <RikusW> ziph: exactly
[03:08:37] <ziph> I have, about a decade ago. ;)
[03:08:58] <RikusW> I have about 4 or 5 load cells around
[03:09:12] <RikusW> for max 15kg
[03:09:16] <ziph> And they have the bridge built in? That's handy.
[03:09:33] <RikusW> bridge made from strain gauges
[03:10:24] <ziph> There's more than one strain gauge per transducer?
[03:10:27] <RikusW> it still have the original calibration papers with them too :)
[03:10:30] <RikusW> 4
[03:11:05] <ziph> Ah, right.
[03:11:20] <RikusW> its TEDEA model 1010
[03:11:22] <ziph> I haven't used those then, just straight strain gauges.
[03:11:26] <RikusW> made in Israel
[03:11:49] <RikusW> it outputs about 2mV at 15kg
[03:12:09] <RikusW> was made in 1990
[03:13:17] <RikusW> input 415 and output 350 ohm
[03:13:37] <RikusW> I'll probably try doing something with them sometime
[03:26:58] <RikusW> http://www.datasheetarchive.com/indexdl/Datasheet-082/DASF0046178.pdf
[03:27:01] <RikusW> its datasheet
[04:18:37] <RikusW> seems like an instrumentation amplifier is the answer
[04:19:43] <RikusW> http://www.sensorland.com/HowPage005.html
[04:25:07] <RikusW> this is sensor heaven :) http://www.sensorland.com/HowPage001.html
[05:18:27] * amee2k . o O ( a kingdom for stamps with strawberry flavour >_< )
[05:28:54] <Steffanx> And that's necessary because?
[05:34:57] <wollw> the sad fact of the matter is that strawberry stamps would just taste like strawberry glue
[05:36:11] <JanneP> i wonder what raspberry stamp would taste like :P
[05:36:21] <JanneP> if one was able to order them..
[05:36:29] <amee2k> lol
[05:36:38] <amee2k> Steffanx: it is?
[05:37:10] <Steffanx> I don't know, that's why I asked .. amee2k
[05:37:29] <amee2k> well, you tell me
[05:37:48] * Steffanx ends this conversation
[05:38:00] <amee2k> thats what you usually do, yes.
[05:39:30] <Steffanx> When it's a useless conversation, yes
[05:39:40] <Steffanx> Or when it goes 'nowhere'
[05:40:14] <amee2k> well, it can't go anywhere when you end it, now can it?
[05:40:55] <Steffanx> Retry: Or when it tends to go nowhere
[05:41:05] * amee2k blinks
[05:41:14] <theBear> wtf ? everyone knows a single person can't end a conversation just by saying that
[05:41:16] <theBear> that's crazy talk
[05:41:42] <Steffanx> theBear it's a good subject changer :P
[05:41:51] <amee2k> evidently not /every/ everyone
[05:41:56] <Steffanx> So I ended THAT conversation
[05:42:32] <theBear> i dunno, appears to still be going from here
[05:46:06] <Steffanx> theBear knows how to do it :P
[05:46:27] <theBear> heh, i got MAD skills
[05:49:09] <amee2k> entirely *nod*
[05:49:43] <wollw> Not only is it still going on it's the hottest topic in the past few hours.
[05:49:45] <Sgt_Lemming> http://imgur.com/gallery/pDVbO
[05:50:50] <amee2k> Sgt_Lemming: WTF...
[05:51:10] <Steffanx> Hehe Sgt_Lemming
[06:06:10] <JanneP> :D
[06:06:55] <OndraSter> Sgt_Lemming, your nickname makes me want to grab DOSBox and find the original DOS Lemmings :P
[06:07:03] <Sgt_Lemming> lol
[06:07:36] <Sgt_Lemming> OndraSter http://www.elizium.nu/scripts/lemmings/ <--- you're welcome
[06:07:46] <OndraSter> woot woot!
[06:07:47] <OndraSter> thanks
[06:07:52] <Sgt_Lemming> np
[06:36:35] <OndraSter> I doubt there is any way how to make watchdog run faster? :P
[06:36:39] <OndraSter> it has 1MHz clock
[06:37:41] <OndraSter> but the least prescaler is 16k :(
[06:37:58] <OndraSter> the least timeout is 14ms
[06:38:08] <OndraSter> which is about 10 times more than I'd need :(
[06:41:50] <amee2k> OndraSter: hmm... how about making a normal timer overflow interrupt jump to the reset vector?
[06:42:01] <OndraSter> that is one option
[06:42:16] <OndraSter> I think that those 14ms is okay aswell, it is 0.014s afterall...
[06:42:46] <amee2k> then you could set the timeout from a few clock cycles to <very long>
[06:43:26] <amee2k> to fetch the dog you could make a macro like #define FETCH_WATCHDOG() TCNT0 = 0;
[06:46:35] <OndraSter> I think I am going with hardware watchdog
[06:46:55] <OndraSter> software watchdog can be overwritten by any software change = possibly dangerous
[06:47:35] <amee2k> if nothing else uses the same timer, the chances are rather slim
[06:47:56] <OndraSter> but it is possibly dangerous :)
[06:48:03] <OndraSter> if anything happens, the LEDs will burn immediatily
[06:48:17] <amee2k> and a sufficiently bad hardware failure would likely be able to affect the normal watchdog as well
[06:48:36] <OndraSter> with watchdog I simply reset MCU in some case that something happens and the first three lines of code set DDRB as output and set DISPLAY_DISABLE to 1
[06:50:25] <amee2k> you could use both?
[06:50:52] <amee2k> a fast timer based soft watchdog as first line of defense, and set up the normal watchdog too as fallback
[06:50:59] <OndraSter> I have got all timers actually used up I think... timer0 for the LED row switching (the one where the WD timer reset will happen
[06:51:07] <OndraSter> timer1 for some stuff
[06:51:13] <OndraSter> timer2 for PWM for brightness
[06:51:18] <OndraSter> and timer3 for PWM for peripheral(s)
[06:51:31] <amee2k> hmm you already have the hardware, right?
[06:51:40] <OndraSter> yes
[06:52:18] <OndraSter> bah, the hardware one's 14ms is fast enough
[06:52:27] <amee2k> i was just thinking but it won't work if you already built it... use an external canned oscillator and/or the clkout pin to drive the row select on your matrix
[06:52:34] <OndraSter> wondering if it actually works when you are in JTAG in debug and have paused it :P
[06:52:58] <amee2k> this way it'll keep clocking the matrix even if the firmware crashes. the display would get scrambled but no damage would result
[06:53:25] <amee2k> alternatively, AC couple the row select line so it'll drift low after a few milliseconds on its own
[06:59:18] <amee2k> http://ompldr.org/vY3gxNQ/gate_driver_wdt.png << like this... D1 is to prevent undershoot on a falling edge, i *think* it can never overshoot by design so not sure if you really need D2
[06:59:49] <amee2k> this way the MCU can only keep a row select active for so-many milliseconds before the driver gets disabled automatically
[07:00:43] <OndraSter> like I said long time before, hardware watchdog is enough.
[07:00:57] <amee2k> nah, i'm just thinking out loud right now
[07:01:00] <OndraSter> when I say "screw it, I will use that", you don't have to think about it anymore :D
[07:01:02] <OndraSter> thanks anyway
[07:01:12] <amee2k> it doesn't matter if you already have the hardware
[07:01:45] <amee2k> oh, i just kept thinking about it because i found the problem interresting
[07:02:25] <amee2k> i think that AC coupling thing is both the most simple and the most effective hardware protection for the matrix
[07:13:19] <OndraSter> eya CapnKernel
[07:13:32] <CapnKernel> OndraSter: Hi there
[07:13:58] <CapnKernel> I just got back from English Corner, a club for Chinese people who like to speak English.
[07:14:04] <OndraSter> :D
[07:14:08] <OndraSter> you did the opposite?
[07:14:32] <CapnKernel> Many people helped me learn Chinese, so going to English Corner is my way to "pay forward" their kindness.
[07:14:37] <OndraSter> ah
[07:14:40] <CapnKernel> Plus, it's a good way to make friends in a strange city.
[07:14:54] <OndraSter> :)
[07:14:58] <OndraSter> is Chinese hard to learn?
[07:15:16] <CapnKernel> Short answer: Yes
[07:15:17] <CapnKernel> Longer answer: http://www.pinyin.info/readings/texts/moser.html
[07:15:39] <OndraSter> that is long answer really lol
[07:20:27] <CapnKernel> I'm going for a nap, exhausted. Back later.
[07:22:09] <OndraSter> bb
[07:22:14] <OndraSter> what everything resets with watchdog?
[07:22:19] <OndraSter> everything but MCUCSR?
[07:22:30] <OndraSter> or at least the reset bits in MCUCSR
[07:30:40] <amee2k> i vaguely remember there is something left that tells you that the WDT did in fact trigger the reset, not a power-up, BO or soft reset
[07:33:02] <JanneP> it is possible to read the last reset source
[07:33:31] <JanneP> on some projects i've utilized a "safe" mode, if wdt resets it it's bricked until a hard reset comes
[07:50:20] <OndraSter> amee2k, it is in MCUCSR
[07:50:35] <OndraSter> but if you don't reset the flags, it will keep even first poweron reset aswell
[07:50:49] <OndraSter> in the MCUCSR
[07:50:58] <OndraSter> damn, SBIC instruction doesn't reach MCUCSR :(
[07:52:19] <OndraSter> hmm easiest method is to copy it to some unused IO register :P
[07:54:52] <OndraSter> like EEDR for example
[07:54:54] <OndraSter> or wait
[07:54:57] <OndraSter> that is not usable
[07:55:36] <OndraSter> EEARL
[10:28:29] <OndraSter> [.dseg] 0x000100 0x010000 0 32770 32770 4096 800.0% OVER
[10:28:31] <OndraSter> yay!
[10:28:45] <OndraSter> how can I notify avr studio that I have actually 64kB RAM?
[10:28:51] <OndraSter> it is not like that it matters...
[10:29:17] <ziph> You have external RAM?
[10:29:21] <OndraSter> ye
[10:29:38] <ziph> A custom linker map is the usual way.
[10:29:50] <OndraSter> I have manually specified .org in .dseg
[10:29:55] <OndraSter> it is just that warning in the output log
[10:30:44] <ziph> If you do a linker map you can just assign things to segments instead of haxoring them into specific addresses.
[10:31:01] <OndraSter> I have it on special address for a reason
[10:31:07] <ziph> Actually, putting them in to some other segment may just fix the error anyhow.
[10:31:17] <OndraSter> btw, if I start at offset 0xC000 and have 4000h bytes, last byte should end at 0xFFFF
[10:31:24] <ziph> It's probably checking specific output sections to see if they're too big.
[10:31:51] <OndraSter> so how come that it says that end is at 0x10000 instead 0xFFFF... :/
[10:32:12] <ziph> Probably because the end is one byte past the last byte.
[10:32:36] <OndraSter> that doesn't make sense to me
[10:32:43] <OndraSter> if I end at FFFF, the end is at FFFF
[10:33:15] <ziph> It's a fairly common convention.
[10:33:21] <OndraSter> ah okay then
[10:33:22] <ziph> It's so that end - begin == size
[10:33:27] <OndraSter> thanks :)
[10:35:57] <Tom_itx> but it starts at 0
[10:36:02] <Tom_itx> so how can it be???
[10:36:09] <ziph> :)
[10:36:38] <ziph> The only language I use that still starts anything from 1 is Mathematica.
[10:39:06] <Tom_itx> you start arrays at 0 and address them with 1 don't you?
[10:39:06] <Tom_itx> or vice versa
[10:39:25] <ziph> In Mathematica? It's all 1 based.
[10:40:01] <ziph> SomeObject[0] actually refers to the type of object.
[11:01:48] <cyanide> hello men
[11:01:50] <cyanide> and women
[11:02:24] <ziph> Is Jen still around?
[11:04:21] <theBear> jan ?
[11:04:30] <ziph> That too.
[11:04:45] <theBear> nah, she left a few hours back... seems she finally forgave me for stoppping the os argument in electronics tho
[11:06:08] <ziph> What's that? You'd like me to start an OS argument in here?
[11:06:13] <theBear> hehehe
[11:06:18] <theBear> not tongiht, i got nothign
[11:07:57] <tomatto_> hello
[11:08:36] <tomatto_> please, what for is prescaler divider for ADC? i have no idea what for it is.
[11:08:43] <OndraSter> for ADC clocking
[11:09:22] <ziph> The AVR ADC can't run above 100kHz or 250kHz or something, which is a bit of a problem if your system clock is 8 MHz.
[11:09:36] <specing> Capt. Obvious strikes again!
[11:09:50] <ziph> The divider reduces the system clock rate down far enough to be within the maximum ADC clock rate.
[11:12:58] <tomatto_> it is for slowing ADC clock down, isn't it?
[11:14:00] <specing> Capt. Obvious strikes again!
[11:17:45] <rue_house> there is a divdier you can apply to the bus clock to feed the adc,
[11:17:52] <rue_house> tomatto_, what clock rate are you running?
[11:22:12] <OndraSter> damn, why there isn't much 16bit math instructions on AVRs :(
[11:22:13] <OndraSter> only FMUL, FMULS
[11:22:20] <OndraSter> and FMULSU
[11:22:35] <OndraSter> I have 4bit number that I want to multiply by 16bit number :(
[11:22:37] <ziph> Because use an MSP430.
[11:26:15] <OndraSter> I am thinking how to ease it up
[12:01:35] <tomatto_> rue_house: i am running on 8MHz internal oscilator
[12:08:15] <jadew> can someone explain to me what "Application Software Response" collumns mean in table 66 of the atmega8 datasheet?
[12:08:36] <jadew> it's basically a table of the status code and their meaning, but it has some additional details that are not explained anywhere
[12:11:52] <jadew> does that mean that if I get 0x38 for example in TWSR, I have to check if STA is set in TWCR in order to know what will happen next?
[12:13:04] <jadew> or does it mean that if I get that status code while trying to send out a start condition, the description on the last collumn applies?
[12:14:58] <RikusW> twi seems a bit complicated to me :-P
[12:15:20] <jadew> however that would imply that the status code, after sending a start condition can be something else other than 0x08, yet the documentation states that "After a START condition has been transmitted, the TWINT Flag is set by hard-ware, and the status code in TWSR will be 0x08 (see Table 66 on page 173)."
[12:15:52] <jadew> yeah, it's not as easy I initially tought it would be
[12:16:23] <ziph> Bitbang I2C is simpler than the weird state machine driven controllers.
[12:16:29] <ziph> Which should tell you something.
[12:16:47] <jadew> yeh
[12:16:51] <jadew> *heh
[12:17:04] <jadew> and then, assuming that the staus code CAN be 0x38 after a start condition and that the last collumn description would apply
[12:17:15] <jadew> "A START condition will be transmitted when the bus be-comes free"
[12:17:28] <jadew> how do I know when that start condition will be sent?
[12:17:37] <jadew> wth does that exactly mean?
[12:18:20] <jadew> the docs either suck or I fail at reading them
[12:18:53] <RikusW> seems like you will need to read the i2c spec too
[12:19:04] <RikusW> I've read it a little long ago
[12:19:18] <jadew> I did read a bit about i2c, it makes sense and all that
[12:19:28] <jadew> but I don't understand this freaking status codes
[12:19:46] <jadew> that table is not properly explained
[12:20:06] <jadew> "Application Software Response" wtf is that?
[12:21:50] <RikusW> no idea
[12:22:30] <jadew> the terminology table explains only "Master, Slave, Transmitter and Reciever" like the reader is retarded and can't figure out that for himself
[12:22:51] <RikusW> ah
[12:22:58] <RikusW> thats what you are supposed to do
[12:23:23] <RikusW> in firmware
[12:24:18] <jadew> let's say I get 0x38
[12:24:24] <RikusW> look at the top --- to/from TWDR --- to TWCR ---
[12:25:01] <RikusW> seems like you can send a start bit or do nothing
[12:25:42] <jadew> but it doesn't make sense, because, in the case of 0x08 for example, you get the status code AFTER loading SLA+W and askining to send it trough TWCCR
[12:25:45] <RikusW> each line represents a option
[12:26:17] <jadew> hmm
[12:26:23] <jadew> let me see if it makes sense like that
[12:27:15] <jadew> indeed, thanks a lot
[12:27:46] <RikusW> nice :)
[12:28:08] <RikusW> I'll probably mess around with i2c sometime
[12:28:14] <RikusW> haven't yet felt the need to
[12:28:24] <ziph> I've been forced to.
[12:28:36] <RikusW> why ?
[12:28:47] <RikusW> part availability ?
[12:28:47] <ziph> I2C is more popular in Codecs.
[12:28:50] <jadew> me either, but I'm doing a usb master/slave for spi and figured it wouldn't be bad to add i2c to it as well
[12:29:10] <RikusW> jadew: using an avr ?
[12:29:14] <jadew> yeah
[12:29:24] <RikusW> like m32u2 ?
[12:29:31] <jadew> atmega8
[12:29:32] <ziph> The NXP implementations are no less perverse.
[12:29:54] <RikusW> jadew: with soft usb then ?
[12:29:59] <jadew> yep
[12:30:21] <jadew> wanted to go for hardware usb, but I already gave my last order yesterday and have no hw usb chips
[12:30:50] <jadew> no biggie tho, this one should handle it just fine
[12:30:51] <RikusW> m32u2 don't have hw twi iirc
[12:32:26] <jadew> might even add serial support, but I don't think I'll get too many useful frequencies out of it
[12:32:43] <RikusW> m32u4 does have twi
[12:33:16] <Tom_itx> that's a nice little chip
[12:33:44] <Tom_itx> it adds adc too
[12:33:51] <Tom_itx> over the U2
[12:34:09] <RikusW> but its pinout is somewhat weird
[12:34:34] <RikusW> I have one here, now have to make a pcb for it...
[12:34:44] <Tom_itx> i made up 3 the other day
[12:34:46] <RikusW> its got a lot more usb ram
[12:35:09] <RikusW> so it can have bigger buffers and more speed
[12:35:34] <Tom_itx> http://tom-itx.dyndns.org:81/~webpage/boards/atmega32u4/atmega32u4_1.jpg
[12:35:34] <Tom_itx> like that one
[13:06:54] <dirty_d> that looks tiny
[13:08:41] <theBear> that's what she said <grin>
[13:09:09] <dirty_d> i knew taht was coming
[13:09:11] <dirty_d> lol
[13:09:56] <dirty_d> hmm, this imu has a crapload of jitter
[13:11:26] <dirty_d> its wierd though, like every other interrupt has a lot of jitter
[13:11:28] <dirty_d> and the other oens dont
[13:15:27] <cyanide> is this soldering paste fine for smd? http://www.ebay.com/itm/50g-MCN-300-Soldering-Solder-Paste-63-37-25-45um-1pcs-/160671810304?pt=LH_DefaultDomain_0&hash=item2568c94300
[13:15:41] <cyanide> someone told me this isn't very good for smd soldering
[13:16:32] <specing> I bought one from farnell for 5E, works great
[13:16:49] <cyanide> is it the same one?
[13:17:34] <specing> nope
[13:17:41] <specing> it came in a pen
[13:17:49] <specing> its called soldering flux
[13:18:07] <cyanide> not flux. this contains actual solder
[13:18:19] <cyanide> you apply the paste and use hot air to melt it
[13:18:31] <specing> ah
[13:18:31] <OndraSter> yeah
[13:18:41] <OndraSter> paste <3
[13:18:51] <OndraSter> I need DX to ship it though already!
[13:18:51] <cyanide> yeah as in you've used it or yeah as in im correct?
[13:19:11] <OndraSter> havent used this one
[13:19:22] <cyanide> dx sells paste?
[13:19:25] <OndraSter> check dealextreme,they have there the one you posted aswells
[13:19:25] <OndraSter> sure
[13:19:34] <cyanide> oh, ill check brb
[13:19:34] <OndraSter> as well
[13:19:39] <OndraSter> there might be reviews
[13:20:08] <cyanide> yeah going through those
[13:20:12] <cyanide> http://www.dealextreme.com/p/mechanics-soldering-paste-50g-7952
[13:21:51] <cyanide> funny though
[13:22:03] <cyanide> this is the only thing i can buy local (india), cheaper than even dx :)
[13:22:19] <cyanide> http://www.onlinetps.com/shop/index.php?main_page=product_info&cPath=18_64&products_id=498
[13:22:33] <cyanide> like 2.5 usd, dx wants 3.6 for it
[13:22:45] <cyanide> 3.36*
[13:57:39] <dirty_d> http://cisweb.bristolcc.edu/~klabs/jitter.mpg
[13:57:45] <dirty_d> i dont get it, strange jitter
[14:31:31] <OndraSter> damn I feel like Rodney McKay
[14:31:56] <jadew> agitated?
[14:32:00] <jadew> rude?
[14:32:00] <RikusW> why ? did you break something ? ;)
[14:32:16] <OndraSter> haha jadew
[14:32:17] <OndraSter> not yet RikusW lol
[14:33:06] <jadew> I finished watching SG-1 about a week or so ago, for the 3rd time
[14:33:13] <RikusW> why then ?
[14:33:16] <jadew> now I'm at season 2 from atlantis
[14:33:21] <RikusW> SG 1 is nice
[14:33:29] <jadew> yeah, the best from the series
[14:33:29] <RikusW> but I only have season 1 + 2 :(
[14:33:32] <OndraSter> doing 16bit math on 8bit CPU
[14:33:43] <OndraSter> heavy math lol
[14:33:50] <RikusW> I have atlantis 1 to 5, wtih missing episodes...
[14:33:56] <OndraSter> tvtorrents ftw! lol
[14:33:59] <OndraSter> private tracker
[14:35:52] <RikusW> I have some SGU too, but well.... can't match SG1
[14:35:58] <OndraSter> SG1 <3
[14:36:03] <OndraSter> then Atlantis <2
[14:36:05] <OndraSter> and SGU :(
[14:36:07] <OndraSter> SGU was bad
[14:36:15] <OndraSter> I liked Dr Zelenka in SGA
[14:37:32] <RikusW> unfortunately yes
[14:37:32] <OndraSter> considering that I met him :P
[14:37:32] <jadew> yeah, stopped watching after the first season
[14:37:32] <OndraSter> he's cool guy
[14:37:32] <jadew> nice
[14:37:32] <jadew> is he into AVR's as well? :P
[14:37:32] <RikusW> OndraSter: met the actor ?
[14:37:32] <OndraSter> haha didn't ask about that
[14:37:32] <OndraSter> yes RikusW
[14:37:32] <RikusW> nice
[14:37:32] <jadew> RikusW, it would have been kinda weird if he met the character :P
[14:37:32] <OndraSter> haha
[14:37:32] <OndraSter> he is Czech, just like me
[14:37:32] <RikusW> where did that happen ?
[14:37:32] <OndraSter> it was this "scifi stuff" many years ago
[14:37:35] <OndraSter> I was there once
[14:37:37] <jadew> anyway, I'm off for a beer and a pizza o/
[14:37:41] <OndraSter> I forgot the name of the meeting
[14:37:43] <OndraSter> it was in the middle of CZE
[14:38:22] <OndraSter> let me dig it up in my mind
[14:38:27] <OndraSter> gotta switch bank of memory lol
[14:38:40] <OndraSter> "fantasy festival"
[14:38:48] <OndraSter> sci-fi in it aswell
[14:38:53] <OndraSter> as well*
[14:39:08] <RikusW> sounds like you have to pic the right thoughts here ;)
[14:39:37] <OndraSter> my memory is bad on names
[14:39:39] <OndraSter> REALLY bad
[14:39:52] <OndraSter> I still have to think about names when I am at school lol
[14:39:55] <OndraSter> after 4 years :X
[14:40:06] <OndraSter> and I meet them daily
[14:40:11] <learningc> Tom_itx: are you there?
[14:42:43] <RikusW> OndraSter: but you can remember character names from tv series ;)
[14:42:50] <OndraSter> yeah
[14:42:56] <OndraSter> because McKay is my avatar on many forums :P
[14:43:01] <OndraSter> well, one now actually
[14:43:04] <OndraSter> maybe two
[14:43:14] <OndraSter> and Zelenka was his fellow scientist
[14:43:17] <RikusW> hehe
[14:46:59] <jacekowski> rodney mckay
[14:47:17] <jacekowski> and radek zelenka
[14:47:31] <jacekowski> from sga
[14:48:07] <OndraSter> yeah
[14:48:15] <OndraSter> I love when he speaks in CZE
[14:48:17] <OndraSter> (Zelenka)
[14:48:21] <jacekowski> RikusW: i have full atlantis, i can up some episodes if you want
[14:48:23] <OndraSter> because nobody in US could understand it
[14:48:31] <OndraSter> many times he swears
[14:48:44] <Tom_itx> ?
[14:48:45] <RikusW> jacekowski: my link is way to slow and expensive for downloading that :(
[14:49:10] <OndraSter> once he even tells something like "I am glad this is just a TV show" or something (haven't seen SGA in few years now lol
[14:49:21] <OndraSter> but he was making comment about it being not real :P
[14:49:29] <RikusW> jacekowski: thanks anyways
[14:49:42] <jacekowski> it's shame that stargate is now finished
[14:50:09] <OndraSter> yeah
[14:50:16] <OndraSter> SGU was bad, I'd love new SG-1
[14:50:17] <RikusW> maybe the should create SG-2 :-P
[14:50:19] <OndraSter> with Carter and O'Neill
[14:50:51] <jacekowski> sgu wasn't that bad
[14:50:56] <jacekowski> it was different
[14:51:14] <jacekowski> and it became really good towards end of second season
[14:51:22] <OndraSter> I am glad I have Dragon!
[14:51:22] <OndraSter> http://pastebin.com/uKRW7Sj0
[14:51:26] <OndraSter> debugging this any other way would be PAIN
[14:51:45] <RikusW> totally different style
[14:51:58] <OndraSter> dude, they had FTL!
[14:52:04] <OndraSter> just like any other scifi :(
[14:52:07] <jacekowski> stargates are FTL
[14:52:23] <jacekowski> and they had FTL in sga
[14:52:31] <OndraSter> was it called FTL?
[14:52:43] <jacekowski> no
[14:52:48] <Tom_itx> learningc?
[14:52:49] <OndraSter> there you go
[14:53:02] <jacekowski> have you heard about hyperdrive?
[14:53:29] <OndraSter> it might've been the same, but it was called different
[14:56:22] <learningc> Tom_itx: got something to ask you. when I put multiple board on a panel ready to be send to board house, will they cut the smaller boards or make a v-score between them?
[14:57:00] <jacekowski> but it looks like last 5 years were very bad for any kind of scifi
[14:57:03] <RikusW> I only sent the board and the outline
[14:57:14] <jacekowski> lot of series have finished
[14:57:20] <RikusW> they panellised it
[14:57:25] <jacekowski> and most new series finished after 1 season
[14:57:38] <RikusW> how about Fringe ?
[14:57:53] <learningc> RikusW: and they send it already cut to you?
[14:58:16] <RikusW> I asked it to be v-scored
[14:58:42] <learningc> RikusW: they will vscore it on the outline?
[14:59:05] <RikusW> the initial prototypes was cut using something else, its quite smooth on the sides, don't know what they used
[14:59:15] <RikusW> I sent it as a seperate layer
[14:59:35] <RikusW> just check that the outline is not close to any copper
[15:00:13] <RikusW> read the manufacturers specs
[15:00:27] <RikusW> they will give a minimum distance
[15:00:43] <learningc> If I don't say anything, will they vscore or cut on the outline?
[15:01:59] <RikusW> I asked for vscore
[15:01:59] <jacekowski> i've read somewhere that this is last season of fringe
[15:02:16] <RikusW> jacekowski: Season number ?
[15:02:22] <RikusW> 5 or 6 ?
[15:02:37] <jacekowski> 4
[15:03:13] <bram1> what is fringe?
[15:03:25] <RikusW> learningc: but they probably decided it was easier to use a milling machine or something to do 5 prototype boards
[15:03:28] <learningc> RikusW: the outline layer, do you send it on a gerber file on its own?
[15:03:50] <RikusW> learningc: I did
[15:04:03] <RikusW> bram1: A scifi tv series
[15:04:47] <learningc> RikusW: what if you include it on the copper or silkscreen gerber, will they know?
[15:04:50] <RikusW> learningc: actually I sent everything and they asked me for an outline
[15:04:56] <RikusW> so I sent it later
[15:05:14] <dirty_d> learningc, i think you need to specify things like that
[15:05:27] <RikusW> ask them
[15:05:36] <RikusW> I sent it on mechanical 1
[15:05:51] <RikusW> as a seperate gerber file
[15:05:53] <Sgt_Lemming> morning all
[15:06:05] <learningc> RikusW: I see
[15:06:38] <learningc> I want to ask how Tom_itx do it...
[15:06:41] <dirty_d> learningc, in a video i watched the guy had something like >|< V-groove
[15:06:54] <RikusW> just a rectangle in my case
[15:07:06] <dirty_d> learningc, that eevblog guy
[15:07:57] <learningc> dirty_d: ">|<" all around as the outline?
[15:08:49] <dirty_d> no
[15:08:55] <dirty_d> it was just like a comment i guess
[15:09:00] <dirty_d> on the sildscreen i believe
[15:10:02] <learningc> ah I see
[15:10:47] <AuroraX> hi
[15:11:51] <AuroraX> its very nice that the IDE lets us use SDcards with FAT16 mounted on, but is there any way to use NTFS or other FS? I lack the knowledge on this FS to make a library for myself..
[15:12:26] <AuroraX> what i mean is, is there any ntfs or ext library for avr?
[15:12:58] <RikusW> ntfs is rather complicated so I doubt it...
[15:13:33] <dirty_d> you could always make your own
[15:13:43] <dirty_d> or use no fs at all and just treat it like one file
[15:15:57] <dirty_d> learningc, http://www.youtube.com/watch?v=VXE_dh38HjU
[15:16:02] <dirty_d> thats pretty informative
[15:16:16] <learningc> ok, thanks
[15:16:37] <dirty_d> it goes over vgroove s and cnced slots etc
[15:16:49] <Tom_itx> learningc, if you ask them to leave them panelized and vscore them they should
[15:17:35] <theBear> ntfs sucks anyway.... i like treating my sdcards as a single file for most purposes... so little overhead...
[15:17:43] <Tom_itx> it somewhat depends who you get to do it
[15:19:51] <Tom_itx> http://tom-itx.dyndns.org:81/~webpage/boards/USBTiny_Mkii/boards1.JPG
[15:19:56] <Tom_itx> you can see the vscore on those
[15:20:50] <dirty_d> Tom_itx, how much does one panel generally cost?
[15:21:03] <AuroraX> theBear: its just i need to mount it on a PC with gnu/linux or win32/64
[15:21:06] <AuroraX> i think im going FAT
[15:21:15] <AuroraX> easy enough
[15:21:19] <AuroraX> lots of doc
[15:21:31] <dirty_d> AuroraX, just open /dev/sdb etc as a file
[15:21:47] <AuroraX> hmmm
[15:21:50] <AuroraX> good point
[15:22:01] <learningc> Tom_itx: on which file do you send your outline for them to vsocre on it?
[15:22:02] <theBear> i do what dirty_d just said, otherwise if you need win access easily, just fat it
[15:22:15] <dirty_d> there might even be a way to do that on windows
[15:22:16] <AuroraX> win is such a pain indeed
[15:22:16] <AuroraX> lol
[15:22:18] <AuroraX> brb
[15:22:21] <AuroraX> thanks guys
[15:22:21] <dirty_d> some driver or something maybe
[15:22:23] * AuroraX AFK
[15:22:30] <theBear> dirty_d, yeah, probly with dd, but that isn't stock
[15:22:34] <dirty_d> yea
[15:22:47] <theBear> same as flashing an image to a floppy
[15:23:18] <dirty_d> yea
[15:23:30] <Tom_itx> learningc, you don't need to worry about that. just send your gerber files and tell them you want it left panelized and vscored
[15:23:33] <Tom_itx> they do the rest
[15:23:43] <dirty_d> i think you can acutally open dvices like that in windows using its crazy device id or something as a filename
[15:23:45] <Tom_itx> on those i sent one board file per order
[15:24:03] <Tom_itx> they did the rest
[15:24:19] <learningc> Tom_itx: but then if you don't outline, how do they know where to cut?
[15:27:59] <Tom_itx> layer 20 is the outline layer for your design
[15:28:13] <Tom_itx> make sure that gets included
[15:28:48] <Tom_itx> use a zero width line to define your outline
[15:30:35] <learningc> i see
[15:32:09] <learningc> Tom_itx: on which file do you include the outline layer? top copper, bottom copper, top silkscreen, ...?
[15:32:26] <OndraSter_> http://www.youtube.com/watch?feature=player_embedded&v=ZIGzpi9lCck#!
[15:33:32] <dirty_d> cool
[15:33:51] <dirty_d> learningc, it would be its own gerber file wouldnt it?
[15:35:16] <OndraSter_> I wish my LED box was ... bigger! :P
[15:35:21] <OndraSter_> so I could make my own James Bond car :P
[15:37:01] <Tom_itx> learningc, you use eagle right?
[15:37:14] <Tom_itx> grab some of the cam files i have on my site
[15:37:33] <Tom_itx> some of them i use special layers for the top and bottom silk but you can look them over
[15:38:00] <Tom_itx> http://tom-itx.dyndns.org:81/~webpage/eagle/
[15:38:14] <Tom_itx> it probably has a .doc suffix
[15:38:32] <Tom_itx> then i send a readme with the files telling them what format it is
[15:38:54] <Tom_itx> gold_phoenix.cam should be a good one
[15:40:23] <learningc> ok thanks
[15:43:11] <Tom_itx> if you don't use the layers 121 122, you need to include all the 't' and 'b' layers for the silk
[15:44:27] <Tom_itx> i have a .ulp that generates the 121 122 layers using the info from them and combining it all on one per layer
[15:44:58] <OndraSter_> http://www.ebay.com/itm/10-G9-Warm-White-Home-Office-Halogen-Capsule-Light-Bulb-Lamp-25W-/250999033805?pt=LH_DefaultDomain_0&hash=item3a70b54fcd
[15:45:00] <OndraSter_> this is.. cheap
[15:45:03] <OndraSter_> what's the catch?
[15:46:26] <Tom_itx> how many V ?
[15:46:50] <OndraSter_> regular 2030
[15:46:51] <OndraSter_> 230
[15:47:52] <OndraSter_> the socket on its own is more expensive :(
[15:48:02] <OndraSter_> 10 sockets is 20+5 USD
[15:48:06] <OndraSter_> 15 the same lol
[15:48:27] <OndraSter_> http://www.ebay.com/itm/15-X-G9-SOCKET-Connector-Socket-LED-Halogen-LAMP-BULB-Lamp-Holder-Ceramic-Wire-/170791493454?pt=Lamps_US&hash=item27c3f75f4e
[15:48:31] <OndraSter_> I could light up my room!
[15:48:37] <OndraSter_> like.. a lot
[16:00:37] <pingec> lol interfacing a sms modem is "fun"
[16:00:44] <OndraSter_> AT commands?
[16:00:47] <pingec> yes
[16:01:37] <pingec> after tx'ing it at+cmgs=phonenumber<CR><LF>
[16:01:42] <pingec> then it expect the message
[16:01:53] <pingec> but after I tx the first char
[16:02:08] <pingec> it doesnt register next 5-10 chars
[16:02:18] <pingec> like it gets busy with something :)
[16:02:26] <OndraSter_> heh
[16:02:33] <pingec> so now I tx it a dummy char
[16:02:34] <pingec> the do
[16:02:40] <pingec> wait 500
[16:02:41] <pingec> and works
[16:02:41] <pingec> lol
[16:02:58] <OndraSter_> lol
[16:03:02] <OndraSter_> hmm wondering how this happened
[16:03:10] <OndraSter_> I have got here some chip, that is perfectly desoldered
[16:03:13] <OndraSter_> but has hole in the middle :o)
[16:03:19] <pingec> hole?
[16:03:24] <OndraSter_> yeah
[16:03:25] <OndraSter_> right onto the die itself
[16:03:37] <dirty_d> probably overheated
[16:03:37] <pingec> someone drilled it through :P ?
[16:03:49] <OndraSter_> both are possible
[16:03:50] <OndraSter_> :P
[16:03:55] <pingec> Maybe it exploded
[16:04:00] <OndraSter_> maybe
[16:04:03] <Tom_itx> top or bottom
[16:04:06] <OndraSter_> top
[16:04:11] <Tom_itx> did it have a center pad you pulled off?
[16:04:20] <OndraSter_> it was top
[16:04:32] <Tom_itx> too much moisture in it
[16:04:33] <OndraSter_> where is "silkscreen" with manufacturer + name and such
[16:04:41] <Tom_itx> you should have brought it up to temp slow
[16:04:43] <OndraSter_> no idea, I found it on my table
[16:04:48] <OndraSter_> it must've been here for at least a year
[16:05:02] <OndraSter_> considering the mess on my table is here for at least a year :P
[16:05:06] <OndraSter_> since I last cleaned it
[16:06:32] <pingec> and it's the first time you see the hole?
[16:06:57] <pingec> take a photo
[16:07:13] <OndraSter_> if I had a camera that can do macro in the dark...
[16:07:50] <OndraSter_> wth is wrong on
[16:07:50] <OndraSter_> LD R16, Y-
[16:07:55] <OndraSter_> Error 2 syntax error, unexpected '\n' C:\Users\Ondra\Documents\AVRStudio\MaturaLED\bootloader\../shared/display.asm 103 0 bootloader
[16:08:17] <pingec> missing a space?
[16:08:18] <OndraSter_> DISPLAY_TIMER_LOOP:
[16:08:18] <OndraSter_> LD R16, Y-
[16:08:18] <OndraSter_> RCALL SPI_Send
[16:08:21] <OndraSter_> where?
[16:08:27] <dirty_d> whats the - after Y mean?
[16:08:39] <OndraSter_> to dec Y by one after the LD
[16:08:48] <dirty_d> oh
[16:08:49] <OndraSter_> hmm
[16:08:53] <OndraSter_> -Y vs Y+
[16:08:53] <pingec> isnt it "ld"
[16:08:55] <OndraSter_> no other option
[16:08:58] <pingec> not "ldr" ?
[16:09:04] <OndraSter_> no post decrement
[16:09:05] <OndraSter_> :o)
[16:09:14] <OndraSter_> there is either pre-increment or post-decrement
[16:09:20] <OndraSter_> err
[16:09:21] <OndraSter_> opposite
[16:09:28] <OndraSter_> there is either pre-decrement or post-increment
[16:09:32] <OndraSter_> but no post-decrement
[16:09:32] <pingec> "ld r16, Y-"
[16:09:33] <OndraSter_> damn!
[16:10:19] <OndraSter_> oh well
[16:10:23] <OndraSter_> LD R16, Y
[16:10:27] <OndraSter_> SBIW Y, 1
[16:10:38] <pingec> yea
[16:11:03] <bram1> would'nt that mess up r17?
[16:11:12] <bram1> you need subi
[16:11:15] <OndraSter_> no I don't
[16:11:25] <OndraSter_> SBIW is 16bit substraction
[16:11:31] <OndraSter_> from X/Y/Z
[16:11:48] <OndraSter_> you can either give it sbiw YH:YL, 1
[16:11:51] <OndraSter_> or just Y, 1
[16:11:58] <OndraSter_> the avr-asm understands both
[16:12:34] <pingec> what about YH, 1
[16:12:47] <bram1> ah, load r16 to yL
[16:12:47] <OndraSter_> why would I do that?
[16:12:53] <pingec> no idea
[16:12:54] <OndraSter_> no
[16:13:03] <OndraSter_> load content from memory that is pointed by Y register to R16
[16:13:20] <OndraSter_> Y register = R29:R28
[16:13:40] <bram1> and Z is R31:R30
[16:13:46] <OndraSter_> yes
[16:13:50] <pingec> is this a debate?
[16:14:05] <c2thunes> anyone here have experience with getting xmegas working with an avr dragon using avarice? :\
[16:14:11] <OndraSter_> surprisingly the SBIW can also work on 25:24 also
[16:14:15] <OndraSter_> W register anyone? :P
[16:14:18] <pingec> yep
[16:14:19] <bram1> this is a 'gaining knowledge thingy'
[16:14:24] <robotusrex> hi, is it necessary to connect adc6 adc7 aref and avcc to enaything if i'm not gong to use the adc?
[16:14:37] <OndraSter_> avcc _should_ be connected
[16:14:40] <OndraSter_> _should_
[16:14:47] <bram1> sbiw can work on all r16 and above registers
[16:14:47] <OndraSter_> you can enable internal pullups on adc6/7 if you desire...
[16:14:54] <bram1> or not?
[16:14:56] <OndraSter_> no bram1
[16:15:03] <OndraSter_> 24 26 28 30 +1
[16:15:05] <pingec> dont think so
[16:15:18] <pingec> R16+ can do immediate values
[16:15:22] <pingec> R24
[16:15:24] <pingec> +
[16:15:27] <pingec> support 16bit
[16:16:55] <robotusrex> so just route avcc and aref to vcc and leave adc6/7 without connection exept int pullup?
[16:17:23] <robotusrex> except*
[16:18:18] <pingec> r16-r31 can use immediates, r24-r31 pairs support 16bit operations, r26-r31 pairs support indirect addressing and r31:r30 supports program memory access
[16:18:21] <bram1> if you want to use an internal ref, then you need a 100n to aref
[16:20:21] <robotusrex> im not going to use the adc, I just dont want it to behave nicely and dont mess up the system
[16:20:50] <bram1> then put a 100n at vref and connect avcc to vcc
[16:20:55] <OndraSter_> hmm, when I set JTD to 1 to disable JTAG, but JTAG is connected, it doesn't disconnect it?
[16:21:05] <OndraSter_> just as well as it disables watchdog?
[16:21:11] <robotusrex> ok thank you
[16:31:35] <OndraSter_> yay
[16:31:43] <OndraSter_> I knew I should've connected RESET pin to JTAG...
[16:32:40] <OndraSter_> you need twice write to MCUCSR to enable/disable JTAG
[16:32:45] <OndraSter_> I fixed it in disabling
[16:32:47] <OndraSter_> but not in enabling :P
[17:25:02] <Hackbat> Arg, it's so hard to get these damn things down in current draw
[17:26:17] <Hackbat> the best I've got is 7.2 mA
[17:26:27] <OndraSter> active?
[17:26:36] <Hackbat> sleeping
[17:27:20] <Hackbat> I get 20 mA at 20mhz and 12 mA at 2.5mhz
[17:27:27] <OndraSter> :o)
[17:27:31] <OndraSter> is it just CPU?
[17:27:59] <Hackbat> cpu and Resonator
[17:29:14] <Hackbat> well it's that AND the voltage regulator
[17:31:54] <Hackbat> oddly the current draw is smaller on the input side and larger ont he output
[17:35:41] <Hackbat> right now these batteries will last 17 days
[17:37:20] <Casper> Hackbat: what kind of reg? 7805?
[17:37:28] <Hackbat> yep
[17:38:37] <Casper> those eat 8mA
[17:40:07] <Casper> . . .
[17:40:11] <Casper> I'm late on news...
[17:40:18] <Casper> woops wrong channel
[17:40:56] <Hackbat> yes but it draws less current on the input side oddly
[17:41:16] <Casper> then you have a faulty mesurement
[17:41:38] <Hackbat> not sure how that could be
[17:41:51] <Casper> a 78xx will ALWAYS have more current in than out
[17:41:55] <Casper> mandatory
[17:42:02] <Hackbat> well duh
[17:42:09] <Casper> else it violate the law of physics
[17:46:11] <Hackbat> found my problem
[17:46:48] <Hackbat> it was flowing backwards through it
[17:46:59] <Casper> ?
[17:58:28] <Hackbat> It's funny how being lazy can make your job harder @_@
[17:58:55] <OndraSter> http://www.youtube.com/watch?v=JHHI2Lk79cY&feature=context&context=G2d65887RVAAAAAAAAAQ
[18:00:53] <amee2k> hrm
[18:01:26] <amee2k> does the "series fuse + reverse diode" trick for input polarity protection work for car stuff too?
[18:01:52] <amee2k> i'm kinda worried about the current surge killing the diode before the fuse opens, putting reverse polarity across the device
[18:01:54] <Hackbat> it's sipping .39mA when sleeping
[18:02:16] <Hackbat> amee2k, just use a diode that can take the current
[18:02:39] <amee2k> Hackbat: 500A diodes are kinda expensive...
[18:02:44] <OndraSter> yay 500 amps
[18:03:46] <Hackbat> why not just use a diode in line?
[18:04:01] <amee2k> i need bidirectional current flow
[18:04:45] <Hackbat> so you need polarity protection for dipolar current flow
[18:04:53] <amee2k> yes
[18:05:46] <amee2k> and the MOSFET trick doesn't help either because the device side may turn on while the device is hooked up the wrong way
[18:06:52] <amee2k> fuse and the reverse diode will work perfectly fine because i want the fuse anyway
[18:07:09] <Casper> zener
[18:07:29] <amee2k> i'm just worried about the power source's extremely low impedance and the diode's ability to handle the resulting current surge
[18:07:36] <Casper> same crowbar capability, with over voltage protection
[18:07:53] <Casper> amee2k: series low resistance
[18:08:14] <Casper> and normally a diode will melt short...
[18:08:41] <amee2k> it only has to hold until the fuse opens, but car electrical systems can provide ridiculous surge currents
[18:09:57] <amee2k> especially since my device will hook up with jumper clamps directly to the battery terminals
[18:11:16] <amee2k> Casper: hmm i think i can make the series resistance trick work! thanks
[18:11:32] <amee2k> if not i'll just come back and resume bugging you guys tomorrow >_>
[18:12:08] <skorket> I'm trying to program an ATMEGA368P from a USBtinyISP and getting the following error: " Expected signature for ATMEGA328P is 1E 95 0F" . Any suggestions on what I have done wrong?
[18:12:42] <amee2k> does it say what signature it is getting from the device?
[18:12:47] <skorket> The target board is just a simple connection between the 6 input lines (MOSI/MISO/CLK/RST/Vcc/Gnd)
[18:13:00] <skorket> amee2k: 0x1e9514
[18:13:23] <skorket> d'oh!
[18:14:20] <skorket> wait, no...
[18:14:21] <amee2k> 0x...14 is mega328, 0x....0F is mega328P
[18:14:30] <amee2k> http://www.wiki.elektronik-projekt.de/mikrocontroller/avr/signature_bytes#atmega
[18:14:45] <amee2k> check the settings in whatever software you are using to program the controller
[18:15:16] <amee2k> chances are it has the wrong device configured somewhere
[18:15:24] <skorket> amee2k, I have given it the option for a 328p but I don't see where to set it for a 328
[18:15:45] <skorket> i.e.: avrdude -c usbtiny -p m368p -U flash:w:foo.hex
[18:16:28] <amee2k> hmm you're right. its not in my man page either. does it work if you just leave off the 'p'?
[18:17:07] <skorket> "avrdude: AVR part "m368" not found."
[18:17:36] <amee2k> its 328, not 368 ;)
[18:18:53] <skorket> whoops, sorry: 'avrdude: AVR Part "m328" not found."
[18:21:32] <amee2k> then it looks like the (non-P) 328 isn't supported for some reason
[18:21:47] <amee2k> (which i find somewhat peculiar, but possible)
[18:22:31] <skorket> hmm, what if I just treat it as a 328p? For example, I think this is what this guy did: http://arduino.cc/forum/index.php?topic=58670.0
[18:23:46] <amee2k> you can probably make a copy of the 328p config, all the device specific stuff is in a config file, typically /etc/avrdude.conf if you have it installed globally
[18:24:36] <amee2k> and rename it to just 328 and change the signature config. i'd say it'll probably work to at least some degree
[18:25:12] <skorket> amee2k, do you have a sense of where it might fail?
[18:25:28] <amee2k> yes, while checking the device signature ;)
[18:26:16] <amee2k> every type of AVRs has a 3 byte signature that identifies the type. and the first thing that the programming software typically does is use that to check that you've got the right kind of device configured
[18:26:40] <skorket> but otherwise programming via the isp is all pretty much uniform?
[18:27:45] <amee2k> i vaguely recall that avrdude has an option to skip the sanity check though
[18:27:54] <skorket> it does...
[18:28:12] <amee2k> you could use that and see if it flashes properly
[18:28:38] <amee2k> if it works the, you can still edit the config
[18:29:20] <amee2k> i'm not familiar with the difference between P and non-P variants but from that message board it seems to work reasonably well
[18:29:44] <skorket> Yeah, I'm lazy, I just edited the .conf file. Seems to be working. I'm just worried that it might fail at some future date because of some incompatability between the 328p and the 328
[18:31:34] <skorket> Anyway, weird that avrdude wouldn't have support for it, especially since it's such a minor change
[18:32:52] <amee2k> yeah, i was kinda surprised by it too
[18:33:31] <amee2k> you could pop into their source tree and check out the config file for the latest version. maybe they added an entry for it in the meantime
[18:36:05] <skorket> latest source I see is from October last year and the .conf file has no entry fro 328
[18:39:53] <skorket> yeah, they probably just haven't gotten around to it. avrdude seems to not have a lot of updates.
[18:40:00] <skorket> ok, well, thanks for your help
[18:42:33] <amee2k> you're welcome :)
[19:13:01] <nevdull> #falcon
[21:09:26] <learningc> can anyone access this website? http://hacklab.to/
[21:13:15] <OndraSter> I can
[21:15:33] <learningc> I guess it's just me then
[22:18:13] <Landon> include guards are
[22:18:19] <Landon> #ifndef KEYPAD_H
[22:18:22] <Landon> #define KEYPAD_H
[22:18:26] <Landon> [...]
[22:18:27] <Landon> #endif
[22:18:28] <Landon> correct?
[22:18:43] <Landon> avr-gcc seems to be ignoring it :\
[22:20:11] <OndraSter> yes, this way
[22:30:09] <dirty_d> Landon, why do you say that
[22:31:36] <Landon> I'm getting "multiple definition" errors
[22:31:54] <Landon> in an extremely simple setup, that's the only explanation I can come up with
[22:32:38] <dirty_d> put it on pastebin or something
[22:33:27] <dirty_d> ive had that hepen to be, and it ended up being that i #included twi.c instead of twi.h :/
[22:33:45] <dirty_d> copy and paste can me a mofo
[22:34:29] <Landon> http://pastebin.com/v9Tg1Fmg
[22:36:47] <dirty_d> char col1table[] = {'1','4','7','*'};
[22:36:53] <dirty_d> those need to be in the C file
[22:37:05] <dirty_d> they are indeed being defined twice
[22:37:15] <dirty_d> once in keypad.c once in main.c
[22:37:16] <dirty_d> brb
[22:38:50] <Landon> aha
[22:38:53] <Landon> it worked
[22:39:08] <Landon> I'll have to be more careful about that one then
[22:39:19] <dirty_d> cool