#avr | Logs for 2016-06-25

Back
[03:19:28] <rue_house> then you shouldn't have upgraded!
[03:43:16] <inflex> heh
[03:44:38] <inflex> I've had to deliberately maintain local versions of avrdude to stop myself botching stuff up like that, esp the software-patched TPI edition for my tiny10s
[03:45:03] <inflex> ( so you can use a normal ISP interface to program TPI chips )
[03:47:29] <_ami_> In case of V-USB, is it mandatory to use 68 Ohms for D+ and D-? I don't have 68 ohms currently, so i hv used 100 ohms instead.
[03:47:48] <_ami_> [ 2208.237313] usb 1-1.4.4: device not accepting address 21, error -32
[03:47:48] <_ami_> [ 2208.237458] usb 1-1.4-port4: unable to enumerate USB device
[03:48:33] <_ami_> what could be the problem? Does incorrect resister a problem?
[03:48:56] <_ami_> i am following http://codeandlife.com/2012/02/22/v-usb-with-attiny45-attiny85-without-a-crystal/
[03:50:54] <inflex> what if you stack another 100R resistor on top/parallel, at least you'd get to 50 then, might be close enough?
[03:51:14] <inflex> but ja, I don't know how it influences the outcome
[03:53:24] <_ami_> inflex: i shall try
[05:37:46] <_abc_> has anyone ported v-usb to avrs with interrupt on pin change, such that pins other than INT0 are used for USB?
[05:44:58] <_ami_> _abc_: i am trying it today.
[05:45:15] <_ami_> _abc_: did u get this error before when u connect a avr usb. usb 1-1.4.2: device not accepting address 126, error -32
[05:45:26] <_ami_> [ +0.072020] usb 1-1.4.2: new low-speed USB device number 126 using ehci-pci
[05:45:26] <_ami_> [ +0.408000] usb 1-1.4.2: device not accepting address 126, error -32
[05:45:27] <_ami_> [ +0.000186] usb 1-1.4-port2: unable to enumerate USB device
[05:46:09] <_ami_> _abc_: i don't know what went wrong? only difference is that i used 100 ohms resistor instead of 68 ohms.
[05:47:38] <_ami_> using attiny85
[05:47:50] <_ami_> fuse bits are set to 16.5Mhz
[05:50:41] <_abc_> no you should not get that error. Connect the device using a usb hub, not directly.
[05:51:05] <_abc_> And I have no experience with the tiny85 version, which requires a HVP programmer to reflash after used like this iirc.
[05:56:02] <GeneralStupid> _ami_: how are you doing USB?
[05:56:40] <_ami_> GeneralStupid: following http://codeandlife.com/2012/02/22/v-usb-with-attiny45-attiny85-without-a-crystal/
[05:57:04] <_ami_> only difference is 68 Ohms resistor. i am using 100 ohms since i don't have 68 ohms
[05:57:19] <_abc_> _ami_: use a hub as I said. 100 ohms should work.
[05:57:31] <_abc_> The zeners are important, they must be small. Did you use 1.3W zeners?
[05:57:46] <_abc_> The whole v-usb thing is out of spec, zeners have 150pF or more capacitance.
[05:57:48] <_ami_> _abc_: using usb hub
[05:57:55] <GeneralStupid> hmm
[05:57:57] <_abc_> _ami_: still not working?
[05:58:02] <_ami_> nope
[05:58:06] <_abc_> Same error?
[05:58:17] <_abc_> Did you set the fuses right on the 85?
[06:00:16] <Lambda-Aurigae> ping change interrupt works different from regular interrupt. I suspect it will be a bit of a problem using one for the other in v-usb
[06:00:57] <_ami_> _abc_: yes
[06:01:08] <_ami_> yes, fuses are alright
[06:01:14] <_abc_> Lambda-Aurigae: I know, that's why I am asking. One or two more clocks.
[06:01:22] <_abc_> _ami_: I really don't know, sorry.
[06:01:36] <Lambda-Aurigae> that code is very tight on the clock cycles as it is.
[06:02:11] <_abc_> Yeah but one assumes if one goes from 12MHz to 16MHz there *might* be space in there to wedge in one more instruction where it matters. I have no idea hw, I just assumed and asked.
[06:02:45] <_abc_> *how
[06:02:47] <Lambda-Aurigae> the code already compensates for different clock speeds by adding or removing NOPs in there at various points.
[06:03:03] <Lambda-Aurigae> I suspect it will not be a trivial switch to use pin change interrupt.
[06:03:11] <_abc_> I agree
[06:04:53] <Lambda-Aurigae> _ami_, 50ohms would be better than 100 ohms if you could combine to match that.
[06:04:54] <_abc_> I have no intention to implement that now. No idea how to, I am a beginner at avr asm, C level is okay.
[06:05:11] <_abc_> Lambda-Aurigae: er, no, the wires are 90 ohms each, nominal
[06:05:28] <_abc_> 100 ohms neglects the ~50 ohm assumed Zout of digital pins on the atmega
[06:05:30] <Lambda-Aurigae> and the core of v-usb is several assembly routines with a C wrapper.
[06:05:37] <_abc_> I know.
[06:05:54] * _abc_ quaffs a can of Grolsch dutch beer which was only 70 cents.
[06:06:40] <_abc_> I am amazed how a country can make excellent beer and also total crap beer and be proud of both (potshot at Grolsch vs Heineken here)
[06:07:02] <Lambda-Aurigae> last decent beer I had was in 1988.
[06:07:04] <Lambda-Aurigae> in Australia
[06:07:06] <_abc_> wow
[06:07:10] <_abc_> Foster's?
[06:07:19] <twnqx> bah
[06:07:48] <twnqx> i once had an australian foster's (instead of the oned brewed by holsten in germany with the same name, lol)
[06:07:50] <_abc_> twnqx: bah?
[06:07:55] <twnqx> i thought it was pretty horrid :X
[06:08:16] <_abc_> Well I am not choosy about beer, but I appreciate a NICE one from time to time.
[06:08:36] <twnqx> no real experience with beers from your region but that one foster's in dubai
[06:08:49] <twnqx> i switched to kingfisher after that
[06:10:10] <Lambda-Aurigae> fosters is tourist beer.
[06:10:16] <Lambda-Aurigae> no aussie in his right mind would drink that.
[06:10:39] <_abc_> I find everyone can make excellent beer, but they tune the taste to their local or not so local audience. US made Budweiser is renowned for not using the same recipe as abroad...
[06:10:40] <Lambda-Aurigae> Victoria Bitter in the Green Can is my favorite.
[06:11:00] <Lambda-Aurigae> budweiser is watered down horse piss.
[06:11:06] <Lambda-Aurigae> coors is watered down cow piss
[06:11:06] <_abc_> And some tastes are ... err ... strange.
[06:11:34] <_abc_> Lambda-Aurigae: Budweiser from Solvakia is one of the best beers in the world. The us version is how you describe it.
[06:11:51] <_abc_> Lambda-Aurigae: Bud is Budweiser and comes from Bodowice, in Slovakia, originally.
[06:11:55] <_abc_> (way back when)
[06:12:07] <Lambda-Aurigae> I have never traveled europe so haven't gotten to taste their beers.
[06:12:19] <Lambda-Aurigae> the ones that get imported to the USA are watered down and horrid.
[06:12:31] <_abc_> You don't need to travel. Search locally for a pub that advertises "100 kinds of beers from all over the world", visit.
[06:12:40] <Lambda-Aurigae> I have
[06:12:56] <_abc_> They do not import beer to usa, it's too expensive to ship and there are customs tricks, they make it locally.
[06:13:09] <_abc_> Afaik, excepting specialities for crazy people.
[06:13:12] <Lambda-Aurigae> I have been to germany hand had good german beer...and the same brand here in the USA..it is different.
[06:13:47] <_abc_> Germany is very impressive like that. Tinyest hole in the wall supermarket in rural environs will stock at least 8 kinds of beer.
[06:13:53] <_abc_> Large ones have several aisles.
[06:14:00] <_abc_> And *all* are excellent ;)
[06:14:40] <Lambda-Aurigae> and I was very disappointed when I got back to the states when I couldn't buy vegemite in the stores.
[06:23:01] <Lambda-Aurigae> haha...vegemite is both Kosher and Halāl certified...
[06:23:06] <_abc_> 1st world problems
[06:23:22] <liwakura> lol
[06:23:30] <liwakura> Lambda-Aurigae: do you come from a Land Down under?
[06:23:33] <_abc_> Lambda-Aurigae: so is kraft "cheese". Never been around anything alive, so Retort Certified [tm]
[06:23:37] <Lambda-Aurigae> it's made from the scrapings from beer vats.
[06:23:38] <liwakura> Where beer glows and women chunder?
[06:23:49] <_abc_> chunder?
[06:24:01] <Lambda-Aurigae> liwakura, I was down there for a year and a half in 87/88
[06:24:01] <liwakura> _abc_: aussie slang
[06:24:06] <_abc_> liwakura: meaning?
[06:24:13] <liwakura> _abc_: puking
[06:24:21] <liwakura> neat Lambda-Aurigae
[06:24:27] <Lambda-Aurigae> military duty.
[06:24:55] <_abc_> Ow. Lambda-Aurigae you are Canadian?
[06:25:03] <Lambda-Aurigae> not.
[06:25:09] <Lambda-Aurigae> 'Merican.
[06:25:19] <_abc_> ah
[06:25:31] <Lambda-Aurigae> I was doing seismic analysis in support of the USAF worldwide nuclear weapons test monitoring program.
[06:25:39] <Lambda-Aurigae> we have a seismic station in Alice Springs
[06:26:40] <_abc_> Nice.
[06:26:47] <_abc_> No nork bangs then though.
[06:26:55] <Lambda-Aurigae> nork?
[06:26:59] <_abc_> No. Korea
[06:27:11] <Lambda-Aurigae> oh.
[06:27:14] <Lambda-Aurigae> was way before they had nukes.
[06:27:29] <_abc_> But China had...
[06:27:35] <_abc_> And India and Paki I think.
[06:27:35] <Lambda-Aurigae> I was on duty for a Soviet/Russian test and for a French-South Pacific test
[06:27:41] <_abc_> ok
[06:27:51] <Lambda-Aurigae> I got out in 1991
[06:28:10] <Lambda-Aurigae> went from seismic in australia to satellite systems in Colorado, USA
[06:28:10] <liwakura> _abc_: also, i was referencing https://www.youtube.com/watch?v=XfR9iY5y94s
[06:28:53] <_abc_> Lulz Brits working in .ro are considering taking up the .ro one after brexit
[06:29:15] <_abc_> liwakura: out of aussie or out of anrmy
[06:29:19] <_abc_> -n
[06:29:38] <liwakura> nah, im german, but just fond of some sorts of foreign nationalism
[06:29:52] <liwakura> its not like i don't have any confederate flags or something
[06:30:02] <liwakura> [Sweet Home Alabama playing in the Distance]
[06:30:08] <_abc_> Heh I know that song
[06:30:26] <Lambda-Aurigae> I like that song!
[06:30:34] <Lambda-Aurigae> I'm from the deep south though.
[06:30:35] <liwakura> oh. my. gosh
[06:30:40] <Lambda-Aurigae> and live in iowa.
[06:30:46] <liwakura> Lambda-Aurigae: florida?
[06:30:54] <liwakura> i thought you told sth like that before
[06:30:58] <Lambda-Aurigae> actually, yes, I was born in florida.
[06:31:03] <Lambda-Aurigae> but raised in the carolinas.
[06:31:17] <Lambda-Aurigae> back woods redneck hillbillies.
[06:31:38] <Lambda-Aurigae> If you remember the tv show "The Beverly Hillbillies"...that describes my family very accurately.
[06:31:47] <Lambda-Aurigae> other than the being rich part.
[06:31:55] <Thrashbarg> y'all
[06:32:04] <_abc_> never heard of it
[06:32:27] <Lambda-Aurigae> and remember, that is pronounced as ONE syllable, not two.
[06:33:01] <Lambda-Aurigae> https://www.youtube.com/watch?v=MXiO2t8UEkU
[06:33:10] <Lambda-Aurigae> there...that'll 'splain it fer ya.
[06:35:59] <_abc_> Hm I get it. A little. Apart from the grotty soundtrack.
[06:36:33] <Lambda-Aurigae> well, that was recorded in 1962
[06:36:40] <Lambda-Aurigae> filmed, rather.
[06:37:17] <_abc_> https://www.youtube.com/watch?v=PQNjqL_xfMc this was recorded in 193x and sounds 400 times better. No excuses please.
[06:38:01] <Lambda-Aurigae> it was also probably transferred by someone in their garage with a 30 year old vcr that was originally used to record the show off of broadcast tv that was picked up with rabbit ear antennas.
[06:38:11] <_abc_> (that's one of my favorite songs)
[06:38:54] <_abc_> Lambda-Aurigae: there's no law against using cotton ear buds and ipa to clean the audio heads before recording, or against using a $1 watchmaker's screwdriver to adjust the azimuth from the known good tape before recrding.
[06:38:58] <_abc_> +o
[06:39:27] <_abc_> Admittedly, the Numark vinyl to usb player is not of bad quality at all
[06:40:02] <_abc_> And it's quite amazing it plays 78's. I wonder what cartridge it uses.
[07:08:49] <_abc_> ~break time
[07:16:20] <Lambda-Aurigae> am having fun wiping and testing harddrives here.
[07:24:21] <inflex> Lambda-Aurigae, fun, what are you using? I use ddrescue
[07:24:59] <Lambda-Aurigae> fdisk, mkfs.ext3, and dd
[07:25:38] <Lambda-Aurigae> fill a 250GB harddrive from /dev/random using dd
[07:26:02] <Lambda-Aurigae> then use fdisk to create a partition and format it and try copying 200GB of a data file to it.
[07:26:15] <Lambda-Aurigae> if that goes without error then I wipe the partition and it's ready to go.
[07:26:26] <inflex> oh okay
[07:26:37] <Lambda-Aurigae> I have a bunch of usb3.0-sata adapters here and a stack of drives.
[07:26:46] <Lambda-Aurigae> the drives are out of copiers.
[07:26:55] <Lambda-Aurigae> usually the only problem with them is corrupted partition
[07:27:08] <inflex> I use ddrescue (latest versions, about 1.21) and you do... ddrescue -v -f --log-rates=rates.log /dev/random /dev/sdc log
[07:27:15] <Lambda-Aurigae> so by wiping the partitions and putting the drive back in the machine and doing a software reload, it's good to go.
[07:27:27] <inflex> nice thing is, ddrescue will detect dud spots on the drive
[07:27:37] <inflex> and the rates.log file will also reveal any weaker areas
[07:27:54] <inflex> ( personally I just use /dev/zero )
[07:27:56] <Lambda-Aurigae> about 1 in 20 of these drives has had any issues.
[07:28:11] <Lambda-Aurigae> and that was the one I wanted to keep dangit~!
[07:28:21] <Lambda-Aurigae> it was a 500GB 7200RPM drive.
[07:28:21] <inflex> oh and ddrescue gives you progress updates
[07:28:40] <Lambda-Aurigae> yeah...ddrescue is just a wrapper around dd as I remember.
[07:29:01] <inflex> not this one
[07:29:08] <inflex> http://dxp.me/i/ddr-inuse.png
[07:30:06] <Lambda-Aurigae> it's not in the ubuntu repositories....oh...gddrescue...there it is.
[07:30:38] <inflex> http://download.savannah.gnu.org/releases/ddrescue/ddrescue-1.21.tar.lz
[07:30:49] <Lambda-Aurigae> apt-get install gddrescue
[07:30:50] <inflex> It'll be the old ugly version in the U repos
[07:30:54] <Lambda-Aurigae> it's 1.19, but.
[07:31:11] <inflex> fair enough, 1.19 isn't that bad I suppose, we made a lot of improvements since then
[07:31:11] <Lambda-Aurigae> I do this once a year when I have a stack of drives.
[07:31:15] <inflex> (yes, I'm a coder for it :) )
[07:31:29] <inflex> Mostly because I use it a lot for my work
[07:31:33] <Lambda-Aurigae> I'm up to number 53 so far.
[07:31:40] <inflex> ugh... good luck to you Sir! :)
[07:31:45] <Lambda-Aurigae> saves lots of money.
[07:31:57] <Lambda-Aurigae> when we put parts in copiers they count against our bonuses.
[07:32:07] <Lambda-Aurigae> if I can recycle these I can save a few bucks..
[07:32:19] <Lambda-Aurigae> a 250GB drive costs out at 95 USD
[07:32:45] <cehteh> Lambda-Aurigae: there are 2 ddrescue version (one suse, one gnu) none is a wrapper around dd
[07:32:53] <Lambda-Aurigae> that equates to about 3 dollars on my bonus.
[07:33:13] <Lambda-Aurigae> aahh..the suse one is what I used to use way back when.
[07:33:24] <cehteh> that one sux more
[07:33:30] <cehteh> the gnu is nicer
[07:33:33] <Lambda-Aurigae> when I used suse for a year or so.
[07:34:34] <inflex> interesting that it's gddrescue on ubuntu, but anyhow, that is the one (I just work on the code, I don't know who handles the Ubuntu/debian repo version)
[07:34:53] <Lambda-Aurigae> just got these usb3.0-sata adapters this week. they provide power and data on the one connector from the usb..work great for notebook drives..not so good for desktop drives.
[07:35:43] <Lambda-Aurigae> I also got an esata cable for my laptop and that does work with desktop drives that require 12V!
[07:36:22] <inflex> Lambda-Aurigae,yes, I've got an eSATA card in my recovery server, plugs in to 3.5" drives and they spin up, but ja, I think a lot of the USB -> SATA ones need external power
[08:23:24] <Trieste> hey, I have an ATMega328P that is supposed to be functional, but when I try to program it with avrdude, it says "error: program enable: target doesn't answer." and the apparent device signature changes each run, but it's always 0x88something - could it still be that it's just the clock fuses set wrong, or is my 328P fried?
[08:23:49] <LeoNerd> Or maybe the connections aren't quite right
[08:23:52] <LeoNerd> Loose wire maybe?
[08:24:10] <Trieste> LeoNerd: doesn't seem so, I checked
[08:24:30] <LeoNerd> The first thing avrdude does is tries to read the signature, so if that fails it likely suggests at least one of miso/mosi/sck isn't working
[08:24:35] <LeoNerd> Or yes, maybe the clock
[08:26:04] <Trieste> it's kind of a Catch-22, since I don't have a way to check the fuses if avrdude can't talk with it :P
[08:27:18] <LeoNerd> So try applying various clock options
[08:27:28] <LeoNerd> Do you have a 1-8MHz clock source? Apply it to the ckin pin anyway
[08:27:43] <LeoNerd> If the chip is set to any of xtal, ceramic, or external clock, that should be enough to wake it up
[08:27:55] <LeoNerd> If it isn't and is set to internal oscillator, then it'll just ignore the pin anywa
[08:28:28] <Trieste> I wonder if I could use an Arduino Pro Mini that I have lying around as the clock source
[08:28:54] <LeoNerd> SHould be able to yup
[08:29:03] <LeoNerd> Turn on the CKOUT fuse, and its own clock will now appear on the CKOUT pin
[08:29:16] <Trieste> it's a 16MHz one :/
[08:29:26] <LeoNerd> That's OK - 16MHz should be fine
[08:29:39] <LeoNerd> If you're programming at 5V
[08:30:04] <Trieste> yeah
[08:30:09] <LeoNerd> (you're not -really- supposed to go above 8MHz on a 328P when running at 3.3V, but in practice most chips are fine with it. I run mine at 14.7456 / 3.3V)
[08:30:58] <LeoNerd> The CLKO pin is PB0, which ardunio calls pin 8
[08:33:28] <Trieste> LeoNerd: alright, I'll try that, thank you so far :)
[10:05:19] <Emil> Yeah, the chips are not specced to run above that graph but in like 90% of the time they function just fine
[11:44:46] <_ami_> v-usb is driving me crazy :/
[11:45:04] <LeoNerd> It does that
[11:45:09] <LeoNerd> I'd suggest avoiding it like the plague
[11:45:18] <LeoNerd> If you want to talk USB, get a real USB-talking chip
[11:45:27] <_ami_> indeed.,
[11:45:37] <_ami_> i ordered few actually
[11:45:44] <LeoNerd> Then have patience :)
[11:49:25] <_ami_> i thought of trying v-usb until i get usb talking chips. :P but this decision has backfired :P
[11:49:34] <_ami_> i get this log now. http://pastebin.com/1p1yQrzw
[11:49:50] <_ami_> no error. it seems like issue with RC clock.
[11:50:00] <LeoNerd> I doubly wouldn't use RC clock for it
[11:50:07] <LeoNerd> but really, stop investing any time in this pointless exercise
[11:50:13] <_ami_> yeah
[11:50:34] <_ami_> i thought of making a usb based avr device this weekend :P
[13:23:03] <phinxy> trying to hook up a transistor for the first time. its a NPN 2n2222, when i pull base high it makes collector 0.8V and when base is low its full voltage
[13:23:31] <phinxy> emitter is hooked to GND. I want the transistor to just be the same state as my GPIO
[13:24:29] <LeoNerd> It's a BJT. It doesn't really work like that
[13:24:49] <LeoNerd> The collector/emitter channel permits a current to flow, that depends on the current flowing through the base/emitter channel
[13:26:19] <phinxy> do i reverse emitter and collector?
[13:26:24] <LeoNerd> Voltage levels at whatever point around a transistor are more a result of its effect; its primary effect is to control current flow
[13:26:31] <LeoNerd> A voltage drop will then occur as a result of that flow
[13:27:05] <phinxy> how do i get lower voltage then so the inductor releaseÅ
[13:27:11] <phinxy> higher resistor?
[13:27:26] <LeoNerd> I think we want to start with a circuit diagram.. see what you're workingon here
[13:27:36] <phinxy> http://www.ermicro.com/blog/wp-content/uploads/2008/12/trsw03.jpg
[13:27:37] <phinxy> the right one
[13:27:50] <LeoNerd> Right..
[13:27:55] <phinxy> i have an exact copy and i guess it works but inversed to what i expected
[13:28:08] <phinxy> all i have to do is get the 0.8V closer to 0
[13:28:26] <LeoNerd> So, the action of the transistor is to pass a current through C->E (and hence through RC) that is (roughly) proportional to the current flowing B->E (hence through RB)
[13:28:33] <LeoNerd> That current will flow if there's a potential difference
[13:29:07] <_abc_> phinxy: just decrease Rb a bit.
[13:29:09] <LeoNerd> So if the IO port is basically at ground anyway, there's no difference so no current flows through RB, and hence no current will be permitted through RC
[13:29:51] <_abc_> phinxy: and next time pick a better transistor, 2222 is ancient
[13:36:59] <phinxy> when base is high the collector is 0.0V. when base is low the collector is 0.8V. i need more voltage now
[13:37:12] <phinxy> ideally 3.3V
[13:37:37] <LeoNerd> Uhm
[13:37:39] <LeoNerd> That soudns wrong.
[13:38:02] <LeoNerd> There should always be at least a V[ce] worth of voltage drop between collector and emitter
[13:38:22] <LeoNerd> I'd expect to always see the collector at least about 0.7V above ground (where the emitter is)
[13:38:38] <phinxy> emitter is at GND
[13:38:42] <phinxy> not over GND
[13:42:47] <LeoNerd> Sure. The emitter is tied to ground.
[13:42:58] <phinxy> i decreased RC to 0.5khm from 1.2k
[13:43:06] <phinxy> and i get 0.2V instead of 0.8V
[13:43:10] <LeoNerd> I'm talking about the collector. I would expect that collector is either around 0.7V when the transistor is hard-on conducting, or at close to Vcc when it's off
[13:44:40] <phinxy> Did you look at the circuit?
[13:44:49] <phinxy> maybe the flyback diodes are messing things up
[13:45:06] <phinxy> its a NPN
[13:47:37] <phinxy> maybe ive blown the transistors
[13:49:43] <phinxy> i flipped the transistor around 180 degrees
[13:49:47] <phinxy> and it behaves the same way
[13:55:50] <phinxy> ok now it is 3.3V on collector
[13:55:58] <phinxy> and still 0V off
[13:56:33] <phinxy> the one transistor is 0.1 off and the other 0.0
[13:56:51] <phinxy> 0.16V eve
[14:04:21] <phinxy> the 1.2k resistor between positive side of solenoid was too larg
[14:04:27] <phinxy> without it, it switches
[14:09:02] <phinxy> 220 ohm didnt work either
[14:09:06] <phinxy> 40 ohm does
[16:30:34] <rue_house> ph.. gone
[16:31:50] <rue_house> why is rc in there anyhow?
[16:32:02] <rue_house> looks like a badly placed current sense
[16:32:40] <LeoNerd> Current-limiting?
[17:29:36] <inkjetunito> :o current limiting resistors
[20:06:15] <inflex> ugh.. need to flash a PDIP 16MB BIOS flash chip, is that something I can do using my AVR USB-ISP type programmers by chance?
[20:07:30] <LeoNerd> I doubt it
[20:07:47] <LeoNerd> AVR programmers talk a very specific SPI-like programming protocol
[20:09:01] <inflex> mmm... bummer
[20:11:35] <Lambda-Aurigae> I'm guessing that bios flash chip is a parallel interface most likely.
[20:11:51] <Lambda-Aurigae> without knowing more about the chip, no way to know how to make a programmer for it.
[20:13:00] <Lambda-Aurigae> also guessing your usb-isp is one of those v-usb based things....whichever it is, it would need major reprogramming to even begin to play nice with that flash chip.
[20:15:07] <Tom_itx> inflex, http://tom-itx.no-ip.biz:81/~webpage/mtkflash/flash_howto_index.php
[20:15:25] <Tom_itx> that worked for those
[20:15:44] <Tom_itx> somewhat of a specific dvd though
[20:20:11] <Tom_itx> there may be other similar methods since that one
[20:24:32] <inflex> tx Tom_itx
[20:24:42] <inflex> guess I'll see, else, I suppose it'll be another eBay purchase, or just a new MB
[20:25:06] <Lambda-Aurigae> this is why I always buy gigabyte boards for machines I build.
[20:25:09] <Lambda-Aurigae> dual bios rocks.
[20:25:45] <Tom_itx> good to know. i just got a gigabyte board recently
[20:27:24] <Lambda-Aurigae> not all gigabyte boards have the dual bios..
[20:27:29] <Lambda-Aurigae> but those that do are awesome.
[20:27:42] <Lambda-Aurigae> you screw up one,,,just reboot and switch to the backup...and reload the first one again.
[20:27:47] <Tom_itx> no matter to me really just feel i got a decent board as an upgrade
[20:29:52] <Lambda-Aurigae> yeah..gigabyte has always been a good brand.
[20:30:22] <Tom_itx> i don't upgrade often
[20:30:37] <Tom_itx> and this is just an i5
[20:30:51] <Lambda-Aurigae> I have a quad core athlon on my gigabyte board.
[20:31:38] <Tom_itx> H110M-S2H-CF is what it is
[20:31:56] <Tom_itx> 16g ram and tb ssd helps
[20:32:05] <Lambda-Aurigae> yeah.
[20:32:14] <Lambda-Aurigae> have 16GB ram on that board and a 250GB ssd.
[20:32:25] <Tom_itx> what brand?
[20:32:44] <Tom_itx> iirc this is samsung, was told they were 'good'
[20:34:01] <Tom_itx> got dual monitors for dev work... really helps having the space
[20:35:27] <Lambda-Aurigae> no clue..it was a cheaper one some 4 years ago.
[20:35:39] <Lambda-Aurigae> yeah...dual monitors helps a lot.
[20:36:08] <Tom_itx> this one does dual purpose
[20:36:32] <Tom_itx> has the vga in to this pc and when i'm ignoring you i switch it to the 'good' pc for dual
[20:36:59] <Lambda-Aurigae> hehe.
[20:37:06] <Tom_itx> only problem is when it 'sleeps' the monitor switches back to hdmi
[20:37:09] <Lambda-Aurigae> my big machine is shut down at the moment.
[20:37:25] <Tom_itx> saves desk space doing dual purpose that way
[20:37:35] <Lambda-Aurigae> right now I'm on an i5 dual core hyperthreaded(4 cores effectively) with 8GB ram and a 500GB 5400rpm drive.
[20:37:39] <Lambda-Aurigae> laptop
[20:37:41] <Tom_itx> and i'm not on this one all the time but like to keep it on
[20:37:58] <Lambda-Aurigae> doing the dual monitor thing..laptop display and a 21 inch hdmi monitor.
[20:38:22] <Tom_itx> these are 23" i picked up the other day
[20:38:31] <Lambda-Aurigae> laptop is mounted behind the big monitor so I have a 15 inch laptop screen just above the 21 inch monitor
[20:38:42] <Tom_itx> 4k look nice but too $$$ right now
[20:38:54] <Tom_itx> and require too much graphic card to run
[20:39:09] <Tom_itx> all i care about is dual monitor not blistering gamer speed
[20:39:21] <Lambda-Aurigae> yup...same here.
[20:39:37] <Lambda-Aurigae> only game I run these days is KSP and it runs fine on either this laptop or the desktop.
[20:39:40] <Tom_itx> elcheapo card that requires no additional psu to run it
[20:39:50] <Tom_itx> or i'd have to replace the psu too :D
[20:39:56] <Lambda-Aurigae> I did just find a 7200RPM 500GB drive in a box-o-drives someone gave me.
[20:40:05] <Lambda-Aurigae> it's going into this laptop sometime in the next week or so.
[20:40:07] <inflex> Tom_itx, might just buy one of these things, can't hurt to have it on hand for future repairs - http://www.ebay.com.au/itm/EZP-2010-Serial-Eeprom-Programmer-SOIC8N-SOIC8W-Adapters-Bios-Motherboard-/191810128237?hash=item2ca8c6496d:g:bnIAAOSwG-1Wx-4q#shpCntId
[20:40:20] <inflex> Or this cheaaaaap version - http://www.ebay.com.au/itm/25-SPI-Series-24-EEPROM-CH341A-BIOS-Writer-Routing-LCD-Flash-USB-Programmer-G-/371599187822?hash=item5685099f6e:g:cSMAAOSwJMhXDeeD#shpCntId
[20:40:41] <Tom_itx> yeah
[20:40:57] <Tom_itx> of all ppl, flyback talked me into that project way back when
[20:41:02] <inflex> I better get back to doing my manufacturing again today... another 20 boards to do (all Tiny10 stuff)
[20:41:37] <inflex> I never quite worked out what I broke on your excellent programmers, but at least I did manage to conjure a way to flash the T10s via the normal AVRISP
[20:41:50] <Tom_itx> good
[20:41:59] <Tom_itx> sry you can't get them to work
[20:42:11] <inflex> Not your fault, was mine, I did something to them
[20:42:21] <inflex> I think it might have been a dud board I was programming and it popped something
[20:42:23] <Tom_itx> mine have a nice layer of dust on em now
[20:42:43] <inflex> STM32'er now?
[20:42:54] <Tom_itx> no, not doing much of anything right now
[20:43:23] <Lambda-Aurigae> I just started building avr programmers out of pic16f1454 chips...just need a usb plug and some wires...
[20:43:25] <Tom_itx> learning a bit of oops programming
[20:44:44] <inflex> I've been busy working on bringing OpenBoardView to linux and improving it
[20:44:56] <Tom_itx> took a couple cad classes last fall that i probably won't ever use
[20:45:25] <inflex> What's the popular areas to use OOPS?
[20:45:49] <Tom_itx> this is an old software project i wrote on dos i wanted to move to windows just in case
[20:46:27] <Tom_itx> database stuff
[20:47:06] <Tom_itx> something new to learn but it's been a pita sometimes
[20:47:44] <inflex> Agreed. Working on this OBV software has forced me to deal with new things too; good fun when you're progressing though.
[20:48:09] <Tom_itx> yeah i'm past the first couple learning curves now i thing
[20:48:24] <Tom_itx> just trying to find how to make it do what i want now
[20:48:48] <Tom_itx> worst part was most of the examples were spanish or russian of which i speak neither
[20:48:54] <inflex> https://raw.githubusercontent.com/inflex/OpenBoardView/inflex-ui-features/asset/screenshot.png <=- my OBV version, complements the PDF schem, so you can locate parts/nets etc
[20:49:18] <inflex> Ugh, bad enough dealing with the unknown computer language stuff, let alone working through a foreign human language on top
[20:49:42] <Tom_itx> been quite a ride
[22:49:53] <_ami_> LeoNerd: V-USB works! i repeat it works.
[22:50:03] * _ami_ feels the joy
[22:50:50] <_ami_> issue was actually the 100pf capacitor i put on D+/D- to reduce the noise. when i remove those caps, it works .
[22:51:53] * _ami_ thinks the wise quotes "optimization is root of all evil!"
[22:52:28] <Snert> don't mitigate that which may not actually exist.
[22:52:44] <Snert> actually have a noise problem first.
[22:53:15] <_ami_> Snert: true, lesson learned -- in really hard way
[22:53:29] <_ami_> i spent almost 3-4 hrs on it.
[22:53:35] <Snert> too much lofty theory and "what everybody else does" and "says on IRC" sometimes don't mean squat.
[22:53:43] <_ami_> true
[22:54:08] <Snert> I admit...I do like to sprinkle bypass caps around my projects though.
[22:54:38] <_ami_> Snert: in my case, does 100 pf was too much for D+/D- lines?
[22:54:51] <_ami_> should have tried with 1000pf ?
[22:55:04] <Snert> I'd look at the waveform with and without a 100pf cap in place.
[22:55:13] <Snert> see why.
[22:55:14] <_ami_> aha,
[22:55:16] <_ami_> got it.
[22:55:24] <_ami_> i really need a oscilloscope
[22:55:29] <Snert> but without that I'd be guessing which is shit.
[22:55:38] <_ami_> yeah
[22:55:58] <Snert> 100pf is not an unreasonable value though.
[22:56:21] <Snert> so I don't get it.
[22:57:17] <Snert> maybe there was already a bunch of breadboard capacitance in place.