#avr | Logs for 2016-07-14

Back
[14:23:11] <_ami_> hi
[14:23:39] <_ami_> i remember someone was asking abt a good avr simulator on linux.
[14:24:14] <_ami_> i had good success with http://www.amctools.com/download.htm . i use it on linux with the help of wine. and it works fine till now. especially for asm.
[14:44:55] <_ami_> time to sleep.
[14:44:56] <_ami_> nn
[14:44:58] <inkjetunito> is there a better simulator for windows?
[14:45:00] <inkjetunito> night
[14:45:29] <_ami_> inkjetunito: atmel ide is best for windows
[14:45:37] <_ami_> for doing simulation.
[14:45:59] <_ami_> http://www.amctools.com/download.htm => is for windows too.
[21:26:08] <kre10s> anyone have experience using usart in MSPI mode? I am trying to figure out how to get the fastest transfer speeds. Currently I am using http://pastebin.com/zaYZi1DQ
[21:26:57] <kre10s> On the scope I see the sck line producing bursts of 8bits instead of a continuous stream.
[22:06:38] <rue_shop3> kre10s, then slow the bitrate down till the processor can keep up
[22:16:42] <kre10s> Hm. Turns out I can gain a bit of speed by not reading the data register.
[22:17:46] <rue_shop3> you can also gain bitrate by using the pwm system to send the same bit pattern over and over
[22:21:49] <kre10s> I thought about that, but the pins aren't routed appropriately in my case.
[22:22:22] <kre10s> Whats the best way to make a dummy read in C? I need to read a register to clear a status flag.
[22:23:37] <kre10s> turns out you can only clear the receive complete flag by reading the data register. But I don't need the data.
[22:23:57] <Snert> read it and toss it.
[22:25:23] <kre10s> or you can *((volatile uint8_t *)&UDR0);
[22:25:32] <kre10s> *apparently
[22:25:54] <kre10s> something about pointers and side effects.
[23:30:03] <PoppaVic> Man, I run into the weirdest horseshit.
[23:31:35] <WormFood> I had an EPROM that was afraid of the dark once.
[23:31:51] <PoppaVic> WormFood: For some reason, I believe that
[23:31:58] <WormFood> If you closed the case on the computer, it'd quit working. If you put a flashlight over the EPROM, it'd work
[23:32:31] <WormFood> I showed my friend, who is an electronics guy too, and he just shook his head and said "they don't work that way"
[23:32:48] <WormFood> I said "I *know*, but YOU SEE it doing it with your own eyes"
[23:32:52] <PoppaVic> WormFood: I do love that
[23:33:12] <PoppaVic> "bububububut... it's WRONG!"
[23:34:45] <WormFood> I saw a large value resistor read zero ohms once. One of the other techs where I was working, troubleshot it in the field, and was so amazed, he brought the bad resistor back to show everyone else. I'm 99% sure this was a carbon resistor
[23:35:09] <WormFood> I had my monitor destroy my keyboard once.
[23:35:54] <PoppaVic> I'm trying to flesh out a bootloader/monitor in gcc.. I just love trying to follow the web, docs, encode the info, watch the compile results and "umm, wtf just happened?"
[23:36:14] <WormFood> My old 84-key original IBM PC keyboard was sitting on my lap, and I reach up to wipe the dust off the monitor, and the static electricity from the CRT, went through my body, to my leg, to zap the keyboard through the metal case on the back, and it never worked after that.
[23:37:25] <PoppaVic> I've had two GOOD keyboards in 30+ years.. THe original in my kaypro 484; and a single, used, indestructible 101key I miss no end
[23:38:11] <WormFood> I have a few IBM model M keyboards back in usa
[23:38:18] <WormFood> Those are my all time favorite keyboard.
[23:38:35] <WormFood> I even have the official keycap puller and extra key caps for it.
[23:39:26] <WormFood> http://fuckyourcomputer.net/ <-- this is one of my keyboards
[23:39:41] <PoppaVic> I need a lappy with a 101 ibm keyboard BELOW, and a simple 12" screen above.. I am sooooo tired of variant keyboards - and I swear to god I could kill the TOshiba engineer that designed the case and hinges: go to close the fucker and it shuts down like I pushed power'
[23:39:43] <WormFood> That picture has not been edited in any way.
[23:40:09] <WormFood> Toshiba makes dangerous laptops.
[23:40:15] <WormFood> I can only recommend you avoid them.
[23:40:47] <WormFood> I mean, Toshiba themselves suggest they're dangerous, so you shouldn't be allowed to have the service manual for them, but instead only have a factory "trained" tech work on your toshiba laptop
[23:40:50] <PoppaVic> so far, they been the only ones that are affordable and linux will install on.
[23:41:08] <WormFood> I always go for the T, X and W series thinkpads.
[23:41:18] <WormFood> Those have always given me good results.
[23:41:20] <PoppaVic> ..I did love my ancient powerbook G4 and lenova thinkpad
[23:41:35] <WormFood> There are models that aren't the greatest with Linux, but most of them do pretty damn well
[23:41:43] <PoppaVic> (mind you, every one of them have shit keyboards)
[23:41:58] <WormFood> The keyboard on the older thinkpads were pretty damn nice
[23:42:24] <PoppaVic> I liked the silly 'tit' on them. Turn off the stupid touchpad and STILL mouse-around
[23:43:28] <WormFood> I have the last model of thinkpad, with the normal thinkpad layout. The new ones are sucking Steve Job's cock. Why the fuck is it, that when machines like the original Tandy Color Computer, had a "chicklet keyboard" everyone hated it, but now that apple has done the same god damn thing, everyone loves it? And then everyone else has to follow Apple
[23:44:26] <WormFood> So now the thinkpad keyboards are like the fuckin' apple keyboards now, and fewer keys. You no longer get the pause/break key, which I fuckin' USE!
[23:45:17] <WormFood> And, of course, you can't change the older keyboards to work on the newer machines.
[23:45:29] <WormFood> I just picked up a used T530 for my friend. He loves it.
[23:46:07] <PoppaVic> the part that still confuses me is... Why does EVERY model, EVERY design, EVERY laptop - always - need a variant, crappy keyboard? (but they can manage the same stupid location for a trackpad)
[23:46:15] <PoppaVic> ..and prolly the SAME trackpad
[23:51:18] <WormFood> Because there is no standard for laptop keyboards.
[23:52:08] <WormFood> Some Mac models, use the *exact same* sensor for their trackpad, as the iPhone uses for it's touchscreen.
[23:56:12] <PoppaVic> WormFood: my point would be: "why the hell don't you settle on a provider and layout? Better than a calculator.. a chromebook.. a.." - I give up