#garfield Logs

Apr 04 2018

#garfield Calendar

04:43 PM Tom_itx: https://www.youtube.com/watch?v=OipSiPSRti8
09:50 PM Tom_itx is now known as Tom_L
10:17 PM katsmeow: i wonder if the Chinese tarriffs on usa grains will help Canadia
10:18 PM katsmeow: or if the Canadian railroad from the farms ni Canada can handle the added load
10:22 PM zhanx: it will only hurt china
10:45 PM rue_mohr: :/ there is no icmp library
10:45 PM rue_mohr: I need some code for pinging an IP
10:45 PM zhanx: oh one sec
10:45 PM zhanx: from an 328p?
10:45 PM rue_mohr: stm32
10:45 PM zhanx: oh
10:45 PM rue_mohr: but for 328 can prolly work
10:46 PM rue_mohr: at that level its pretty generic
10:46 PM zhanx: k
10:46 PM rue_mohr: I know its easy, but its more code to write
10:46 PM zhanx: https://github.com/dancol90/ESP8266Ping
10:46 PM zhanx: what i use
10:48 PM zhanx: network stuff, if you remember. I did a full mesh last winter
10:49 PM rue_mohr: hmm I need the source behind it
10:49 PM rue_mohr: or I just go 100% arduino on it
10:49 PM rue_mohr: hmmmm
10:49 PM rue_mohr: like not to
10:50 PM zhanx: grap the other lib for it
10:51 PM zhanx: or you could do both arduino for ping and your normal code for the rest
10:51 PM katsmeow: wtf can't i buy avr shit that you 2 have done?
10:52 PM zhanx: aliexpress
10:52 PM zhanx: its cheap
10:53 PM katsmeow: it isn't programmed
10:53 PM zhanx: it has arduino as base on them
10:54 PM katsmeow: rue, did you know the bottom 30% of a rr frog is hollow?
10:54 PM zhanx: issue you may have is the ch340's for drivers on windows
10:54 PM rue_mohr: ... frog
10:54 PM rue_mohr: coal tender?
10:55 PM katsmeow: the > part of a rr switch rail
10:55 PM rue_mohr: kat had a chip working, kinda, she was using debug and it wouldn't run if she wasn't connected
10:55 PM rue_mohr: oh
10:55 PM rue_mohr: srry, rusty on rr stuff
10:55 PM zhanx: weird
10:55 PM rue_mohr: I think 040 shunt was my fav...
10:56 PM katsmeow: the thing is, you have chips that do things,, and i never will, no matter how many you make for yourself,, same with everyone else who successfully programs them
10:56 PM rue_mohr: kat, you have avrs
10:56 PM rue_mohr: we should focus on getting soem working again for you
10:56 PM rue_mohr: tho you dont like C, you CAN program them in asm
10:56 PM rue_mohr: have you seen the instruction set?
10:56 PM katsmeow: i have the old basic compiler too
10:56 PM katsmeow: no
10:57 PM rue_mohr: 1 min
10:57 PM katsmeow: no
10:57 PM katsmeow: i rely on you and you disappear
10:57 PM rue_mohr: I sleep at night and go to work during the day
10:57 PM katsmeow: i would prefer to pay you to make the chips work
10:57 PM zhanx: you got wifi right?
10:57 PM katsmeow: no
10:57 PM zhanx: oh
10:57 PM katsmeow: the laptop has wifi, the dsl modem has wifi, it;s shut off on both units
10:57 PM rue_mohr: katsmeow, http://ruemohr.org/~ircjunk/datasheets/atmelinstructions.pdf
10:58 PM rue_mohr: look over that and see what you think
10:59 PM zhanx: i like these for cheap wifi things https://www.aliexpress.com/item/1PCS-D1-mini-V2-Mini-NodeMcu-4M-bytes-Lua-WIFI-development-ESP
11:00 PM rue_mohr: :/ nobody has ever used these w5500 libraries
11:01 PM katsmeow: rue, how do i get those instructions into an avr?
11:02 PM zhanx: arduino as isp?
11:02 PM katsmeow: on the 6510/6502/z80, i used POKE
11:02 PM rue_mohr: well, you need a program called avrdude
11:02 PM rue_mohr: I dont know if you have it or not
11:02 PM rue_mohr: I cant recall when we did stuff with avr with you last time
11:02 PM rue_mohr: otherwsei I'd check the logs
11:03 PM rue_mohr: kat, do you have avrdude?
11:04 PM katsmeow: no
11:04 PM rue_mohr: ok see if you can install avrdude
11:04 PM rue_mohr: and I'll work backwards
11:04 PM katsmeow: where would have put it if i had it?
11:05 PM rue_mohr: /files/Installs/windows/
11:05 PM rue_mohr: srry
11:05 PM rue_mohr: \files\installs\windows\
11:05 PM katsmeow: not bloody likely
11:05 PM rue_mohr: :D
11:05 PM zhanx: under program files
11:05 PM rue_mohr: \user\default\Desktop\
11:05 PM zhanx: if there is an avrdude dir its there
11:06 PM katsmeow: i have something called C:\Program Files\Atmel\Atmel Software Framework\3.5.0.186
11:06 PM rue_mohr: no
11:06 PM rue_mohr: screw that, you want avrdude
11:06 PM rue_mohr: no atmel IDEs
11:06 PM katsmeow: i have a lot of BASCOM
11:06 PM rue_mohr: nope, avrdude
11:06 PM katsmeow: Eagle?
11:07 PM zhanx: http://www.ladyada.net/learn/avr/setup-win.html <- follow that
11:07 PM rue_mohr: wait
11:07 PM rue_mohr: we cant have multiple people at this, we all have different directions
11:07 PM katsmeow: deviantart ?
11:07 PM zhanx: check it rue_mohr its step by step
11:07 PM rue_mohr: I do NOT recommend and of the atmel stuff
11:07 PM rue_mohr: esp winavr
11:08 PM rue_mohr: hey wait
11:08 PM rue_mohr: is winavr just a wrapper for avrdude?
11:08 PM katsmeow: parport launch.htm ?
11:08 PM zhanx: see i don't use windows but that last command might work
11:08 PM rue_mohr: ????wtf
11:08 PM zhanx: i thought it was
11:08 PM * katsmeow checks Tiggr5
11:09 PM rue_mohr: katsmeow, https://sourceforge.net/projects/avrdudegui/
11:09 PM rue_mohr: ?
11:09 PM rue_mohr: all I can see is a huge bird
11:09 PM zhanx: parport is a scanner
11:09 PM katsmeow: no, rue's parport things is something to do with IDE hardware
11:10 PM rue_mohr: kat, z, I appologize
11:10 PM rue_mohr: the avrdude site says to install winavr and it will install avrude as part of it
11:10 PM katsmeow: i prolly deleted all my avr stuff in the years rue wasn;t talking to me and i didn;t come in here any more
11:10 PM rue_mohr: katsmeow, if I dont talk for hours at a atime its prolyl cause I ahve visotors
11:10 PM zhanx: so kat follow my link and it will get you setup
11:10 PM katsmeow: i can see the lil programming pcb i made, but i have no clue where the avr dragon is
11:11 PM rue_mohr: just assume if I dont reply right away I'm afk, ok?
11:11 PM rue_mohr: katsmeow, avrdude
11:11 PM rue_mohr: focus...
11:11 PM rue_mohr: we get avrude by installing winavr
11:11 PM rue_mohr: so lets install winavr *just* for avrdude
11:11 PM rue_mohr: mkay?
11:12 PM zhanx: fyi arduino ide for windows installs it also
11:12 PM zhanx: so if it fails that is a fall back
11:12 PM rue_mohr: katsmeow,
11:12 PM rue_mohr: http://www.ladyada.net/learn/avr/setup-win.html
11:12 PM rue_mohr: would you do that?
11:13 PM katsmeow: been looking at nimh for ram backups for cpu cards
11:13 PM katsmeow: ok, sure
11:13 PM rue_mohr: arg
11:13 PM * katsmeow deletes https://sourceforge.net/projects/avrdudegui/
11:13 PM rue_mohr: I have 20 mins till bedtime
11:13 PM rue_mohr: avrdude reccommends to windows users to do it with winavr
11:14 PM rue_mohr: I dont do windows, so I might be a bit clumbsy
11:14 PM katsmeow: even if i mirror that whole site, i have no clue how to get the bytecode for the assy nemonics into the avr
11:14 PM rue_mohr: katsmeow, one step at a time
11:14 PM rue_mohr: frist step is to install avrdude
11:14 PM katsmeow: http://www.ladyada.net/learn/avr/setup-win.html << done in 2012, it's 6 yrs old
11:15 PM zhanx: first lets get an led to blink to confirm code upload is working
11:15 PM rue_mohr: next step is to find a programmer and work out what it is (maybe we wont use the dragon as its got a bunch of simulator crap in it)
11:15 PM katsmeow: i thought you and z are programmers
11:15 PM rue_mohr: then we set up an avr with led, life support, and programmer
11:15 PM zhanx: programmer for the chip
11:15 PM rue_mohr: then I give you a hex file and you program the avr, make sure it takes
11:16 PM rue_mohr: then we set up a compiler,
11:16 PM rue_mohr: then we feed you some working source and get your own hex made and uploaded
11:16 PM rue_mohr: then the world opens up and does whatever you command
11:16 PM katsmeow: holycrap sourceforge wants to access every other domain on the net
11:16 PM rue_mohr: kat, just get the winavr.zip file, whereever it is
11:17 PM zhanx: sourceforge is like the facebook of code storage
11:17 PM rue_mohr: I cant access that sight properly
11:17 PM rue_mohr: zhanx, can you grab and post *just* the installer somwehre
11:17 PM zhanx: one sec
11:17 PM katsmeow: winavr.zip is not found on that page, i did a WORD SEARCH of it
11:18 PM katsmeow: WinAVR (tm) is a suite of executable, open source software development tools for the Atmel AVR series of RISC microprocessors hosted on the Windows platform. Includes the GNU GCC compiler for C and C++.
11:18 PM rue_mohr: katsmeow, I wasn't being litteral
11:18 PM katsmeow: but no dl
11:18 PM zhanx: its under files
11:18 PM zhanx: grabbing it now
11:18 PM rue_mohr: I cnt browse that sight, all I get is a huge picture of a bird
11:18 PM katsmeow: Absolute crap. This program overwrites your system PATH environment variable and breaks your applications. DO NOT INSTALL. You know what's worse? The bug has been there for years and nobody bothers to fix it. I wish I had read the reviews before installing. Too late now.
11:18 PM katsmeow: petruchito Posted 10/12/2016
11:18 PM katsmeow: i get that and stars too, rue
11:19 PM rue_mohr: ok, zhanx is getting file
11:19 PM zhanx: kat want me to email it or?
11:19 PM zhanx: 27.5mb
11:19 PM rue_mohr: geez
11:19 PM rue_mohr: I wonder if the installer will let you pair it down to *just* avrdude
11:20 PM katsmeow: ok
11:20 PM zhanx: its windows what do you expect rue. the install is half that
11:20 PM zhanx: katsmeow: email it or ftp?
11:21 PM katsmeow: ok
11:21 PM zhanx: emailing it
11:21 PM zhanx: uploading now
11:22 PM zhanx: you will get a google drive link to d/l it
11:22 PM rue_mohr: katsmeow, ok, so if successfull, you can run 'avrdude' commandline ok?
11:22 PM katsmeow: Downloads: 2,476 This Week <<== but still there i no way to dl it
11:22 PM rue_mohr: we can reconvien tommmotorw after work, nap, vistors...
11:23 PM rue_mohr: he emailed it to you
11:23 PM rue_mohr: katsmeow, z is getting/sending you the file
11:23 PM zhanx: 8 minutes on upload
11:23 PM katsmeow: tell me a few more times, rue, i didn;t understand
11:24 PM katsmeow: :-/
11:24 PM zhanx: my upload speed sucks
11:24 PM rue_mohr: srry, I'm falling asleep
11:24 PM rue_mohr: how i WISH that meant I would get some rest tonight
11:25 PM rue_mohr: I'm also trying to figure out other ways around this avrdude for windows thing, and trying to work out how to get eithernet installed on an arm processor
11:25 PM katsmeow: i wonder if the train co in Canada watched this show and fired 100 people
11:25 PM zhanx: oh
11:25 PM zhanx: rue i am sorry
11:25 PM zhanx: maple leaf!
11:25 PM rue_mohr: katsmeow, they fired evryone and then sold out to a US company
11:25 PM katsmeow: isn't an arm overkill?
11:26 PM zhanx: they got code for that native
11:26 PM rue_mohr: katsmeow, yes, I'm excersizing my arm...
11:26 PM katsmeow: you an maybe just bitbang the lan packet from memory?
11:26 PM rue_mohr: I have a W5500 module
11:26 PM zhanx: which sucks
11:26 PM rue_mohr: but there is NO code that uses any of the libraries written
11:26 PM zhanx: i can send you mine also
11:27 PM zhanx: google the maple leaf and w5000
11:27 PM zhanx: err 5500
11:27 PM zhanx: kat you have mail coming it
11:27 PM zhanx: in
11:28 PM katsmeow: it's not here, zhanx
11:28 PM rue_mohr: I have a bunch of libraries for w5500, and dhcp, but no examples of how it goes togethor
11:28 PM zhanx: refresh, it had a question for me
11:29 PM zhanx: i dropped the w5500 and just used an esp8266 via serial it was easier
11:29 PM rue_mohr: I want wried
11:29 PM zhanx: mine is
11:29 PM rue_mohr: esp8266 is wireless
11:29 PM zhanx: to the stm :D
11:29 PM katsmeow: Saving to: `view@usp=drive_web'
11:29 PM rue_mohr: hu?
11:29 PM katsmeow: [ <=> ] 125,079 336K/s in 0.4s
11:29 PM katsmeow: 2018-04-04 23:30:50 (336 KB/s) - `view@usp=drive_web' saved [125079]
11:30 PM rue_mohr: katsmeow, hu?
11:30 PM katsmeow: now i have apage full of urls
11:30 PM rue_mohr: its not 125k
11:30 PM rue_mohr: zhanx, whats up? shall I try now?
11:30 PM zhanx: https://drive.google.com/file/d/1gwWXI01O2SHsN5Rt-7nDKeoax1CwsQkE/view?usp=drive_web
11:30 PM zhanx: that is the file
11:31 PM zhanx: its web only
11:31 PM rue_mohr: must be a page containing al link to the file
11:31 PM rue_mohr: that wont work for her
11:31 PM katsmeow: We are experiencing technical difficulties. Would you still like to download this file? WinAVR-20100110-install.exe (28M)
11:31 PM zhanx: that is the file
11:31 PM rue_mohr: (Y)?
11:31 PM katsmeow: see, it ait all MY problem
11:32 PM rue_mohr: katsmeow, will it go or shall I do a link to a real file?
11:32 PM zhanx: rue grab it and host it so she can ftp it
11:32 PM katsmeow: save to where?
11:32 PM rue_mohr: dont care, desktop
11:32 PM rue_mohr: katsmeow, you got it?
11:32 PM katsmeow: no
11:33 PM katsmeow: i'll put it on D: root
11:33 PM rue_mohr: can you or shall I put it as a real file?
11:33 PM rue_mohr: ok, so you can download it
11:33 PM katsmeow: TRYING TO
11:33 PM rue_mohr: see,t eh simple things are a fine start.
11:33 PM rue_mohr: if it wont start, tell me and I'll put it on my site and yo can wget it
11:34 PM katsmeow: but i am not running an avr anything as root on the drive, so i need your professional opinon on what dir to put it in
11:34 PM rue_mohr: its just an installer
11:34 PM rue_mohr: when you install it'll be in the default path
11:34 PM zhanx: its windows save it where you want it needs to install
11:34 PM rue_mohr: start->run "avrdude"
11:34 PM zhanx: start>run>cmd>avrdude
11:35 PM zhanx: remember she needs a command prompt first
11:35 PM rue_mohr: so put that big file anywhere, then run it,
11:36 PM rue_mohr: I havn't really used windows since 98 when I gave up on microsoft making a working version
11:36 PM rue_mohr: (I was still using 3.1)
11:36 PM rue_mohr: I needed a proper os, so I got linux
11:36 PM zhanx: i quit on windows in 96 or 97
11:36 PM rue_mohr: and never looked back
11:36 PM zhanx: linux runs great on older computers
11:37 PM rue_mohr: and viruses dont run on linux
11:37 PM zhanx: well some do
11:37 PM rue_mohr: and all the software is freeeeee
11:37 PM zhanx: but you got to let them first
11:37 PM rue_mohr: (mostly)
11:38 PM rue_mohr: katsmeow, how are you doing over there??
11:38 PM ^kat^: it oblierated my screen
11:38 PM rue_mohr: ?
11:38 PM zhanx: only thing i pay for is games
11:39 PM ^kat^: it's blue screened and installing?
11:39 PM rue_mohr: hu!?
11:39 PM zhanx: i am confused
11:40 PM zhanx: do we need to install a linux subsystem for her?
11:40 PM rue_mohr: ocean blue or 0000FF blue?
11:40 PM katsmeow: ok, i will grind every damned thing to a halt and up load a pic
11:40 PM rue_mohr: if its doing, maybe we should just wait
11:41 PM katsmeow: how would i know if it;s doing? i am busy uploading a pic
11:41 PM rue_mohr: hd led
11:41 PM rue_mohr: capslock latency
11:43 PM katsmeow: DesignerThinking.com/images/DSCF9002.jpg
11:43 PM katsmeow: no irc, nothing
11:43 PM rue_mohr: but the progress bar is moving?
11:43 PM zhanx: oh that is fine
11:44 PM katsmeow: zhanx, i know, but i could not use the computer at all, and rue needed proof something was happening
11:44 PM rue_mohr: just asking...
11:44 PM rue_mohr: np, give us a shout when its done!
11:45 PM katsmeow: need a time machine
11:45 PM katsmeow: it was done 10 minutes ago
11:45 PM rue_mohr: ok!
11:45 PM zhanx: ok open a command prompt kat
11:45 PM katsmeow: i have a D:\AVR-stuff full of stuff
11:45 PM rue_mohr: so, if you do start->run->cmd (or whatever) can you run avrude?
11:45 PM rue_mohr: avrdude?
11:46 PM katsmeow: no
11:46 PM katsmeow: zhanx, continue
11:46 PM rue_mohr: ok, wanna do a search on that folder for avrdude.exe ?
11:46 PM zhanx: hop in that dir on D:
11:46 PM katsmeow: i am
11:46 PM zhanx: and run avrdude
11:46 PM zhanx: should give your a help output
11:47 PM katsmeow: searched, found 36 files maned avrdude*
11:47 PM rue_mohr: .exe
11:48 PM katsmeow: what about the other command window i opened?
11:48 PM rue_mohr: my gotobed dingger went off
11:48 PM zhanx: type in avrdude hit enter
11:48 PM katsmeow: D:\AVR-stuff\bin>avrdude
11:48 PM katsmeow: Usage: avrdude [options]
11:48 PM katsmeow: Options:
11:48 PM katsmeow: -p <partno> Required. Specify AVR device.
11:48 PM katsmeow: -b <baudrate> Override RS-232 baud rate.
11:48 PM katsmeow: -B <bitclock> Specify JTAG/STK500v2 bit clock period (us).
11:48 PM katsmeow: -C <config-file> Specify location of configuration file.
11:48 PM katsmeow: etc
11:48 PM rue_mohr: PERFECT!
11:48 PM zhanx: ok it works
11:49 PM rue_mohr: yay, we will continue tommtorow
11:49 PM rue_mohr: katsmeow, in the meantime, round up your programmers!
11:49 PM zhanx: kat tpye in this
11:49 PM zhanx: cd c:
11:49 PM zhanx: avrdude
11:49 PM rue_mohr: dragons or parallel port dongeles or whatever
11:49 PM zhanx: to check if its system wide or not
11:49 PM katsmeow: D:\AVR-stuff\bin>cd c:
11:49 PM katsmeow: C:\
11:49 PM katsmeow: D:\AVR-stuff\bin>
11:50 PM rue_mohr: :) zhanx she got you there
11:50 PM zhanx: she did
11:50 PM rue_mohr: remeber youhave to swtich drives?
11:50 PM zhanx: its been so long i forgot
11:50 PM katsmeow: you want me on c: in a cmd window to run an file that isn;t there?
11:50 PM rue_mohr: katsmeow, under linux there is only one root filesystem, never need to chagne drives
11:51 PM katsmeow: C:\>avrdude
11:51 PM katsmeow: 'avrdude' is not recognized as an internal or external command,
11:51 PM katsmeow: operable program or batch file.
11:51 PM katsmeow: C:\>
11:51 PM rue_mohr: so it dodn't set PATH, maybe thats a good thing :)
11:51 PM zhanx: well windows does have a system wide path$ setting
11:51 PM rue_mohr: nomatter
11:51 PM katsmeow: that's so if i type avrdude in mirc it won;lt excecute
11:51 PM rue_mohr: copy d:/win-avr/avrdude.exe c:/windows/system32/ ?
11:51 PM zhanx: no
11:52 PM rue_mohr: I cant remember
11:52 PM zhanx: what is the ln -s for windows ?
11:52 PM katsmeow: the what?
11:52 PM rue_mohr: no linkks in widwows z
11:52 PM zhanx: link symbolic
11:52 PM rue_mohr: not like linux ones
11:52 PM zhanx: k
11:52 PM zhanx: that tells you how far out of touch with windows i am
11:53 PM * rue_mohr goes into MODE_POWERFAIL
11:53 PM katsmeow: the ONLY puter i have that might run nix is a pi, and it has an programming language on it with politics that i may just take out and use the shotgun on the pi
11:54 PM zhanx: every computer you have can run nix
11:55 PM rue_bed: its interesting, I'm trying to studdy falling asleep
11:55 PM zhanx: i am looking at bearings
11:55 PM rue_bed: its not that my hearing gets muted, it gets switched over to a virtual source
11:55 PM katsmeow: zhanx, but yet, none have, even if i bought them, with nix already installed
11:55 PM rue_bed: I hear lots of interesting things
11:56 PM rue_bed: katsmeow, nobody sells computers with linux instsalled
11:56 PM zhanx: wrong rue
11:56 PM katsmeow: [11:56:pm] <katsmeow> you two are listed as devs, i wish you would say something on that questions thread and i am getting beat up on
11:56 PM katsmeow: [11:56:pm] <katsmeow> i mean really, them chasing devs away says something
11:56 PM rue_bed: microsoft legally binds sellers so they cant
11:56 PM katsmeow: they do on ebay and on the goodwill site
11:56 PM zhanx: i can buy 4 new computers with linux on them
11:56 PM rue_bed: 'you may not sell any microsoft products if you touch linux with a 10' pole or we will sue you'
11:57 PM katsmeow: if they do not sell windows, they can sell hardware with nix on it
11:57 PM rue_bed: and everyone thinks they have to sell widnows
11:58 PM rue_bed: so, linux is something you have to install yourself
11:58 PM rue_bed: drive wipe and redo
11:58 PM katsmeow: read this bullshit and how it went downhill : http://openeuphoria.org/forum/132283.wc
11:58 PM rue_bed: (+ or -)