#avr | Logs for 2013-10-04

Back
[00:58:48] <jadew`> holly crap, the HID specification is huge
[00:59:14] <jadew`> it's like they're trying to cover every possible functionality of a device
[02:33:42] <OndraSter> jadew, it usually does
[02:33:49] <OndraSter> gl reading through it :D
[02:34:31] <OndraSter> took me weeks to write a working USB CDC serial for atxmega (from scratch)
[02:34:31] <OndraSter> and one full rewrite
[02:35:32] <megal0maniac_afk> OndraSter: How's that going, by the way? :)
[02:35:46] <OndraSter> :<
[02:36:24] <OndraSter> I was expecting you to say something :D
[02:36:29] <megal0maniac_afk> http://myxboard.net/
[02:37:22] <OndraSter> :D
[02:37:34] <megal0maniac> Learning about star delta and power factor and that crap. Sort of
[02:38:26] <OndraSter> hehe
[02:38:26] <OndraSter> had that on middle school
[02:39:15] <OndraSter> I would like to revive xboard, but: a) rename it (to something without registered trademark :D)
[02:39:15] <OndraSter> b) not sure if keep xmega - they are nice but ARM is now everywhere :/
[02:39:18] <OndraSter> even atmel markets 30 ARMs for every 1 AVR :P
[02:41:34] <megal0maniac> Because AVR sells itself. Competition is tough with ARM
[02:41:47] <OndraSter> anyway, I am off to school
[02:41:47] <OndraSter> uni's waiting for me!
[02:41:47] <OndraSter> bbl
[02:42:19] <megal0maniac> Enjoy!
[02:43:58] <w|zzy> Tom_itx: I.found our who I gave my last usb programmer to. he lives it and uses it frequently.
[02:44:21] <w|zzy> lives = loves
[02:44:51] <jadew> OndraSter, didn't go trough it, I'm having a hard time comming up with one that works tho
[03:41:37] <Tom_itx> w|zzy, good to hear
[06:14:27] <Darkwell> the gcc avr does use something that looks like c.... but the avrbeginners.net is asm ?
[06:15:03] <theBear> err, what ?
[06:15:10] <theBear> gcc compiles c
[06:16:18] <Darkwell> gcc can compile several languages
[06:16:22] <Darkwell> not only c
[06:17:20] <theBear> gcc does c, g++ does c+ etc etc
[06:17:27] <Darkwell> anyhows I run arduino IDE tahat seems to use avr gcc to compile the code written, and that looks like c , im not that familiar yet with this
[06:17:44] <Darkwell> avr-++ i think it is
[06:17:53] <Darkwell> avr-g++
[06:18:13] <theBear> arduino does c+ , so yeah, avr-g++
[06:19:23] <Darkwell> anyhows , im not too famliliar with c , more of a tcl/lisp/python coder , and now ive got into something that i want my arduino to send morse code, so i want to define a dispatch table for characters to be looked up to get the morce coombination for the character
[06:19:55] <Darkwell> what is the common/proper way to do dispatch tables here ?
[06:20:23] <theBear> er, i dunno what dispatch table is, but i'd say probly a lookup table from either internal or external eeprom
[06:20:45] <Darkwell> yeah disptchtable = dict = lookup table
[06:21:48] <theBear> but that's in c, in arduino land i got no idea... a lot of us think arduino libs are silly and pointless and obfuscate what you are actually doing....
[06:22:06] <Darkwell> probably
[06:22:22] <Darkwell> ive seen examples of morse code that really are stupid
[06:23:42] <jadew> Darkwell, regardless of the fact that arduino uses C++, you can't do it the C++ way
[06:23:46] <Darkwell> should be : parse a string by look up each char against a lookup and process it
[06:23:54] <jadew> because it's wasting memory
[06:24:06] <Darkwell> what is wasting memory ?
[06:24:07] <jadew> the way you want to do it is the AVR way
[06:24:13] <jadew> std::map
[06:24:21] <jadew> or hash_map
[06:24:51] <jadew> (I don't even know if they're available to the avr compiler)
[06:25:05] <jadew> anyway, you want to store the map in program memory (in the code)
[06:25:21] <jadew> so take a look at pgmspace.h
[06:25:29] <Darkwell> yes that what i intend to do
[06:25:35] <Darkwell> lookup in work memory
[06:25:39] <jadew> google for a PROGMEM example
[06:26:30] <Darkwell> are you also saying i should leave the arduino IDE and program directly through avr-g++ ?
[06:27:00] <jadew> no, I'm saying don't do it the C++ way (std::map, std::hash_map and the likes)
[06:27:09] <jadew> do it the AVR way, PROGMEM array
[06:27:19] <Darkwell> ah ok
[06:30:10] <Darkwell> seems i got to do #include <avi/pgmspace.h>
[06:30:30] <Darkwell> heh
[06:30:41] <Darkwell> no such file/directory lol
[06:30:49] <jadew> that's because it's not avi
[06:30:51] <jadew> it's avr
[06:32:00] <Darkwell> http://arduino.cc/en/Reference/PROGMEM
[06:33:29] <Darkwell> thanks for your help !
[06:33:34] <jadew> np
[06:34:11] <Darkwell> can reuse this for outputting better results than some of the bad codes for lcd
[06:44:51] <malinus> Darkwell, also it's mostly a custom to avoid OOP on mcu's.
[07:12:50] <megal0maniac_afk> GCC = GNU Compiler _Collection_
[07:36:37] <megal0maniac_afk> OH MY GOSH pointers are so simple
[07:36:55] <megal0maniac> Now that I'm actually using them
[07:37:14] <megal0maniac> Once the penny drops...
[07:41:54] <Tom_itx> they can get complicated too
[07:45:22] <Tom_itx> http://tom-itx.dyndns.org:81/~webpage/pdf/K&R_C_2nd.pdf
[07:45:25] <Tom_itx> good ref
[07:52:02] <megal0maniac> Access Denied.
[07:52:13] <megal0maniac> Port 81
[07:52:40] <w|zzy> thats your problem megal0maniac
[07:53:40] <megal0maniac> Well, the university's problem
[07:53:43] <megal0maniac> They whitelist ports
[07:53:45] <jadew> when I first learned about pointers I thought I stumbled upon some extreme compression algorihtm
[07:54:37] <jadew> I tried to save a buffer, containing an image (64kb). came out as a 4bytes file
[07:54:56] <jadew> when I loaded it and copied the buffer to the screen buffer, it showed up!!
[07:55:10] <jadew> I told everyone
[07:55:15] <megal0maniac> Haha!
[07:55:23] <jadew> turned out the buffer was simply not getting destroyed (this is the DOS days)
[07:55:36] <megal0maniac> Windows murders buffers
[07:55:43] <jadew> so between me saving the pointer and loading it back, nothing was corrupting it
[07:55:43] <megal0maniac> No such luck here
[08:10:13] <megal0maniac> jadew: Is the buffer destroyed by default in modern day programs?
[08:10:23] <megal0maniac> Would make sense from a security point of view
[08:11:51] <jadew> megal0maniac, it's not
[08:12:13] <jadew> chances of getting the same buffer tho, when you run the program again are pretty slim tho
[08:12:26] <jadew> remove one 'tho'
[08:12:35] <megal0maniac> Ah, because the program is allocated memory space at runtime?
[08:13:06] <jadew> I guess you could get the same buffers if no other program was running
[08:13:14] <jadew> like it was in MS-DOS
[08:13:28] <jadew> you quit that program you ran it again, nothing else was running in the meantime
[08:14:11] <jadew> nowdays, there's always something running and the OS might not allocate the same buffer even if it can, you never know how it decides to do it
[08:36:15] <megal0maniac> What will this function do?
[08:36:18] <megal0maniac> http://pastebin.com/raw.php?i=eTdV02nm
[08:36:39] <megal0maniac> Sorry, it's
[08:36:48] <megal0maniac> int function blah()
[08:38:19] <megal0maniac> And that's in C
[08:38:51] <jadew> it will die with syntax error
[08:39:26] <jadew> actually it won't compile at function, it will complain that it's an unknown type
[08:39:39] <jadew> unless it's defined, then it will complain about the :
[08:39:42] <megal0maniac> That's what I thought
[08:59:56] <megal0maniac> jadew: Apparently it was there to indicate "other code" that wasn't displayed or important
[09:00:24] <jadew> what was "function" there for?
[09:00:39] <jadew> and how do you know that's what it was for?
[09:02:53] <megal0maniac> Basically it was an exercise in determining which variable were visible from what parts of the program. Not legitimate code, pen and paper stuff
[09:02:58] <megal0maniac> Programming 1
[09:03:07] <megal0maniac> But our lecturer has a strange way of doing things
[09:04:43] <megal0maniac> Anyway, thanks for the help. Going home now. Enjoy your weekend
[11:57:40] <braincracker> h
[11:58:08] <Tom_itx> w
[12:06:13] <braincracker> LTNS SUP?
[12:08:48] <Tom_itx> nada
[15:58:50] <rlc> I'm trying to use the attiny20 for first time
[15:59:07] <rlc> What programmer do I use to program it?
[15:59:25] <malinus> rlc, which one do you have?
[15:59:58] <rlc> I have none. I need to buy one
[16:00:33] <rlc> I'm choosing attiny20 because it's cheapest with i2c
[16:00:50] <malinus> rlc, I bought this one, and I've been very happy with it: http://tom-itx.dyndns.org:81/~webpage/commerce/commerce_index.php
[16:00:51] <specing> rlc: see topic
[16:02:00] <malinus> wait, it says they are all out of stuck
[16:02:08] <malinus> Tom_itx, you all out of stock :O?
[16:02:34] <rlc> I need a programmer soon
[16:02:43] <rlc> Out of stock??
[16:03:09] <rlc> Any other alternative programmer? Commercial one?
[16:06:45] <malinus> rlc, there is a lot of possibilities, all depending on price range and willingness to bet :)
[16:07:35] <rlc> hmm, I'm taking a look at the avrdragon
[16:07:53] <rlc> I'm not sure what is that TPI interface
[16:08:08] <rlc> How does TPI differ from ISP?
[16:08:46] <malinus> rlc, http://tom-itx.dyndns.org:81/~webpage/abcminiuser/articles/avr_prog_methods_index.php
[16:11:49] <Tom_itx> rlc, you need a programmer?
[16:12:51] <Tom_itx> i've still got a couple
[16:13:03] <rlc> Yes
[16:13:16] <rlc> How fast can you send to me?
[16:13:19] <Tom_itx> which one were you looking at?
[16:13:24] <Tom_itx> and where are you?
[16:13:34] <Tom_itx> i can send it out tomorrow
[16:13:41] <rlc> One that can program attiny20 with TPI
[16:13:45] <Tom_itx> yep
[16:13:52] <Tom_itx> i gotta run an errand, back in 30
[16:13:57] <Tom_itx> then i'll talk
[16:14:33] <Tom_itx> ask malinus about it
[16:15:29] <rlc> How much? How long it can reach to Toronto, Canada?
[16:17:42] <malinus> rlc, I had mine in like 2-3 days, and I live i europe. And he ships it from somewhere in the US
[16:18:27] <rlc> Does it work flawlessly in AVRstudio? Does it has debug capability?
[16:21:39] <malinus> rlc, yes it works flawlessly in AVRstudo. You basically just press a button (after choosing it from a drop down menu) and it compiles and programs on the same run. As of the debugging, you can't debug a attiny. Also it's not the custom to "debug" your uC as such. You normally use some kind of feedback, like LED/usb/serial port.
[16:22:29] <malinus> rlc, kinda like debugging javascript, without the errors :).
[16:22:35] <malinus> okay, bad comparison, haha
[16:25:36] <rlc> But some debugger you can see the internal registers values
[16:26:20] <rlc> It make things convenient for debugging
[16:26:32] <malinus> yes, but they are normally very expensive, and it's not really how anyone I know or ever talked with work with uC's
[16:26:57] <malinus> and not really all that usable.
[16:28:33] <rlc> It can be painful to debug with leds :P
[16:31:02] <Tom_itx> no debugging
[16:31:18] <malinus> rlc, your attiny can't run software that need extensional debugging :)
[16:31:30] <jadew> anyone here owning the brymen bm86x data cable and is willing to do a HID Report Descriptor dump? (it's just a bunch of usb related data describing how data from the meter should be used)
[16:31:38] <rlc> I see
[16:32:03] <Tom_itx> i don't think i've ever used a debugger maybe once or twice
[16:32:07] <rlc> I'm checking the AVRDragon. It does not seem to support the attiny20
[16:32:24] <Tom_itx> rlc, if you're interested pm me
[16:32:43] <rlc> Tom_itx: How much you sell?
[16:33:04] <Tom_itx> oh i took all that down didn't I
[16:33:11] <malinus> rlc, like I said, a attiny CAN'T be debugged. No matter the programmer
[16:33:31] <malinus> Tom_itx, did you get IRS on your ass ;P?
[16:33:36] <Tom_itx> no
[16:35:38] <Tom_itx> the regular one is 23 the blue one is 30 and shipping for either is 7
[16:36:54] <rlc> Difference between blue and regular is?
[16:37:14] <Tom_itx> a box
[16:37:56] <Tom_itx> ppl seem to like the box
[16:38:08] <Tom_itx> it takes alot more work for me to make them
[16:38:10] <rlc> Tom_itx: Methods of payment?
[16:38:18] <Tom_itx> pp
[16:39:39] <rlc> Does it work in Atmel Studio 6.1 lastes version?
[16:39:49] <Tom_itx> yup
[16:40:01] <Tom_itx> the latest one i have anyway
[16:40:23] <Tom_itx> they seem to come out with an update every week
[16:42:07] <rlc> Ok. I'll check again next week. I'm off work now
[16:42:22] <rlc> Thanks for the information
[16:42:51] <Tom_itx> i don't think the dragon does tpi
[16:43:14] <rlc> That's what I thought too
[16:43:37] <rlc> They don't mention it
[16:43:40] <Tom_itx> not many of their tools do
[16:44:22] <rlc> Else I might just use one with regular ISP
[16:44:33] <rlc> But they are a little more expensive
[16:44:40] <Tom_itx> mine works on pretty much all platforms i'm aware of
[16:44:58] <Tom_itx> windows, linux, osx, studio and avrdude
[16:45:47] <Tom_itx> and programs all the 8 bit avrs i'm aware of that use that interface
[16:53:39] <rlc> TWI is it the same as I2C?
[16:53:51] <Tom_itx> pretty much
[16:54:14] <Tom_itx> renamed for patent reasons
[17:00:53] <malinus> rlc, you might want to look at this for general "debugging" of uC's http://www.ebay.com/itm/CH340-USB-To-RS232-TTL-Auto-Converter-Module-Serial-Port-Arduino-STC-TA-02L-/181218818664?pt=LH_DefaultDomain_0&hash=item2a317bba68
[17:01:01] <malinus> or something similar
[17:02:07] <rlc> ok, thanks. I have this one
[17:03:30] <malinus> well, then you don't need a debugger. and you can even use it with your attiny :)
[17:04:06] <rlc> but I'm sort of lazy to write the driver for uart
[17:06:41] <malinus> driver?
[17:06:46] <malinus> what
[17:07:13] <malinus> the chip on-board should just emulate a serial port, what are you talking about?
[17:09:38] <rlc> Don't I have to set the regiters, the dividing speed, etc?
[17:12:44] <megal0maniac_afk> I do love these little breakout boards. Thanks, China :) http://i.imgur.com/Szo4tiU.jpg
[17:14:03] <Tom_itx> megal0maniac_afk, been there done that: http://tom-itx.dyndns.org:81/~webpage/temp/tiny/tinyboard1.jpg
[17:14:21] <Tom_itx> http://tom-itx.dyndns.org:81/~webpage/temp/tiny/tinyTPI1.jpg
[17:15:15] <Tom_itx> it's alot handier to have the isp plug there for it
[17:15:24] <megal0maniac_afk> Haha :) SOT23?
[17:15:32] <Tom_itx> yessir
[17:15:41] <Tom_itx> 3 traces under it too
[17:16:04] <megal0maniac_afk> Nice
[17:16:18] <Tom_itx> borderline awesome :D
[17:16:36] <megal0maniac_afk> The one on the left is SC70-6, but it /just/ fits
[17:16:53] <megal0maniac_afk> You can see, especially on pin 1
[17:17:44] <megal0maniac_afk> First time I've done this, though. And it worked quite well. Previous attempt was STO23-3 on veroboard :P Also worked a charm
[17:17:45] <Tom_itx> did you solder those?
[17:17:48] <megal0maniac_afk> Yip
[17:18:18] <Tom_itx> potential cold solder joint i see
[17:18:37] <megal0maniac_afk> The breakouts were $2 for 6 on ebay, the chips from TI :D Which one?
[17:18:50] <megal0maniac_afk> pin 1 on the right?
[17:18:53] <Tom_itx> left board top right
[17:19:31] <megal0maniac_afk> Nope, it's good. Just looks iffy from that angle
[17:19:58] <megal0maniac_afk> The chip isn't lying completely flat though
[17:22:20] <megal0maniac_afk> How do you tell pin1 on these things? I can make out a line on the one side, is that the equivalent of a notch?
[17:23:09] <Tom_itx> yeah
[17:23:24] <rlc> Does the JTAGICE-3 do ISP?
[17:23:27] <megal0maniac_afk> Cool. Then one of them is wrong :P
[17:23:29] <megal0maniac_afk> rlc: Yip
[17:23:41] <megal0maniac_afk> And JTAG
[17:23:44] <megal0maniac_afk> And PDI
[17:24:02] <rlc> I see no mention of ISP from the JTAGICE 3 Intro page
[17:24:04] <megal0maniac_afk> And it debugs over JTAG and PDI, and uses debugwire for ISP
[17:24:12] <megal0maniac_afk> rlc: I promise it does. I have one
[17:24:25] <megal0maniac_afk> It's lovely
[17:24:51] <megal0maniac_afk> If you want/need debugging. Otherwise get Tom's ;)
[17:24:52] <rlc> Does it do TPI too? It says it's compatible with attiny 20
[17:25:21] <megal0maniac_afk> Not as far as I know... But I could be wrong. I only have a tiny85, but that's ISP
[17:26:12] <rlc> Why does Atmel has so many programming protocols??
[17:26:20] <Tom_itx> abcminiuser does jtagice 3 do TPI????
[17:26:21] <Tom_itx> abcminiuser
[17:26:31] <Tom_itx> abcminiuser
[17:26:32] <Tom_itx> abcminiuser
[17:26:40] <Tom_itx> that should ring his bell
[17:26:47] <megal0maniac_afk> rlc: For the sake of the Atmel documentation, take SPI to mean ISP
[17:26:57] <megal0maniac_afk> Tom_itx: According to http://atmel.no/webdoc/jtagice3/jtagice3.connecting.html, no
[17:27:25] <abcminiuser> No
[17:27:37] <rlc> megal0maniac_afk: So you rotate the I to get ISP? ha
[17:28:09] <rlc> abcminiuser: So why it sais attiny20 is compatible with JTAGICE3?
[17:28:31] <megal0maniac_afk> ISP means In-circuit Serial Programming, but it is based on SPI.
[17:29:14] <rlc> abcminiuser: Can I program an attiny with JTAGICE3?
[17:29:25] <rlc> attiny20
[17:29:30] <megal0maniac_afk> No
[17:30:14] <rlc> It's advertised on their JTAGICE3 page
[17:30:45] <Tom_itx> rlc, maybe for debugging?
[17:30:48] <Tom_itx> i dunno
[17:31:19] <Tom_itx> abcminiuser, did they make an old attiny20 like they did the 10?
[17:31:22] <megal0maniac_afk> rlc: Not here it is http://store.atmel.com/PartDetail.aspx?q=p:10500269#tc:supnote
[17:31:26] <megal0maniac_afk> *isn't
[17:31:39] <megal0maniac_afk> Only the ISP tinys are listed
[17:31:40] <Tom_itx> maybe it wasn't the 10... i can't remember now
[17:33:00] <rlc> It's here on this one: http://www.atmel.com/tools/jtagice3.aspx?tab=devices
[17:33:11] <rlc> What a lie
[17:34:36] <megal0maniac_afk> rlc: Yes, I'm sure that Atmel deliberately did that to mislead you
[17:35:42] <Tom_itx> i've never found errors in their documentation
[17:35:43] <Tom_itx> :D
[17:35:54] <OndraSter_> *not sure if real or joking*
[17:36:23] <megal0maniac_afk> http://atmel.no/webdoc/atmelstudio/supported_devices.html
[17:36:24] <megal0maniac_afk> http://store.atmel.com/PartDetail.aspx?q=p:10500269#tc:supnote
[17:36:28] <megal0maniac_afk> http://www.atmel.com/images/atmel-8235-8-bit-avr-microcontroller-attiny20_datasheet.pdf
[17:37:02] <Tom_itx> you want to program TPI i can tell you i have a solution
[17:37:04] <OndraSter_> I found some typos, some errors even, I think I sent few to atmel email abc gave me
[17:38:34] <megal0maniac_afk> I fell asleep in the uni library today. Only for about 10 minutes. Security guard woke me up and said "this is not your bed". But it was the best nap ever
[17:38:54] <rlc> Haha
[17:39:03] <Tom_itx> did you tell him it's not his either and to go away?
[17:39:29] <megal0maniac_afk> I was too out of it to respond. I just said sorry
[17:39:42] <rlc> Did you spill on the desk?
[17:40:06] <megal0maniac_afk> It was a couch. And no :)
[17:41:14] <rlc> You could have said it's damn too comfortable, try it too.
[17:42:51] <megal0maniac_afk> Tom_itx: Why is everything out of stock?
[17:43:14] <megal0maniac_afk> rlc: Just get attiny 25/45/85
[17:43:31] <Tom_itx> i was going to be gone for a while
[17:43:51] <OndraSter_> I don't think I ever saw anywhere attiny20 on stock.. ever
[17:43:53] <rlc> Yeah, I'm thinking to get ISP ones, but they are a little pricier
[17:43:59] <OndraSter_> always 13/25/45/85
[17:44:06] <OndraSter_> or 10/9/..
[17:44:20] <rlc> OndraSter_: On stock at Digi-Key
[17:44:21] <megal0maniac_afk> rlc: They have debugwire too
[17:44:26] <OndraSter_> well digikey
[17:44:30] <OndraSter_> I am not in the US :P
[17:44:34] <OndraSter_> so I check mouser/farnell
[17:44:56] <rlc> attiny20 only 60 cents
[17:44:57] <megal0maniac_afk> I'm not in EU. So I can't really check anything
[17:45:55] <OndraSter_> how's the school in the southern hemisfere megal0maniac_afk btw? Do you have now the second semester of the year or the first one?
[17:46:51] <megal0maniac_afk> Second. Long vacation is over December. Makes more sense, I think. Year starts when it starts. Not half way through
[17:47:29] <OndraSter_> haha
[17:47:36] <OndraSter_> so you are like the aussies, makes sense
[17:48:08] <megal0maniac_afk> It's literally just so that the holidays are over summer, that's all
[17:48:13] <OndraSter_> I like how you have christmas in the biggest heat waves in the summer... poor santa must be melting on the sand :D
[17:48:13] <OndraSter_> yeah
[17:48:34] <OndraSter_> this summer was effed up though, completely cocked up work and did not get a single day worth of AVRs
[17:48:38] <OndraSter_> or any embedded stuff
[17:48:43] <OndraSter_> or electronics even!
[17:48:44] <megal0maniac_afk> Doesn't get that hot here. Maybe 34C 2 or 3 days in the year
[17:48:49] <rlc> What is USI?
[17:48:52] <OndraSter_> (except taking apart an old washing machine)
[17:48:56] <OndraSter_> universal serial interface
[17:49:06] <megal0maniac_afk> rlc: Poor man's SPI/I2C/USART
[17:49:11] <rlc> ah
[17:49:45] <megal0maniac_afk> It's a glorified shift register. It can act as any of those things, but you have to set it up first in software
[17:49:58] <megal0maniac_afk> It isn't dedicated to a specific task
[17:50:15] <megal0maniac_afk> Better than nothing, though
[17:50:47] <rlc> Should I get a real i2c midule instead?
[17:50:50] <rlc> module
[17:51:24] <megal0maniac_afk> It'll probably save you some time and frustration. And will definitely save you some program memory
[17:54:22] <megal0maniac_afk> Tom_itx: What is the current fuel price there?
[17:54:44] <rlc> ATtiny2313A seems to be the cheapest to support ISP and have native I2C
[17:54:49] <Tom_itx> 3.15
[17:55:04] <megal0maniac_afk> :(
[17:55:10] <megal0maniac_afk> 4.94
[17:55:23] <Tom_itx> it was 3.69
[17:55:43] <Tom_itx> went down after we decided not to do anything in the middle east
[17:56:08] <megal0maniac_afk> It was 5 last week
[17:56:17] <Tom_itx> every time we sneeze their way, the price goes up
[17:56:36] <megal0maniac_afk> For us too. Stop! :P
[17:56:47] <Tom_itx> it's flu season
[17:56:49] <megal0maniac_afk> I get 58mpg so meh :D
[17:56:49] <Tom_itx> :)
[17:57:44] <rlc> How you get that?
[17:57:56] <Tom_itx> motorcycle
[17:58:00] <megal0maniac_afk> Yip
[17:58:04] <rlc> ha
[17:58:09] <megal0maniac_afk> 27 in the car
[17:58:11] <rlc> 2 wheels
[17:58:15] <rlc> No wonder
[17:59:00] <megal0maniac_afk> http://www.fuelly.com/driver/megal0maniac/ybr-250
[17:59:31] <megal0maniac_afk> Anyway, enough off-topic chat. Goodnight all!
[17:59:54] <Tom_itx> if it makes you feel better it was 8 something in caymen
[18:00:38] <megal0maniac_afk> :<
[18:02:28] <rlc> Lame, ATtiny2313A has USI only
[18:02:39] <Tom_itx> megal0maniac_afk, http://tom-itx.dyndns.org:81/~webpage/temp/sign.jpg
[18:03:20] <megal0maniac_afk> Haha!
[18:03:42] <rlc> What's K Y Jelly?
[18:03:49] <megal0maniac_afk> >.<
[18:03:57] <Tom_itx> he's a youngun huh?
[18:04:42] <rlc> Ha.. Libricant
[18:07:31] <megal0maniac_afk> http://www.atmel.com/v2pfresults.aspx#(actives:!(8238,8394,8362,8282,8431,8300,8358,8392,8378,8445,8236,8449,8474,8248,8264,8447,8256,8254,8286,8462,8429,8458,8466,8400,8302,8278),data:(area:'',category:'34864',pm:!((i:8238,v:!(0,18)),(i:8394,v:!(0,4)),(i:8362,v:!(1,30)),(i:8282,v:!(4)),(i:8431,v:!(0,36)),(i:8300,v:!(1,9)),(i:8358,v:!(1,67)),(i:8392,v:!(0,1)),(i:8378,v:!n),(i:8445,v:!(0,3,4,5,6,7,8)),(i:8236,v:!(0,29)),(i:8449,v:!(0,10))
[18:07:48] <megal0maniac_afk> Oh nevermind. And gawd that's ugly
[18:12:56] <megal0maniac_afk> Okay, goodnight
[18:14:28] <Tom_itx> you keep saying that
[20:48:56] <braincracker> October 1 2013 - 800 FEMA Camps in USA ran by Homeland security fully operational Last days http://www.youtube.com/watch?v=1Q8IliKVOXM
[21:26:36] <MarkX> hi everyone
[21:26:55] <MarkX> anyone who knows USB device development got a couple of minutes to spoon feed me a bit?
[21:35:46] * Casper gives MarkX a fork
[21:36:07] * MarkX uses the fork to scratch his back
[21:36:12] <WormFood> MarkX, you'd have a much better chance of getting your questions answered, if you asked real questions. If someone answers your question, then it will not help you.
[21:36:13] <MarkX> i've been trying to reach that spot for days
[21:36:26] <MarkX> WormFood: heh okay
[21:37:01] <WormFood> in general, don't ask if an expert is around, unless it's a preface to a real question ;)
[21:38:08] <MarkX> well i'm trying to develop a usb device using the audio class. i am using paul's (teensy) usb "stack". when i was using the stack before, i was able to get it to work perfectly. that was with HID.
[21:38:13] <Casper> and often what look hard to you can be trivial for non-knowledgeable people too
[21:38:20] <MarkX> now that i'm trying audio, it doesn't appear to work.
[21:38:44] <MarkX> i don't know if its the stack or the windows drivers because, using a usb analyzer program i see that it gets stuck on "Select Configuration"
[21:39:05] <MarkX> when i ran my old usb device program (HID) i was able to select the configuration no problem
[21:40:52] <MarkX> i have the URB information, i don't know if that has to do with host or device
[21:42:43] <MarkX> so my question is, where do i go from here? the stack has worked fine so far, the descriptors because they are taken directly from a LUFA demo, and the driver works because when the LUFA demo is burned to the device, i get an audio device in devmgr...
[21:42:55] <MarkX> the descriptors work*