#flex-dev Logs
Jun 21 2025
#flex-dev Calendar
04:54 AM JT-Cave: morning
04:54 AM JT-Cave: 79°F
05:35 AM Tom_L: morning
05:35 AM Tom_L: 78
05:36 AM Tom_L: 93 hi
06:01 AM JT-Cave: 95°F high
07:55 AM JT-Cave: hmm we already have a hal i/o but it's not in the docs I don't think
08:00 AM JT-Cave: Tom_L, flex minor bug fix
08:04 AM Tom_L: that i can fix
08:07 AM Tom_L: you haven't pushed it yet
08:08 AM Tom_L: i thought there was but couldn't find it
08:09 AM Tom_L: gonna mow before it gets too hot
08:10 AM JT-Cave: it's already too hot here
08:12 AM Tom_L: wanted to wait just a bit so not to piss off the neighbors
08:13 AM Tom_L: i'll check in after bit
08:22 AM JT-Cave: time to start my day
08:59 AM JT-Cave: I just did a hal io checkbox...
09:49 AM Tom_L: it's officially hot thirty now
09:50 AM Tom_L: but
09:50 AM Tom_L: the yard is done
09:50 AM Tom_L: and i smell like it
09:50 AM Tom_L: showertime
10:01 AM rdtsc: woke up (late) and it was already 77F outside... gonna be 93-ish soon... pretty warm this early for up here
10:05 AM rdtsc: Ya know Tom, even more confusing than the whole /boot, /boot/broadcom, /boot/firmware issue, this rpi5 image has two partitions, a /boot and a / partition. But the / partition ALSO has a /boot folder, which gets merged with the other partition!
10:06 AM rdtsc: <bonkers>
10:13 AM Tom_L: awesome!!
10:13 AM Tom_L: wtf else can they dream up???
10:35 AM lcnc-relay: <roguish> good morning..............\
10:47 AM * JT-Cave just tested a hal io spinbox
11:08 AM * Tom_L just successfully tested spi on 7i90
11:08 AM Tom_L: on an old sd copy on the rpi4
03:34 PM JT-Mobile: 95 here in Echo Bluff
03:38 PM JT-Mobile: Gotta work more on the hal io stuff, I think the code was part of variable read and set
03:40 PM Tom_L: glad i did the yard this morning..
03:41 PM JT-Mobile: It's so hot no one is sitting outside
03:45 PM Tom_L: i know i'm not
03:47 PM Tom_L: ok that image doesn't work either. it was an earlier image on the download page i thought i'd try. enabled spi and get a blank screen
03:48 PM JT-Mobile: I was surprised to see that I had most of the code done for hal io, just had to add check box
03:48 PM Tom_L: i somewhat remember the IO one
03:48 PM Tom_L: i'm sure of the other 2
03:52 PM Tom_L: ok, we'll see if this trick works
03:52 PM Tom_L: nope
03:53 PM JT-Mobile: What trick
03:53 PM Tom_L: turning off spi in the config.txt from windoz
03:54 PM Tom_L: to see if spi was why the blank screen
03:54 PM Tom_L: not gonna mess with that old copy anymore now
03:54 PM JT-Mobile: Back to the rpi5?
03:54 PM Tom_L: yeah
03:54 PM Tom_L: the only one to work so far is bullseye on the rpi4
03:54 PM Tom_L: 11
03:55 PM JT-Mobile: Is the 7i90 the only spi card
03:55 PM Tom_L: now i'll load an actual config and see if the spix driver works with it
03:55 PM Tom_L: no
03:55 PM Tom_L: 2 rpi boards and the 7i90
03:55 PM Tom_L: 7c80 81
03:56 PM JT-Mobile: I have one of those, forget which one
03:57 PM Tom_L: they're easier to wire because it's a straight thru cable
03:57 PM Tom_L: still needs to be short
04:02 PM Tom_L: backing up the sd before i go further though
04:35 PM JT-Mobile: I finally figured out to turn on wifi here
04:52 PM Tom_L: on the phone?
04:53 PM Tom_L: the 25 does that for you. i can turn it off, walk outside and come back. as soon as it sees the router again it connects
06:01 PM lcnc-relay: <vetsin@> hm, does anyone have a mill flex gui that's a good place to start?
06:39 PM Tom_L: vetsin, look in the examples folder
06:40 PM JT-Shop: yup I don't think about turning on wifi in a remote restaurant
06:41 PM Tom_L: i generally don't
06:41 PM Tom_L: but i don't leave irc running on mine all the time
06:42 PM Tom_L: some have open wifi but not everywhere
06:42 PM JT-Shop: but that's usually the only way I can be on here
06:43 PM Tom_L: your signals probably aren't as good being alot more hills than we have
06:43 PM JT-Shop: echo bluff is way out in the woods
06:43 PM Tom_L: yeah
06:44 PM Tom_L: wifi works if they don't have it locked down
06:44 PM Tom_L: my router could set up a guest access but i don't use it
06:45 PM JT-Shop: most have a guest wifi
06:47 PM Tom_L: you can probably set the phone up to look when one is available
06:48 PM Tom_L: i don't mess with that stuff much
06:59 PM JT-Shop: so I wonder if the hal io is what void warranty needed?
06:59 PM * JT-Shop calls it a night
06:59 PM Tom_L: kinda sounded like it
07:00 PM Tom_L: but he was asking about buttons iirc
08:04 PM Tom_L: rdtsc, what's the difference between SPICLK_RATE and SPICLK_RATE_RD?
08:06 PM Tom_L: you mind posting your loadrt line?
08:06 PM Tom_L: i think i know but wanna double check
09:29 PM rdtsc: the rate is write, the rd is read
09:30 PM rdtsc: Tom_L: loadrt [HOSTMOT2](DRIVER) config=[HOSTMOT2](CONFIG) spiclk_rate=[HOSTMOT2](SPICLK_RATE)
09:30 PM rdtsc: those values are populated in the .ini under [HOSTMOT2]
09:31 PM rdtsc: DRIVER=hm2_spix
09:31 PM rdtsc: BOARD=7c80
09:31 PM rdtsc: CONFIG="num_encoders=0 num_pwmgens=1 num_stepgens=4"
09:32 PM rdtsc: both rates set to 25000 which is 25MHz (should be safer at 20MHz)
09:35 PM rdtsc: JT-Shop, the amd64 .deb being downloaded through apt may be an old one; rebuilt the rpi5, installed flex, and it crashes on 'self
09:35 PM rdtsc: was able to rebuild my repo and install that, no more issue
09:37 PM Tom_L: i think i figured it out
09:38 PM Tom_L: just trying to get the config ironed out now
09:38 PM Tom_L: i have mine set up the same way
09:40 PM Tom_L: well i gotta change all my paths from tom to cnc but it started
09:45 PM rdtsc: interesting, so some sort of glitch with mesaflash on rpi5?
09:46 PM rdtsc: well prolly due to the new rp1 chip
09:47 PM Tom_L: yes
09:47 PM rdtsc: mesaflash + rpi5 + 7i90HD specifically - mf works fine here on 7c80
09:47 PM Tom_L: i'm missing a bunch of nc files but that's an easy fix
09:47 PM Tom_L: i get board not found with mesaflash
09:48 PM Tom_L: but the spix driver seems to work
09:48 PM rdtsc: just got everything working fully again... seems like deja-vu
09:48 PM Tom_L: bak it up
09:48 PM rdtsc: made a script to back up the entire /boot folder lol
09:48 PM Tom_L: i saw it
09:49 PM Tom_L: gonna grab some ngc files and fix these missing file errors
09:50 PM rdtsc: I just borrowed the linuxcnc logo (from Axis perhaps?) and set that to auto-load
09:53 PM rdtsc: maybe that was /usr/share/doc/linuxcnc/examples/sample-configs/sim/gmoccapy/macros/halo_world.ngc I forget
09:54 PM rdtsc: can search for them: sudo find / -name *.ngc
09:55 PM rdtsc: looks like most come from /usr/share/linuxcnc/ncfiles/
09:59 PM rdtsc: beat here, time for shut-eye
10:04 PM Tom_L: ok axis starts up with no errors
10:05 PM Tom_L: time to stop before something breaks