#avr | Logs for 2012-05-24

Back
[01:06:11] <drgreenthumb> hmm I think ATXMEGA128D3 might be the chip for my remote control. cheap, lots of ram, lots of IO, and even has some support for IR. anyone have opinions about it, or any gotchas to watch out for?
[01:35:27] <Casper> drgreenthumb: isn't that overkill for a remote control?
[01:36:25] <drgreenthumb> Casper, it's going to have an LCD display and talk on a personal area network. which will deliver lists of available things to watch and icons, graphics, etc.
[01:36:36] <drgreenthumb> yes it's overkill :P
[01:37:37] <drgreenthumb> main thing though is I'd like whatever I choose to have at least enough RAM to hold one full display of 160x128 RGB data. so I can do alpha over background.
[01:38:29] <drgreenthumb> don't really *need* that I suppose. I could do some cheap repeating pattern for background.
[01:38:43] <drgreenthumb> but might as well make this slick, right? :)
[01:53:58] <drgreenthumb> oh hrm I was looking at flash size. RAM sizes are much smaller. darn this table is too big.
[02:05:02] <drgreenthumb> guess I could throw one of these on. then I'll have a lot of room to play. http://www.digikey.com/product-detail/en/NP5Q128A13ESFC0E/NP5Q128A13ESFC0E-ND/2176526
[03:08:28] <jacekowski> drgreenthumb: not really
[03:09:47] <drgreenthumb> hrm maybe what I'll do is just read the background from an mmc. and use it for a cache too.
[03:56:15] <karlp> drgreenthumb: the eagle footprint for the MRF24J40 has been tested, it's pins partly because I'm a cheapskate, at least in theory, and use pin sockets to mount them in.
[03:56:37] <karlp> it helps somewhat too if you want to mount other thingsunderneath.
[03:56:59] <karlp> Other things in that library are still being tested.
[06:14:35] <OndraSter> Dear Customer,
[06:14:35] <OndraSter> I have received confirmation from our internal team, Yes, A3/D3 devices with Rev F and Rev G work in PDI mode with AVR Dragon, in AVR Studio6.
[06:14:35] <OndraSter> So, xmega256a3u with revG works in PDI mode with AVR Dragon, in AVR Studio6..
[06:14:35] <OndraSter> Hope this helps.
[11:20:54] <DarkSector> Oh man I want a Dragon so bad
[11:21:00] <DarkSector> I mean AVR Dragon of course
[11:21:15] <DarkSector> with the advent of SpaceX someone might mistake it for a space shuttle
[11:21:25] <OndraSter> so get it
[11:21:27] <OndraSter> go get it boy!
[11:21:30] <OndraSter> it is cheap.
[11:21:34] <OndraSter> compared to.. everything else
[11:21:38] <DarkSector> The exchange rate makes it double.
[11:21:57] <DarkSector> well the shipping is $40
[11:22:04] <DarkSector> and the actual cost of the Dragon is $49
[11:22:22] <DarkSector> so no.
[11:23:52] <OndraSter> where from?
[11:23:55] <OndraSter> where to?
[11:26:38] <DarkSector> US to India
[11:27:46] <OndraSter> oh
[11:28:07] <Tom_itx> they don't like you
[11:28:14] <DarkSector> Inorite
[11:28:20] <DarkSector> http://in.element14.com/atmel/atavrdragon/emulator-programmer-for-avr/dp/1455088?Ntt=AVR+Dragon
[11:28:27] <DarkSector> it's supposed to cost 2k
[11:28:29] <DarkSector> it costs 4
[11:28:36] <OndraSter> fuck ele14/farnell
[11:28:40] <OndraSter> what about mouser or digikey?
[11:29:01] <DarkSector> The $40 shipping is the problem
[11:29:03] <DarkSector> nothing else
[11:29:04] <OndraSter> (sorry, I bought many stuff from farnell before I found out about local reseller of mouser that can get me 4€ shipping)
[11:29:13] <OndraSter> hmm
[11:30:04] <DarkSector> http://in.mouser.com/ProductDetail/Atmel/ATAVRDRAGON/?qs=bfm%2fOTQPtMSBdktIZaKRJg%3d%3d
[11:30:13] <DarkSector> but how do I know how much shipping they'll charge
[11:30:22] <OndraSter> check their shipping calculator
[11:30:44] <OndraSter> it is there.. somewhere
[11:30:45] <DarkSector> Err where's that, do you have to login for that?
[11:30:51] <OndraSter> no
[11:30:54] <DarkSector> Searching
[11:31:01] <OndraSter> just search the internet for mouser shipping calculator
[11:31:01] <DarkSector> Found it
[11:31:03] <OndraSter> ok
[11:31:18] <DarkSector> yeah it's 40USD
[11:31:20] <DarkSector> http://in.mouser.com/EstimateShipping/EstimateShipping.aspx
[11:31:43] <OndraSter> weill better $48+$40 on mouser than $100+$40 on farnell (or whatever was the farnell)
[11:31:44] <OndraSter> :)
[11:31:49] <OndraSter> add few chips to the order
[11:32:07] <OndraSter> for orders >$200 you get free shipping usually btw (again check the calculator)
[11:32:22] <DarkSector> Well I need stuff from Sparkfun actually
[11:32:37] <DarkSector> hang on let me see if my brother is coming anytime soon
[11:32:45] <DarkSector> I'll get him to bring it
[11:33:15] <OndraSter> from the US?
[11:33:47] <DarkSector> yeah
[11:33:55] <DarkSector> Oh no he's not coming anytime soon
[11:34:03] <DarkSector> nvm... squashed hopes.
[11:34:57] <DarkSector> woah
[11:35:03] <DarkSector> Digikey's selling it for 50
[11:35:29] <DarkSector> well it's usually 48 so no problem
[12:20:01] <drgreenthumb> yay my LCD is on the way :) heh that means I just ran out of IO on my mega168. I'll have to switch to one of these beasts http://parts.digikey.com/1/parts/552262-ic-avr-mcu-32k-8mhz-3v-40dip-atmega32l-8pu.html to prototype this
[12:20:35] <Steffanx> or something newer?
[12:20:56] <drgreenthumb> heh well, I have it here, it fits my breadboard, and it has a gajillion IOs :P
[12:21:07] <Steffanx> Ah, you already have it
[12:21:20] <drgreenthumb> but I'll have to rebuild my circuit. heh yeah already having it is the main feature :)
[12:21:27] <OndraSter> drgreenthumb, what's in gonna be in the end?
[12:21:36] <Steffanx> magic
[12:21:38] <drgreenthumb> fancy remote control
[12:21:40] <OndraSter> oh
[12:21:46] <OndraSter> you ordered the LCD from where?
[12:22:20] <drgreenthumb> http://www.newhavendisplay.com/nhd18128160tfctxi-p-4981.html direct from them
[12:22:29] <drgreenthumb> plus that little breakout board below it
[12:22:33] <OndraSter> ah
[12:22:49] <drgreenthumb> need about a dozen IOs including one full port
[12:23:33] <drgreenthumb> I actually do have a bunch of PCA9555 I could probably do this over an IO expander, just to slow everything down :P
[12:24:08] <drgreenthumb> nah I'll just rebuild it.
[12:26:30] <drgreenthumb> 13 if I want /RESET too
[12:32:45] <specing> Wow, ATmega32 is EXPENSIVE
[12:33:18] <OndraSter> yes :)
[12:33:26] <OndraSter> that's why I am making breakout for xmega256a3u
[12:33:26] <OndraSter> !
[12:33:37] <OndraSter> doesn't even need programmer, it will be preflashed with some kind of USB bootloader
[12:35:05] <Steffanx> some kind :P
[12:35:08] <Steffanx> DFU you mean :)
[12:35:47] <karlp> or more importantly, if it's not DFU, you've done it wrong :)
[12:36:13] <drgreenthumb> wow I love how the ports are arranged on this huge 40 pin PDIP. 2 ports per side, all four ports fully contiguous. that's easy to remember :)
[12:36:27] <OndraSter> yep
[12:37:41] <drgreenthumb> plus the pin numbers always increase from the little notch downwards. they really thought this out :)
[12:38:37] <drgreenthumb> oh heh. except port c. which is the evil port.
[13:00:41] <CapnKernel> drgreenthumb: That's too good.
[13:00:51] <CapnKernel> Except for the C port :-)
[13:03:39] <drgreenthumb> hrm hooking up three devices to an SPI bus on a breadboard is a bit tough. I have a lot of datasheets open at once here.
[13:10:51] <OndraSter> yeah
[13:10:55] <OndraSter> I wish I had 3 or 4 screens sometimes :)
[13:11:01] <OndraSter> 2 for doing boards is not enough often
[13:11:05] <OndraSter> one for PCB
[13:11:06] <Devilholk> You can never have too many monitors
[13:11:06] <Corwin> :)
[13:11:08] <OndraSter> one for schematics
[13:11:12] <OndraSter> and where the hell do I put the datasheet...
[13:11:22] <Devilholk> I usually have two to the main work station and then have two extra laptops
[13:12:04] <OndraSter> I have 1920x1200 + 1920x1080... I suppose I could add my tablet (1400x1050) and my laptop (1680x1050) and connect to one of them some old 15" with 1024x768 and control it via that "remote"
[13:12:06] <OndraSter> I forgot the name
[13:12:09] <OndraSter> synergy?
[13:16:51] <OndraSter> aaaanyway, picking up the right CPLD or FPGA is pain in the butt! It is either the one I would chose but it is BGA package OR it is TQFP but it has maximum clock lower than I need OR it costs too much
[13:16:55] <OndraSter> etc :(
[13:18:32] <Corwin> what are you building anyway?
[13:18:56] <OndraSter> right now dinner
[13:19:01] <Corwin> :D
[13:19:15] <Corwin> building a dinner, one atom at a time? :D
[13:22:01] <OndraSter> I made program for it
[13:22:05] <OndraSter> and flashed on mega32
[13:22:07] <OndraSter> -.-
[13:22:21] <Corwin> program for building dinner?
[13:22:50] <OndraSter> :)
[13:22:54] <OndraSter> electronic wife!
[13:23:06] <OndraSter> hah, one can be watching movie while it is still being downloaded in Opera
[13:23:08] <OndraSter> not bad!
[13:23:09] <Corwin> would make sense... if there was self-replicating nanites
[13:23:35] <OndraSter> too much stargate
[13:23:44] <OndraSter> or Eureka?
[13:26:23] <Corwin> "The AI does not hate you, nor does it love you, but you are made out of atoms which it can use for something else."
[13:26:58] <Corwin> i think i should stop reading about artificial iteligence and its (or ours) future
[13:34:55] <specing> OndraSter: Let me know which one you've picked after you are finished searching
[13:35:10] <OndraSter> searching for something similar? :)
[13:35:21] <specing> OndraSter: I'd like to get started with FPGAs too
[13:35:30] <OndraSter> but my current bet is Mach XO cpld
[13:35:32] <OndraSter> from Lattice
[13:35:38] <OndraSter> I have got here Cyclone II breakout board :)
[13:35:39] <specing> And I've heard the local uni is organising a FPGA summer school
[13:35:40] <OndraSter> from Altera
[13:35:41] <OndraSter> with programmer
[13:35:52] <specing> unfortunately it is only for students
[13:35:59] <specing> uni students, that is
[13:36:00] <OndraSter> yeah I remember when you spoke about that
[13:36:05] <specing> GAWD
[13:36:24] <specing> Im going to mail the asking about if I can join after I pile up enaugh courage
[13:36:28] <specing> them*
[13:36:35] <OndraSter> :)
[13:36:37] <OndraSter> FPGAs are cool
[13:36:54] <specing> I CAN TELL!!
[13:36:56] <OndraSter> there is NiosII virtual processor for FPGAs, then there is the one that somebody posted here two days ago
[13:37:21] <specing> ACTION goes WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT WANT
[13:37:33] <OndraSter> lol
[13:37:40] * Tom_itx bans specing for flooding
[13:37:45] <specing> What are their minimum gate number requirements?
[13:37:53] <Tom_itx> 200k
[13:37:55] <OndraSter> of the software CPUs?
[13:37:57] <specing> I presume you need a pretty big fpga for that
[13:38:01] <Tom_itx> 400k
[13:38:02] <specing> yeah
[13:38:09] <OndraSter> depends on selected peripheral support :)
[13:38:19] <specing> Tom_itx: This is not poker to double your bet!
[13:38:22] <OndraSter> dunno, haven't checked it yet
[13:38:42] <OndraSter> but Altera directly supports the NiosII and adds Eclipse with C compiler for the Nios with their Quartus
[13:40:50] <Corwin> Tom_itx, question.... USB Breakout Experimenter, its available ?
[13:42:20] <OndraSter> Corwin, have you seen my breakout board that I will be ordering after exams?
[13:42:21] <OndraSter> http://clip2net.com/s/1Xnhg
[13:42:40] <OndraSter> http://clip2net.com/s/1XnhN
[13:42:54] <Corwin> xmega?
[13:42:56] <OndraSter> ye
[13:43:27] <OndraSter> I can build this board with all the caps and LEDs and resistors and connectors on it for less than 10€
[13:43:53] <OndraSter> that is mouser pricing, CapnKernel can get the caps and resistors etc cheaper
[13:45:28] <Corwin> and how much for xmega chip ?
[13:45:34] <CapnKernel> OndraSter: That's my aim
[13:45:35] <OndraSter> that is inside the 10€ :)
[13:45:52] <specing> OndraSter: C-C-C-C-Combo BreakOUT!
[13:46:03] <OndraSter> heh
[13:46:12] <CapnKernel> 4:30am here, bed time. Night.
[13:46:16] <OndraSter> gn
[13:46:31] <specing> CapnKernel: still in .au?
[13:46:39] <Steffanx> OndraSter .. you always say "after my exam", but you are here almost 24/7 :P
[13:46:40] <specing> Or already in .cn?
[13:46:54] <OndraSter> heh
[13:46:59] <specing> Steffanx: I have those exams too in a week, but I too am here
[13:46:59] <OndraSter> tomorrow = presentation of my long term project
[13:47:03] <OndraSter> monday = 3 exams :P
[13:47:06] <OndraSter> 2 easy, third is literature.
[13:47:12] <Steffanx> Yeah, but you don't say it all the time specing
[13:47:21] <OndraSter> yeah
[13:47:25] <OndraSter> why should I power the computer off
[13:47:31] <OndraSter> when the only thing I have to learn to is literature
[13:47:33] <Steffanx> I mean, active 24/7
[13:47:36] <OndraSter> and I am watching movies instead reading books? :P
[13:47:43] <OndraSter> on the computer of course
[13:48:04] <CapnKernel> specing: yes. fly to sz in two days
[13:48:31] <specing> sz as in ?
[13:48:36] <CapnKernel> in .au at the moment
[13:48:40] <OndraSter> shenzen
[13:48:42] <OndraSter> obviously
[13:48:43] <specing> ah
[13:48:49] <specing> ofcourse..
[13:48:57] <specing> brain lag, obviously
[13:49:12] <specing> My head is still stuck in that deutsch workbook
[13:49:18] <OndraSter> :D
[13:49:18] <specing> D:
[13:49:40] <specing> about 20 pages to go
[13:49:44] <Corwin> OndraSter, if you can make that board for 10e... we have a deal :)
[13:49:50] <Steffanx> Deutsch .. too bad
[13:50:01] <specing> Due date -9 days
[13:50:03] <OndraSter> 9.10€ is current price if everything was from mouser
[13:50:05] <specing> LOL
[13:50:11] <OndraSter> 9.27€ actually
[13:50:36] <OndraSter> including the board itself (28€ for 10 pcs you said I think? or was it 28$)
[13:50:56] <specing> Isn't 5pcs the minimum?
[13:50:58] <OndraSter> $28
[13:51:02] <OndraSter> maybe
[13:51:11] <specing> 10 is a bit overkill
[13:51:20] <OndraSter> but I am fairly confident that 5pcs would not be that far away and I am sure that many people will grab it :)
[13:51:21] <OndraSter> I know about 3
[13:51:56] <Corwin> i will take two
[13:52:03] <OndraSter> there we go
[13:52:15] <OndraSter> I suppose you can solder QFNs :)
[13:52:28] <Corwin> eh?
[13:52:34] <OndraSter> quad flat no leads
[13:53:00] <OndraSter> abcminiuser, good news everyone!
[13:53:01] <OndraSter> I have received confirmation from our internal team, Yes, A3/D3 devices with Rev F and Rev G work in PDI mode with AVR Dragon, in AVR Studio6.
[13:53:01] <OndraSter> So, xmega256a3u with revG works in PDI mode with AVR Dragon, in AVR Studio6..
[13:53:08] <OndraSter> (Atmel support)
[13:53:10] <OndraSter> woot!
[13:53:53] <abcminiuser> Awesome, which engineer replied?
[13:54:05] <OndraSter> Narayana Raju
[13:54:12] <OndraSter> Rajesh Koothrapali? :D
[13:55:56] <specing> OndraSter: "NO LEADS"?
[13:55:59] <OndraSter> yes
[13:55:59] <specing> OndraSter: Dude...
[13:56:06] <specing> You're doing it wrong
[13:56:09] <OndraSter> never heard of QFN?
[13:56:16] <specing> j/k
[13:56:18] <OndraSter> heh
[13:56:24] <OndraSter> TQFP costs almost 50% more than QFN
[13:56:50] <Corwin> well im not really interested in soldering QFN
[13:57:26] <OndraSter> hmm
[13:57:29] <OndraSter> hotair :)
[13:57:31] <OndraSter> + solder paste
[13:57:36] <OndraSter> http://cz.mouser.com/Search/Refine.aspx?Keyword=atxmega256a3u
[13:57:41] <OndraSter> the price difference is quite significant
[13:57:58] <specing> OndraSter: 4Eur more ... http://eu.mouser.com/ProductDetail/Texas-Instruments/AM1705BPTPA3/?qs=Ze4%2fuFuz19JXgegYGsWQdoYFgYaQLRc5fR1M9JMNlEs%3d :)
[13:58:16] <OndraSter> :)
[13:58:24] <OndraSter> I can build whole board with this.
[13:58:30] <OndraSter> plus I have 256kB flash and 16kB RAM
[13:58:30] <specing> Indeeed!
[13:58:44] <OndraSter> and I don't need external ones
[13:59:45] <OndraSter> and ARM's are not as straightforward as AVR8s.
[13:59:53] <OndraSter> let alone those ARM9!
[13:59:59] <OndraSter> with their... 4? 5? modes
[14:00:08] <OndraSter> at least that Cortex fixes that
[14:00:54] * specing is happy with his AT91SAM9260 :)
[14:01:34] <specing> RAM would be hard to source though :(
[14:01:44] <specing> mouser is flat blank on that one
[14:02:16] <specing> only <256 MBIT (32 MB) rams in single-piece quantities
[14:02:31] <specing> <= *
[14:10:12] <OndraSter> SDRAM
[14:10:14] <OndraSter> why not use SDRAM?
[14:10:17] <OndraSter> if it has builtin controller..
[14:10:45] <specing> I am talking about SDRAM
[14:10:51] <OndraSter> oh
[14:10:52] <specing> SDRAM/DRAM
[14:11:16] <OndraSter> I was looking at 128Mbit for literally two bucks
[14:11:24] <OndraSter> ok, 1.85€
[14:11:27] <OndraSter> http://eu.mouser.com/ProductDetail/Alliance-Memory/AS4C8M16S-6TIN/?qs=FP1Nkeq3mZ%252bnPzxlwP5833Yu8E%252bYBExF9t3EJBz443I%3d
[14:11:33] <OndraSter> that would be enough for 286 emu
[14:11:39] <OndraSter> or 386
[14:11:41] <OndraSter> to be able to run TTD
[14:12:01] <OndraSter> (actually 286 could pull it off, if there was himem driver)
[14:12:13] <OndraSter> http://eu.mouser.com/ProductDetail/Alliance-Memory/AS4C16M16S-6TIN/?qs=FP1Nkeq3mZ8nLRaV%252bCDuKGIHN%252bkjvgcEngvKycjGHtY%3d
[14:12:14] <OndraSter> woot
[14:12:17] <OndraSter> they must have added that today
[14:12:29] <specing> That memory is not appropriate since it is 16 bit data
[14:12:34] <OndraSter> hmm
[14:12:40] <OndraSter> so you would be using only 8bits
[14:12:58] <specing> Im talking about ARM9!
[14:13:05] <OndraSter> 32bits?
[14:13:08] <specing> yes
[14:13:10] <OndraSter> oh
[14:13:11] <OndraSter> well then
[14:13:13] <OndraSter> grab two these :)
[14:13:17] <OndraSter> and put them in parallel
[14:13:18] <OndraSter> obviously!
[14:13:22] <specing> Also ideally I would only have one ram chip
[14:13:26] <OndraSter> ..
[14:13:32] <specing> less soldering and less wiring up
[14:13:58] <OndraSter> then grab 8M*32 for 6.30€
[14:14:10] <OndraSter> instead 2x2.27€
[14:14:17] <OndraSter> sure, a little less space occupied
[14:14:17] <specing> Yes, but 32Mbyte is a little low...
[14:14:23] <OndraSter> really? :D
[14:14:40] <OndraSter> 640kB ought to be enough for everybody!
[14:15:03] * specing slaps OndraSter with a 16 Mbyte memory stick
[14:15:14] <OndraSter> I have wired up 1MByte memory to mega32
[14:15:15] <OndraSter> ..
[14:15:33] <OndraSter> reading takes 8.something us and writing 9.something us (not sure why, it is just matter of 3 extra instructions)
[14:15:39] <OndraSter> refreshing takes about 10% CPU load
[14:15:41] <OndraSter> that is at 8MHz only!
[14:16:16] <drgreenthumb> well, that's looking pretty awesome http://i.imgur.com/dMGDr.jpg
[14:16:29] <drgreenthumb> tons of free space now for the LCD :)
[14:16:32] <OndraSter> heh
[14:16:50] <specing> drgreenthumb: Looks like spaghetti
[14:17:09] <drgreenthumb> specing, heh well it's a lot cleaner than the last one
[14:17:21] <drgreenthumb> just look at all the free space around the AVR! :)
[14:17:49] <OndraSter> do you have pix of the previous one?
[14:18:21] <drgreenthumb> and heh I'd like to see anyone hook up SD, Tom_itx's programmer, and an MRF24J40MA and *not* have it be spaghetti =)
[14:19:02] <specing> drgreenthumb: use groundwires
[14:19:43] <drgreenthumb> OndraSter, http://i.imgur.com/AXBnN.jpg the one in front is what I just rewired + added MMC/SD card to.
[14:19:59] <drgreenthumb> the one in back still looks like that :P
[14:20:00] <OndraSter> ah
[14:20:25] <OndraSter> yeah parallel busses are fun on the breadboard
[14:20:36] <drgreenthumb> specing, ground wires?
[14:21:17] <drgreenthumb> you mean perfectly sized, flat against the breadboard?
[14:21:30] <drgreenthumb> heh I'm not going for a beauty contest here =)
[14:21:42] <drgreenthumb> good enough for writing software.
[14:23:24] <drgreenthumb> heh that's crazy I managed to wire all that into just port b with all the chip selects etc. heh the atmega168 might have worked.
[14:23:40] <drgreenthumb> oh well. I have three full ports to play with now. awesome.
[14:37:17] <drgreenthumb> so the drawing system of this remote is going to be interesting. with so little ram, small chunks of pixel data will have to be read from network or SD, written to display, and then immediately forgotten. any widget / GUI on top is going to have to deal with this somehow.
[14:38:05] <drgreenthumb> I'm thinking though, some kind of resource request system, where the GUI layer doesn't care where the data came from. and then the back end will load the resource from network or from SD cache.
[14:42:04] <drgreenthumb> also shopping for an image format. TGA with RLE seems easy to code for.
[14:42:17] <drgreenthumb> might just be raw RGB data though.
[14:43:01] <drgreenthumb> but that's rough over my slow ass personal area network.
[14:43:11] <drgreenthumb> so, some kind of compression would be nice.
[14:51:10] <OndraSter> anyone knows some bluetooth chip that can do more than simple bluetooth serial?
[14:51:13] <OndraSter> like.. bluetooth HID :)
[15:14:21] <OndraSter> - Nobody's perfect, look at my lips,
[15:14:21] <OndraSter> But you need some lessons at shaking your hips.
[15:14:21] <OndraSter> If she can't dance, she's rubbish in bed.
[15:14:24] <OndraSter> oh yeah!
[15:14:31] <OndraSter> why did I post it here.
[15:14:36] <OndraSter> I ment to send it to another channel
[15:14:37] <OndraSter> oops
[15:14:38] <OndraSter> sorry
[15:14:54] <Steffanx> Suuuure
[15:15:14] <jacekowski> true words
[15:19:06] <drgreenthumb> hmm libtga might actually build on AVR :) it's missing fseek, fopen, and ftell, but I can give it that with the DOS SD card API.
[15:20:51] <OndraSter> dos sd api?
[15:21:08] <drgreenthumb> err. FATFS. sry.
[15:21:17] <drgreenthumb> this thingy http://elm-chan.org/fsw/ff/00index_e.html
[15:21:27] <OndraSter> dos fatfs api?
[15:21:29] <OndraSter> on avr?
[15:21:38] <drgreenthumb> http://www.frank-zhao.com/cache/fat_sd.php
[15:21:40] <drgreenthumb> ^^
[15:21:44] <OndraSter> ah
[15:21:46] <OndraSter> fat sd card api :)
[15:22:02] <OndraSter> I thought you had DOS running on AVR before me
[15:22:24] <drgreenthumb> me? no this'll be the first time I've tried all this together
[15:22:44] <drgreenthumb> infact I just unsoldered my SD card holder from some ancient old project :)
[15:24:00] <specing> OndraSter: Im somehow interested in what channel that was
[15:24:05] <OndraSter> #xda-devs
[15:24:23] <specing> you may also find ##c++-social entertaining, btw
[15:24:39] <drgreenthumb> hehe
[15:24:41] <OndraSter> :D
[15:24:52] <drgreenthumb> the imgur links in ##C++-social are awesome.
[15:25:08] <drgreenthumb> and most of the peeps are cool there.
[15:25:13] <specing> s/awesome/mostly porn/
[15:25:19] <drgreenthumb> haha
[15:25:41] <drgreenthumb> well let's see http://stalkgur.appspot.com/cppp
[15:25:45] <drgreenthumb> may be NSFW :P
[15:26:08] <drgreenthumb> renderwhan has a bot capturing imgur links pasted into there. these are them.
[15:26:21] <drgreenthumb> looks pretty clean today actually.
[16:55:56] <drgreenthumb> heh so, libtga actually builds. don't know if it works yet ;) the SD card demo has a lot of junk taking up memory, need to clean this up. it's taking 35k of program memory.
[17:14:24] <drgreenthumb> ok there we go. 25.3k of program memory and most of the RAM with a buffer for one 160px line of RGB(A) data.
[17:14:44] <drgreenthumb> not a lot of room to work in :)
[17:29:29] <drgreenthumb> libtga is 10k of it. may have to write my own smaller decoder or get a bigger AVR.
[21:17:01] <DrLuke> Does anybody know why avr studio 5 won't recognize my avr isp mkII ?
[21:17:15] <Tom_itx> it should
[21:17:23] <DrLuke> I doesn't show up in the programmer list, but it is recognized when I go to firmware update
[21:17:49] <Tom_itx> ver 5.1 and 6 are out now
[21:18:15] <DrLuke> oh, do I have to update the programmers firmware?
[21:18:40] <Tom_itx> i'm not sure, you may
[21:19:00] <Tom_itx> if you do, you need to revert it to use studio 4
[21:19:02] <Tom_itx> iirc
[21:22:55] <Tom_itx> DrLuke, i misunderstood you... yeah you need to do a firmware update on that
[21:24:23] <DrLuke> Ok thanks
[21:24:31] <Tom_itx> get the 120318 files
[21:31:18] <DrLuke> When I try to connect to the device in FLIP, it says that the device could not be opened
[21:31:59] <Tom_itx> did you select the chip?
[21:32:09] <DrLuke> and when I press the HWB button followed by the reset button, windows gives me a usb error sound
[21:32:10] <Tom_itx> at90usb162
[21:32:11] <DrLuke> yes, I did
[21:32:27] <Tom_itx> hold the hwb then push the reset
[21:32:44] <Tom_itx> hwb stays down while you push reset
[21:32:51] <DrLuke> that's what I did
[21:32:51] <Tom_itx> then release both
[21:32:58] <DrLuke> the green LED turned off
[21:32:59] <Tom_itx> did the leds go out?
[21:33:05] <Tom_itx> it should see it
[21:33:24] <Tom_itx> you sure you selected the chip in the list?
[21:33:44] <DrLuke> http://i45.tinypic.com/34eay49.png like this?
[21:34:03] <Tom_itx> yup
[21:34:39] <Tom_itx> did you install the device driver for flip?
[21:34:46] <Tom_itx> it's in the flip install directory
[21:35:03] <DrLuke> flip came as a single .exe
[21:35:15] <Tom_itx> self extracting?
[21:35:18] <DrLuke> yep
[21:36:33] <Tom_itx> what ver programmer do you have? there are pics on my page about halfway down
[21:36:59] <Tom_itx> http://tom-itx.dyndns.org:81/~webpage/boards/USBTiny_Mkii/USBTiny_Mkii_index.php
[21:37:09] <Tom_itx> it shouldn't matter
[21:37:26] <DrLuke> the original
[21:37:41] <Tom_itx> offset buttons?
[21:37:45] <Tom_itx> ok
[21:37:51] <DrLuke> yep
[21:38:16] <DrLuke> I think it has a bug or something, because when I only press the reset button, the LEDs also turn off
[21:38:26] <DrLuke> and I have to pull the plug to get it to work again
[21:40:06] <Tom_itx> the usb port connection fails?
[21:40:52] <DrLuke> I think so, windows plays back the usb-disconnect sound, followed by the usb error sound
[21:41:24] <Tom_itx> try selecting a new driver in windows hardware
[21:41:33] <Tom_itx> and pick the one in the flip directory
[21:42:05] <Tom_itx> program files\atmel\flip x x x\usb
[21:43:02] <DrLuke> just a side question, when I press reset without holding down HWB, the LEDs shouldn't turn off, right?
[21:43:33] <Tom_itx> it may, i don't have that version handy to test
[21:43:55] <Tom_itx> the new ones don't have the hwb button, i put a resistor on it to hold it low instead
[21:44:12] <Tom_itx> it may
[21:44:26] <Tom_itx> it does reset it
[21:44:43] <DrLuke> sometimes the LEDs turn on, sometimes they don't
[21:44:46] <DrLuke> it's strange
[21:44:55] <DrLuke> also where exactly do I select the drivers?
[21:44:56] <Tom_itx> has it been working?
[21:45:08] <DrLuke> the programmer itself?
[21:45:14] <Tom_itx> yeah
[21:45:15] <DrLuke> when the LED is on it does work
[21:45:29] <DrLuke> I've been using it for years
[21:45:34] <Tom_itx> ok
[21:45:51] <Tom_itx> under my computer -> properties -> hardware
[21:45:57] <Tom_itx> device manager
[21:46:44] <Tom_itx> plug it in and see if it shows up in the list
[21:46:49] <Tom_itx> probably under jungo
[21:46:53] <DrLuke> yes it does
[21:47:07] <Tom_itx> ok, try update driver then select the one from flip
[21:47:10] <DrLuke> maybe avr studio is causing the problems, it installed a new version of jungo
[21:47:20] <Tom_itx> i don't remember having problems with the flip driver
[21:47:27] <Tom_itx> it could be
[21:47:53] <Tom_itx> yeah, you may need to revert to 4 and do the update
[21:48:01] <Tom_itx> i'm not sure about that
[21:48:06] <DrLuke> I've still got 4 installed
[21:48:13] <Tom_itx> mmm
[21:48:22] <Tom_itx> the driver may be different though
[21:48:33] <Tom_itx> i'm not entirely sure on this
[21:48:38] <DrLuke> ok, done, still no luck
[21:49:17] <Tom_itx> where are you?
[21:49:28] <DrLuke> germany
[21:49:33] <Tom_itx> k
[21:49:41] <DrLuke> you know what? I'll just order a new one
[21:49:55] <Tom_itx> that's up to you
[21:49:59] <Tom_itx> i think this one should work
[21:50:30] <Tom_itx> the new 1.1c has all the latest changes on it
[21:50:45] <Tom_itx> including a permanent isp recovery clock
[21:50:51] <DrLuke> well, the rescue clock alone is worth it
[21:51:11] <Tom_itx> they all have it, it's just not as convenient and done differently on the older ones
[21:51:58] <DrLuke> is the boxed one identical in functionality?
[21:52:17] <Tom_itx> the blue one doesn't have the updated clock circuit yet but it does have a recovery clock
[21:52:49] <Tom_itx> you can pull the clock off the pdi clock pin with the firmware change
[21:57:02] <DrLuke> Alright, I'll order one at the beginning of next month, thanks for your help!
[21:57:19] <Tom_itx> np thanks
[21:57:34] <Tom_itx> you could try messin with the flip usb driver a bit
[21:58:02] <DrLuke> I will do that tomorrow, now it's sleeping time (5 am here)
[21:58:05] <DrLuke> good night :)
[21:58:09] <Tom_itx> later
[22:08:23] <rue_mohr> he bricked it already?
[22:18:15] <Tom_itx> not sure what the problem is
[22:18:31] <Tom_itx> he updated studio which also updated drivers
[22:18:48] <Tom_itx> i had problems getting the right driver back a couple times