#avr Logs

Jan 15 2020

#avr Calendar

12:09 AM day__ is now known as day
12:18 AM nuxil: my messy makefile for windows having arduino ide installed http://paste.debian.net/1126059/ using it with MinGW's make tool.
01:43 AM rue_bed: why do you need the arduino ide installed?
01:44 AM rue_bed: avrdude -c arduino -P /dev/ttyUSB1 -b 57600 -p m328p -e -U flash:w:$(PRG).hex
01:45 AM rue_bed: there are variations on things like baud rates depending on it being one of a few fakes, but yea
01:45 AM nuxil: cos im on winsows
01:45 AM nuxil: and dont want to compile the toolchain meself
01:46 AM rue_bed: they make avrdude for windows
01:46 AM rue_bed: pre-compiled
01:46 AM nuxil: oh? since when? cos last time i checked it was some old winavr thingy.
01:47 AM rue_bed: whaaa?
01:47 AM nuxil: i must have been looking at wrong source them.
01:47 AM nuxil: also. last time i checked. was some time ago :p
01:50 AM rue_bed: https://sourceforge.net/projects/winavr/files/WinAVR/20100110/WinAVR-20100110-install.exe/download
01:50 AM rue_bed: wow thats a fu******d of ads
01:50 AM rue_bed: are my filters even working?
01:51 AM nuxil: Last Update: 2019-12-18
01:51 AM nuxil: oh nice.
01:51 AM nuxil: what filters ?
01:51 AM rue_bed: windows users aren't expected to know how to do _____
01:51 AM rue_bed: so you typically find everything already done for them
01:52 AM rue_bed: oh, no filters
01:52 AM rue_bed: nowonder
01:52 AM rue_bed: 127.0.1.1 assets.bounceexchange.com <-- the only entry :)
01:55 AM rue_bed: 127.0.1.1 tpc.googlesyndication.com <-- this one alone blocks 80% of all ads!
01:57 AM nuxil: https://www.youtube.com/watch?v=YlGklt4BSQ8
01:58 AM rue_bed: is does seem odd that its dated like 10 years ago...
01:59 AM nuxil: the install.exe ? yea
02:02 AM nuxil: exe still uber old. only the code is updated
02:03 AM nuxil: https://sourceforge.net/p/winavr/code/HEAD/tree/
02:14 AM rue_bed: I wonder who has an updated compile
02:30 AM rue_bed: do you know what version they put in the arduino ide?
02:30 AM Thrashbarg: 0.0.01 pre-alpha?
02:30 AM rue_bed: :/
02:31 AM Thrashbarg: lol
02:31 AM rue_bed: the arudino ide DOES use avrdude...
02:31 AM rue_bed: https://www.arduino.cc/en/main/software
02:31 AM rue_bed: I'm confused why the silver spoon that windows users always get seems to be missing
02:32 AM rue_bed: right around 2010 it all just stopped
02:33 AM rue_bed: there are a few projects that tried to pick up as late as 2013
02:35 AM rue_bed: https://avrdudess.software.informer.com/2.4/
02:35 AM rue_bed: I cant tell if its packaged with that
02:38 AM rue_bed: I wonder what version I'm using
02:38 AM rue_bed: avrdude version 6.3
02:39 AM rue_bed: same on another
02:40 AM rue_bed: avrdude version 6.3-20171130
02:40 AM rue_bed: iinteresting
02:45 AM nuxil: avrdude.exe: Version 6.3, compiled on Jan 17 2017 at 12:00:53
02:45 AM nuxil: and im using a old arduino ide install.
02:46 AM rue_bed: I wonder when atmel sold to microchip
02:46 AM rue_bed: maybe all the projects got dropped
02:46 AM rue_bed: everyone knew that microchip will screw up the avr line and threw in the towel
02:47 AM rue_bed: <and most of us moved to stm32>
02:51 AM nuxil: i got mixed feelings about stm32.
02:52 AM rue_bed: it didn't get as advanced as the avr stuff did
02:52 AM rue_bed: the base libraries aren't there
02:52 AM rue_bed: lots of its stuff is pretty dated too
02:52 AM nuxil: ther is HAL. but its really bloated if you ask me.
02:52 AM rue_bed: no
02:52 AM rue_bed: you dont use the stupid hal
02:52 AM rue_bed: never ever ever use a hal
02:53 AM nuxil: i know. just like with avr. do not use the arduino libs :p
02:53 AM rue_bed: I'm using opencm3, which isn't a hal
02:53 AM rue_bed: its just the port definitions and some crazy setup routines that are almost pointless
02:55 AM nuxil: anywho. time for a cup of coffee
02:59 AM * nuxil sips some fresh coffee
04:54 AM rue_bed: is there a library out there for giving you the closest resistor value to a input value?
04:55 AM twnqx: given the amount of values that's really available if you go to distributors and ignore the Exxx series... doubt it
04:55 AM rue_bed: there were a lot of standard capacitor values I was just not able to get from china
04:55 AM rue_bed: had to change my filter design
04:59 AM twnqx: digikey and mouser are always there for you
05:00 AM rue_bed: costs too much
05:00 AM rue_bed: I dont get paid for these projects
05:03 AM twnqx: and no local shop that has nearly everything?
05:04 AM rue_bed: I'm the closest there is
05:07 AM twnqx: i suppose it's easy to take things for granted...
05:16 AM Snoras_ is now known as Snoras
05:17 AM vmt: rue_bed: digikey/mouser too expensive for passives? what qtys are we even talking here
05:18 AM vmt: weren't you based in canada? shipping should be next to nothing, no?
05:18 AM rue_bed: 10pcs
05:18 AM rue_bed: keep in mind, shipping is $8
05:19 AM rue_bed: ok I made a header file with the resistor values in it
05:19 AM vmt: 10pcs of some caps?
05:19 AM rue_bed: now to correct them
05:19 AM rue_bed: so
05:20 AM vmt: order something you burn through a lot while you're at it, to justify the shipping and $8 is really nothing for shipping
05:20 AM rue_bed: I keep writing software that I need to pin values to their nearest real available values
05:20 AM vmt: compared to ordering to EU
05:20 AM rue_bed: so I'm writing a library to round values to their nearest
05:20 AM vmt: iirc >€65 is free shipping
05:21 AM vmt: at least used to be to FI
05:21 AM rue_bed: the comment was that there is no point due to the amazing uspply of any value you could ever want
05:21 AM vmt: from digikey
05:21 AM rue_bed: which I dont have
05:21 AM rue_bed: so its 3am, the alarm to go to work is gonna go off at 6:15am and I'm writing a library for resistor values
05:23 AM rue_bed: so, your saying you would be ok to pay >€65 for 10 thru-hole resistors of whatever value you needed cuase you didn't want to trim the design to fit the 5% values you have?
05:23 AM rue_bed: personally, I'm writing the library..
05:23 AM rue_bed: save the moneies
05:23 AM rue_bed: SAVE ALL THE MONIES!
05:24 AM vmt: no. i'm saying get a bunch of useful stuff which gets burned through quick
05:24 AM vmt: you shouldn't order *just* 10 pcs of th resistors from china, either
05:24 AM vmt: unless you're on a shoestring budget, well then get another hobby. walking seems pretty cheap:D
05:24 AM rue_bed: free shipping!
05:25 AM vmt: ...
05:25 AM vmt: free shipping -> wait for 2 months
05:25 AM rue_bed: yes
05:25 AM rue_bed: 8 projects at once
05:25 AM vmt: *may or may not get there*
05:25 AM rue_bed: 16 projects at once
05:26 AM vmt: for 16 projects at once i would suspect you have a need for other things than 10 pcs of th resistors, too
05:26 AM vmt: also how's that gui thing coming along?
05:27 AM rue_bed: the state machine builder?
05:28 AM rue_bed: hopefully you dont mean the CAM program
05:28 AM rue_bed: for that, I have to rewrite motif
05:28 AM rue_bed: its only 1500 files, but....
05:28 AM vmt: the cam program
05:32 AM rue_bed: wanna help rewrite motif?
05:46 AM twnqx: i don't even want to knwo what CAM you use that still uses motif...
05:47 AM vmt: i wouldn't want to touch motif with a 10 ft pole
05:47 AM vmt: and i don't understand what possible purpose might it serve to rewrite motif
11:03 AM skz81: motif... You mean... The X "framework" (erm, toolkit ?)
11:23 AM davor_ is now known as davor
01:16 PM vmt: yes. the gui toolkit, widget lib, whatever you want to call it
05:04 PM PoppaVic: pfft.. everyone knows GTK+ is yer solution ;-)