#linuxcnc Logs

Sep 13 2022

#linuxcnc Calendar

01:23 AM Deejay: moin
03:43 AM XXCoder: great
04:40 AM Tom_L: morning
04:42 AM JT-Cave: morning
05:35 AM travis_farmer[m]: G'Morning
09:07 AM -!- #linuxcnc mode set to +v by ChanServ
09:07 AM -!- #linuxcnc mode set to +v by ChanServ
09:23 AM Jeremy86: I found some new quad core celeron J1900 boards with LPT header for $50
09:24 AM Jeremy86: will these be workable without a mesa card?
09:25 AM JT-Shop: I think one machine still has a J1900 in it
09:32 AM JT-Shop: hmm no that was the one the power supply failed and I didn't have a small one
09:37 AM Jeremy86: is my napkin math right here? say 95us max jitter + 5us pulse width on the driver would give 5,000 pulses/sec, with 1.8 degree steppers and no microstepping that would be 25 revolutions per second, with 10mm pitch lead screws would be 250mm/s at max step rate?
09:45 AM JT-Shop: http://linuxcnc.org/docs/stable/html/config/stepper.html
09:57 AM JT-Shop: http://linuxcnc.org/docs/stable/html/motion/tweaking-steppers.html
09:58 AM JT-Shop: http://linuxcnc.org/docs/stable/html/man/man9/stepgen.9.html
09:58 AM JT-Shop: stepgen.N.stepspace u32 rw (step types 0 and 1 only) The minimum
09:58 AM JT-Shop: space between step pulses, in nanoseconds. Measured from falling edge to rising edge. The actual time depends on the step rate and can be much longer. If stepspace is 0, then step can be asserted every period. This can be used in conjunction with hal_parport’s auto-resetting pins to output one step pulse per period. In this mode, steplen must be set for one period or less.
10:04 AM * boozeman[m] uploaded an image: (291KiB) < https://libera.ems.host/_matrix/media/r0/download/jauriarts.org/gAmynKUgzgToEJKxxSkBCePO/rn_image_picker_lib_temp_651ffd42-057d-4a03-8afc-334957068e96.jpg >
10:04 AM boozeman[m]: 🥳 Auto discovery is working
10:06 AM -!- #linuxcnc mode set to +v by ChanServ
10:06 AM -!- #linuxcnc mode set to +v by ChanServ
10:10 AM jpa-: Jeremy86: correct, though it would also be only 0.05 mm resolution which is a bit rough for many purposes
11:36 AM boozeman[m]: Next question about the pncconfig. Mesa 7i96s card discovered successfully but nearly all pin configs are crayed out. I am sure that I have made some novice error again 🤣
11:53 AM Tom_L: boozeman[m], using pncconfig or mesact?
11:54 AM Tom_L: if mesact, select a bit file first
11:55 AM Tom_L: then things will start to light up like it's christmas!
11:59 AM Tom_L: mesact is a better tool to use for mesa cards
12:30 PM skunkworks: mesact sounds cool
12:31 PM Tom_L: try it
12:31 PM Tom_L: i just uploaded debs for the rpi
12:31 PM skunkworks: real men write there ini/hal files from scratch..
12:31 PM Tom_L: i know right...
12:31 PM skunkworks: lol
12:31 PM Tom_L: i did
12:31 PM skunkworks: well - I would find a sample config and modify..
12:31 PM Tom_L: but
12:32 PM Tom_L: i also did a complete config using jt's tool and it worked good
12:32 PM skunkworks: is there a page on it?
12:32 PM skunkworks: I remember him working on one..
12:33 PM Tom_L: https://www.gnipsel.com/mesa/mesact/index.html
12:33 PM Tom_L: the debs are on github
12:34 PM Tom_L: https://github.com/jethornton/mesact
12:35 PM Tom_L: pick a board, possibly a daughter card and a bit file and off you go
12:47 PM silopolis[m]: <Tom_L> "the debs are on github" <- Maybe such kind of tool could be helpful
12:47 PM silopolis[m]: https://github.com/rpatterson/github-apt-repos
12:47 PM silopolis[m]: Never used it myself
01:12 PM boozeman[m]: Got mesact working and there's a lot of scary and empty fields to fill. Maybe I will read manual at first. If the universe is collapsing soon, it was me! A Man that read instructions first! 😄
01:23 PM boozeman[m]: axes-tab-02.png image is missing - 404 not found.
01:24 PM roycroft: that's what you get for attempting to read the manual
01:39 PM -!- #linuxcnc mode set to +v by ChanServ
01:50 PM XXCoder: pretty quiet day eh
02:21 PM Tom_L: silopolis[m], there was discussion of adding it to lcnc
02:22 PM Tom_L: there was opposition too
02:23 PM Tom_L: boozeman[m], mention that to JT if it's from his mesact
02:25 PM Tom_L: skunkworks, i don't think he's got every board coded yet
02:25 PM Tom_L: concentrating on the ones that are available
02:31 PM JT-Shop: boozeman[m], just press the check config button to check for errors
02:37 PM Tom_L: JT-Shop, 2.9.0~pre0 shows as expected now
02:37 PM Tom_L: new debs are on the server
02:38 PM JT-Shop: cool
02:38 PM JT-Shop: hmm wonder what happened to the image, may be a typo
02:40 PM Tom_L: JT-Shop, did you ever do the 7i80 ?
02:41 PM JT-Shop2: not much
02:41 PM Tom_L: coded in the tools i meant
02:41 PM JT-Shop2: odd the image is in the pdf but not online... bet someone forgot to upload it
02:42 PM JT-Shop2: I understood, I did code some basic things iirc
02:42 PM Tom_L: k
02:43 PM Tom_L: i see you did add bit files for it
04:27 PM CaptHindsight[m]: in stock ~$70 https://www.okdo.com/p/rock-4-se-single-board-computer-4gb-lpddr4-ram-rockchip-rk3399-t-arm-cortex-a72/
04:28 PM XXCoder: not too bad. faster than rp[i?
04:29 PM Tom_L: are there tools to do what we need with it?
04:31 PM CaptHindsight[m]: it has 2x cortex M0 microcontroller cores integrated so it might be able to software step as well eliminating another board
04:31 PM Tom_L: armv8
04:31 PM Tom_L: latest 64bit
04:32 PM CaptHindsight[m]: similar to the also available https://www.amazon.com/Orange-Pi-Rockchip-Computer-Android/dp/B09TKQMXNM/ref=sr_1_5
04:32 PM CaptHindsight[m]: $72.99
04:33 PM Tom_L: will RTAI run on arm64?
04:34 PM Tom_L: probably the wrong combination for ethernet mesa cards
04:34 PM Tom_L: requiring preempt-rt
04:35 PM Tom_L: odd wifi antenna
04:35 PM CaptHindsight[m]: too much work to get RTAI on arm
04:35 PM Tom_L: preempt-rt available for arm64?
04:35 PM Tom_L: i haven't seen it yet for bookworm or bullseye
04:36 PM CaptHindsight[m]: as an Rpi4 replacement it's fine
04:36 PM Tom_L: i have it on the pc
04:36 PM CaptHindsight[m]: yes, arm64 can patch preempt_rt
04:36 PM Tom_L: what sort of psu?
04:37 PM Tom_L: orange uses usb
04:37 PM Tom_L: type
04:38 PM CaptHindsight[m]: faster and newer than the Rock 4, https://pine64.com/product/quartz64-model-b-4gb-single-board-computer/
04:38 PM CaptHindsight[m]: all have RPI4 pinouits and Ethernet
04:39 PM CaptHindsight[m]: what they all need is a good u-boot config for LCNC so it doesn't speed step
04:39 PM Tom_L: do they boot off the SD like rpi?
04:39 PM CaptHindsight[m]: yes
04:39 PM Tom_L: or optional USB boot
04:40 PM CaptHindsight[m]: or USB flash or the onboard flash etc etc
04:40 PM Tom_L: later rpi firmware dual boot
04:40 PM CaptHindsight[m]: some even have SATA and PCIe
04:40 PM Tom_L: you tested any?
04:41 PM CaptHindsight[m]: yes, but haven't gotten around to the u-boot and Gentoo LCNC image yet
04:42 PM CaptHindsight[m]: if the Debian LCNC packager maintainer does a arm64 build then you can just install debian and use the package manager for LCNC on ARM
04:44 PM CaptHindsight[m]: https://jlcpcb.com/partdetail/Stmicroelectronics-STM32F103C8T6/C8734 good for Remora
05:55 PM CaptHindsight[m]: Tom_L: it should boot from wherever u-boot can boot from
05:55 PM CaptHindsight[m]: the Rpis don't use u-boot because if Broadcom did open source the universe would collapse
05:57 PM CaptHindsight[m]: https://en.wikipedia.org/wiki/Das_U-Boot#Data_storage_and_boot_sources
05:57 PM CaptHindsight[m]: Rpi4 firmware is not open
06:04 PM Tom_L: right
06:09 PM Tom_L: i look at rpi kinda like i look at arduino
06:10 PM Tom_L: nobody cared about atmel until arduino came out with simple bloated libs for everyone
06:11 PM Tom_L: now you never hear of coding an avr with c or asm it's all bloated ardweenie libs
06:11 PM Tom_L: it may be hard to sell the alternative boards over rpi for this croud
06:11 PM Tom_L: s/like/look
06:13 PM Tom_L: we'd been using avr long before arduino was even a word
06:20 PM roycroft: arduino has been a somewhat common surname and given name in italy for centuries :)
06:21 PM Tom_L: you get the idea
06:32 PM Tom_L: i doubt they were electrifying sand back then
06:34 PM Tom_L: was buster ever released as 64bit?
06:37 PM roycroft: as a general-purpose operating system, yes
10:44 PM MrSunshine_ is now known as MrSunshine