#avr | Logs for 2016-02-29

Back
[01:48:06] <Haohmaru> does anyone know the fuse settings for the at90usb162 when used as avrispmk2 clone?
[01:55:55] <Haohmaru> hm.. they are part of the .elf file.. good, except i can't program the elf file with avrdude 5
[01:56:35] <Casper> you need the .hex
[01:56:45] <Casper> as for the fuses, just calculate it
[01:58:29] <Jartza> morning
[01:59:21] <Casper> o/
[02:12:04] <Haohmaru> i switched to avrdude6 and flashed the elf
[02:14:11] <Haohmaru> now when i plug it - the leds blink twice every time
[02:14:22] <Haohmaru> but it still doesn't appear as a usb device
[02:15:08] <Jartza> flash the .hex, not the .elf
[02:15:14] <Haohmaru> which hex?
[02:15:25] <Casper> .elf is useless, you need a .hex
[02:15:27] <Haohmaru> i flashed the bootloader elf
[02:15:38] <Casper> .elf is NOT to be flashed
[02:15:46] <Haohmaru> uh, the elf contains.. wat
[02:16:41] <Jartza> Haohmaru: avr doesn't understand the .elf file
[02:16:51] <Haohmaru> how come?
[02:17:00] <Haohmaru> avrdude6 reads elf
[02:17:08] <Jartza> ELF file contains a lot of extra non-executable data, like debugging information (variable names, functions names, line numbers etc).
[02:17:40] <Casper> avrdude may read it, but will treat it as a raw binary, will result in a non-working chip
[02:17:50] <Haohmaru> >:/
[02:18:08] <Haohmaru> no.. avrdude 6.x reads elf files, it's said in the change log
[02:18:22] <Haohmaru> -U flash:w:...:e
[02:18:37] <Haohmaru> i'm not kidding
[02:18:49] <Casper> if you say so. in that case, you know how to flash then, so go for it and good luck
[02:19:11] <Haohmaru> i did.. and it now blinks twice when i plug it in the usb
[02:19:20] <Haohmaru> but doesn't appear as a device at all
[02:19:32] <Haohmaru> under windows, that is
[02:27:21] <Jartza> maybe it's wrong elf then
[02:27:28] <Jartza> did you compile it yourself?
[02:29:13] <Haohmaru> no
[02:29:30] <Haohmaru> the fuse settings in the elf file are the same as the default fuse settings in fusecalc
[02:29:54] <Haohmaru> and there, clock is divided by 8, and BOOTRST is not enabled
[02:30:05] <Haohmaru> that doesn't smell right
[02:30:40] <Haohmaru> with the 16MHz external xtal - the thing would run at 2MHz
[02:45:27] <Haohmaru> can't get it working
[02:46:25] <Haohmaru> i tried different fuse settings, i tried converting the bootloader elf to hex and flashing that, i tried flashing just the firmware (for usage with avrdude, since i don't even wanna hear about atmel studio) but still doesn't show up as a usb device in the OS
[02:57:49] <Casper> hint: clkdiv8 should be disabled
[03:00:26] <Haohmaru> i thought so too
[03:00:39] <Haohmaru> i tried that, then it doesn't blink twice
[03:00:50] <Haohmaru> and nothing happens
[03:05:01] <Haohmaru> shouldn't the BOOTRST be enabled too?
[03:34:38] <Haohmaru> Tom_itx r u there?
[03:41:26] <Jartza> Haohmaru: why not just compile the avrispmkii yourself to your chip
[03:41:27] <Jartza> it's not that hard
[03:41:41] <Jartza> just clone the git repo, modify makefile to your chip and compile
[03:42:08] <Jartza> worked for me with the u2s, now it acts like avrispmkii :)
[04:30:55] <Haohmaru> i've flashed those same hex files before, because i was switching between atmel studio and avrdude
[04:31:00] <Haohmaru> so they definately work
[04:31:20] <Haohmaru> but i did that thru the bootloader (and the atmel flip app)
[04:32:30] <Haohmaru> i see the thing blinks its LEDs twice on power up every time.. the same way no matter whether you just power it up with 5V or plug it into the USB
[04:32:51] <Haohmaru> so i'm guessing it indicates some kind of error when it tries to talk to the USB
[06:06:43] <limpkin> ok, seems there's no way to set different configurations in atmel studio which would only compile certain files
[06:06:56] <limpkin> excluding a file from build does it for all configurations
[06:06:57] <limpkin> this sucks
[06:13:41] <theBear> been a while since i atmel-studio'd, but maybe a slightly hand-tuned makefile could help ? something like different all-v1 all-v? sections excluding the file(s)
[06:14:53] <theBear> or very ugly you could do a "new" project for each config/skipped files using symlinks to populate the dir/project just skipping bits you don't want, at least i can't think of a reason why not right now
[06:18:23] <Lambda_Aurigae> it's called,,,,,libraries
[06:18:32] <limpkin> i was thinking yeah...
[06:18:53] <Lambda_Aurigae> thinking is dangerous.
[06:19:09] <limpkin> always
[06:19:26] <Lambda_Aurigae> please put your hands on the yellow circles on the wall beside your front door and wait for the thought police to arrive. There will only be a short delay.
[06:44:14] <julius> hi guys
[06:44:34] <julius> Lambda_Aurigae, thats from this bruce willis movie, right?
[06:44:55] <julius> the fifth element
[06:45:05] <julius> well, the yellow circles are
[06:46:49] <theBear> heh, that makes me wanna have a long puff on my fraction of a cigarette (we got traditional feb/aug tax/levy alcahol+tobacco rise just recently, and marlboros passed their $1/cigarette level well into the >$1 each from ANY vendor, and apparently cos of some "cigarettes will cost more than a small car by 2020" govt promise/policy recently, we get a bonus rise for march too)
[06:49:19] <julius> cant imagine that, never smoked
[06:49:22] <julius> but i got lucky
[06:49:33] <julius> wasnt really my choice
[06:51:40] <theBear> heh, i spose many of us smokers could say the same, well, apart from lucky maybe :)
[06:52:30] <theBear> course it's reverse psychology, the more they make our decisions for us, the more we will smoke just to spite them, and maybe cos we miss the characteristic colourful packaging/logo styles
[06:53:33] <julius> wanna do something crazy? google "nlp stop smocking"
[06:53:52] <julius> there will probably pop up some videos doing a kind of hypnosis to repattern your brain
[06:55:20] <theBear> nlp eh ? i dunno about hypnosis, if psychiatrist-prescribed meds are anything to judge by, it's unwise to trick my mind, it err, responds quite poorly indeed
[06:59:20] <daey> theBear: i dont think reverse policy works if you bring money into the equation
[07:00:08] <daey> i wonder how they are going to tax those vape fluits. they will be so easy to import
[07:01:03] <theBear> last i heard they weren't legal here cos of those issues re: fluid quality/safety stuff... either way this state there are VERY few tobacconists so that kinda stuff is hard to find anyway
[07:02:46] <daey> theBear: are you from australia?
[07:03:20] <daey> i assumed usa because of $. but theres no way americans pay 1$/zig :D
[07:11:59] <theBear> 'stralia indeed, also my not-annoyingness should suggest not-us-ness <grin>
[07:40:08] <LeoNerd> So... I have datalogging to FAT16 on SD, from an ATmega328P :)
[07:40:15] <LeoNerd> And moreover, I can keep multiple files open at once
[07:40:23] <LeoNerd> Take *that* Arduino! :P
[07:41:09] <Mr_Sheesh> asm, c, c++, or processing?
[07:44:08] <theBear> heh
[07:44:27] <theBear> or processing ? wha err, what is a processing ?
[07:44:57] <LeoNerd> Straight C
[07:45:01] <Mr_Sheesh> thats the basis of the arduino "c" stuff but its sslloowwwwwwwwwwwww
[07:45:24] <LeoNerd> With some slightly-C++-looking-lines like fs->blkdev->read(fs->blkdev, lba + (fat * fs->fat_size), &buf);
[07:46:03] <Mr_Sheesh> yeah, figures LOL
[09:07:58] <WormFood> daey, don't forget, they also use $ in HK
[09:09:15] <WormFood> in fact, I have $130 HKD sitting beside me. (and more in a box somewhere). Their $10 bills (the new ones) are plastic now, which is the wave of the future.
[09:13:45] <daey> WormFood: somehow i can not imagine someone from HK paying 1$+/zig either :D
[09:14:08] <daey> im guessing NZ or AUS
[09:14:53] <daey> WormFood: plastic money? as in you cant bend it?
[09:14:57] <daey> that sounds interesting
[09:26:52] <WormFood> like sheets of transparent plastic
[09:27:00] <WormFood> I'm sure you can easily find pictures of it online
[09:27:09] <WormFood> if not, let me know, and I'll take a picture of the money I have.
[09:27:25] <daey> na im sure they exist, will check it out when im home
[09:27:39] <WormFood> I also have some non-money, that spends like money in HK. They're called banknotes, and they act like money, but is really the opposite of money. ;)
[09:28:24] <daey> yeah from my skimping through the wiki article, it looks like you have multiple institutes that are allowed to print money?
[09:28:31] <WormFood> The largest HK money, in common circulation is $10. Anything larger than that, you see are bank notes.
[09:28:42] <WormFood> "you"? I don't live there.
[09:28:51] <daey> oh :P
[09:29:10] <WormFood> I'm about 30 minutes from HK (actually, about 3 minutes, as the crow flies)
[09:29:37] <daey> now im even more confused
[09:29:42] <WormFood> if I walked out of my house right now, I could be in HK, probably within the hour, depending on how busy customs is.
[09:29:49] <WormFood> I live in China.
[09:29:56] <WormFood> In Shenzhen, which is on the border with HK
[09:29:58] <daey> isnt HK china these days?
[09:30:14] <WormFood> well...that's an interesting story
[09:30:15] <daey> i thought they are china with some special rules
[09:30:24] <daey> didnt know they were THAT special
[09:30:27] <WormFood> ask a Chinese person, and they'll say "yes! HK is part of China"
[09:30:49] <WormFood> and I'll ask them, if they can go to HK, without a passport and a visa. And they say "no", then I say "So, it isn't part of China"
[09:31:17] <WormFood> HK is owned by China, but is a separate entity. They can not do anything they want in HK. They still have limits to what they're allowed to do.
[09:31:17] <daey> i thought they kept enough "special" going to keep that image thing up, but nothing more
[09:31:28] <daey> i see
[09:31:46] <WormFood> same with Macao
[09:32:10] <WormFood> I'm going to HK on Friday, to pick up my mom.
[09:32:23] <daey> WormFood: seeing that you have a seizable amount of HK money. Is the currency valued higher than Chinas own currency?
[09:32:39] <WormFood> no
[09:32:40] <WormFood> lower
[09:32:58] <WormFood> and Macao is even lower
[09:33:11] <WormFood> Macao money being lower than HK was intentional
[09:33:46] <daey> can you pay with the RMB in HK?
[09:33:47] <WormFood> They want people to spend their HK money in Macao, like it was Macao money, and they keep the difference. Crazy, huh?
[09:33:50] <WormFood> no
[09:33:59] <daey> hilarious :D
[09:33:59] <WormFood> I've never seen a place that'd accept rmb in hk
[09:34:13] <WormFood> I mean...I can pay for hash with RMB, in HK, but that's the only thing I've seen ;)
[09:34:27] <daey> :D
[09:34:50] <daey> does HK$ work outside of HK?
[09:34:52] <WormFood> There is an area there. No kidding. First thing I heard, when I walked out of the subway entrance, was "hash".
[09:34:58] <WormFood> no
[09:35:05] <WormFood> not unless someone has a reason to have it
[09:35:25] <WormFood> I paid my mom in HKD and RMB, when I was buying stuff in USA. But she is coming to China/HK
[09:35:44] <daey> i would have assumed that its even illegal to use outside of HK. i bet that would be chinas worst nightmare, seeing HK$ beat the RMB :D
[09:35:55] <WormFood> I went to usa for a few weeks, about a year ago, for the first time in over 7 years.
[09:36:03] <WormFood> it won't happen.
[09:36:09] <WormFood> The rmb is strong now.
[09:36:19] <WormFood> so many people need rmb, for dealing with China.
[09:36:24] <daey> yeah.
[09:36:29] <WormFood> I don't want people to pay me in usd. I want rmb
[09:36:48] <WormFood> if they do want to pay in usd or hkd, I'll accept it, but I give a very poor exchange rate. ;)
[09:37:08] <daey> thats only fair
[09:37:25] <WormFood> Sometimes I'll accept a mix of rmb/hkd
[09:37:54] <daey> how hard is it to leave china btw.? ive heard that outside of HK people cant just go to america/europe etc. is that true?
[09:38:07] <daey> leaving as in holiday, short trips etc.
[09:38:28] <WormFood> not true
[09:38:35] <WormFood> it's the same as any other country
[09:38:42] <daey> thought so
[09:38:48] <WormFood> if you have committed crimes, you may not be able to actually get a passport
[09:38:59] <WormFood> the biggest problem for chinese people, is getting the actual visa.
[09:39:02] <daey> yeah thats a different topic. its similar here
[09:39:17] <daey> well, you cant blame china for that :>
[09:39:54] <daey> but it cant be that hard considering how many chinese teens live in my town :D
[09:40:11] <WormFood> And Chinese people bitch about how hard it is to get a visa to usa, and complain about my government. I tell them, that I'm all for bitching out my government, when they do bad things, but this is one thing they're right about. They should be mad at their fellow Chinese citizens, who go to USA, and violate the terms of their visa, and try to stay there. They should be mad at their fellow countrymen, for creating this situation.
[09:40:44] <WormFood> I met my first Chinese girlfriend in USA.
[09:40:56] <theBear> they should be asking themselves why they wanna go to the us at all
[09:41:18] <WormFood> Actually, that encouraged me to move to China. She was married to an American. And he lived in China. I wanted to leave usa, so I thought I'd give it a shot. That was over 8 years ago. I'm still here.
[09:41:41] <WormFood> My friend got a green card, and moved to USA. After 2 years, she moved back, saying it's too hard to make a living in usa.
[09:41:45] <daey> im pretty sure opportunity wise china is a lot better
[09:41:57] <WormFood> In fact, I'll tell you a funny story, about her move.
[09:42:47] <WormFood> She packed up all her stuff, including her husband's ham radio, and sent it to usa. She was planning on living here. She also shipped a box of chinese maxi-pads to USA, because she was told the american pads are different. After she changed her mind, and decided to move back to China, she sent her boxes back to China...
[09:43:24] <WormFood> China doesn't allow you to import used radio equipment, so they rejected the ham radio, and sent it back...but they made a mistake, and sent the wrong box back. They sent back the box with her maxi-pads, and dresses in it, and sent the radio to China.
[09:43:46] <daey> no used maxi pads in china!
[09:43:58] <WormFood> She came back to USA one more time, and took back what she could. But didn't have enough room for her dresses or maxi-pads, and asked me to bring them when I came to China.
[09:44:21] <WormFood> So, I go through customs, and I'm thinking they're gonna wanna search my bags.
[09:44:38] <WormFood> oh shit! what are they gonna think, when they see my bag, full of dresses and maxi-pads?
[09:44:55] <daey> :D
[09:45:12] <WormFood> The dresses are like a big girl size, or very small woman. This girl was like 5 1/2 feet tall, so really short (I absolutely adore short girls)
[09:45:42] <WormFood> er, I mean, she is about 4 1/2 feet tall, not 5 1/2
[09:45:49] <daey> *the main reason you went back to china* :p
[09:45:52] <WormFood> 5 1/2 would be kinda normal
[09:46:20] <daey> do you use imperial units in china? o0
[09:46:25] <WormFood> I'm about 6 feet tall. When I showed a picture to a friend, and she showed it to her daughter, she said I looked like a giant, standing beside her.
[09:46:28] <WormFood> sorta.
[09:46:41] <daey> i only know 6.2feet is like 1.85m
[09:47:00] <WormFood> most things are weighed in a "jin", which is about 1.1 lbs. (500 grams)
[09:47:11] <WormFood> people weigh food, and even themselves in "jin"
[09:47:27] <WormFood> kg is used for industrial stuff, but most "human things", they use jin
[09:47:34] <daey> nuts and screws are imperial as well?
[09:47:41] <WormFood> 5 gallon jugs, for water machines...are...5 gallons.
[09:47:41] <daey> temps are °F?
[09:48:05] <WormFood> You can find milk, in quarts, but it's labeled at 964 ml (or whatever it is)
[09:48:24] <daey> thats cute :D
[09:48:26] <WormFood> nobody uses °F. I can't even think in °F anymore.
[09:48:48] <WormFood> when my dad tells me the temp back home, I have to think about it, because I can't remember.
[09:49:08] <WormFood> inches are still used, for things like monitors.
[09:49:16] <daey> i think thats a world wide thing
[09:49:30] <daey> we do that in germany as well. same for bike tires.
[09:49:33] <WormFood> I'll tell you, the metric system isn't great for everything.
[09:49:43] <LeoNerd> Inches are still used in PCB manufacture. Well, 1/1000ths of an inch, anyway :)
[09:49:49] <daey> oh it is. its just everyone knows those things by heart
[09:49:49] <WormFood> I feel their degrees are too big.
[09:50:16] <WormFood> To get the same accuracy in centigrade, you have to use 1/2 degree increments
[09:50:27] <WormFood> and who the fuck wants to use 1/2 of a degree?
[09:50:47] <theBear> pfft, we can use nice round points of a degrees
[09:51:05] <daey> WormFood: whats so bad about 20.5°C?
[09:51:26] <WormFood> 1/2 of anything, is not convenient for human brains to grasp.
[09:52:21] <WormFood> There is a mistake in the Fahrenheit scale. Body temp was supposed to be 96 degrees. And the reason they did that, was so that a thermometer could be calibrated without any equipment.
[09:52:29] <daey> hm. i dont think anyone here has trouble with 20.1->20.9°C. Its super common for body temperature to say. 38.5°C e.g.
[09:53:23] <WormFood> daey, you can take my word for it, or guess about it, or research it for yourself, as I have. Being forced to use fractions is not convenient for our brains to manipulate.
[09:53:54] <daey> but with inches it gets ugly imho. because its not based on 10 right? so 6.2 != 6 1/5, right?
[09:54:02] <WormFood> daey, it takes one and a half chickens, to lay one and a half eggs, in one and a half days. How many chickens does it take to lay one egg in one day?
[09:55:23] <WormFood> For measuring the length or size of things, I do feel metric is better for most things.
[09:55:29] <daey> well if you have to do "complex" multiplications with it i do agree. but for a simple number, meh
[09:55:43] <WormFood> And there is a reason, why they use multiples of 12 and 16 with imperial systems.
[09:56:21] <WormFood> You have a dozen eggs, and you want to split them up evenly between 3 people, how many eggs does each person get. Now repeat the same question with 10 eggs, and tell me which solution is easier.
[09:56:58] <WormFood> basing them on 10, is good for some things, and shit for other things. 12 really is a good number.
[09:57:24] <WormFood> and you can prove this, by factoring 10 and 12, and you'll see, that 12 is a LOT more flexible.
[09:59:13] <daey> well does the imperial system have any real downside? besides being not compatible with the dominant system?
[09:59:23] <WormFood> Of course.
[09:59:30] <WormFood> Nearly everything has good and bad sides.
[09:59:46] <WormFood> I feel for many things, metric is better, but not everything.
[10:00:05] <WormFood> Metric is easier for people to understand. And people are stupid. They tend to resist things they don't understand.
[10:02:07] <WormFood> water freezes at 32 degrees Fahrenheit, and body temp was supposed to be 96. Which gives a difference of 64. That way, once you have the high and low marks, it's trivial to place the rest of the degree marks, by bisecting the scale, over and over, until it's completely marked.
[10:02:49] <WormFood> *THAT* was the logic, behind why it's 32...the boiling point of water, wasn't a consideration...that is just where it happened to fall.
[10:03:43] <WormFood> and 0 degrees Fahrenheit, is the temp water freezes at, with some solution. I forget the details now. But there really was logic put into the scale, and it wasn't just some random choice.
[10:04:17] <WormFood> They did screw up, the body temp, and it is 98.6....BUT...it was supposed to be 96 degrees.
[10:04:51] <daey> well obviously there was a tremendous amount of thought put into this
[10:05:24] <daey> i wonder if the body temp was actually a better solution that the water boiling temperature as the later one fluctuates heavily depending on the height
[10:05:31] <daey> than*
[10:06:51] <WormFood> If centigrade is so great, then why they'd make -40 the same as Fahrenheit? ;)
[10:07:39] <WormFood> fun fact for the day: -40°C == -40°F
[10:08:32] <liwakura> they are linear equally
[10:08:33] <daey> isnt that inevitable for two lines, that they cross somewhere?
[10:08:38] <liwakura> so there is always a cross point
[10:08:43] <liwakura> daey: this
[10:08:54] <daey> sure its funny that it happens at a flat value, but thats it :/
[10:09:12] <WormFood> good point daey. I had forgotten about that, but I know it well. Cold, liquid, and pressure is fun. I like to take my soda, shake the fuck out of it, and stick it in the freezer. I take it out every 10-15 minutes, and shake it again. Then, when it's below freezing, at regular pressure, it's still liquid. As soon as I open the top, it will freeze before my eyes. I can watch the ice crystals growing.
[10:09:39] <WormFood> And if you open the top, and drink it fast enough, you can even get it to turn to ice on your tongue! Which is really cool (no pun intended)
[10:10:07] <WormFood> liwakura, there is not always a cross point.
[10:10:18] <daey> WormFood: sublimation is also funny. if you take coffeine powder e.g. you can see the hard powder vanish. if you increase the heat it starts to melt :P
[10:10:20] <WormFood> Take kelvin and centigrade for example. Those 2 scales will never cross.
[10:10:34] <liwakura> Because they are polynomial of 0th grade
[10:10:43] <liwakura> Fahrenheit and Celsius are 1th grade
[10:10:45] <WormFood> daey, I was mentioning sublimation to a friend the other day.
[10:11:07] <WormFood> what is coffeine powder?
[10:11:17] <daey> caffeine? coffeine?
[10:11:24] <WormFood> I don't know
[10:11:26] <daey> not sure how its written.
[10:11:34] <daey> the stuff in caffee, that keeps you awake?
[10:11:38] <daey> or tea
[10:11:40] <WormFood> caffeine is the stuff in coffee
[10:11:52] <WormFood> it's the drug that most people are addicted to.
[10:12:03] <daey> well "addicted" :P
[10:12:52] <WormFood> no quotes needed. It's been well documented that caffeine is very addictive.
[10:13:04] <WormFood> my mom and girlfriend are both addicted to it.
[10:13:11] <daey> idk. doesnt seem to do anything to me :/
[10:13:26] <WormFood> I'm not. I don't like coffee. I used to be addicted to it. I used to drink at least a 2 liter bottle of mtn. dew every day.
[10:13:59] <WormFood> But, I cut it out. Now I don't get a lot of caffeine. I get a little bit in sodas, but I drink mostly stuff that has no caffeine in it.
[10:14:37] <WormFood> It takes about a week, to get it all out of your system.
[10:14:37] <daey> i was always wondering if im simply expecting to much of caffeine, or if it simply didnt do anything. so i bought some pure powder...
[10:14:50] <daey> idk. i dont want to overdose...but 200mg do nothing
[10:18:27] <daey> so, how many hours/week to chinese people really work? :p
[10:18:40] <WormFood> phone call
[11:47:22] <WormFood> daey, it depends on the person. The general goal here, as it seems to be everywhere, is to get as much money as possible ,for doing the least amount of work.
[12:08:27] <h4x0riz3d> did someone say cone phall?
[12:08:55] <LeoNerd> I don't believe they did, no
[12:09:33] <h4x0riz3d> it was FormWood! i knew it
[13:08:11] <Duality> hi
[13:08:35] <Duality> question what happens to the voltage drop over diodes if you put them in parallel
[13:09:25] <LeoNerd> Same thing as happens to anything else in parallel
[13:09:37] <daey> WormFood well i think thats the goal everywhere. i was just wondering if the chinese mentality is more western or japanese like. as in "be at work for 80h, and pretend to do something" or "be at work for ~40h/week and if possible no longer"
[13:09:47] <LeoNerd> Don't forget that current is shared among parallel components, but all parallel components see the same PD between their ends
[13:10:30] <Duality> yea but diodes do have a kind of fixed forward voltage drop right ? does that meen that if you put two in parallel the drop is shared or added ?
[13:10:42] <LeoNerd> ?
[13:10:51] <LeoNerd> The voltage drop across a diode is a function of how much current it is passing
[13:11:00] <LeoNerd> It's moooostly constant but it does vary a little
[13:11:01] <daey> WormFood: i did some business with multiple people from HK and they seemed VERY western to me. direct, no talking around the topic, clear answers etc. the exact opposite from what i was taught at university
[13:14:18] <Duality> ok but there will not be allot of current running i gues since they are connected to a input on one side and to a output on the other.
[13:14:39] <Duality> so the voltage drop will be small, but i should measure it though, just for good measure :)
[13:14:41] <LeoNerd> You're sounding more confused by the moment
[13:14:50] <Duality> it's a diode matrix
[13:14:51] <LeoNerd> I'm not sure I can follow what you're talking about
[13:15:28] <Duality> maybe I am confused and I am sorry if i make you confused because of it :D
[13:26:38] <Jartza> evening
[13:53:44] <Casper> Duality: a diode forward voltage is dependant on the current it carry. Adding more diode in parallel make it share the load, so the drop is less. HOWEVER, each diode are different, so the sharing is far from being perfect
[13:54:19] <Casper> Duality: the more current it carry, the hotter it get. That increase in temperature make the drop lower, making it take even more of the load
[13:54:37] <Casper> this is why parallel diodes are a bad idea
[13:54:58] <theBear> wait, doesn't it work a bit the other way, lower drop in parallel sees less of the load than the higher one ?
[14:02:49] <Casper> than the higher one?!?
[14:05:56] <WormFood> What is a "leasing edge"? Is this something I need to lease from Atmel, to make my AVR work? I just noticed that typo in an ATmega datasheet
[14:08:45] <WormFood> I'm a little suprised that the AVR's USART doesn't support 1.5 stop bits. I've actually had equipment that needed 1.5 stop bits, oddly enough.
[14:19:52] <h4x0riz3d> how about, set it to 1 stop bit or 2 stop bits based on a PWM ;P~
[14:20:00] <h4x0riz3d> with 50% PWM you get 1.5 stop bits
[14:20:02] * h4x0riz3d runs
[14:26:16] <Duality> Casper: i know of the heating and voltage drop lowering, but current will be minimal so i don't expect any heating
[14:26:32] <Duality> they'll be in a place though were it can get up to 35 degrees
[14:28:23] <Duality> https://www.youtube.com/watch?v=pMIdi-tFVQQ
[14:28:38] <Duality> oh wrong channel sorry!
[14:29:44] <theBear> my god man ! NOT COOL
[14:29:51] <theBear> hehe, nah, it's aiiight
[14:30:06] <theBear> oooh, cheesy ancient home-organ abuse, that's more than aiiight
[14:30:36] <theBear> and if it just lipsync style fake-playing, that's equally cool with that tune
[14:36:18] <kc1dmf> So.. any ASM wizards in the channel?
[14:37:42] * RikusW knows asm
[14:40:41] * theBear has a wand and a pointy hat
[14:42:51] <kc1dmf> Can anyone point me towards some resources concerning TWI implementationm
[14:43:24] <kc1dmf> I've already read AVR300, 316 (I think.)
[14:44:56] <kc1dmf> Eitherway, I mean I've read the application notes on TWI master/slave commo, but, I'm a little confused about ASM manipulation of the 4-bit TWI counter on Tiny85s
[14:49:34] <theBear> damned red master/slave commo dogs and their undecadent eastern block lifestyles !
[14:49:43] * theBear isn't helping :)
[14:50:11] <theBear> umm, isn't two wire stuff hw-assisted in avr-land ?
[14:50:41] <theBear> in which case full-version datasheet for just about any avr8, but may as well be tiny85 full sheet in this case, should fill in the details
[14:51:31] <kc1dmf> It is, and it does, but it's a bit sparse in explaining that counter, specifically
[14:52:11] <theBear> ummm, maybe look for an appnote (can't remember what 300 and 316 are myself) on the area, otherwise i'd say it's the only place that CAN explain it
[14:52:19] <kc1dmf> (Also, spoken like a true TWI slave device. You will be assimilated.)
[14:52:28] <Jartza> kc1dmf: what you'r confused about?
[14:52:38] <Jartza> I write avr asm for breakfast
[14:52:41] <kc1dmf> Damn. Yeah, read a few relevant ones.
[14:54:08] <Jartza> but most attinys have the USI
[14:54:11] <Jartza> like t85
[14:54:45] <theBear> Jartza, mmm, is it very filling after taht when you eat it?
[14:54:54] <Jartza> yes
[14:55:03] <Jartza> it turned into vga controller on my attiny85
[14:55:07] <Jartza> so I'd say
[14:55:08] <Casper> Duality: might want to check out schottky diode if a lower drop is needed
[14:55:52] <kc1dmf> Jartza: No joke? Yeah, I was looking at the USI block in the T85 datasheet. In TWI mode with software clocking, does the data register shift itself?
[14:57:27] <kc1dmf> Also, it says that the buffer latch stays transparent when the chip is programmed for software clocking. Does that mean that it's basically useless as a buffer, or is there a way to software latch it at the end of a TX/RX cycle
[14:57:33] <Jartza> kc1dmf: no joke. https://github.com/Jartza/octapentaveega is my attiny85 vga :D
[14:57:59] <theBear> oh, btw i say only place, cos a counter like that is fairly implementation specific
[14:58:04] <Jartza> yes, data register shifts itself
[14:58:16] <kc1dmf> ^Sweet deal. Gunna have to look into that.
[14:58:27] <Jartza> I'm actually misusing USI in that VGA code of mine
[14:58:35] <theBear> i sometimes wish my ass was better at shifting itself
[14:58:42] <theBear> specially re: irc time wastery
[14:59:08] <Jartza> I'm setting the USI to "manual clocking" and driving pixels out by tickling the USI clock
[14:59:10] <kc1dmf> AWESOME! That was a huge step you just helped me through! Thanks a bunch, Jartza.
[14:59:19] <Jartza> I use "slave" mode, so I don't need to drive clock out :)
[15:00:02] <Jartza> kc1dmf: https://github.com/Jartza/octapentaveega/blob/master/vga.asm#L1064-L1074
[15:00:03] <Jartza> :)
[15:00:12] <kc1dmf> Okay, that makes sense. Still, I hope you don't mind, but I'll have to pull apart some of that code.
[15:00:44] <Jartza> heh yea. my implementation isn't twi, but VGA :D
[15:01:08] <kc1dmf> But it is still USI, which should use the same registers, right?
[15:01:35] <kc1dmf> Therefore, I would think it'll work for me.
[15:02:50] <kc1dmf> Either way, I'll paw through it, and send you a PM on github with my results.
[15:05:33] <Jartza> sure, I use USI
[15:05:50] <Jartza> there's also videos showing what attiny85 can do :)
[15:06:11] <Jartza> 32x16 characters on VGA screen. that's 512 characters. with 512 bytes of ram :)
[15:06:19] <Jartza> so, all variables I use are CPU registers
[15:07:31] <inkjetunito> :o
[15:09:48] <Duality> theBear: I am building one of those :) hence diode's + diodematrices :D
[15:10:11] <theBear> Duality, an ass-shifter ?
[15:10:17] <Jartza> :D
[15:10:20] <Jartza> build two!
[15:10:34] <Duality> theBear: yea I hope it works !
[15:10:42] <theBear> oh, home/70s-style electric organ ? i'm well into that
[15:10:59] <kc1dmf> Jartza: Sweet. I'll watch that too. Thanks again.
[15:11:01] <theBear> you going the whole "electronic pipe organ replica" style ?
[15:11:32] <theBear> as seen in pure-organ/most or anything with "drawbar" controls models
[15:11:32] <Duality> yes, only I will put a pc in it :) to synth the sounds
[15:11:42] <Duality> ah
[15:11:48] <theBear> mmm, less cool, but still cool.. i'm VERY into organs, the err, instrument <grin>
[15:14:20] <Jartza> kc1dmf: and of course, full source + schematics included if you want to build yourself one :)
[15:14:36] <Jartza> (and I'm also planning to sell ready-built if someone is ever interested)
[15:18:45] <kc1dmf> That may still be a little out of my league. I'm still pretty much brand new to electrical engineering.
[15:24:08] <kc1dmf> I'm out for now. Thanks again, Jartza.
[17:26:03] <WormFood> http://makezine.com/2016/01/25/why-im-excited-that-microchip-is-buying-atmel/ <-- we can only hope it will turn out this way.
[17:28:18] <Dreamer3_> are there any Atmega64* with a USB support like the 32u4?
[17:30:30] <Lambda_Aurigae> Dreamer3, several larger ones.
[17:31:08] <Lambda_Aurigae> a90usb646
[17:31:13] <Lambda_Aurigae> at90usb1286
[17:31:51] <Lambda_Aurigae> lots more if you go xmega
[17:32:25] <WormFood> are they still using the AT90xx designation for new designs?
[17:32:34] <Lambda_Aurigae> some.
[17:32:37] <Lambda_Aurigae> not many.
[17:33:25] <WormFood> I got started on the at90s8515 and at90s2313. I remembered when they switched to the atmega8515 and I think attiny2313, and the software I was using wouldn't work.
[17:34:05] <WormFood> At the time, I didn't want to take the time, to figure out what the problem was, and fix it, but it had to do with their handling of the serial ports. (UART)
[17:35:32] <aandrew> yeah I dunno
[17:35:43] <aandrew> I think the mchip purchase of atmel is bad news bears
[17:35:51] <Lambda_Aurigae> yeah. at90s these days are more like atmega reall.
[17:36:55] <aandrew> I love the argument where they're bitching about prices for DIP
[17:41:27] <theBear> wait, who did what !?!?!?!?
[17:42:01] <Lambda_Aurigae> microchip bought atmel.
[17:42:41] <Tom_itx> oh god what's the world coming to
[17:43:01] <aandrew> this was announced early this month
[17:43:12] <Tom_itx> i actually heard about that a few months ago
[17:43:29] <Lambda_Aurigae> Tom_itx, next thing you know we will have a corporate CEO for president of the USA.
[17:44:03] <theBear> hehe, line-ends, for a moment i read atmel sold for under 4 bucks in that earlier article
[17:50:18] <Tom_itx> the at32U is the dropin for the AT90xx
[17:54:14] <theBear> and attiny and atmega
[17:54:21] <theBear> are dropin for other at90?????
[17:54:31] <theBear> attiny2313=90s2313
[17:55:18] <theBear> atmega16 or 32 kinda= at90s4515 or other hard to remember number, official nicknamed (unof. old-)mega
[17:56:12] <Jartza> still waiting for the atgiga series ;)
[18:00:16] <Lambda_Aurigae> Jartza, that's avr32
[18:00:21] <Lambda_Aurigae> or maybe arm
[18:04:21] <Jartza> nah, avr32 isn't even a thing :)
[18:08:15] <Jartza> Lambda_Aurigae: talking about microchip... I got some 23LC1024s :)
[18:23:29] <lorenzo> poor avr32
[18:37:55] <Jartza> well. good night!