#avr | Logs for 2015-01-20

Back
[02:08:43] <rue_bed> I wonder if superbia is going to use a 1.4Ghz arm processor to scan his keyboard and perform the USB HID connection
[02:09:58] <rue_bed> there is something spectacular about doing things right that a lot of people are missing out on
[02:11:58] <rue_bed> so lets play the wav header cause its only 44 bytes, and round the sample rate to the nearest 10khz sampling rate, and change the volume of the audio by clipping all samples to the maximum value we want the waveform to be, cause, thats how we do things today.
[02:14:10] <rue_bed> while were at it, lets make telephones that cache up 30ms of audio data at a time, we can just thow lots and lots of audio processors at it to deal with the echo
[02:16:15] <rue_bed> and lets make sewer pump controllers that have the same number of switches and relays as the old ones, but lets not worry about the switches being normally open or closed or if the relays even do anything, lets not even bother testing it before it goes out of the factory
[02:17:04] <rue_bed> lets make products that only last 2 years, cause who the hell uses anything for more than 2 years?
[02:18:47] <rue_bed> and lets not spend 3 days reprogramming a system if we can replace it for $600000 and a months work
[02:19:30] <rue_bed> lets just use duct tape to hold things togethor, were probably not gonna be around when it comes loose
[02:20:05] * rue_bed just realized he can go on for ever about stupid things.....
[02:21:49] <rue_bed> anyone know why so many products seem to use pic 16F73?
[02:39:42] <rue_bed> anyone have something for remapping bits between two bytes>
[02:39:44] <rue_bed> ?
[02:40:30] <rue_bed> I suppose it could be done with structs, but hmm
[04:15:22] <aep> any idea why the jtagice3 on windows7 x64 would just say "cannot start device" ?
[04:18:33] <twnqx> \o/ windows
[04:22:49] <Tom_itx> check your cables
[04:22:55] <Tom_itx> check your drivers
[04:23:03] <Tom_itx> check your sanity and use linux
[04:23:25] <aep> its a single usb cable
[04:23:37] <aep> can't do, there's no open source stuff for this device
[04:23:43] <Tom_itx> try a different port
[04:23:44] <Tom_itx> etc
[04:24:27] <Tom_itx> force the usb driver install in hardware settings
[04:25:27] <aep> nah its installed. just says it wont power on
[04:25:40] <aep> i can';t find any drivers actually, all i got is the stuff from atmel studio
[04:26:07] <aep> jungo whatever
[04:26:26] <Tom_itx> right, i've had issues with it before
[04:26:44] <Tom_itx> you could try reinstalling it but to do that you need to reinstall studio
[04:27:00] <aep> yeah i guess i
[04:27:03] <aep> 'll try that
[04:27:28] <Tom_itx> force the usb driver install in hardware settings
[04:28:44] <aep> meh, there i was hoping that buying the recommended atmel stuff will make it work
[04:29:34] <Tom_itx> heh
[04:29:46] <Tom_itx> is it a laptop?
[04:29:52] <Tom_itx> that could be a problem too
[04:30:03] <aep> yeah actually a virtualbox on linux
[04:30:14] <aep> on a laptop
[04:30:23] <aep> i guess i should try a usb switch?
[04:30:27] <aep> hu
[04:35:29] <twnqx> forget virtualbox
[04:35:44] <twnqx> its usb emulation doesn't allow enough descriptors
[04:35:49] <aep> oh
[04:35:56] <twnqx> can't use the stk500 with widnows in virtualbox either
[04:36:16] <twnqx> descriptors, endpoitns... something
[04:36:33] <twnqx> and i meant stk600
[04:36:39] <twnqx> too early.
[04:36:57] <aep> well i'll hope that's my problem then and install a real windows
[04:37:10] <Tom_itx> :)
[04:37:19] <twnqx> at least with the stk600 and latest firmware that was the issue.
[04:37:23] <twnqx> good luck...
[04:37:28] <aep> thanks for the hint
[05:21:31] <LeoNerd> Anyone here ever implemented HMAC-SHA256 on an ATtiny? I'm looking at https://github.com/cantora/avr-crypto-lib which might do it
[05:21:38] <LeoNerd> I want to put some authentication on radio messages
[05:22:13] <twnqx> i wonder how many kB/s it can hash :P
[05:22:28] <LeoNerd> Well, I only need small messages. It's for IoT control of some appliances...
[08:57:39] <aep> LeoNerd: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=tree;f=hmac-sha256;h=d62c05b7d4a688f6dc3fed13987f0c129de959e8;hb=refs/heads/master
[10:02:44] <hypermagic> hello my friends
[11:58:25] <neionz> hypermagic: hello my beloved love, I love you
[17:00:24] <LeoNerd> Gah.. -surely- I can find a timing crystal smaller than an HC49
[17:00:43] <LeoNerd> How can it be that the entire microcontroller is *physically smaller* than the tiny piece of vibrating quartz used to keep it on time?
[17:02:33] <twnqx> hehe
[17:02:39] <twnqx> oh yes, there are
[17:02:46] <twnqx> i like those with embedded capacitors
[17:02:51] <LeoNerd> oh, that sounds useful
[17:03:14] <LeoNerd> http://home.leonerd.org.uk/local/screenie/board.png <== huge crystal is huge
[17:03:24] <twnqx> lol
[17:03:47] <LeoNerd> That's an HC49-SMD
[17:03:56] <twnqx> http://i.imgur.com/BGqhvCK.jpg
[17:04:11] <twnqx> see the tiny thing between the buttons and the tqfp?
[17:04:16] <twnqx> same as on the top right chip?
[17:04:25] <LeoNerd> Ohman
[17:04:26] <twnqx> right of the sot23-5?
[17:04:28] <LeoNerd> Yes, I want one of those. :)
[17:04:52] <LeoNerd> Is that a crystal in SOT-23 size?
[17:04:52] <twnqx> hm, i called them cscte_v
[17:05:01] <twnqx> but iirc...
[17:05:52] <twnqx> muRata CSTCE_V
[17:05:54] <twnqx> ok...
[17:06:14] <twnqx> 3.2x1.3mm
[17:06:43] <twnqx> so, murata xtce is the name. 3pin device, middle pin goes to ground for the embedded capacitors
[17:06:49] <LeoNerd> Nice
[17:06:52] <twnqx> murata cstce >_>
[17:07:30] <LeoNerd> Ahah.. Farnell do have them, but not in 14.7456
[17:07:44] <LeoNerd> (baud rate divisor)
[17:07:46] <twnqx> uh. unusual number.
[17:07:49] <twnqx> yeah...
[17:08:03] <LeoNerd> It's one of the fairly standard ones
[17:08:04] <twnqx> i just go with "close enough". works fine with 16mhz.
[17:08:12] <LeoNerd> It divides nice powers of two to get all the usual baud rates
[17:08:25] <LeoNerd> That won't do; I need 115.2kBaud, there's no nice divisor for that
[17:09:06] <twnqx> it was close enough to work for me :P
[17:09:21] <twnqx> the deviation was accaptable to the FT whatever i used
[17:10:32] <twnqx> hm
[17:10:34] <twnqx> they exist
[17:10:41] <twnqx> but digikey doesn't stock them
[17:10:54] <LeoNerd> http://uk.farnell.com/txc/7a-14-7456maaj-t/xtal-14-7456mhz-18pf-smd-5-0x3/dp/1841945 <== do you think that looks hand-solderable?
[17:11:18] <twnqx> sure, with enough flux no prob
[17:11:57] <tk`> i soldered it by hand, it's very easy
[17:12:27] <twnqx> http://www.mouser.de/ProductDetail/Murata-Electronics/CSTCE14M7V53-R0/?qs=jCPjj4Fq8xyEw9SFvWGvXw%3D%3D
[17:12:33] <twnqx> mouser has the muratas in stock :P