#avr Logs

Sep 17 2019

#avr Calendar

01:43 AM rue_bed: -
01:58 AM ThatDamnRanga: _
02:23 AM polprog: http://www.hardwarebook.info/ISA
02:23 AM polprog: that and stm32...
02:23 AM polprog: ARM Cortex M3 daughtercard?
02:23 AM polprog: ive got something that could work as an isa backplane
02:23 AM polprog: .
02:23 AM polprog: ..
02:25 AM vmt: why do you need an ISA bus?
02:27 AM vmt: i love the smell of legacy in the morning
02:27 AM Thrashbarg: quiet you. ISA is awesome
02:34 AM polprog: vmt: i have many isa cards, and PCI bus is sortof out of hobbyist reach
02:34 AM * l9 just ordered a copy of The Art of Electronics
02:35 AM polprog: <vmt> i love the smell of legacy in the morning
02:35 AM polprog: lol. true
02:35 AM polprog: l9: neat. Its a great book
02:36 AM Thrashbarg: l9: awesome! What edition?
02:37 AM vmt: polprog: it kind of depends what kinds of hobbyists we are talking about
02:37 AM vmt: the breadboarding kind -- then sure
02:37 AM polprog: sure, if i had an fpga and a free $1000
02:38 AM vmt: don't think you'd have to blow $1k but sure
02:39 AM polprog: i was looking into it the other day
02:39 AM l9: ordered the third one, could not find second. But as far as I can tell it is just a few circuits designs that has been removed from the second edtion
02:40 AM polprog: maybe its possible
02:50 AM vmt: art of legacy, 2nd ed.
02:50 AM vmt: maybe the third one is more up to date
02:56 AM l9: I was hoping it would be, there is also a lab book and a chapter X is coming in 2020 which i am looking forward to. Told my wifey that i wished me the lab book for christmas this year :)
02:59 AM polprog: the polish edition is split into two parts
02:59 AM Kliment: The third edition is a whole new book
02:59 AM polprog: i dont remember which edition i have but its sortof mid to late 90s?
03:00 AM Kliment: Mostly same content (though lots of new stuff) but it's been reordered and rephrased so it flows much better than second ed, and is much easier to read
03:00 AM Kliment: It's like they finally hired an editor for this one
03:00 AM polprog: yep
03:01 AM Kliment: So don't bother with second edition
03:02 AM Kliment: That said, while it's very thorough on the stuff it covers, it is missing a whole lot of things that are very relevant for modern electronics
03:02 AM Kliment: This is an entry-level book
03:02 AM polprog: it reads very smoothly. I like it a lot
03:03 AM vmt: apparently it still has a lot of component listing tables
03:03 AM vmt: it's really just kind of... meh
03:03 AM Kliment: No high speed stuff at all, very little about manufacturing requirements, signal integrity, layout
03:04 AM Kliment: But it's a really good book for the stuff listed in the ToC - just don't expect more than that
03:04 AM vmt: high speed stuff = black magic -- refer to the necronomicon
03:05 AM l9: Kliment: wonder if that is why they are releasing the chapter x book
03:05 AM Kliment: vmt: There is a very good book about this
03:06 AM Kliment: vmt: https://www.goodreads.com/book/show/766056.High_Speed_Digital_Design
03:06 AM Kliment: The subtitle is "a handbook of black magic"
03:33 AM skz81: vmt, TiL that Abdul Al-Hazred was an electronics expert !
03:41 AM vmt: you forgot the mad arab -part
03:42 AM polprog: hmm got that signalling book in pdf
03:44 AM vmt: i wonder when we'll get a proper ebook reader which projects the pages mid-air and renders their contents in real-time so you can emulate flipping through a book properly
03:45 AM zhanx: vmt, when you make it
03:45 AM vmt: skipping through pages on a screen just doesn't quite cut it. but flipping through one with the ability to find-in-page, ... well, at least i'd use that
03:47 AM vmt: well, i figure it could be done today with a pov "display" but i'd hate to be hit by the blade constantly not to mention it would tend to be noisy
03:50 AM vmt: wait, neuralink is coming(tm). it's probably finished in a super-realistic timespan of 6 months! call the press and join the hypetrain
03:51 AM vmt: "PERIPHERAL MANUFACTURERS HATE THIS MAN - READ THE STORY OF HOW HID BECAME LEGACY OVERNIGHT"
04:20 AM skz81: <vmt> you forgot the mad arab -part >> Yes, but I didn't learnt about THAT part today ^^
08:04 AM twnqx: are there any pc-bases oscilloscopes with linux software that you could recommend?
08:08 AM Kliment: anything supported by pulseview
08:08 AM Kliment: but if you can afford it, get a standalone scope
08:10 AM Fuchikoma: I assume you mean USB scopes
08:11 AM Fuchikoma: I think there are PCI card scopes but they are crazy expensive last I checked, and really intended for relatively niche lab/automation tasks
08:16 AM cehteh: many standalone have ethernet, usb or serial nowadays, some are supported by linux / pulseview (some others have other free software, some dont)
08:17 AM Fuchikoma: Plus, they're standalone so you can use them even if you don't have a PC :)
08:17 AM cehteh: anyway standalone make more sense, price wont be that much different but its vastly more versatile
08:24 AM skz81: twnqx, also depends on what you're exactly looking for. For instance if you want a very cheap tool (and a bit low grade) for basic tinkering, you can go with something like hantek 6022 BL (which integrates a saleae compatible logic analyser as well) for 60-70 bucks
08:25 AM twnqx: ok, i'll look at that
08:25 AM skz81: or maybe picoscope, we ordered some at work last days. Seems they have their own software supported on linux, unsure for the sigrok/pulseview support
08:26 AM skz81: but the native software seemed rather OK for what I saw.
08:27 AM skz81: I agree with cehteh, as soon as you want high grade HW, the standalone integrated interface wont be the expensive part :)
08:29 AM cehteh: and 100Mhz 2Channel kind of chinascopes are reasonable cheap 300-400 bucks or so
08:30 AM cehteh: that should suffice for almost anything you do
08:31 AM cehteh: do you really need a scope, aka analog signals and exact timing measurements? or would a logic analytzer be enough for a start
08:32 AM cehteh: both complement each other, but i would recommend to get one of these $12 saelae clones first/anyway
08:33 AM cehteh: scope is nice, but considering the cheap price of that logic analyzers you really want that first/as well
08:36 AM Kliment: see also: https://www.teuniz.net/DSRemote/
08:49 AM cehteh: i decided for a owon 7102 because of the big memory depth and huge display. and as goodie, it has a battery pack which makes it even more nice
09:08 AM nohit: twnqx: how about analog discovery 2 ?
09:10 AM cehteh: looks expensive for what its doing
09:11 AM nohit: it can do pretty much anything
09:11 AM nohit: also its programmable
09:12 AM nohit: so you can make it do whatever you want
09:12 AM nohit: or have anykind of UI you want
09:13 AM nohit: and you can get it for -40% if youre a student
09:16 AM nohit: of course there's open scope with is a cut down version of the analog discovery
09:17 AM nohit: but dave reviewed it and its kinda shitty
09:17 AM nohit: *which
09:19 AM Fuchikoma: The AD2 is expensive if all you want is a scope. It's a swiss army knife; Does a lot of things, but doesn't so any one thing particularly well
09:19 AM nohit: have you used it ?
09:19 AM nohit: we have it at work
09:20 AM cehteh: thats what i read from the datasheet/ads ... certainly nice, but not as good as a fully fledged scope *as scope*
09:20 AM nohit: of course not
09:20 AM cehteh: well twnqx didnt explained for what he wants a scope, what parameters are required
09:21 AM nohit: i just read the initial question
09:22 AM EI24: Hi, im trying to read the fuses on a arduino uno rev 3 clone board on linux(arch linux) using avrdude, it seems i cant commuincate with the boarb, here is what im writing in the command promt: "$ avrdude -v -c avrisp2 -p m328p -P /dev/ttyACM0 -U lfuse:r:lfuse.hex:h
09:22 AM cehteh: yeah .. fits that question, but i still wonder what he wants to do exactly, because PC scopes are nice, but also niche, you can get extreme speced ones up to 20Ghz bandwidth an more
09:23 AM EI24: do i need to specify the baud and/or the bitclock rate?
09:23 AM EI24: bitclock period*
09:23 AM Fuchikoma: try specifying 9600 baud
09:24 AM cehteh: iirc yes, just try/rtfm
09:24 AM cehteh: what programmer do you have
09:24 AM EI24: Fuchikoma, what about bitclock period?
09:25 AM Fuchikoma: Never had to specify that before
09:25 AM cehteh: AVRDUDE_BAUDRATE = 115200
09:25 AM cehteh: AVRDUDE_PROGRAMMER = avrisp2
09:25 AM cehteh: AVRDUDE_FLAGS = -B 6000000Hz -C avrdude.conf -P /dev/ttyACM0
09:25 AM cehteh: .. from my Makefile using the polulu programmer
09:26 AM cehteh: different programmers/clocks may need different settings, just try
09:35 AM EI24: oik ill try that then
09:35 AM EI24: thx
09:56 AM twnqx: i have no real specs so far
10:58 AM EI24: hi, im trying to read fuses on a arduino uno board using avrdude. I can upload compiled programs(using avc-gcc and avr-objcopy) that works with $ avrdude -v -c arduino -p m328p -P /dev/ttyACM0 -b 115200 -U flash:w:test.out, but when i try to read the fuses by issuing $ avrdude -v -c arduino -p m328p -P /dev/ttyACM0 -b 115200 -U lfuse:r:lfuse.hex:h
10:58 AM EI24: it read that all fuse registers as 0
11:02 AM Fuchikoma: Try using avedude in interactive mode
11:03 AM Fuchikoma: avrdude*
11:03 AM Fuchikoma: It could be the case that the fuses are all zero. maybe not likely but not impossible
11:04 AM EI24: Fuchikoma, im pretty sure it has bootloader enebled
11:04 AM EI24: enabled*
11:04 AM EI24: then it is 0 right..
11:04 AM Fuchikoma: Dunno offhand
11:05 AM Fuchikoma: But if you're in interactive mode you can look at the fuses and eliminate a lot of other possible things going wrong
11:27 AM cehteh: note: you can also read fuses from your firmware, just not writing
11:55 AM Fuchikoma: EI24: What are you trying to configure the fuses for? There's really not much need to mess with them nowadays
02:52 PM Maya-sama is now known as hackkitten
05:10 PM day__ is now known as day
11:58 PM day__ is now known as day