#flex-dev Logs
Aug 12 2025
#flex-dev Calendar
04:24 AM Tom_L: morning
05:02 AM JT-Cave: morning
06:54 AM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/Rpi5/pics/
07:10 AM rdtsc-w: lookin' good Tom :)
07:11 AM rdtsc-w: I'd made a 3d-printable mount for the rpi, see https://github.com/mj1911/my-linuxcnc
08:21 AM JT-Cave: added verify firmware for spi just now
09:28 AM rdtsc-w: that'll come in handy if anyone else has one of those 7c80's with the boogered OEM firmware :)
11:32 AM lcnc-relay: <roguish> good morning............well, a little cooler today........forecast mid 80's
11:51 AM Tom_L: JT-Cave, is write working yet? i can check verify in a bit
12:07 PM Tom_L: rdtsc-w, i have standoffs for it i just decided not to use them yet
12:11 PM rdtsc-w: read somewhere (maybe the forum) that standoffs are quite hard to fit due to the ribbon header - was considering thin tube also
12:12 PM Tom_L: i tried some and 2 seemed to be plenty
12:12 PM Tom_L: but this is just for testing and i swap boards around
12:46 PM Tom_rpi5: JT-Cave, indentation error on line 369
12:47 PM Tom_rpi5: File "/usr/lib/python3/dist-packages/libmesact/flash.py", line 370
12:47 PM Tom_rpi5: if not parent.password:
12:50 PM JT-Shop: missing firmware
12:51 PM Tom_rpi5: duh
12:52 PM Tom_rpi5: can you echo the WWW or some progress indicator?
12:52 PM Tom_rpi5: tried flash and it froze mesact
12:53 PM Tom_rpi5: but it's ok now
12:54 PM JT-Cave: fixed verify
12:54 PM JT-Cave: but you need to verify
12:54 PM Tom_rpi5: i got an error but can't screenshot it
12:55 PM JT-Cave: I can only get a process return after the process is complete
12:55 PM Tom_rpi5: module libmesact.dialots has not atribute dialogs
12:55 PM Tom_rpi5: on a verify
12:55 PM Tom_rpi5: after flashing with mesact
12:55 PM Tom_rpi5: i'm going to verify with mesaflash now
12:56 PM Tom_rpi5: it appears to be verifying ok so far
12:56 PM Tom_rpi5: where the hell is screenshot on rpi debian 12
12:56 PM Tom_rpi5: ok mesaflash verified the mesact flash ok
12:58 PM Tom_rpi5: for write you might throw up a message about taking a while
12:58 PM Tom_rpi5: 7c80d.bit loaded, verify fails
12:59 PM Tom_rpi5: verifies with mesaflash
12:59 PM Tom_rpi5: i will write a different bitfile and retest
01:00 PM JT-Cave: ok just added flash message to spi
01:01 PM JT-Cave: I just fixed verify
01:01 PM Tom_rpi5: ok, i'll grab it first then test
01:02 PM * JT-Cave goes to get the track saw and cut 1/2" off the bottom of the cabinet
01:06 PM Tom_rpi5: on flash the 'before' message is good. when it's complete since there is no progress bar you might throw up a 'completed' message
01:06 PM Tom_rpi5: same with verify
01:07 PM Tom_rpi5: the process does appear to work now
01:08 PM JT-Shop: I don't have any clue what the progress is doing it's all behind the scenes
01:08 PM Tom_rpi5: so a 'before' flash and verify, and an 'after' indication
01:08 PM JT-Shop: it should have a success message
01:08 PM Tom_rpi5: i know but can you tell when the process is complete?
01:08 PM Tom_rpi5: Firmware for 7c80 Loaded
01:08 PM JT-Shop: yes and there should be a success or failure message
01:09 PM JT-Shop: maybe it's going to the wrong tab?
01:09 PM Tom_rpi5: you might change that to Firmware for 7c80 Verified
01:09 PM Tom_rpi5: etc
01:09 PM JT-Shop: opps
01:09 PM Tom_rpi5: also, before: verifying xyz.bitfile
01:09 PM Tom_rpi5: then run the process
01:10 PM Tom_rpi5: i think write throws up a 'before' message
01:12 PM Tom_rpi5: i'll run thru them again
01:13 PM Tom_rpi5: oh... results does show verify and the VVVVVV
01:13 PM Tom_rpi5: i would put that info on the same tab as the buttons
01:15 PM Tom_rpi5: flash also shows it on the results page...
01:15 PM Tom_rpi5: i wasn't aware of that
01:15 PM Tom_rpi5: after it's all done it does
01:17 PM Tom_rpi5: ok it all seems to work
01:17 PM Tom_rpi5: the messages do appear after each process completes
01:19 PM JT-Cave: pull
01:19 PM JT-Cave: I need to find my 7c80
01:19 PM Tom_L: brb, gotta run a quick errand
01:19 PM JT-Cave: ok
01:50 PM Tom_L: ok, where was i
01:57 PM JT-Shop: breaking code
02:07 PM Tom_L: finally managed to make a sandwich.. now to find time to eat it
02:13 PM JT-Shop: fixing to get some rain so radar says
02:14 PM Tom_L: last i checked we were too
02:14 PM Tom_L: but that was a while back
02:15 PM Tom_rpi5: the functions seem to work
02:15 PM JT-Shop: cool, wonder if I have any left to do
02:16 PM Tom_rpi5: when you push each button before mesaflash gets called can you put a message in the box beside the buttons indicating what process is going on and maybe that the result will appear in the result tab when it finishes?
02:16 PM JT-Shop: I think some do that now
02:17 PM Tom_rpi5: otherwise you are blindly waiting and don't know when something will happen
02:17 PM JT-Shop: and here comes the rain
02:17 PM Tom_rpi5: flash doesn't have one
02:17 PM Tom_rpi5: testing the rest now
02:18 PM Tom_rpi5: Reload Firmware
02:18 PM Tom_rpi5: Returned: Success
02:18 PM Tom_rpi5: Waiting for FPGA configuration...OK
02:19 PM Tom_rpi5: verify has no 'pre' message either
02:19 PM Tom_rpi5: Verifying 7c80d.bit on 7c80
02:19 PM Tom_rpi5: that appears in the box by the buttons _after_ it's done
02:20 PM Tom_rpi5: and the result tab shows what mesaflash echos
02:20 PM JT-Shop: yup I failed to copy and paste that... but it's raining now
02:22 PM Tom_rpi5: other that me being picky, i think it works
02:23 PM Tom_rpi5: and i checked against mesaflash --verify in a terminal
02:23 PM Tom_rpi5: the other interfaces should have the same message format
02:27 PM Tom_L: so now that it's all fixed you should find your 7c80 :)
02:29 PM Tom_L: my yearly odometer rolled over today
02:29 PM xxcoder: lol. is it 3 digit yet? ;)
02:30 PM Tom_L: one number closer
02:32 PM JT-Shop: I started to cut the bottom off the cabinet and realized there were staples and screws to remove
02:33 PM Tom_L: good you caught that
02:33 PM JT-Shop: well the track saw showed me...
02:38 PM Tom_L: i've been trying to talk peter into adding a --read to mesaflash to read the loaded bitfile to a file
02:39 PM Tom_L: right now the only option is to save the entire eeprom to a file
02:39 PM Tom_L: that's about like watching paint dry
02:41 PM C3-Shop: raining pretty good now
02:42 PM C3-Shop: just cut the front now to cut 8" down each side
02:42 PM xxcoder: we will get our turn of rain in few days lol
02:45 PM lcnc-relay: <roguish> dry as a popcorn fart out here....
02:45 PM C3-Shop: hmm used a pull saw and that worked real well
02:54 PM Tom_L: maybe if i'm lucky i can get a nap in now
02:57 PM * C3-Shop puts everything away and prepares to continue on the bandsaw mobility project
02:57 PM C3-Shop: raining pretty hard here
03:20 PM Tom_L: radar looks colorful over your head
03:20 PM C3-Shop: yup
03:23 PM Tom_L: i need to make a minimal config for the 7c80 so i can see the pin names etc
03:25 PM C3-Shop: it only takes a few lines
03:25 PM C3-Shop: crap can't look without getting a damn text from github
03:26 PM C3-Shop: look in info/hal.txt iirc
03:26 PM Tom_L: i'll tackle that another day
03:26 PM Tom_L: one of the kids is sick and i'm trying to get it
03:32 PM C3-Shop: yuck
03:39 PM JT-Cave: halrun
03:39 PM JT-Cave: loadrt hostmot2
03:40 PM JT-Cave: loadrt hm2_ whatever the spi is
03:40 PM JT-Cave: that should run
04:00 PM rdtsc-w: hm2_spix was backported to all of 2.9.x i think, and works with rpi4 and rpi5 - so it is kinda the default now
04:15 PM JT-Shop: I think we are close with spi and the mesaflash tools
04:27 PM JT-Shop: it's not in 2.9.0
04:50 PM JT-Shop: I'm so glad that flexgui is the only gui that works on gentoo and the rest are playing catch up now
04:52 PM Tom_L: heh
04:53 PM JT-Shop: does debian 13 still have pyqt5?
04:53 PM Tom_rpi5: http://paste.debian.net/1391231/
04:54 PM Tom_rpi5: are those the pin names you'd use in the hal file?
04:54 PM JT-Shop: no
04:57 PM Tom_rpi5: is there a way to list them using halcmd?
04:57 PM JT-Shop: yup
04:57 PM JT-Shop: halrun
04:57 PM JT-Shop: loadrt hostmot2
04:57 PM Tom_rpi5: i don't think i've ever used it
04:58 PM Tom_rpi5: i'm in halcmd already
04:58 PM Tom_rpi5: with the spix driver running
04:58 PM JT-Shop: loadrt hm2_spix and all the other spi commands
04:58 PM JT-Shop: in another terminal
04:58 PM JT-Shop: halcmd show all hm2 > somefilename.txt
04:58 PM Tom_rpi5: halshow works
05:00 PM Tom_rpi5: hm2_7c80.0.gpio.000.in_not
05:00 PM Tom_rpi5: hm2_7c80.0.gpio.000.in
05:00 PM rdtsc-w: think that is the gpio header
05:01 PM Tom_rpi5: it is
05:01 PM JT-Shop: could be if their is not input and output pins
05:01 PM JT-Shop: there is not
05:01 PM Tom_rpi5: hm2_7c80.0.led.CR01
05:01 PM JT-Shop: pastebin the list
05:01 PM Tom_rpi5: hm2_7c80.0.ssr.00.out-00
05:02 PM JT-Shop: that's an output pin
05:02 PM Tom_rpi5: i have to view them one at a time
05:02 PM JT-Shop: why
05:02 PM Tom_rpi5: unless you got a better way
05:02 PM JT-Shop: <JT-Shop> halcmd show all hm2 > somefilename.txt
05:02 PM Tom_rpi5: i'm in halshow
05:02 PM JT-Shop: not in halshow
05:02 PM JT-Shop: in a terminal
05:03 PM Tom_rpi5: not in the halcmd terminal?
05:03 PM JT-Shop: open a second terminal
05:04 PM Tom_rpi5: ok i got it
05:05 PM JT-Shop: did peter send you some reject boards?
05:05 PM Tom_rpi5: http://paste.debian.net/1391233/
05:05 PM Tom_rpi5: yeah
05:06 PM Tom_rpi5: is that what you need?
05:06 PM JT-Shop: yup that's what I need
05:06 PM * Tom_rpi5 waits impatiently for some code to break
05:07 PM Tom_rpi5: i could get the 7c81 if you want it too
05:08 PM JT-Shop: the 7c81 is the one that is like a 7i92?
05:08 PM Tom_rpi5: it's basically a carrier board for 3 daughter cards
05:08 PM Tom_rpi5: and 2 spi
05:09 PM Tom_rpi5: sserial rather
05:09 PM Tom_rpi5: yeah i suppose, but the 7i92 is smaller
05:09 PM Tom_rpi5: 1 plug instead of 3
05:10 PM Tom_rpi5: P1 P2 P7
05:10 PM Tom_rpi5: i may have one of those too
05:10 PM Tom_rpi5: 7i92 that is
05:11 PM Tom_rpi5: err i guess it has 2 plugs, a DB25 & the header
05:11 PM JT-Shop: I have an empty 7i92 bag so I must have one somewher
05:11 PM Tom_rpi5: i'll pull a list for you. bbiab
05:11 PM JT-Shop: e
05:11 PM Tom_rpi5: i know i have one
05:12 PM JT-Shop: 7i92 and 7i92t have the same pin names
05:18 PM Tom_rpi5: http://paste.debian.net/1391234/
05:18 PM Tom_rpi5: there's the 7c81 list
05:19 PM JT-Shop: interesting it has stepgens but no daughter card pins, do you have a daughter card connected and powered uop
05:19 PM JT-Shop: up
05:19 PM Tom_L: no
05:20 PM Tom_L: nothing but the 7c81 and whatever bitfile it has loaded
05:20 PM Tom_L: i don't think i have any 26pin ones
05:21 PM Tom_L: found the 7i92 though
05:28 PM JT-Shop: find my 7c81
05:34 PM Tom_L: have you ever used it?
05:34 PM JT-Shop: no
05:34 PM JT-Shop: going to cunetto's on the hill for the mrs birthday
05:35 PM Tom_L: depending on the daughter card attached you can power it thru the ribbon from the rpi
05:35 PM Tom_L: is that today?
05:35 PM JT-Shop: but the io must be powered up
05:35 PM JT-Shop: couple of weeks
05:35 PM Tom_L: ahh
05:35 PM JT-Shop: 29th
05:36 PM JT-Shop: so if you connect a 7i76 and flash the correct firmware you need to power up the I/O to see the pins
05:36 PM Tom_L: right
05:36 PM Tom_L: field power?
05:36 PM JT-Shop: yup
05:36 PM Tom_L: yeah i think i had to do that on something
05:37 PM Tom_L: i don't have any 26pin daughter cards that i'm aware of
05:39 PM JT-Shop: I have a few...
05:39 PM Tom_L: better find your 7c81 then
05:40 PM * JT-Shop is about to call it a night
05:40 PM Tom_L: me too