#avr | Logs for 2012-06-03

Back
[00:09:45] <CapnKernel> quite. after all that excitement my V flag is set
[00:14:38] <Casper> o/ inflex
[00:18:54] <inflex> ta
[00:21:44] <Casper> man this will be depressing
[00:22:00] <Casper> the floor....
[00:22:13] <Casper> http://img713.imageshack.us/img713/9661/img3320.JPG ← nowlook like this :(
[00:25:45] <inflex> vinyl floor ripped up?
[00:26:42] <Casper> http://img62.imageshack.us/img62/4729/img3316rz.jpg ← that was 3 days ago
[00:28:50] <ferdna> looks messy
[00:29:13] <Casper> look ugly you mean :(
[00:31:19] <Casper> now it's the waiting time...
[00:31:24] <Casper> basement got flooded
[00:51:32] <iR0b0t1> In TWI comms, is the slave holding the clock line low after the master initiates a start condition required?
[01:13:24] <Kevin`> iR0b0t1: no, the slave doesn't have to do clock stretching. it can do it on data too though
[01:14:08] <iR0b0t1> So I mean
[01:14:12] <Kevin`> iR0b0t1: also, clock is high during a start bit
[01:14:22] <iR0b0t1> How do you know what the clock speed will be?
[01:14:45] <Kevin`> you set it on the master
[01:15:11] <Kevin`> on the slave, you don't know. if applicable you need to specify the maximum the device can handle
[02:08:05] <other019> hi ondra
[02:08:13] <other019> ahoj
[02:10:29] <OndraSter> hi
[02:11:22] <other019> how R U and How is Ur project?
[02:11:40] <OndraSter> both fine, thanks
[02:11:49] <OndraSter> just need all the people to pay me debts!
[02:11:55] <OndraSter> so I can order all the bits and pieces
[02:13:15] <other019> have U code for it in cloud? If yes, could U share link to it?
[02:14:21] <OndraSter> nope
[02:14:28] <OndraSter> just screenshots from the board
[02:14:58] <OndraSter> http://clip2net.com/page/m12051/29458177
[02:14:59] <OndraSter> http://clip2net.com/page/m12051/29458150
[02:15:07] <other019> ok. Can you recommend any book for assembler x86 or AVR?
[02:15:40] <Casper> avr.... datasheet!
[02:15:41] <OndraSter> reference manual
[02:15:43] <OndraSter> ye
[02:16:24] <other019> but i don't know nearly any thing about writing in asembler
[02:16:56] <other019> so i think it should be something easier
[02:18:29] <other019> but thanks
[02:40:22] <drgreenthumb> heh OndraSter the more I look at the xmega you linked me to, the more I like it. looks like I might be able to set up my LCD as a memory mapped perhiperal and transfer data direct from SRAM without spending a lot of CPU time doing it. neat :)
[02:40:43] <OndraSter> hmm?
[02:40:47] <OndraSter> it hasn't got EBI
[02:40:48] <OndraSter> :(
[02:40:52] <OndraSter> I wish it did
[02:40:57] <OndraSter> but only A1 does
[02:42:48] <drgreenthumb> oh damn I missed this table
[02:45:37] <drgreenthumb> huh is the a1u hard to find or what? digikey doesn't seem to have it
[02:46:10] <drgreenthumb> heh it's probably some huge BGA thing anyway
[02:46:20] <OndraSter> 100pin TQFP available too
[02:46:26] <OndraSter> but a1u is pretty much just a wish :)
[02:47:17] <OndraSter> but I bet you can do it faster than memory mapped
[02:47:19] <drgreenthumb> oh hey no digikey does have them
[02:47:23] <OndraSter> if you do inline function:
[02:48:16] <drgreenthumb> well they have the 128 version anyway http://www.digikey.com/product-detail/en/ATXMEGA128A1-AU/ATXMEGA128A1-AU-ND/1886254
[02:48:40] <drgreenthumb> heh yeah probably not worth twice the money and much finer pitch just for that feature
[02:50:08] <drgreenthumb> OndraSter, yeah I'm sure if I wrote optimized code I could make it work faster. what sounded nice was being able to e.g. read from my wireless network device and not be interrupted by drawing code.
[02:50:27] <drgreenthumb> so, more time for other things.
[02:51:09] <OndraSter> arrgh I switched to channel 6 yesterday (wifi) and it is superslow
[02:51:15] <OndraSter> time to go back to channel 2
[02:51:38] <OndraSter> (I haven't made survey to check what is used, but last time they were used around 10 - 13... all the wifis around)
[02:52:18] <drgreenthumb> also I was wondering if I could set it up really slick so that if I wrote to that section of shared SRAM it would just push out my changes to the display. that would be pretty awesome. no idea if it's even possible :P
[02:52:54] <drgreenthumb> heh but there's really not room for a full display of data anyway, it's just a dumb dream
[02:53:17] <OndraSter> duh I gotta get up, the RDP is terrible!
[02:53:18] <OndraSter> afk
[03:01:52] <OndraSter> as weird as it may sound, middle (high) school learned me actually a LOT of things
[03:01:59] <OndraSter> regarding electronics, measuring etc
[03:02:09] <OndraSter> tought me*
[03:08:00] <rue_mohr> :)
[03:08:35] <OndraSter> not sure if it is like that everywhere, but from what I heard, people often say that they haven't learned anything
[03:08:44] <rue_mohr> drgreenthumb, the display has built in memory
[03:09:29] <rue_mohr> here in canada practical things have been dropped from the public schools in favor of things like statistics and politics
[03:09:38] <OndraSter> lol
[03:09:53] <drgreenthumb> rue_mohr, yeah. I was just hoping for a little help shifting out changes. and I'm sleepy and reading about the XMEGA AU :P
[03:10:19] <OndraSter> the price of the a3u is just awesome
[03:10:19] <rue_mohr> sorry, I dont do xmega
[03:10:26] <OndraSter> 256a3u
[03:10:35] <OndraSter> but no EBI :X
[03:10:39] <drgreenthumb> I'll probably go for the 192
[03:10:44] <OndraSter> 192a3u?
[03:10:55] <rue_mohr> I use 8 bit controllers as smart io devices and have any heavy computations or transfers done by an x86 processor
[03:10:59] <drgreenthumb> yeah. couple dollars cheaper
[03:11:14] <drgreenthumb> and my software will probably fit in 32k. don't really need 256 :)
[03:11:38] <rue_mohr> I wish for someone to make a 4 digit xmega watch
[03:11:47] <OndraSter> ignore digikey, drgreenthumb
[03:11:50] <OndraSter> check out mouser
[03:11:59] <OndraSter> 256a3u on mouser is cheaper than 192 on digikey
[03:12:01] <rue_mohr> if your in canada dont buy from mouser
[03:12:07] <OndraSter> why?
[03:12:23] <OndraSter> it is not mauser, I know :-)
[03:12:28] <rue_mohr> if it comes in over the border it gets $50 border tax
[03:12:34] <OndraSter> duh
[03:12:36] <rue_mohr> per package
[03:12:49] <OndraSter> bloody canada taxes then!
[03:12:49] <rue_mohr> and mouser likes to send small orders in multiple boxes
[03:13:16] <OndraSter> ok, crossing canada off the "possibly move to" list
[03:13:21] <OndraSter> only brits and USA left there
[03:13:22] <rue_mohr> tho anyhing dk dosn't carry, mouser does
[03:13:41] <OndraSter> I found mouser lack any Xilinx and Altera and ADI parts
[03:13:45] <OndraSter> (except few dev boards from Xilinx)
[03:14:03] <rue_mohr> anything mouser dosn't carry, dk does
[03:14:05] <OndraSter> :D
[03:14:14] <OndraSter> but digikey shipping here = $40 or $50
[03:14:14] <rue_mohr> its kinda annoying
[03:14:27] <rue_mohr> hmm, its flat rate $8 in canada
[03:14:28] <OndraSter> tell me about that ;D
[03:14:32] <OndraSter> well canada
[03:14:35] <OndraSter> I am from the EU
[03:14:39] <rue_mohr> ah
[03:14:44] <OndraSter> I found reseller from mouser here in CZE
[03:14:48] <OndraSter> that can do shipping for $5
[03:14:59] <rue_mohr> order from china
[03:15:10] <OndraSter> not sure if I would want to order xmega chips from china
[03:15:25] <rue_mohr> uh, they come from china anyhow...
[03:15:30] <OndraSter> well yes
[03:15:35] <drgreenthumb> OndraSter, heh digikey beats mouser in tqfp
[03:15:35] <OndraSter> but copycats live in china too
[03:15:43] <OndraSter> yeah, but I am going for QFN :)
[03:15:46] <drgreenthumb> and mouser doesn't even offer the 192 so I can't compare
[03:15:57] <OndraSter> hmm
[03:16:04] <rue_mohr> so, you want it shipped from china to the usa so it can be shipped to the uk
[03:16:06] <drgreenthumb> it's a couple bucks cheaper and in quanty they beat mouser too :P
[03:16:10] <rue_mohr> nowonder the world is doomed
[03:16:35] <OndraSter> (I am not in the UK but okay)
[03:16:38] <OndraSter> pretty much
[03:16:43] <OndraSter> because it goes through official distributor
[03:16:51] <OndraSter> thus you have at least some assurance that it will be original part
[03:16:51] <rue_mohr> sorry, eu
[03:17:36] <rue_mohr> well its 1am
[03:17:40] <drgreenthumb> mouser tends to be my backup plan
[03:17:43] <rue_mohr> I suppose I cant stay up forever
[03:17:50] <drgreenthumb> heh yeah it is 1am for me too :)
[03:17:52] <OndraSter> I went to sleep at 3am
[03:17:58] <OndraSter> and get up at 10
[03:17:59] <drgreenthumb> you in california rue_mohr?
[03:18:07] <OndraSter> (Y U NO LEARN 24H MODE!)
[03:18:07] <rue_mohr> no, bc canada
[03:18:11] <drgreenthumb> ah.
[03:19:00] <drgreenthumb> heh I suppose it's only about $1 more for the 256
[03:19:04] <drgreenthumb> what the heck ;p
[03:19:19] <drgreenthumb> I'll find features to fill it up with!
[03:19:38] <OndraSter> exactly :D
[12:51:33] <Corwin> why so silent today ?
[13:02:27] <Casper> Corwin: why not?
[13:04:59] <Corwin> im bored.... just took online Obsessive-Compulsive Disorder test....
[13:05:01] <Corwin> it would be advisable and likely beneficial for you to seek a professional diagnosis from a trained mental health professional in your community immediately.
[13:05:03] <Corwin> :)
[13:06:44] <Corwin> wanted to play with TFT display today... showed AVR's are too slow to do that
[13:08:47] <Corwin> any idea what to use as LED driver for 80 LEDs?
[13:08:58] <Corwin> (dont want to drive them with AVR directly)
[13:09:06] <Tom_itx> ask ondraster
[13:09:47] <Casper> all independently? or one string?
[13:09:55] <Corwin> independently
[13:10:25] <Casper> so an array....
[13:13:03] <Corwin> my first idea was using 5x TLC5940, but since i dont really need PWM i was hoping for single-chip solution
[13:13:09] <Corwin> just no idea what to look for
[13:48:57] <slicetech> I'm having trouble with the ACD on my nerdkits. Its works in 1024 steps, I'm supplying a reference voltage of 5v, and varying the input voltage from 0 to 5v.... I would think the values returned when then vary from 0 to 1023 (1024 steps) based on the voltage changes... instead I get a minimum of 1024 and a max of 9800. Any idea why this could be? (I have verified voltage using a dmm and its
[13:48:57] <slicetech> exactly as expected).
[13:58:11] <specing> left adjust?
[13:58:53] <specing> hmm
[13:59:31] <specing> Or your bitwise arithmetic skills could use some improvement
[13:59:46] <specing> Or your communication proto is faulty
[14:06:13] <drgreenthumb> Corwin|away, heh I'm driving a TFT with an 8Mhz AVR. looking at it right now :P you just need one with a parallel or serial interface and it's own memory, instead of having to constantly feed it RGB data :)
[14:07:11] <drgreenthumb> of course, playing MPEG video is out ;) but it's fine for dispaying a menu based GUI and some pretty pics.
[15:08:53] <JyZyXEL> if i use a USART RX interrupt, how do i get the received data?
[15:21:02] <Kev> JyZyXEL you can read one byte from UDR
[15:21:06] <Kev> as far as i remember
[15:22:41] <JyZyXEL> looks like i didn't even get that far as i can't figure out how to get a USART rx interrupt to work
[15:23:04] <JyZyXEL> thought it was gonna be as easy as doing sei(); and then ISR(USART_RX_vect) { ... }
[15:24:22] <Kev> yeah something like that
[15:24:27] <specing> JyZyXEL: And when did you enable that interrupt?
[15:25:20] <JyZyXEL> in my main
[15:25:33] <JyZyXEL> before the while(1) { ; }
[15:26:23] <specing> _that interrupt_
[15:26:53] <JyZyXEL> i thought sei() enabled them all?
[15:27:32] <specing> Well then, did you define all other 50 interrupt vectors?
[15:27:56] <JyZyXEL> i only defined an ISR for USART_RX_vect
[15:28:30] <specing> So... what would enabling all interrupts cause?
[15:29:09] <JyZyXEL> hmm probably nothing because i don't have handler for the other ones
[15:29:32] <specing> (if you still don't get the hint.. UCSRA)
[15:30:00] <Corwin> isnt that UCSRB ?
[15:30:19] <specing> Could be
[15:30:26] <JyZyXEL> i thought it was common practice to use sei() to enable interrupts
[15:30:33] <specing> That is what the datasheet is for: to look up stuff
[15:30:55] <Corwin> JyZyXEL, get datasheet and read about control registers
[15:30:59] <Corwin> for UART
[15:31:00] <specing> JyZyXEL: global flag
[15:31:03] <JyZyXEL> i read about interrupts
[15:31:09] <JyZyXEL> it says to use __enable_interrupt()
[15:31:15] <JyZyXEL> instead of sei()
[15:33:22] <JyZyXEL> the USART doc itself has examples for non-interrupt rx and tx
[15:33:32] <Corwin> JyZyXEL, sei() allows enabled interrupts to work... unless you enable RX interrupt in UART control registers, nothing will happen
[15:33:33] <JyZyXEL> thats what i've been using
[15:34:13] <Corwin> find "UART Control registers" section in datasheet
[15:34:19] <JyZyXEL> oh it seems to be the RXCIE
[15:34:21] <Corwin> and read bit descriptions
[15:34:25] <Corwin> yes
[15:34:30] <JyZyXEL> RX Complete Interrupt Enable
[15:34:31] <Corwin> (i think)
[15:34:42] <Corwin> yes
[15:35:07] <JyZyXEL> its in the 8 bit UCSRB register i believe
[15:37:34] <JyZyXEL> so after sei(); i should do UCSRB |= (1<<RXCIE);
[15:37:47] <Corwin> more likely before
[15:39:53] * specing <NoteToSelf> default crt is dumb </NoteToSelf>
[15:40:14] <Corwin> notes to self are useless
[15:40:24] <JyZyXEL> great! now its working
[15:40:43] <Corwin> so... its alive?
[15:42:16] <JyZyXEL> it is! and now to make it smart..
[15:44:32] <Corwin> what are you trying to build anyway ?
[15:45:00] <Corwin> AVR powered artificial inteligence that will take over the world?
[15:45:32] <JyZyXEL> im just taking another shot at code i made earlier
[15:45:51] <JyZyXEL> it worked fine until massive EMI...
[15:45:52] <specing> JyZyXEL: Try coding an interactive shell
[15:46:29] <JyZyXEL> so im probably just wasting my time trying to make a firmware that "supposedly" is able to handle it with out too much chaos
[15:49:32] <JyZyXEL> USB relay board switching mains loads causes massive EMI
[15:52:20] <specing> JyZyXEL: Do you have a diode in line with the relay?
[15:52:58] <JyZyXEL> its not the relay coil causing the problem but the actual switching
[15:53:23] <JyZyXEL> and yes of course the coil has a diode
[15:54:01] <JyZyXEL> adding a bunch of ferrite and opto isolators didn't help either
[15:55:58] <JyZyXEL> it really would need proper EMI design, probably with metal cans
[15:56:22] <specing> JyZyXEL: I've switched relays before and I didn't have problems doing it
[15:56:35] <JyZyXEL> with what loads?
[15:56:51] <specing> 12V 10A
[15:57:11] <JyZyXEL> try a 220VAC transformer
[15:58:01] <specing> I'd think DC causes more massive interference
[15:59:10] <JyZyXEL> don't really know and certainly don't have any equipment to measure it
[16:16:25] <JyZyXEL> hmmm weird, im not sure if UDR has the data that was received
[16:19:00] <JyZyXEL> oh maybe its the fact that its a shared register with TX buffer
[16:20:33] <JyZyXEL> hmm no thats not it either
[16:29:53] <JyZyXEL> i don't understand why its not working
[16:30:04] <JyZyXEL> UDR doesn't seem to contain the received char
[16:35:13] <Corwin> are you sure you are sending in data in correct speed?
[16:35:51] <JyZyXEL> well yeah because this all was working before i started converting it to interrupt based
[16:38:43] <JyZyXEL> this is annoying it really should work
[16:40:28] <OndraSter> http://www.islandsoft.cz/img/jokes/6.jpg
[16:41:22] <Corwin> hey OndraSter
[16:41:33] <OndraSter> ey Corwin
[16:41:44] <drgreenthumb> hey OndraSter are you going to produce your xmega board for sale? or is it just personal use? I'd like one to play with in a month or two if you've got one :)
[16:41:47] <Corwin> ... what would you use to drive 80 leds individualy? (standalone LED driver IC, not avr)
[16:41:57] <drgreenthumb> ooh you're so popular!
[16:42:08] <OndraSter> drgreenthumb, I will sell them obviously, but I need to order them first :)
[16:42:11] <OndraSter> and solder them second
[16:42:38] <drgreenthumb> heh cool OndraSter. just wondering. put me on your potential customers list or whatever :)
[16:42:39] <OndraSter> Corwin, probably some FPGA, simple resistors to limit the current and then use PWM inside the FPGAs :)
[16:42:59] <Corwin> pwm not needed
[16:43:03] <OndraSter> oh
[16:43:03] <Corwin> just LED on and off
[16:43:10] <drgreenthumb> oh and I'd take it in kit form, if you just want to pack up the parts and board OndraSter
[16:43:13] <OndraSter> well then, bunch of those TI 16bit constant current registers?
[16:43:16] <OndraSter> shift registers*
[16:43:24] <OndraSter> drgreenthumb, hmm you want to solder it? =)
[16:43:38] <drgreenthumb> I can. unless you've got a nice production system going already.
[16:43:52] <OndraSter> none
[16:43:53] <drgreenthumb> I'd suggest making stencils and solder paste if you're going to production :)
[16:44:10] <drgreenthumb> which makes things a little easier
[16:44:21] <OndraSter> and panelizing and what not so I can stencil multiple boards at once... but like I said, first batch = 5 or 10 boards, parts for 2 or 3 for test
[16:44:52] <drgreenthumb> heh just get parts for all
[16:45:00] <OndraSter> :)
[16:45:00] <drgreenthumb> seriously
[16:45:03] <OndraSter> really few parts
[16:45:06] <drgreenthumb> it'll work out cheaper
[16:45:18] <drgreenthumb> and you'll have a bunch of extra caps etc for the next run
[16:45:31] <OndraSter> I have two reels of 100nF caps and one reel of 4k7 resistors.
[16:45:31] <drgreenthumb> and buy like 10x usb headers. or whatever the price break is.
[16:45:52] <OndraSter> prices:
[16:45:52] <OndraSter> 8,61 € 7,98 € 7,53 €
[16:45:59] <OndraSter> 1 board | 25 boards | 100 boards
[16:46:00] <OndraSter> (per board)
[16:46:18] <OndraSter> (not counting discounts for bigger board orders, I don't have quote on that)
[16:46:21] <drgreenthumb> hmm well. some parts are easier to buy for multiples
[16:46:24] <OndraSter> yes
[16:46:30] <drgreenthumb> e.g. I have tons of reels of caps and resistors ;)
[16:46:39] <OndraSter> I might buy 10uF reel of caps
[16:46:42] <drgreenthumb> since, might as well get a thousand ;)
[16:47:48] <drgreenthumb> when I did BumbleB, the crystals and the uC were the only two things I bought in limited numbers
[16:48:11] <drgreenthumb> everything else worked out tons cheaper if you just get like 100x ;)
[16:49:47] <OndraSter> :)
[16:50:00] <OndraSter> yes, I might grab 100 of the 10uF caps, reel is quite a lot
[16:50:04] <OndraSter> 10uF is "expensive"
[16:50:19] <OndraSter> 4000 = $.056
[16:50:25] <OndraSter> 100 = $.061
[16:50:35] <OndraSter> 224 bucks I ain't spending :)
[16:51:11] <OndraSter> those 100nF were like $17 for whole reel?
[16:51:19] <OndraSter> 12€ and $17 I think I paid
[16:51:25] <OndraSter> ones are Yageo, the others are Samsung I think
[16:51:48] <OndraSter> I accidentaly bought two reels :P
[16:52:39] <drgreenthumb> you can find cheaper 10uF caps than that I'm sure
[16:52:48] <drgreenthumb> start looking at whole reels instead of individuals
[16:52:49] <OndraSter> this is mouser
[16:52:52] <drgreenthumb> bleh
[16:53:01] <drgreenthumb> use digikey when it's cheaper. why not?
[16:53:02] <OndraSter> see, but digikey has 40 bucks shipping here :)
[16:53:06] <drgreenthumb> oh
[16:53:09] <OndraSter> unless I do >$200
[16:53:12] <OndraSter> which I don't want to
[16:53:55] <drgreenthumb> heh well if you want to seriously produce these, $200 will go fast
[16:53:57] <OndraSter> or is it $150
[16:53:58] <OndraSter> yes
[16:54:02] <OndraSter> but I am not sure about that :)
[16:54:12] <drgreenthumb> ah. hence the prototypes
[16:54:16] <OndraSter> yes
[16:54:16] <Corwin> yea.. i remember when i wanted to buy dragon from digikey :) ... $39 for dragon, $42 for shiping :)
[16:54:25] <drgreenthumb> have you had a second pair of eyes on your schematic OndraSter ?
[16:54:34] <drgreenthumb> I'd be happy to take a look with fresh eyes.
[16:54:44] <OndraSter> there is not much to check really :)
[16:54:55] <drgreenthumb> heh, alright :)
[16:55:05] <OndraSter> I posted last version here in the afternoon
[16:55:07] <OndraSter> let me find pics
[16:55:10] <drgreenthumb> then just make sure you have some solid DRC rules for the board
[16:55:14] <drgreenthumb> and you'll be fine
[16:55:18] <OndraSter> yes, the ones from iTead
[16:55:29] <OndraSter> http://clip2net.com/page/m12051/29476720
[16:55:34] <OndraSter> http://clip2net.com/page/m12051/29476698
[16:56:02] <drgreenthumb> I like how you managed to get all 6 ports out
[16:56:04] <drgreenthumb> nice
[16:56:06] <OndraSter> :)
[16:56:23] <OndraSter> the D port has only upto PD5
[16:56:26] <OndraSter> 6 and 7 are USB
[16:56:26] <drgreenthumb> gonna be big :P
[16:56:30] <OndraSter> not really :)
[16:56:31] <drgreenthumb> heh no biggie
[16:56:37] <OndraSter> 23x63mm I think
[16:56:42] <OndraSter> hmm for 4000 caps mouser is cheaper than on digikey actually :P
[16:56:46] <drgreenthumb> how many hoeles is that per side?
[16:56:48] <drgreenthumb> holes
[16:57:01] <OndraSter> well 3 ports = 24
[16:57:04] <OndraSter> + ground and power
[16:57:05] <OndraSter> => 26
[16:57:13] <OndraSter> just a bit more than DIP40 :)
[16:57:16] <drgreenthumb> so it's like DIP 52 :P
[16:57:19] <OndraSter> yep
[16:57:23] <OndraSter> not much difference :P
[16:57:31] <OndraSter> on the other hand look what are you getting :D
[16:57:44] <drgreenthumb> heh well. it's fantastic for prototyping.
[16:57:46] <OndraSter> two 12bit 2MSPS ADCs, 8 channels each
[16:57:52] <OndraSter> one 12bit 1MSPS DAC, 2 channels
[16:57:57] <OndraSter> 256kB flash
[16:57:57] <drgreenthumb> yeah noticed that
[16:58:00] <OndraSter> 16kB RAM
[16:58:00] <OndraSter> ...
[16:58:03] <OndraSter> thousand peripherals
[16:58:05] <drgreenthumb> the DACs are just PWM eh?
[16:58:06] <OndraSter> maybe two thousands!
[16:58:07] <OndraSter> no
[16:58:09] <OndraSter> real DACs
[16:58:10] <drgreenthumb> really?!
[16:58:11] <drgreenthumb> nice
[16:58:12] <OndraSter> yes :)
[16:58:25] <OndraSter> PWM is on PC - PF
[16:58:31] <OndraSter> (or PC - PE and PF doesn't have? hmm)
[16:59:29] <OndraSter> wow the xmega is ridiculously cheap @ 100
[16:59:32] <OndraSter> $3.87
[17:01:37] <Tom_itx> wow that's ridikkulous
[17:02:21] <OndraSter> ..
[17:02:31] <OndraSter> yep, TQFP version of the atmega wouldn't fit this board
[17:02:32] <OndraSter> http://clip2net.com/s/1ZQ2B
[17:03:03] <Tom_itx> i'm just happy things are falling to gether on my mill
[17:03:12] <OndraSter> :)
[17:03:30] <OndraSter> Tom_itx, yours breakout is qfn and 44 pins only, right?
[17:03:44] <Tom_itx> i believe so
[17:03:54] <Tom_itx> i started a tqfp one but didn't like it
[17:04:04] <OndraSter> 'kay
[17:04:09] <OndraSter> it's just that you suggested .6"
[17:04:09] <Tom_itx> so go qfn on it
[17:04:17] <OndraSter> but I can't go below .7" :)
[17:04:27] <Tom_itx> and 6mil traces
[17:04:30] <OndraSter> I stretched it today to .7" with a LOT of difficulties but I managed to do it
[17:04:31] <Tom_itx> or 4
[17:04:35] <OndraSter> 8mils tracks
[17:04:37] <OndraSter> are just fine
[17:04:38] <Tom_itx> 4 may be pushing it
[17:04:50] <OndraSter> and 8 - 10mil spacing between lines
[17:04:54] <Tom_itx> meh
[17:05:19] <OndraSter> the pins themselves are like 10mils
[17:05:26] <Tom_itx> oh
[17:05:34] <OndraSter> 12 mils
[17:05:38] <OndraSter> even
[17:05:55] <OndraSter> pads*
[17:05:59] <Tom_itx> just finished rewiring my stepper motors after rewiring the limit switches using shielded wire this time
[17:06:07] <OndraSter> :)
[17:06:07] <Tom_itx> that helped
[17:06:28] <Tom_itx> now either a cap or software debounce should wrap it up
[17:06:38] <Tom_itx> and bump up the current on the drivers
[17:06:45] <Tom_itx> to 3.5 or 4 A
[17:06:49] <OndraSter> hmm should I debounce the reset button or not?
[17:06:57] <OndraSter> there is internal wait flag
[17:07:12] <OndraSter> plus it would interfere with JTAG reset and PDI
[17:07:20] <OndraSter> that uses reset as clock
[17:07:28] <Tom_itx> no just a pullup
[17:07:36] <OndraSter> done
[17:08:24] <Tom_itx> use a smaller reset button too
[17:08:37] <OndraSter> I am using 5.2mm x 5.2mm ones
[17:08:56] <OndraSter> how does one mark those ESD suppresors on USB datas? I am using CR as they were in some Atmel datasheet
[17:09:00] <OndraSter> but it looks weird
[17:09:36] <Tom_itx> say what?
[17:10:01] <drgreenthumb> they're just diodes. label them as diodes.
[17:10:01] <OndraSter> well you have C for capacitors, R for resistors, how do you mark those ESD suppresors
[17:10:04] <OndraSter> okay
[17:10:16] <Tom_itx> oh yeah i just marked them as D1 D2
[17:11:51] <drgreenthumb> heh OndraSter I'm wondering if I could fit lua or some other small script language on it, load up scripts from SD. then I'll have like infinite programming room. still heavily resource constrained in other ways of course, but it might be fun :)
[17:12:03] <OndraSter> yeah
[17:12:17] <OndraSter> I am fairly sure you could write LUA interpreter
[17:12:31] <drgreenthumb> or just hack up lua itself ;)
[17:12:33] <OndraSter> with a bit of luck one could also fit there .NET micro framework
[17:12:35] <OndraSter> :P
[17:12:38] <drgreenthumb> which I just did with libtga
[17:12:51] <OndraSter> but I know that I am the only one here who loves .NET
[17:12:54] <drgreenthumb> make it a bit - trimmer. those programmers just don't thnk about us ;)
[17:13:28] <OndraSter> I'd actually prefer AVR simulator on the AVR
[17:13:33] <OndraSter> one could run regular AVR firmwares :)
[17:13:37] <drgreenthumb> haha
[17:13:52] <OndraSter> and yes, I thought about that :D
[18:27:30] <iR0b0t1> Aaaaaaaah .NET micro
[18:27:32] <iR0b0t1> why is that a thing
[18:29:52] <OndraSter> :P
[18:29:59] <OndraSter> believe me, it is supereasy to develop in
[18:42:05] <Tom_itx> yay, steppers all rewired
[18:42:15] <Tom_itx> soft debounce appears to work
[19:13:11] <OndraSter> is it possible that your head hurts when the wifi waves are coming right through your head?
[19:13:49] <Casper> no
[19:14:05] <OndraSter> well my head did hurt
[19:14:17] <Tom_itx> so why does mine hurt then?
[19:14:45] <Casper> placebo effect?
[19:14:47] <OndraSter> I have grabbed my tablet pc and turned it into ethernet -> wifi router
[19:15:03] <OndraSter> because my main wifi router has serious problems... I need to buy new one... someday
[19:15:16] <OndraSter> and it is in my work room... which is right "behind" me
[19:15:21] <OndraSter> dunno
[19:15:23] <OndraSter> might be placebo
[19:15:25] <OndraSter> might not!
[19:15:35] <Casper> 100mW of heat... won't do much
[21:05:23] <Xark> Hi, I believe I have found a bug in avr-objdump (v2.19). I would appreciate it if somebody here might double check that I am not just confused. :) Given a two line asm source file that generates this asm listing:
[21:05:25] <Xark> 1 0000 0490 lpm r0,Z ; (ii) explicit without post-increment
[21:05:26] <Xark> 2 0002 0590 lpm r0,Z+ ; (iii) explicit with post-increment
[21:05:28] <Xark> This avr-objdump -d output looks incorrect to me (different op-codes, same disassembly):
[21:05:29] <Xark> 0: 04 90 lpm r0, Z+ [INCORRECT, should not have post-increment]
[21:05:31] <Xark> 2: 05 90 lpm r0, Z+ Seem like a bug to you?
[23:53:57] <Valen> ey abcminiuser http://www.sparkfun.com/products/11117
[23:54:29] <abcminiuser> Mmm?
[23:54:38] <Valen> 's got lufa bootloader in it
[23:54:51] <Valen> more credit for you ;->
[23:55:06] <Valen> how did those soaps and stuff go btw?
[23:56:10] <abcminiuser> Neat
[23:56:24] <abcminiuser> OK, couldn't bring the rest with me here tho :(
[23:56:41] <abcminiuser> At the end of the year when I go back for a short time I think I'll randomly send the rest out
[23:58:41] <Valen> neato
[23:58:47] <Valen> hows life in frostyville?