#flex-dev Logs
Jul 31 2025
#flex-dev Calendar
04:44 AM JT-Cave: morning
04:44 AM Tom_L: morning
04:48 AM Tom_L: does mesact support 7c80 81?
04:52 AM JT-Cave: someone added support but I've never tested it
04:53 AM Tom_L: ok
04:54 AM JT-Cave: looks like there's a bug when you select 7c81
04:54 AM Tom_L: i don't have that pc on atm
04:59 AM JT-Cave: I see he didn't add the manuals for them either
05:59 AM JT-Cave: this weekend wx will be much better... I better check Collinsville
07:28 AM Tom_L: 72F 81F .. rained overnite
07:40 AM JT-Cave: we got a bit of rain too
07:41 AM JT-Cave: 73-88f today but the weekend will be gorgeous 60-80f and sunny
08:17 AM rdtsc: ccatlett84 or myself can check the 7c80
08:19 AM rdtsc: took an impromptu vacation, with possibly more days to come (the whims of the wifey)
10:07 AM JT-Shop: chipmunks are cute until they start eating your chicken feed
10:09 AM lcnc-relay: <roguish> JT-Cave: Tom_L not tidal waves back there???
12:13 PM * JT-Cave is above the high water mark
02:35 PM Tom_L: if it gets here we're all in trouble
02:36 PM xxcoder: I would be long dead before roy sees any water, let alone you guys
02:39 PM Tom_L: or a really good swimmer
02:40 PM xxcoder: im probably good floater
02:41 PM xxcoder: dunno how long I would be able to do it but yeah lol
02:53 PM lcnc-relay: <travis_farmer@> i don't float, i sink... never could float on my back. but if the tidal wave crosses the whole US and hits me, you all are more than in trouble, and swimming ain't gonna save ya 😉
03:17 PM Tom_L: JT-Cave, PR #154 mesact
03:22 PM JT-Shop: thanks
03:24 PM Tom_L: open mesact, select 7c80 and download firmware and see what happens :)
03:24 PM JT-Shop: prob nothing
03:24 PM Tom_L: errors
03:25 PM JT-Shop: ok, I never tested it
03:25 PM Tom_L: same with the other one
03:26 PM Tom_L: 81
03:28 PM Tom_L: mmm i'm gonna finish today tomorrow
03:28 PM Tom_L: got a late start and don't feel like it
03:30 PM Tom_L: i wonder if he has those selecting the hm2 spi driver
03:30 PM Tom_L: guess i'll find out soon enough
03:30 PM Tom_L: or spix if it's rpi5
03:31 PM Tom_L: should differentiate between them
03:32 PM Tom_L: something makes me thing peter made the spix one work on the rpi4 though... can anybody confirm that?
03:42 PM JT-Cave: download firmware didn't work because the file was not in mesact-firmware repo
03:42 PM JT-Cave: it is now
03:45 PM Tom_L: ok
03:48 PM JT-Shop: I should check for the compressed file before trying to download it
03:57 PM Tom_L: This driver unifies all previous hostmot2 SPI hal drivers in one with dedicated hardware drivers for Raspberry Pi models 3, 4 and 5 and has a fall-back to spidev for unknown boards
03:57 PM Tom_L: that's cool
03:57 PM Tom_L: so loading hm2_spix for all would be ok
03:58 PM Tom_L: The supported Mesa boards are: 7I90HD, 7I43, 7C80 and 7C81
03:59 PM Tom_L: i'm not sure anybody is still using the 7i43
03:59 PM Tom_L: iirc it was parport with 2 headers
04:04 PM JT-Shop: does mesact even create a config for a 7c80/1?
04:16 PM lcnc-relay: <ccatlett1984@> Yes, but I don't think its a fully working config. I need to get back to that sometime
04:16 PM JT-Shop: I did fix some things today...
04:19 PM lcnc-relay: <ccatlett1984@> My machine uses close-loop steppers, the created config was missing big chunks of config
04:20 PM JT-Shop: Tom_L, what version of emc has hm2_spix?
04:58 PM Tom_L: JT-Shop, i'm not sure when that came about
04:59 PM Tom_L: acording to AI: The
04:59 PM Tom_L: hm2_spix driver was backported to the LinuxCNC 2.9 branch with the release of LinuxCNC 2.9.4>>. This means that the hm2_spix driver is available in versions of LinuxCNC 2.9 and later
06:32 PM * rdtsc concurs
06:33 PM rdtsc: whether or not those are included in old .iso images is another question however
06:37 PM rdtsc: maybe ask the user to test if it is present: sudo find / -name hm2_spix*
06:37 PM rdtsc: likely in /usr/lib/linuxcnc/modules
06:38 PM rdtsc: (it is a .so library)
06:49 PM rdtsc: 7c80 --> Downloads menu --> Board Images seems to hang at 0% (likely images not found)
06:51 PM rdtsc: 7c80 --> Firmware Tab --> Mesaflash Tab --> 7c80d.bit firmware selected, no description file found, Verify button seems to do nothing, Read HMID and Read PD buttons same - does not appear to be talking to mesaflash
06:53 PM rdtsc: Machine Tab --> Find IP Board cannot work as the 7c80/7c81 do not have Ethernet
06:57 PM JT-Cave: fixed the download a bit ago
06:57 PM Tom_L: he was working on the firmware earlier
06:57 PM Tom_L: does that require a rebuild?
06:58 PM JT-Cave: no
06:58 PM Tom_L: i didn't think so
06:58 PM JT-Cave: it's in mesact-firmware
06:58 PM Tom_L: right
06:58 PM JT-Cave: docs does require a rebuild
06:59 PM Tom_L: i did that one
07:00 PM Tom_L: shows me one ahead of you anyway
07:02 PM rdtsc: a mesaflash call for the 7c8x is going to look like: mesaflash --device 7c80 --spi --addr /dev/spidev0.0 --readhmid
07:02 PM Tom_L: right
07:02 PM Tom_L: quite similar to the 7i90
07:21 PM Tom_L: JT-Cave, firmware dl works for both now
07:22 PM Tom_L: rdtsc, is the mesaflash line in mesact set up for spi on those boards?
07:26 PM rdtsc: interesting; the Firmware Tab now is showing data in the I/O Map tab... specifically it does not after the Read HMID or Read PD buttons are pressed
07:26 PM Tom_L: he added the firmware files
07:27 PM Tom_L: the read HMID etc are from the chip and would need the mesaflash line formatted for spi
07:28 PM Tom_L: with the address which i don't see a place to enter one
07:28 PM Tom_L: like the IP on ethernet
07:30 PM rdtsc: okay I can only see data in the I/O Map tab in this order: 1. Downloads --> Firmware (progress bar completes) 2. Firmware Tab --> I/O Map --> Firmware loaded message 3. Firmware --> Mesaflash Tab --> Firmware = 7c80d.bit 4. I/O Tab now shows readhmid data. Ok so the Read HMID and Read PD buttons just are currently problematic with spi
07:32 PM Tom_L: yeah they need a place to enter the address
07:54 PM rdtsc: dunno if this can work without linuxcnc running, but PC tab --> Servo Thread Test --> Get CPU Speed asks for sudo password, then does not populate (is it unable to read aarch64 speed?)
07:54 PM rdtsc: sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq reports 240000 for 2.4GHz
07:58 PM Tom_L: cpu speed works without lcnc running but not tmax