#avr | Logs for 2014-10-16

Back
[02:58:41] <anton02> for some reason i get no output with this code http://codepad.org/YhhJXK0N am i setting the registers up correctly?
[06:04:03] <hackvana> so my roast chicken just exploded in the oven and now it is walking around and it also has ebola
[06:04:37] <hackvana> so Australia is now infected so RUN!!!!!!!!!
[06:04:48] <hackvana> #EbolaZombies
[06:04:52] <hackvana> #hashtag
[06:06:15] <hackvana> ^ I have to disclaim the above text, it may or may not have been typed by me
[06:24:23] <Fleck> someone here is drunk, it seems
[06:26:35] <Lambda_Aurigae> drunk is relative.
[06:28:41] <twnqx> i am \o/
[06:38:40] <LeoNerd> Woo. My ATtiny dev boards arrived.
[06:41:05] * twnqx sits in china and wonders what cheap stuff to buy
[06:41:15] <twnqx> maybe a few of those wlan chips
[06:41:24] <Lambda_Aurigae> send me a cute 18 year old chinese girl!
[06:41:32] <twnqx> esp8266... but almost 2€... so expensive
[06:58:00] <JamesJRH> Why has mention of ebola come into such common use recently? I'd never heard of it until recently then I've seen it several times.
[06:58:14] <JamesJRH> Did it go viral or something? :-P
[07:00:03] <JamesJRH> hackvana: Hashtags are outlawed on IRC! D-:
[07:02:25] <JamesJRH> Lambda_Aurigae: Those are highly sort after in China; the supply/demand ratio isn't in your favour. :-P
[07:02:58] <Lambda_Aurigae> I thought everything in china was cheap.
[07:04:44] <twnqx> the "cute" makes it difficult
[07:06:59] <JamesJRH> There're plently of cute Chinese girls, it's just that there are a *lot* more Chinese boys.
[07:07:56] <hackvana> It's not that bad (yet). But it will be.
[07:08:16] <hackvana> What you should know if you want a cute Chinese girl: http://middlekingdomlife.com/guide/dating-etiquette-sex-relationships-china.htm
[07:08:25] <twnqx> JamesJRH: beauty lies in the eye of the beholder ;)
[07:08:50] <hackvana> The text before was typed by my 15yo son as payback for me tickling him.
[07:09:37] <JamesJRH> LOL!!!
[07:09:56] <twnqx> hackvana: where in/around SEG plaza would i go to buy reels of ws2812b? :X
[07:11:13] <JamesJRH> hackvana: You got ‘IRC-raped’ by your son.
[07:11:29] <JamesJRH> (Variation on the term ‘frape’.)
[07:17:01] <hackvana> I'd rather not trivialise what to me is a very serious matter.
[07:17:12] <hackvana> But I'll concede I got pwned :-)
[07:17:37] <hackvana> twnqx: 6th floor of the international led trading centre.
[07:26:22] <JamesJRH> twnqx: I agree. (Though I had to look up the term ‘beholder’.)
[07:27:35] <twnqx> i thought that'a a pretty common phrase :P
[07:28:52] <JamesJRH> I think I've heard it before but had to double-check that it is indeed the observer rather than the person ‘holding’ the beauty. :-P
[07:29:37] <JamesJRH> hackvana: Wow, culture differences, some I didn't know about. Chinese culture isn't for me.
[07:30:27] <JamesJRH> I'm quite happy with Europe. I've not even gone outside of it.
[07:31:26] <JamesJRH> hackvana: Indeed it is. I've ensured that that kind of thing never happened to me.
[07:32:04] <JamesJRH> Hopefully never will.
[07:32:23] * twnqx wonders what he missed in the short absence
[07:32:50] <evil_dan2wik> twnqx, it appears that the world has ended.
[07:33:09] <JamesJRH> 11:57:36 < hackvana> I'd rather not trivialise what to me is a very serious matter.
[07:33:09] <JamesJRH> 11:57:47 < hackvana> But I'll concede I got pwned :-)
[07:33:09] <JamesJRH> 11:58:12 < hackvana> twnqx: 6th floor of the international led trading centre.
[07:33:25] <jacekowski> Lambda_Aurigae: things in china are cheaper but not exactly cheap
[07:33:25] <JamesJRH> 11:58:53 -!- twnqx [~gb@2a01:130:11:1::30] has quit [Ping timeout: 260 seconds]
[07:33:28] <twnqx> thanks hackvana, will try that :)
[07:33:59] <twnqx> jacekowski: depends. i just found an offer for SMD mini usb connectors at 1.15 euro-cent per piece
[07:34:22] <twnqx> (and thank you JamesJRH for reposting!)
[07:36:11] <jacekowski> baby milk for example is a lot more expensive in china than anywhere else
[07:36:52] <jacekowski> and since recent fonterra botulism thing prices went even higher
[07:36:56] <JamesJRH> twnqx: I expect you got the previous comment at 11:52:04 by me due to the 4:20 ping timeout.
[07:36:57] <hackvana> JamesJRH: Indeed
[07:37:06] <hackvana> twnqx: I'm trying to dredge up a picture for you
[07:38:19] <JamesJRH> hackvana: To which comment?
[07:38:33] <hackvana> led centre
[07:38:58] <hackvana> China had a rash of incidents involving adulterated baby powder a few years ago (melamine was added to fake the protein measurements of the powdered milk because melamine contains nitrogen, which throws off the reading). Melamine also attacks the kidneys.
[07:39:42] <hackvana> Chinese are obsessed with giving their children the brightest future possible (because they only get one shot, and because they're all worried about what might happen in the future, and because their system is so intensely competitive)
[07:39:58] <hackvana> So Chinese people will pay incredible amounts for imported baby milk powder.
[07:40:02] <JamesJRH> jacekowski: So it depends on the product, and also things are cheaper than elsewhere but probably not cheap to someone working there with a poor income.
[07:42:30] <twnqx> sure
[07:42:36] <twnqx> i paid 15€ for 150g coffee :X
[07:42:50] <twnqx> china knows cheap, and china knows expensive
[07:46:14] <twnqx> Shenzhen Huaqiang North road, hm
[07:47:46] <JamesJRH> hackvana: Indeed which comment? About ‘beholder’, Chinese culture, or being pwned by someone with physical access to your machine?
[07:47:52] <twnqx> building 6F... google manages :)
[07:49:34] <JamesJRH> Why don't they stay with breast milk? That's what it's there for.
[07:50:25] <JamesJRH> Can't beat that for quality milk for your baby.
[07:50:38] <twnqx> hackvana: http://www.electronicsshenzhen.com/wp-content/gallery/led-trading-market/IMG_9565.JPG does that indicate the 6f Huaqiang North Road, Shenzhen, Guangdong, China for google maps?
[07:51:56] <JamesJRH> And cheap (only requires energy and nutrients from food eaten by the mother).
[07:53:23] <jadew> hackvana, ha! that explains it
[07:53:48] <jadew> my wife is a pharmacist and she was telling me that chinese people buy all the powder milk
[07:53:59] <jadew> like... one person buys it all
[07:54:09] <jadew> she always suspected they're sending it back to china
[07:54:31] <twnqx> what, the melamine thing was mainstream media material in germany
[07:54:39] <twnqx> you didn't know that?
[07:55:09] <twnqx> it's (kind of) funny seeing the amounts of baby powder sold in airport duty free shops
[07:55:12] <jadew> what melamine thing?
[07:55:24] <twnqx> hackvana> China had a rash of incidents involving adulterated baby powder a few years ago (melamine was added to fake the protein measurements of the powdered milk because melamine contains nitrogen, which throws off the reading). Melamine also attacks the kidneys. <- that
[07:55:34] <hackvana> JamesJRH: Peasants breast feed their children. Chinese people are *desperate* to demonstrate that they've escaped the village.
[07:55:53] <twnqx> ah, chinese views again :P
[07:56:00] <twnqx> and american.
[07:56:12] <hackvana> http://en.wikipedia.org/wiki/Protein_adulteration_in_China
[07:56:12] <twnqx> ameritards also seem to have problems with breastfeeding...
[07:57:08] <hackvana> The whole buying-of-audis-and-gucci conspicuous consumption thing is economic signalling.
[07:57:15] <hackvana> They have to show they've made the grade.
[07:57:31] <twnqx> pah, you buy audis for the quality
[07:57:38] <hackvana> If you're thinking this sounds like the actions of a deeply insecure people, you'd be right.
[07:57:41] <twnqx> gucci on the other hand...
[07:57:49] <hackvana> twnqx: Not in China.
[07:57:53] <twnqx> true
[07:58:07] <twnqx> i was shocked to see that my car would be even more expensive here than in germany
[07:58:11] <hackvana> It's why they don't mind buying fakes, as long as they look real. It's not for you to use, it's for others to see.
[07:58:20] <twnqx> and that already was far more than what i paid in saudi-arabia
[07:58:52] <hackvana> one reason audis are so sought after in China is because it's the only prestige brand that is not made under license in China.
[07:59:12] <twnqx> bmw and mercedes are?
[07:59:16] <hackvana> Yes
[07:59:25] <hackvana> Therefore if you see an Audi, you know whoever bought it paid a fuck-ton of money (inc unbelievable import duty).
[07:59:26] <twnqx> or the huge amount of bentleys, lamborghinis, ferraris around here?
[07:59:36] <hackvana> I don't know about those.
[07:59:56] <twnqx> still strange, audi really is EXPENSIVE here
[07:59:58] <hackvana> So an Audi is an unfakeable display how how far away from the village you are.
[08:00:13] <twnqx> heh
[08:00:19] <hackvana> Believe me, Chinese people WANT the price to be high.
[08:00:19] * twnqx didn't know that
[08:00:26] <hackvana> If it was lower, they'd lose interest
[08:00:30] <twnqx> lol
[08:00:53] * twnqx always looks to get THAT expensive things cheaper
[08:01:03] <twnqx> probably have to move to the middle east again for my next car...
[08:01:15] <JamesJRH> hackvana: That sounds like white bread and the Victorians, yet now we realise that wholemeal bread is better. Hopefully it'll revert in the future for Chinese breast-feeding as well.
[08:02:06] <hackvana> JamesJRH: Indeed. You see Chinese women walking along with their umbrellas shielding their skin from the sun.
[08:02:13] <hackvana> They are desperate not to get any tan at all.
[08:02:19] <twnqx> yeah
[08:02:23] <twnqx> it's... funny
[08:02:31] <twnqx> (in a weird way)
[08:02:35] <hackvana> Not because they have whitey-love, but because tanned means you do field work. See wanting to escape the village.
[08:02:48] <hackvana> Victorian England went through exactly the same thing.
[08:02:56] <hackvana> White skin indicated you didn't have to work for a living
[08:03:00] <hackvana> It's a marker
[08:03:28] <hackvana> The consequence is that rickets (vitamin D deficiency) is alive and well in highly urban areas such as Shenzhen.
[08:03:30] <twnqx> weirdly
[08:03:43] <twnqx> brigther skin is also a distinguishment in india
[08:03:52] <twnqx> and far more so in the middle east
[08:04:01] <hackvana> It's the same thing. Skin whitening products are huge.
[08:04:33] <LeoNerd> Huh.. How did I never notice this before? The tiny2313 doesn't have an ADC
[08:04:50] <LeoNerd> The smaller tinies (84/85) do, but neither has a UART
[08:05:11] <twnqx> don't the small ones have an USART that can also be used as uart?
[08:05:13] <LeoNerd> Am I going to have to go for a mega of some kind if I want both? And yes I'm aware of the batshit-crazy that is the 841
[08:05:20] <LeoNerd> They have a thing called a USI
[08:05:28] <twnqx> ah right
[08:05:33] <LeoNerd> It's supposed to be for synchronous work; it mostly needs a clock source of some kind
[08:05:36] <twnqx> that dies rs232 at least
[08:05:45] <twnqx> iirc it can do async as well
[08:05:50] <LeoNerd> You -can- use it as a UART but it's not as good, because the true AVR UART modules take a majority-of-three sample on receipt
[08:06:01] <LeoNerd> It's fine for TX though
[08:06:27] <twnqx> i see
[08:06:35] * twnqx didn't know that fine detail
[08:06:52] <twnqx> day 1 taobao shopping spree, done
[08:06:53] <jadew> hackvana, that's crazy
[08:06:57] <twnqx> next on sunday :)
[08:06:57] <jadew> but explains a lot
[08:07:03] <LeoNerd> There's an appnote about using the USI as a UART
[08:07:06] <LeoNerd> It talks about that kind of detial
[08:07:13] <twnqx> jadew: it's pretty common in reality
[08:07:18] <twnqx> if you come around a bit
[08:08:02] <jadew> I always thought the chinese people living in here are sort of... jerks, for a lack of a better word describing someone who thinks he's important because he got a bit of cash
[08:08:08] <LeoNerd> *detail
[08:08:27] <twnqx> well
[08:08:33] <twnqx> from my gut feeling
[08:08:48] <twnqx> the shenzhen area people are friendlier/more open than the shanghai people
[08:09:18] <hackvana> jadew: Money is china's escape velocity. So if you can make it out, it means you have some (or had some). Money is often associated with being spoiled, and having an entitlement mentality. Rich kid sydrome.
[08:09:38] <twnqx> but that striving for being on top is everywhere
[08:09:52] <twnqx> we helped some people to rise in their company with our work
[08:10:00] <twnqx> ever since we get a lot of good jobs
[08:10:04] <hackvana> Everywhere is friendlier than Shanghai. Shanghainese look down their noses at everywhere else in China. In China they're famous for it.
[08:10:27] <twnqx> interesting
[08:10:32] <hackvana> Relationships are hugely important
[08:10:32] <JamesJRH> hackvana: So yeah, I really don't like Chinese culture. I'm not a fan of Victorian culture either and I see a lot of parallels. I don't care for status one bit. I care for contentment, but then it's hard when it's so competitive and over-populated. I see why the culture falls into this pattern.
[08:11:02] <twnqx> well said...
[08:11:31] <hackvana> Contentment is a product of an abundance mindset. What you see at work in Chinese people is a scarcity mindset. They feel totally insecure of what might happen in the future. That insecurity explains vast amounts of Chinese behaviour.
[08:12:25] <twnqx> given the (recent) history, say early 70s to today, i can understand that
[08:13:16] <twnqx> and i am sure that china is a long stretch away from changing that
[08:13:24] <jadew> insecurity usually makes you humble, not arrogant
[08:13:39] <twnqx> read what he saif
[08:13:48] <twnqx> the people around you have the "escape velocity"
[08:14:02] <twnqx> (unless you live in china)
[08:14:06] <jadew> I don't
[08:14:12] <JamesJRH> jadew: I've met Chinese people like that too, I know what you mean. They must be super rich in China if they're well-off here. That's not everyone from China that I've met though.
[08:14:19] <jadew> I see, so in china it's not like that, got it
[08:14:51] <twnqx> JamesJRH: not quite super-rich, just rich enough
[08:15:07] <twnqx> which still probably puts them in the country's top 0.1% or so
[08:15:34] <JamesJRH> twnqx: Well they act a bit like that, anyway.
[08:17:12] <twnqx> and then there's the car driver that is so happy with a 100yuan tip per week that he'll forget his grudge for having to work saturdays and starts to smile
[08:17:37] <jadew> what's 100 yuan?
[08:17:45] <JamesJRH> Aah, yes, entitlement is the word, hackvana. There was definitely an essense of that with the people I'm thinking of. Indeed, rich kid syndrome is what I was thinking.
[08:17:49] <twnqx> 12€, 15$
[08:17:51] <twnqx> ca.
[08:18:26] <twnqx> compare to: i pay 1200 yuan per day for my hotel
[08:19:09] <jadew> twnqx, yeah, that sucks
[08:19:30] <hackvana> I've studied China for 25 years.
[08:20:06] <JamesJRH> hackvana: I understand that there culture arises from scarcity. Doesn't mean I like it and I wish for them that they can somehow resolve their scarcity.
[08:20:21] <twnqx> yeah, i am only here (periodically) for a year...
[08:20:48] <twnqx> but it's all too similar to what i've seen in other parts of the world
[08:21:05] <twnqx> especially saudi-arabia
[08:21:17] <twnqx> (spent a few years there)
[08:21:20] <jadew> all of this corroborates another discussion I had a few years ago with someone from china, she said that once people get resonably rich, they leave and she thinks that that's why there's not much of a middle class there
[08:22:55] <JamesJRH> 12:53:59 < jadew> insecurity usually makes you humble, not arrogant ← Interesting to think about. Perhaps insecurity in a normally abundant society makes you humble, whereas a society drenched in scarcity creates a culture in which those at the top are likely to be arrogant.
[08:23:35] <twnqx> that matches what i saw with the homeless in tokyo :X
[08:23:38] <JamesJRH> Kind of contrary to would you'd think a tfirst maybe.
[08:24:10] <JamesJRH> s/to would/to what/
[08:24:11] <twnqx> and there are tons of ways humans deal with insecurity
[08:24:21] <twnqx> violence is another prime example
[08:25:10] <twnqx> also, there's a lot of kinds of insecurity - self-consciousness, being wary of the future, etc
[08:25:57] <jadew> well, in my case is financial insecurity, I used to be ok, then really really poor for a while and then back on my feet
[08:26:13] <jadew> I remember that before becoming poor I used to have some sort of arrogance in my mind
[08:26:18] <jadew> I wasn't displaying it, but it was there
[08:27:00] <jadew> after being poor, it's completely gone
[08:27:21] <jadew> and even tho I have some money on the side, I still fear that something might happen
[08:27:49] <JamesJRH> twnqx: What, are homeless in Tokyo humble?
[08:27:55] <jadew> this is the kind of insecurity I was refering to
[08:28:19] <twnqx> sure, in the way that they'd even refuse being helped
[08:30:02] <jadew> yeah, we (at least my generation) were thought to hold on tight to our dignity, even when in trouble
[08:30:14] <jadew> people were really poor when I was a kid
[08:30:18] <hackvana> I don't know that much about Japanese culture, but a person's pride is very important. Similar to the concept of "face" in China.
[08:30:33] <JamesJRH> twnqx: I have a lot of insecurity of the “wary of the future” type. As a result, I'm taking a very unusual path through life.
[08:30:57] <hackvana> This is a really really interesting article about Japan.
[08:31:00] <twnqx> i was told that i do that, too, by tax agents when they visited >_>
[08:31:18] <twnqx> @ JamesJRH
[08:31:31] <twnqx> hackvana: well, most of what i know about japan is from watching anime
[08:31:42] <JamesJRH> twnqx: I don't understand.
[08:31:51] <JamesJRH> Lol.
[08:31:53] <twnqx> "unusual path through life"
[08:32:01] <jadew> I fit there as well
[08:32:08] <jadew> for the same reason
[08:32:18] <twnqx> "ok, so you left germany for a few years to live in the middle east"
[08:32:29] <hackvana> twnqx: Most of what I know about the USA I learned from watching Superman.
[08:32:31] <twnqx> "but still had taxed income in germany, but did not declare it"
[08:32:45] <JamesJRH> jadew: That reason being wary of the future?
[08:32:45] <twnqx> "(as you didn't have to)"
[08:32:50] <jadew> JamesJRH, yep
[08:32:56] <twnqx> "and you still have bank accounts in dubai and switzerland"
[08:32:56] <JamesJRH> Hmm.
[08:33:01] <twnqx> "and spend a lot of time in china"
[08:33:12] <twnqx> almost more than in germany
[08:33:30] <twnqx> "oh, and you have approved security clearance for government"
[08:34:06] <JamesJRH> twnqx: What does it matter what tax agents think of what path you take?
[08:34:26] <JamesJRH> Oh...
[08:34:27] <twnqx> they just claimed it's unusual
[08:35:13] <jadew> one question for those of you living in china/japan
[08:35:19] <JamesJRH> I don't really understand tax.
[08:35:50] <jadew> do chinese chicks squeak like they do in movies?
[08:35:59] <jadew> s/chinese/asian/
[08:36:05] <jadew> I always wondered about that
[08:36:21] <jadew> s/movies/porn/
[08:37:22] <jadew> it was never clear to me why they do that
[08:37:27] * JamesJRH 's insecure wariness of the future prompts him to leave this discussion. See you. \o
[08:37:45] <jadew> o/
[08:37:46] <twnqx> my insecurity about the next morning will prompt me to sleep in 45 :P
[08:37:54] <twnqx> cu JamesJRH
[08:37:55] <kdehl> Has anyone here tested the ESP8266 Wifi chip?
[08:38:05] <twnqx> i just ordered 10 of them
[08:38:10] <kdehl> Cool.
[08:38:23] <twnqx> being in china is the perfect time :P
[08:38:30] <kdehl> But it has only a serial connection? Does that mean rs-232 or do they mean SPI?
[08:38:33] <kdehl> Heh. Where are you?
[08:38:34] <jadew> that's the second time I hear about that chip in the past 2 days
[08:38:35] <twnqx> spi iirc
[08:38:38] <jadew> what does it do?
[08:38:41] * kdehl lived in Shanghai for years
[08:38:42] <twnqx> shenzhen \o/
[08:38:51] <kdehl> Ah, nice. Better place for electronics.
[08:39:03] <twnqx> yeah, didn't like shanghai as much
[08:39:18] <kdehl> Ah, so SPI. I was worried it was just rs232, it'd be so frustratingly slow.
[08:39:19] <twnqx> jadew: wlan over spi
[08:39:32] <twnqx> including ip stack on the chip
[08:39:39] <jadew> ah, I remember now
[08:39:43] <kdehl> yeah. It's pretty neat.
[08:39:44] <jadew> it's got a mcu too
[08:40:05] <twnqx> http://www.esp8266.com/
[08:40:11] <twnqx> i recommend reading around that site
[08:40:22] <kdehl> Ah.
[08:40:36] <kdehl> I figured I should just buy it with a breakout board on ebay.
[08:40:38] <kdehl> $4.
[08:40:44] <twnqx> 2€ :P
[08:40:53] <kdehl> With breakout board?
[08:41:01] <twnqx> not full breakout
[08:41:19] <twnqx> just a 10pin header
[08:41:40] <kdehl> Well, that's all I need.
[08:42:12] <twnqx> but well, that's china. can't chip it to you as cheap i'm afraif
[08:42:18] <twnqx> lol
[08:42:19] <twnqx> ship it
[08:42:28] <jadew> ah, it's an ARM MCU?
[08:42:49] <kdehl> http://www.ebay.com/itm/ESP8266-Serial-WIFI-Wireless-Transceiver-Module-Send-Receive-LWIP-AP-STA-arduino-/311123441947?pt=LH_DefaultDomain_0&hash=item487066f91b
[08:42:55] <twnqx> seems xtensa
[08:42:55] <kdehl> I can live with $4 too.
[08:43:17] <jadew> I'm getting one too
[08:44:21] <kdehl> Heh.
[08:44:29] <jadew> ordered
[08:44:57] <hackvana> Not an ARM, but ARM-like. Can now be used with gcc: http://www.esp8266.com/
[08:45:41] <twnqx> https://docs.google.com/file/d/0B9hyK_DA6VIiSWNRZ29sdG1UOVU/edit?pli=1
[08:45:44] <kdehl> I'd like to build a PLIP compatible device. Imagine hooking up an old 386 without an ethernet card to the internets.
[08:45:49] <kdehl> Or maybe SLIP.
[08:45:58] <kdehl> Probably more compatible that way.
[08:46:10] <hackvana> Look for the modules that break out the GPIO pins
[08:46:26] <jadew> heh kdehl
[08:46:38] <jadew> that's actually a neat idea
[08:46:58] <kdehl> I have several PS/2 computers with MCA bus that I will never be able to hook up any other way.
[08:47:08] <kdehl> The NICs are prohibitevly expensive.
[08:47:22] <jadew> I wonder how complex is the ISA protocol
[08:47:29] <kdehl> prohibitively. Damn word.
[08:47:31] <kdehl> Simple.
[08:47:33] <jadew> I'd like to make a wifi ISA card
[08:47:35] <kdehl> Very simple.
[08:47:50] <kdehl> But it's very closely related to the 8088/86 CPU
[08:47:59] <jadew> that would be a nice waste of time
[08:48:26] <kdehl> I was thinking about that too. But there are already ISA-to-CMCIA adapters that you can use in order to get wifi.
[08:48:31] <kdehl> I did that myself back in the day.
[08:48:58] <jadew> ah
[08:49:06] <jadew> that makes it less nice
[08:49:16] <kdehl> Exactly my thought.
[08:49:35] <kdehl> Hm. Seems like there already are SLIP-to-wifi adapters.
[08:49:48] <kdehl> http://www.usconverters.com/index.php?main_page=product_info&products_id=404
[08:50:17] <kdehl> Oh well. I could make a plip. It's be a lot faster.
[08:50:43] <kdehl> I also would like to make a wifi enabled NES game.
[08:50:55] <kdehl> But that would require a lot more effort.
[08:50:59] <jadew> multiplayer mario?
[08:51:05] <jadew> or frog?
[08:51:33] <kdehl> Yeah, but it'd require you to rewrite the games.
[08:51:56] <jadew> shouldn't be that hard, they used to be super simple
[10:05:59] <STS_Patrik> anyone knows how to force "Bus Off Mode" on the CAN-interface of an 8-bit ATmega32C1?
[10:28:01] <astro73|jayne> I'm having trouble with my atmega328p using the internal oscillator. 1. Setting the CKOUT fuse does nothing. 2. toggling the pin in a fast loop indicates a 50x drop in speed from 5v to 3.3v
[10:28:52] <astro73|jayne> at 5v, the loop runs at 1.6MHz. at 3.3v, it runs at 99kHz.
[10:31:39] <astro73|jayne> the data sheet says that the RC oscillator is calibrated at the factor for 8MHz at 3v. But the loop `for(;;) PORTB ^= 2;` takes 6 cycles (5 instructions)
[10:51:34] <[F_F]> hello
[10:52:48] <LeoNerd> astro73|jayne: Incidentally if you wanted a faster loop, you could for(;;) { PORTB |= 2; PORTB &= ~2 } as that will become a SBI and SBC pair; one instruction each
[10:53:43] <[F_F]> for(;;) is waster than while(true) ?
[10:53:49] <[F_F]> fasteer*
[10:53:49] <[F_F]> ?
[10:54:02] <astro73|jayne> depends on the intelligence of the compiler
[10:54:27] <LeoNerd> [F_F]: No; almost certainly identical; you missed the surrounding context perhpas. This was in comparison to for(;;) PORTB ^= 2;
[10:54:36] <LeoNerd> That xor-mutation can't be easily done by the compiler
[10:54:53] <LeoNerd> So it'll become a three instruction read/modify/write
[10:55:00] <astro73|jayne> since technically, while(true) says `if (true) break;`, and if the compiler is dumb, it will compile in the useless test
[10:55:39] <Casper> but there is another problem in your stuff
[10:56:02] <Casper> do you have a decoupling cap near your chip?
[10:56:10] <Casper> do you have a pullup on reset?
[10:56:41] <Casper> are you using the brown out detector?
[10:56:44] <astro73|jayne> no cap, just on a linear regulator on its own
[10:56:57] <astro73|jayne> tried both ways on the reset pin
[10:56:59] <Casper> are you using the watch dog timer?
[10:57:03] <Casper> ok
[10:57:14] <Casper> DO put a ceramic cap as close as possible to the avr
[10:57:24] <Casper> it is mandatory
[10:57:35] <astro73|jayne> fuses are set to: l:02 h:D1 e:05
[10:57:48] <Casper> DO put a pullup on reset, specially if you use a solderless breadboard
[10:57:48] <[F_F]> omg, its gonna blow
[10:57:51] <[F_F]> everyone cover!
[10:58:59] <Casper> to give you an idea of how crappy a solderless breadboard can be: yesterday I was feeding a clock to a broken avr... 5MHz 0/5V signal
[10:59:17] <Casper> my scope connected to the next row show -1/4V
[10:59:49] <Casper> the -1 is because the protection diodes kicked in, which clamped the negative voltage...
[11:00:07] <Casper> if it wasn't of that, I'ld have read -2.5/2.5V
[11:00:25] <astro73|jayne> cute
[11:00:31] <astro73|jayne> any suggestions on cap size?
[11:00:45] <LeoNerd> 100n ceramic + 10u electrolytic is typical
[11:00:48] <Casper> 0.01-0.1uF
[11:01:01] <LeoNerd> Using two because the ceramic will have a much lower ESR
[11:01:01] <Casper> for the decoupling at the avr
[11:05:45] <astro73|jayne> ok, dug out a small ceramic cap, plugged it in, no difference
[11:12:38] <astro73|jayne> still clocking at 99kHz
[11:14:25] <[F_F]> is there an "easy" way to make a sine generator using passive circuits?
[11:14:28] <[F_F]> I want it perfect sine
[11:19:10] <astro73|jayne> http://www.avrfreaks.net/forum/atmega328p-internal-clock-running-slow
[11:19:14] <astro73|jayne> posted about
[11:19:16] <astro73|jayne> it
[11:22:42] <LeoNerd> [F_F]: Surely a trivial L/C resonator?
[11:24:07] <[F_F]> L/C resonator? lmgtfm
[11:25:34] <[F_F]> hmmmm
[11:25:53] <[F_F]> still don't have a clue on how to make that thing oscillate on its own
[11:27:41] <LeoNerd> ping it occasionally
[11:28:08] <LeoNerd> Failing that, make a not-very-good square or sawtooth or whatever else oscillator, and put a few rounds of L/C filter on the front of it, nicely tuned
[11:28:13] <LeoNerd> That'll smooth out its output
[11:30:55] <[F_F]> I think I will just use mains
[11:39:24] <LeoNerd> Is there a standard convention for which way round to use a DIP ZIF socket? It seems my socket doesn't have an orientation marker on it, so I guess I could use it either way round
[11:48:35] <LeoNerd> I'm seeing a sliiight pattern that pin 1 tends to be next to the lever
[11:59:29] <timemage> LeoNerd, that's the way i've always seen them used.
[12:01:11] <MarkX> hi
[12:02:10] <MarkX> quick question. i'm currently working at a place where we have a lot of down time. I wanted to work on some projects that utilize an atmega32u4 but can't bring things like that here. Are there any software emulators that will allow me to run some test code?
[12:02:33] <MarkX> preferably something circuit design so I can throw some LED's and buttons in there?
[12:03:12] <LeoNerd> timemage: OK; well, easy enough to remember in any case. I'll go with that
[12:05:53] <timemage> LeoNerd, you could look at pictures of prom burners. i'm guessing within brands they keep a convention, but across brands should give you some idea whether or not they're in agreement.
[12:06:13] <LeoNerd> Does AVR Studio do that?
[12:06:27] <timemage> LeoNerd, do what?
[12:06:27] <LeoNerd> timemage: Ahyes
[12:06:47] <LeoNerd> AVR Studio; doing simulations of chips.. for MarkX's question
[12:07:34] <timemage> LeoNerd, ah, okay.
[12:08:47] <N1njaneer> MarkX: Yes, but simulation is notoriously inaccurate and difficult to work with. You're far better in running JTAG or SWD and using the actual hardware.
[12:09:08] <MarkX> N1njaneer: dang! k thanks!
[12:10:04] <N1njaneer> Why can't you bring a tiny mega32u4 board in to mess with?
[12:10:31] <MarkX> have to look like i'm working
[12:10:44] <MarkX> in reality i'm getting paid to sit around...
[12:11:15] <N1njaneer> Are you potentially developing anything useful to your employer with the AVR?
[12:11:50] <MarkX> nope not at all
[12:11:55] <MarkX> side projects for myself
[12:12:00] <N1njaneer> Mmm.
[12:12:15] <N1njaneer> I would probably read documentation, then. Or write code. And test at night when you get home :)
[12:12:31] <cmtptr> set up a webcam and ssh
[12:12:31] <N1njaneer> Or find a job where you can get paid to work on AVR stuff, optionally :D
[12:12:36] <MarkX> hahaha
[12:12:45] <N1njaneer> Yeah, VPN to home :)
[12:12:46] <MarkX> i get paid too much here right now to dive into a new field :P
[12:13:20] <cmtptr> N1njaneer, honest question: what sort of job would you look for to do stuff like that?
[12:13:34] <Thrashbarg> here's a tricky one. When I plug an ATmega into its socket on this board here (wirewrapped) it causes my USBasp programmer to short out. It does this for two good ATmegas and the wiring's fine...
[12:13:53] <cmtptr> I'm sort of in the same boat: I sit in a cubical all day writing "embedded drivers" and I never get to see hardware. I have to play with AVRs and stuff on my own time
[12:13:59] <N1njaneer> cmtptr: Anything that would benefit from having a microcontroller, honestly. The possibilities are nearly endless. Just have to find applicability.
[12:15:07] <N1njaneer> cmtptr: The hard part about answering that is because it's such an open-ended question, in all honesty.
[12:15:30] <cmtptr> yeah, I understand
[12:16:05] <cmtptr> was just asking because i have looked for other jobs before and honestly have no clue how to find the openings doing the kind of thing I want to do
[12:16:05] <MarkX> http://www.indeed.ca/jobs?q=avr&l=
[12:16:07] <MarkX> ;)
[12:16:28] <N1njaneer> I've probably done close to a hundred different AVR/ARM-based designs in the past decade for control-systems stuff, so it's been a good opportunity to explore almost all peripheral aspects of the chips and architectures :)
[12:16:31] <MarkX> http://www.indeed.ca/jobs?q=arduino&l= <<< works with arduino too ;)
[12:17:05] <N1njaneer> Probably looking for jobs in the EE/CE areas with a specific emphasis on embedded would be my suggestion
[12:17:26] <cmtptr> thanks
[12:17:49] <N1njaneer> Find what interests you and what you like to do, and let that guide your career-path descions.
[12:17:52] <N1njaneer> decisions
[12:18:09] <MarkX> or sell yourself to the highest bidder
[12:18:17] <cmtptr> oh, I know what interests me and what I like to do. I just don't know how to apply it to real life :p
[12:18:36] <N1njaneer> MarkX: Money won't buy happiness if you get in to a job where you just don't care what you are working on.
[12:18:47] <MarkX> hahaha i kid i kid
[12:19:09] <MarkX> but happiness is subjective
[12:19:26] <N1njaneer> cmtptr: Keep working at it and let it drive you. Don't be afraid to take calculated risks and challenge yourself. Success breeds success.
[12:19:43] <MarkX> i work at a job where i couldn't care less what happens. as long as that fat pay check allows me to pay for 3d printing my prototypes
[12:20:22] <N1njaneer> MarkX: Happiness can be subjective, yes, but you need to find something you can enjoy on a near-daily basis. The last thing you want to do is to wake up 20 years from now, having paid the bills, but wishing you'd done more.
[12:20:40] <MarkX> thats true
[12:20:49] <cmtptr> that's all well and good as long as you can remain motivated to complete your tasks having absolutely no interest in the thing you're developing
[12:20:57] <Jartza> https://slack-files.com/files-pub/T02FEAMUS-F02Q35ULN-4ea51a/20141016_002.jpg
[12:20:59] <Jartza> shiny!
[12:21:09] <N1njaneer> Some people work a job that pays the bills because their spare time is where they put their enjoyment, and that's perfectly fine, too :)
[12:21:28] <N1njaneer> Jartza: Lookin' good!
[12:21:30] <cmtptr> when I get to the point where I feel like I'm paid to do nothing, I start worrying that won't go unnoticed so I go find work
[12:21:39] <MarkX> Jartza: business card?
[12:22:01] <MarkX> cmtptr: where do you live?
[12:22:04] <N1njaneer> cmtptr: Yeah, that's a difficult position to be in, honestly.
[12:22:16] <cmtptr> georgia, us
[12:22:20] <N1njaneer> Good in the financial sense, possibly bad in the long-term sense.
[12:22:49] * LeoNerd rages about people who make ALMOST BUT NOT QUITE SPI-compatible chips YES MAXIM I AM LOOKING AT YOU
[12:22:49] <LeoNerd> The 'DOUT' pin on a MAX7219 is never hi-Z
[12:23:22] <MarkX> cmtptr: http://www.indeed.com/jobs?q=avr&l=Georgia+ << then you'll want that
[12:23:23] <Jartza> MarkX: nope, http://tagsu.io/
[12:23:29] <N1njaneer> LeoNerd: Mmmm yes, Maxim! You can always run that through a buffer triggered by the CS to force it to be SPI-compatible
[12:23:35] <Jartza> well... can be used as a business card too, I guess :)
[12:23:44] <cmtptr> MarkX, thanks
[12:24:57] <MarkX> i recently got offered to teach lego robotics
[12:24:59] <MarkX> to kids
[12:25:10] <MarkX> just couldn't do the hours
[12:25:16] <cmtptr> plus kids suck
[12:25:26] <Thrashbarg> *shudders* kids...
[12:25:26] <MarkX> lmao that they do
[12:25:45] <MarkX> but it also included highschool workshops and stuff
[12:25:48] <cmtptr> if I could get paid to teach programming to cats I'd be all over that job
[12:25:53] <LeoNerd> N1njaneer: What kind of buffer?
[12:26:04] <MarkX> lmao
[12:26:11] <MarkX> start a kickstarter
[12:26:14] <MarkX> you'll make millions
[12:26:41] <MarkX> http://25.media.tumblr.com/tumblr_m2cbfwfGAR1qgmdm9o1_500.gif
[12:28:15] <MarkX> the money can be made by people paying to watch you try and teach the cats. stream it like cam girls
[12:28:31] <MarkX> i better stop before i start thinking this is feasible
[12:36:36] <brabo> hello.. i am trying to port the simple webserver of tuxgraphics and network stack (http://tuxgraphics.org/common/src2/article09051/eth_tcp_client_server-dhcp-5.8.tar.gz) to the atxmega256a3bu but i'm not getting there.. trying to use dhcp but the enc28j60.c's linkup function keeps saying it's down.. i am thinking it could be the clock settings i messed up..
[12:37:47] <brabo> but i have no idea how to properly configure the clock :p
[13:42:19] <Dominykas> Hello everyone, i am trying out cd4017, but there is a problem, when i try to connect the clock input, like a wire to the pin, i start to get pulses through the output pins, keep in mind, that i didnt connect the other side yet. When i try to connect it to a button, the output pins still flash in a row.
[13:43:19] <Dominykas> There is nothing else connected to the clock input. It might be getting interference from the sides of the pin on the breadboard?
[14:17:44] <Jartza> yay, boards work
[14:17:50] <Jartza> https://slack-files.com/files-pub/T02FEAMUS-F02Q2PKCX-49aa5b/20141016_004.jpg
[14:19:54] <cmtptr> what's it do?
[15:16:35] <MarkX> Jartza: needs moar blue
[15:23:30] <Jartza> MarkX: ;)
[15:24:01] <Jartza> MarkX: actually I'm soon running out of caps, the next batch of caps will be blue
[15:24:22] <Jartza> cmtptr: http://tagsu.io/
[16:01:04] <brabo> anyone around with experience making the enc28j60 work with an xmega over spi?
[16:19:58] <AlexanderMSDS> hey
[16:20:29] <AlexanderMSDS> quick question, is there any tutorial out there for using arduino libraries on a simple atmega32u2 breakout board (or something similar)?
[16:29:02] <Tom_itx> AlexanderMSDS, not that i'm aware of
[16:29:19] <Tom_itx> have you seen LUFA though?
[16:29:27] * LeoNerd plays with Tiny devboards
[16:29:36] <Tom_itx> it's a USB thingy for avr
[16:29:46] <AlexanderMSDS> i've looked at LUFA
[16:29:59] <AlexanderMSDS> i'm not stuck on the actual board itself
[16:31:55] <AlexanderMSDS> i just dont know if i can #include<something.h>
[16:32:15] <AlexanderMSDS> something.h being an arduino library i found online
[16:43:36] <Jartza> ohh... time to go to bed
[16:43:39] <Jartza> night all!
[16:43:43] <AlexanderMSDS> bye
[17:11:59] <vanquish> quick fixed point arithmetic question
[17:12:19] <vanquish> if my number is 240704, and I've multiplied by 10000
[17:12:28] <vanquish> so the number I want to display is 24.0704
[17:12:38] <vanquish> how do i keep track of that leading zero?
[17:13:12] <vanquish> like printf("Yo dawg: %d.%d", num/10000, num%10000); would output 24.704
[17:14:04] <N1njaneer> If you need to add leading zeros, use %0Xd notation --
[17:14:23] <N1njaneer> X being the number of places to pad
[17:14:42] <N1njaneer> So if you want to display "1" as "001" then use %02d
[17:14:52] <Tom_itx> printf is expensive
[17:14:55] <N1njaneer> But you need to know how many places of display are necessary
[17:15:05] <vanquish> ...wow, how did i not know that was a thing..
[17:15:51] <Tom_itx> you didn't ask sooner?
[17:15:56] <vanquish> guess so
[17:16:07] <vanquish> i'm one of todays 50000 or whatever that xkcd is
[17:28:52] <LeoNerd> Well, this is awkward. USBASP on a target board I made to talk to a 'tiny85 - works fine. On this new in-circuit board I got - doesn't.
[17:29:01] <LeoNerd> I really can't think of much that would upset it
[17:32:24] <LeoNerd> I wonder if my USBASP is just a bit weak to drive the reset line past the 10k pullup
[17:39:37] <LeoNerd> Well,... boo :(
[17:43:31] <LeoNerd> Ohkay... it can reliably talk to the tiny2313, unreliably talk to the tiny84 once per power cycle, and doesn't talk to the tiny85 at all :(
[17:43:53] <Lambda_Aurigae> ye olde superduper usbasp..
[17:44:35] <Lambda_Aurigae> there are a couple of different ways they can do the vusb hardware setup, one works pretty good, one is flakey.
[17:44:38] <LeoNerd> Does my theory on the reset line sound plausible?
[17:44:54] <LeoNerd> It's a cheap ~£5 thing, so it may not be a great design
[17:45:07] <LeoNerd> But currently it's my only ISP'er so.. mmm.. not a lot else I can try
[17:45:22] <LeoNerd> Well, I suppose I could stick ArduinoISP on my Nano
[17:45:31] <Lambda_Aurigae> parallel port stk200 clone programmer works well...
[17:45:37] <Lambda_Aurigae> mine has worked well for 10 years or more.
[17:46:45] <LeoNerd> Oooooorrrr the Bus Pirate
[17:47:09] <Lambda_Aurigae> aahh...use a pic to program an avr.
[17:47:13] <Lambda_Aurigae> done that too.
[17:47:33] <Lambda_Aurigae> somewhere I have a pic18f2550 based avr programmer I built about 8 years ago.
[17:48:06] <LeoNerd> But the how would I program the PIC? :)
[17:56:21] <brabo> ohi Lambda_Aurigae!
[17:56:26] <brabo> how goes?
[17:57:19] <Lambda_Aurigae> slowly.
[17:57:45] <brabo> ;)
[17:58:07] <brabo> i'm trying to figure out enc28j60 on an xmega
[17:58:40] <Lambda_Aurigae> that's nice.
[17:58:46] <Lambda_Aurigae> never touched an xmega myself.
[17:58:52] <brabo> if i get it to work it'd be :p
[18:00:27] <brabo> ye i find a lot less code and stuff for the xmegas than for the atmegas
[18:01:08] <brabo> what i have for the enc28j60 i had to port myself.. and i think either there i made a mistake or with the clock settings
[18:08:38] <Lambda_Aurigae> yeah..xmega hasn't made it as big as 8bit mega.
[18:10:45] <Lambda_Aurigae> and avr32 really didn't hit it off well.
[18:10:55] <Lambda_Aurigae> but, arm kinda beat up avr32 pretty bad.
[18:11:04] <brabo> i hope i'll encounter someone with some xmega exp.. i can really use some knowing eyes hehe
[18:36:51] <Tom_itx> there were a couple here at one point
[18:36:55] <Cykey> ok, guys
[18:37:05] <Cykey> I just wired an atmega328 to my AVR programmer
[18:37:11] <Tom_itx> iirc Steffanx has done xmegas?
[18:37:12] <Cykey> and the chip is so hot
[18:37:15] <Tom_itx> Steffanx??
[18:37:18] <Cykey> it's incredible
[18:37:25] <Cykey> (yes I unplugged VCC)
[18:37:34] <Cykey> Do I need caps, resistors, ?, anywhere?
[18:37:47] <Tom_itx> not bad to have caps
[18:37:51] <Tom_itx> resistor on reset
[18:38:01] <Tom_itx> hot is not good
[18:38:15] <Lambda_Aurigae> Cykey, did you hook up vcc and avcc and both GNDs ?
[18:38:22] <LeoNerd> Okay... so it seems my Bus Pirate can reliably talk to the 84 and the 85 when "loose" on bare wires. But the '85 dev board has a short in it :(
[18:38:24] <Cykey> Lambda_Aurigae: only vcc and one GND
[18:38:33] <Lambda_Aurigae> oops
[18:38:37] <Lambda_Aurigae> didn't read the datasheet I see.
[18:38:42] <Cykey> hey hey hey.
[18:38:47] <Tom_itx> you need to hook them ALL up
[18:38:47] <Lambda_Aurigae> always connect both vcc and avcc and both gnds
[18:38:56] <Cykey> that should stop it from overheating? huh
[18:39:17] <Tom_itx> probably too late now
[18:39:56] <Lambda_Aurigae> why oh why do people not read the docs?
[18:40:35] <Cykey> Lambda_Aurigae: the docs are 300 pages
[18:40:40] <Cykey> do you really expect someone to read all of that?
[18:40:51] <Tom_itx> absolutely
[18:40:55] <Lambda_Aurigae> yes
[18:41:00] <Lambda_Aurigae> I did before I ever bought my first avr
[18:41:04] <Tom_itx> i had 9 BOOKS on my 68332
[18:41:25] <Tom_itx> count yourself lucky
[18:41:58] <Tom_itx> actually i still have em
[18:42:11] <Tom_itx> and the 2 pink books for the 6811
[18:43:17] <Cykey> wow
[18:45:23] <Cykey> OK, I connected the two GNDs, VCC and AVCC
[18:45:27] <Cykey> should be good, right?
[18:45:36] <Cykey> (didn't connect AREF)
[18:46:56] <Lambda_Aurigae> you might have actually damaged it already, but good luck,
[18:49:59] <twnqx> and strictly speaking, i would recommend at least one cap, ca. 100nF, between vcc and gnd
[18:50:07] <twnqx> (i use one per vcc pin/avcc pin)
[18:51:26] <Cykey> Lambda_Aurigae: Still gets hot.
[18:51:35] <Lambda_Aurigae> you might have damaged it already.
[18:51:47] <Cykey> I have two extra ones
[18:51:50] <Cykey> should I risk it?
[18:51:59] <Lambda_Aurigae> what else do you have connected to it?
[18:52:03] <Cykey> nothing
[18:52:08] <Lambda_Aurigae> disconnect everything, including the programmer.
[18:52:15] <Cykey> why?
[18:52:17] <Lambda_Aurigae> make sure you have only power connected...
[18:52:28] <Lambda_Aurigae> just to see if it is something else causing it to overheat.
[18:53:01] <Cykey> the only other things connected are MOSI MISO and SLCK
[18:53:16] <Cykey> but I'll disconnect them
[18:53:30] <Cykey> and RESET
[18:56:44] <Cykey> Lambda_Aurigae: OK, with only the two GNDs, VCC and AVCC it still becomes hot
[18:57:01] <Lambda_Aurigae> then is likely damaged.....what is your power supply?
[18:57:22] <Cykey> The USBtinyISP allows you to power the board directly from its pins, so I am using that functionality
[18:57:34] <Cykey> (from the USBtinyISP's pins, that is)
[18:59:35] <Lambda_Aurigae> and, what voltage are you getting from that?
[19:05:02] <Cykey> Lambda_Aurigae: 5.04V
[19:05:29] <Lambda_Aurigae> and the exact part number of the avr in question?
[19:05:46] <Cykey> Lambda_Aurigae: ATmega328-PU
[19:06:06] <Cykey> I've used the USBtinyISP before with success. It is not broken.
[19:09:12] <Lambda_Aurigae> well, it should be good to 5.5V.
[19:11:51] <Cykey> wait a minute
[19:11:58] <Cykey> the multimeter says -5.04V
[19:12:00] <Cykey> yes, MINUS
[19:12:04] <Lambda_Aurigae> BACKWARDS!
[19:12:12] <Lambda_Aurigae> sounds like you might have fried the chip good.
[19:12:22] <malinus> RIP
[19:12:24] <malinus> in peace
[19:12:30] <Lambda_Aurigae> by not connecting AVCC you can damage some internal protection diodes too.
[19:12:33] <brabo> *in pieces
[19:12:37] <brabo> :p
[19:12:41] <Lambda_Aurigae> malinus, kick it up to 120V and rest in pieces..
[19:12:59] <malinus> you guys are quick, today :D
[19:13:13] <Lambda_Aurigae> it is getting late.
[19:13:37] <Lambda_Aurigae> my assholeishness goes up as the giant fusion reactor moves out of sight.
[19:14:07] <Lambda_Aurigae> during the day I'm solar powered. at night I'm powered by assholium.
[19:14:10] <malinus> reverse voltage "shouldn't" kill the avrs
[19:14:19] <malinus> iirc
[19:14:27] <Lambda_Aurigae> depends on how long you have it reversed.
[19:14:43] <Lambda_Aurigae> and, reversed can make current flow where it shouldn't, backwards through some protection diodes.
[19:14:55] <malinus> same way say, 9V won't kill them
[19:14:57] <Lambda_Aurigae> or, rather, forwards through them.
[19:15:21] <Lambda_Aurigae> and that is likely what is getting hot.
[19:15:35] <Lambda_Aurigae> usbasp strikes again,,,indirectly.
[19:15:40] <malinus> also, there is hot, and there is *electronics hot*
[19:16:32] <Lambda_Aurigae> Cykey, you are, at least, running your usbasp programmer through a usb hub, yes?
[19:16:44] <Cykey> ;)
[19:16:55] <Lambda_Aurigae> so you don't fuck up the usb port on your computer.
[19:17:02] <Lambda_Aurigae> in theory, it is current limited.
[19:17:13] <Cykey> Yes, 100mA
[19:17:16] <brabo> mm i might try hilighting Steffanx for some xmega help..
[19:17:22] <Lambda_Aurigae> in practice, if they tried to save 0.001 dollars, the current limiter doesn't work right.
[19:18:38] <Lambda_Aurigae> Cykey, actually, limited to 100mA unless the device requests more power..then it can go up to 500mA..and on high current usb ports you can get 1A and I've even seen one designated as a charging port that would provide 2A without a current request.
[19:18:57] <Cykey> 2A in a USB port?!
[19:18:59] <Lambda_Aurigae> I have one of those on a laptop here.
[19:19:08] <Lambda_Aurigae> it's meant for charging your phone.
[19:19:31] <Lambda_Aurigae> I also have wall chargers that will provide up to 2A but that's a different aminal alltogether.
[19:19:49] <malinus> that could kill like 100 people
[19:20:25] <Lambda_Aurigae> and even more with a car battery, but there is still a 10A 12V socket in every car on the road.
[19:22:41] <Lambda_Aurigae> and the holes on those are big enough to stick your finger into!
[19:24:38] <malinus> yeah, it's a great and cheap defibrillation
[19:24:44] <malinus> *tor
[19:26:09] <Cykey> Wow, guys, you won't believe this:
[19:26:10] <Cykey> avrdude: verifying ...
[19:26:10] <Cykey> avrdude: 9156 bytes of flash verified
[19:26:22] <Lambda_Aurigae> still alive, eh?
[19:26:36] <Cykey> eh!
[19:26:38] <Lambda_Aurigae> joo lukkied outzies.
[19:27:10] <Cykey> seems like I'm unable to program fuses though
[19:27:47] <Lambda_Aurigae> hmmm.
[19:27:57] <Lambda_Aurigae> so, it's a zombie avr now.
[19:28:03] <Lambda_Aurigae> undead.
[19:28:10] <Cykey> let me try a new chip
[19:28:33] <Tom_itx> hook it up right this time
[19:30:48] <Cykey> Wait, same results with the new one
[19:30:54] <Cykey> The command is fine, right?
[19:31:00] <Cykey> avrdude -c usbtiny -p atmega328 -U lfuse:w:0x62:m -U hfuse:w:0xd9:m -U efuse:w:0xff:m