#linuxcnc Logs
Aug 07 2025
#linuxcnc Calendar
12:10 AM lcnc-relay: <meisterdippel@> moin
12:26 AM lcnc-relay: <big_kevin420@> you are using those cheap ass BLDC drivers and controlling the ....pulses and feedback via linuxcnc?
12:27 AM lcnc-relay: <big_kevin420@> what kinda of RPM do you get from those? or is it just for servos?
12:28 AM lcnc-relay: <big_kevin420@> sloche (i dont remember his name atm) was doing something similar to what i want, he was controlling his highspeed spindle with a cheapo BLDC driver with no hall feedback using RIO im p sure
12:57 AM jpa-: some cheap BLDC drivers have way too much lag (several milliseconds) for servo use
12:57 AM jpa-: FSESC at least didn't work out for me
01:46 AM lcnc-relay: <meisterdippel@> big_kevin420@: its very experimental and only tested with slower servo motors (<= 4000 RPM), not usable without angle sensor and not with Highspeed spindles
04:20 AM Tom_L: morning
05:08 PM Tom_rpi5: pcw---home, does --backup-flash save the bitfile loaded in the eeprom? and if so do you need to use --restore-flash with it or will --write work?
05:25 PM pcw_work: backup-flash and restore-flash are a pair, they backup/restore the entire flash chip, --write is different, it only writes the user or fallback flash areas
05:25 PM Tom_L: that's kinda what i thought but wanted to be sure
05:28 PM pcw_work: write also does not touch the bootblock area (unless asked to)
05:29 PM pcw_work: might be nice to have --read as the opposite of --write
05:32 PM pcw_work: but first I want to get the serial option tested, and CRC added
05:49 PM Tom_L: yeah i've always kinda wished there was a way to back up a currently loaded bit file
05:55 PM pcw_work: backup/restore will work but a bit slow and crude
05:56 PM pcw_work: I mean the code for --read is basically there in --verify
06:00 PM Tom_L: i figured it had to read there
06:01 PM Tom_L: just route it to a file instead of comparing
06:02 PM Tom_L: does the bit file contain any headers etc that don't get written out in a --write?
06:04 PM Tom_L: https://gist.github.com/warmonkey/b1e997d83c0feb0d9820bf58bb32119e
06:05 PM Tom_L: i'm sure the bin files would vary slightly
06:05 PM pcw_work: just the bootblock
06:06 PM pcw_work: the Efinix .bin file arrangement is different (no bootblock)
06:08 PM pcw_work: Also they always load the fallback first and then launch the user config
06:08 PM pcw_work: (the fallback config launches the user config)
06:11 PM pcw_work: As far as headers go I think the whole bitfile is written (Xilinx ignores everything until a sync data sequence)
06:12 PM Tom_L: big endian.. i see that from that link
06:13 PM pcw_work: ffff ffff ffff ffff 99aa 6655 a130 0700
06:13 PM pcw_work: the 99aa 6655 with the preceding FFFFs is the sync
06:19 PM Tom_L: i see that in a bit file with hexedit
06:19 PM Tom_L: are the lines above it ignored?
06:20 PM Tom_L: about 5 lines
06:20 PM Tom_L: looks like a date stamp and the hostmot where it came from
06:29 PM pcw_work: mesaflash --info config-file
06:45 PM pcw_work: The Efinix header has more (mainly useless) info
07:16 PM Tom_L: skunkworks, do you have a spi board to test with the rpi?
07:17 PM Tom_L: you mentioned making a cable...
07:25 PM lcnc-relay: <.le_potato@> Tom_L what u broke
07:25 PM Tom_L: i fix things
07:26 PM Tom_L: we've been testing spi on some mesa boards
07:44 PM roycroft: yay! the welder is gone
07:44 PM roycroft: the guy tried to lowball me
07:44 PM roycroft: he said he had $200 less cash than i was asking
07:44 PM roycroft: and he drove 2-1/2 hours
07:45 PM roycroft: i gave him directions to the atm, and he came back 10 minutes later with the rest of the cash :)
07:45 PM roycroft: i don't like the "i drove a long way so you have to take my offer" mentality that i get from folks
07:45 PM roycroft: so i reject it
07:54 PM lcnc-relay: <skunkworks8841@> great!
08:00 PM Tom_L: 7c80 spi worked right outta the box
08:01 PM roycroft: now i have room to get my other welder out of storage, and maybe actually be able to use it
08:02 PM Tom_L: powered rpi5 thru the ribbon
08:06 PM lcnc-relay: <skunkworks8841@> cool - I - for some reason - thought you could not power the 5 though the gpio
08:06 PM Tom_L: i dunno, i wasn't sure so i plugged the board power in first and it lit up
08:06 PM Tom_L: and booted
08:06 PM Tom_L: looking for a jumper...
08:06 PM Tom_L: the 7c80 has an onboard smps for it i think
08:07 PM Tom_L: supply for it is 8-40v
08:08 PM Tom_L: learning lots of things
08:10 PM Tom_L: i don't see an option jumper for that
08:13 PM -!- #linuxcnc mode set to +v by ChanServ
08:13 PM Tom_rpi5: http://paste.debian.net/1390243/
10:32 PM roycroft: good clickspring tonight
10:53 PM olfluffywf is now known as fluffywolf
11:41 PM lfluffywof: https://www.youtube.com/watch?v=bRwtItdR7Ho it's so nice to know these things happen to other people too
11:43 PM lfluffywof is now known as fluffywolf