#garfield Logs

Jul 27 2021

#garfield Calendar

12:00 AM aandrew: https://ibb.co/TwFSRXg https://ibb.co/SKbp947 is one of them
12:07 AM aandrew: https://ibb.co/3vWFn0p https://ibb.co/Ky9knhb is the other one
04:25 AM Tom_L: well at least you used proper tools for disassembly
04:37 AM rue_mohr: :)
05:22 AM rue_shop2: 2855668 288260 116208
05:40 AM rue_mohr: still leaking memory
05:40 AM rue_mohr: its just sitting there with a "restore tabs" pseudopage
11:24 AM polprog: morning rue_mohr
11:24 AM rue_mohr: morning
11:24 AM polprog: friend sent me 3 regulators like that
11:24 AM polprog: they take S type thermocouple
11:24 AM rue_mohr: what uses that range? metal treating?
11:25 AM polprog: no idea
11:27 AM polprog: Maybe my grandpa will kow
11:27 AM polprog: know*
11:27 AM polprog: I also got some nice books
11:27 AM polprog: 1984 tektronix catalogue <3
11:27 AM rue_mohr: $$$
11:32 AM polprog: he also sent me a Xilinx XC30402A fpga
11:32 AM polprog: pretty old but cool
11:32 AM polprog: in PLCC
11:32 AM rue_mohr: nice
11:33 AM rue_mohr: can you hook up to the jtag pins?
11:33 AM polprog: I havent tried yet
11:33 AM polprog: i will
11:33 AM rue_mohr: yea, knock on it, see if it says hello!
11:34 AM polprog: i wonder if it needs the crystal
11:35 AM rue_mohr: no
11:35 AM polprog: great, im hooking up the jtag
11:35 AM rue_mohr: iirc xc3sprog -c ft232h -j
11:36 AM rue_mohr: should ID the chip
11:37 AM rue_mohr: shower / breakfast
11:38 AM polprog: it doesnt have jtag pins :(
11:39 AM rue_mohr: hu?
11:39 AM rue_mohr: hmm
11:40 AM polprog: different programming algorhitm
11:40 AM polprog: very simple actually
11:42 AM rue_mohr: oh I have cnc and 3d printed things ready
01:04 PM rue_shop2: hmm, I'm supposed to use my time off for long-term benefit stuff
01:04 PM rue_shop2: I'm just haphazardly existing
01:20 PM polprog: installing lattice ecp5 toolchain
01:20 PM polprog: i got the colorlight board talking over JTAG
01:25 PM rue_shop3: linux?
01:25 PM polprog: yeah
01:25 PM rue_shop3: what where!
01:25 PM rue_shop3: wait, I dont have any lattice chips
01:25 PM rue_shop3: :/
01:40 PM polprog: it doesnt build
01:40 PM polprog: shame
01:40 PM polprog: i opened an issue
01:40 PM polprog: i wanted to blink the user led today :<
01:40 PM polprog: https://github.com/q3k/chubby75/blob/master/5a-75b/hardware_V8.0.md
01:41 PM polprog: There is some softcore for them that can run linux, that would be so badass to run a tiny linux on that board :D
01:41 PM polprog: it does not look like an SBC at all, it would be hilarious
01:46 PM rue_mohr: wow, how old is it?
01:46 PM rue_mohr: no jtag?
01:46 PM polprog: it has jtag
01:46 PM polprog: not labeled
01:47 PM polprog: 4 pins next to the fpga
01:47 PM rue_mohr: ok, I'm mixing up threads
01:47 PM polprog: its ok
01:47 PM polprog: my head hurts, ive been sitting here since 12, its 20
01:54 PM Tom_L: sitting on your head?
01:54 PM Tom_L: no wonder...
01:55 PM Tom_L: rue_mohr, you can't mix threads the bolt won't fit
01:55 PM rue_mohr: it saves threadlock
01:56 PM Tom_L: odd that blender needs a coupler. mine is direct drive
01:57 PM Tom_L: the pitcher sits on the motor and the blade is driven directly
01:59 PM rue_mohr: yup
01:59 PM rue_mohr: I fogot to get the moel
01:59 PM rue_mohr: model
02:01 PM rue_mohr: so the next part came out nice, accept I didn't notice...
02:02 PM rue_mohr: when I got the material
02:02 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1200396.jpg
02:02 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1200397.jpg
02:02 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1200398.jpg
02:02 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1200399.jpg
02:02 PM rue_mohr: one little problem
02:03 PM Tom_L: that looks 'grainy' like the stuff i get
02:04 PM Tom_L: you do that on the sherline?
02:04 PM * Tom_L has his doubts
02:11 PM rue_mohr: yup
02:11 PM rue_mohr: 0.25mm layers, 90mm/min (I'm pushing it)
02:20 PM Tom_L: looks pretty good
02:21 PM Tom_L: so what was the one little problem?
02:23 PM Tom_L: that must have taken forever at .010" depth per pass
02:24 PM rue_mohr: see the hole in the side?
02:24 PM rue_mohr: the material I used had a hole in the side of it
02:25 PM Tom_L: oops
02:25 PM Tom_L: i thought that was on purpose
02:37 PM rue_mohr: https://twitter.com/RueNahcMohr/status/1420100138006056960
02:41 PM polprog: oooh i got a bitstream
02:46 PM rue_mohr: .jed
02:47 PM rue_mohr: yes?
02:47 PM rue_mohr: which board are you doing? the spartian 6?
02:47 PM polprog: no the one i linked
02:48 PM polprog: i got the spartan 6 running fine
02:48 PM rue_mohr: oh I'm multitalking
02:48 PM rue_mohr: multitasking
02:48 PM rue_mohr: ah ok
03:02 PM polprog: hmm doesnt wanna upload
03:03 PM rue_mohr: but you got a jtag reply?
03:04 PM polprog: yeah
03:04 PM polprog: it fails to upload the SVF file
03:04 PM polprog: always at the same point (85%)
03:04 PM polprog: https://twitter.com/polprogpl/status/1420107907379695616
03:04 PM polprog: which makes me think i have the wrong options set in the makefile
03:05 PM polprog: (im adapting a makefile for a different board)
03:05 PM polprog: ill continue tomorro, i have to take a break
03:13 PM rue_mohr: svf? jed
03:55 PM Tom_L: maybe it's too big for the part?
03:57 PM Tom_L: rue_mohr, you should see if that engine will run before you destroy it
04:09 PM rue_shop2: both spark plugs snapped off when I tried to undo them
04:10 PM polprog: Tom_L: maybe.. i have to check the part number
04:11 PM polprog: Tom_L: shit youre right
04:11 PM polprog: it was a LFE5U-25F, so --25k rather than --um-25k
04:13 PM rue_mohr: ?
04:14 PM Tom_L: snapped off?
04:15 PM Tom_L: as in easyout snapped off?
04:15 PM polprog: YES
04:15 PM polprog: the led is BLINKING
04:15 PM rue_mohr: :)
04:16 PM polprog: New FPGA tamed :)
04:16 PM Tom_L: wrong part?
04:16 PM polprog: yes
04:16 PM Tom_L: :/
04:16 PM polprog: i put the right part number in nextpnr options and it worked right away
04:17 PM polprog: so, yosys for verilog synthesis, nextpnr for place and route, Project Trellis for bitstream preparation
04:17 PM polprog: and it works with text editor + Makefile, so rue's computer can take a break :D
04:18 PM Tom_L: so 3 separate steps?
04:18 PM Tom_L: but quicker than ise webpack
04:19 PM Tom_L: that's not an xilinx part though
04:19 PM polprog: yeah
04:19 PM polprog: its lattice
04:19 PM polprog: https://twitter.com/polprogpl/status/1420127356308672517
04:19 PM polprog: i had a glass of beer and it started working, it must be the Ballmer peak
04:19 PM Tom_L: a winky blinky!
04:26 PM polprog: https://polprog.net/rozne1/ircjunk/fpga/colorlight_5A_75B.tar.xz if any of you guys gets one
04:33 PM Tom_L: i did that once on a spartain... was a -16 instead of -25
04:34 PM Tom_L: the program fit in either but not if it was synthesized wrong
04:36 PM polprog: https://github.com/q3k/chubby75
04:36 PM polprog: There is a spartan 6 one there if you want
04:37 PM Tom_L: naw, i've got one and i use them on my mill boards
04:47 PM rue_mohr: polprog, oooh yosys!
04:47 PM rue_mohr: tell me about yosys
04:47 PM polprog: no ide, i just compiled it and used an existing makefile
04:47 PM polprog: idea*
04:48 PM polprog: no ide either
04:48 PM polprog: :P
04:48 PM polprog: it takes verilog and makes some json file
04:48 PM rue_mohr: which part is yosys
04:48 PM rue_mohr: ok
04:48 PM rue_mohr: so then whats trellis and nextptr
04:48 PM polprog: then you use nextpnr to create a .config file, which is something intermediate
04:49 PM polprog: nextpnr is the place and route step in ISE
04:49 PM rue_mohr: ok
04:50 PM polprog: then you use Trellis tool, ecppack that makes a .bit and .svf file from the .config i think
04:50 PM polprog: .svf is just raw jtag commands that get sent to the FPGA to program it
04:52 PM polprog: tbh i dont grok the makefile fully
04:52 PM polprog: i took it from
04:52 PM polprog: https://github.com/YosysHQ/prjtrellis/blob/master/examples/ecp5_evn/Makefile
04:53 PM polprog: then i rewrote the verilog to be a simpler blinky
04:53 PM polprog: then i fixed the makefile options for yosys to create data for the FPGA on the colorlight controller
04:53 PM polprog: s/yosys/nextpnr/
05:00 PM polprog: hmm... https://github.com/stnolting/neorv32
05:00 PM polprog: maybe we should play wit softcores
05:04 PM Tom_L: https://xess.com/projects/others/index.html
05:05 PM polprog: loks interesting
05:39 PM rue_mohr: polprog, my i2c eeprom reader doesn't take up much space
05:44 PM aandrew: there was some guy who wrote an IP core that executed either fortran or forth natively
05:46 PM aandrew: that neorv32 looks like somethign I saw before, forgot about it. nice for instances where you need just a little bit of software and dont' want to dick around
05:47 PM rue_mohr: hmm what kinda surface encourages the condensation of water
05:48 PM aandrew: a cold one? :-)
05:48 PM rue_mohr: yea, but texture
05:48 PM rue_mohr: maybe pyramids?
05:48 PM aandrew: I think something "bumpy" yes for more surface area
05:48 PM rue_mohr: on the cieling of the surface?
05:49 PM aandrew: not sure, I'd think the walls so it can fall, and also because the cooler are of hte inside would be toward the bottom, not the top
05:53 PM Tom_L: ac condenser coil
05:53 PM Tom_L: or the evaporative coil
05:54 PM Tom_L: seems they're always dripping wet
05:54 PM polprog: rue_mohr: what about your eprom reader?
05:56 PM Tom_L: done quadrature yet?
06:00 PM Tom_L: polprog, demos that came with my spartan6 board http://tom-itx.no-ip.biz:81/~webpage/xilinx/New_Board/
06:00 PM polprog: ty
06:00 PM polprog: i didnt do quadrature yet
06:01 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/temp/xilinx/
06:01 PM Tom_L: odds n ends
06:03 PM polprog: :) thanks
07:51 PM rue_mohr: polprog, hu?
07:51 PM rue_mohr: what about the eprom reader?
07:51 PM rue_mohr: I built a table...
09:42 PM Tom_L: so rue_mohr what does your i2c code do?
09:43 PM Tom_L: ...LM75 to 7seg display...
10:02 PM rue_mohr: reads 24c512 eeprom addresses
10:04 PM Tom_L: i remember having those display on my webpage using the parport on the server
10:10 PM rue_shop3: i2c?
10:10 PM Tom_L: yup
10:11 PM Tom_L: i may have some but dunno where they would be now
10:49 PM aandrew: rue_shop3: https://mega.nz/file/1Y8GCAhL#EoWv-2CPE4v8IofWAcoi4PgceuZx3ZZ9pJWQ1at-LlI
10:49 PM aandrew: password will be 'sonsivri'
10:52 PM rue_shop3: whats an epub?
10:56 PM rue_shop3: fbreader
10:56 PM rue_shop3: hmm
10:58 PM rue_shop3: no, pin 4 is a lie
11:00 PM aandrew: calibre should do it
11:00 PM rue_shop3: :)