Advanced Search

Search Results (Searched for: raspberry)

12 Dec 2023 22:21

Py3 - Probe Basic Config Conversion Doc Lcnc 2.9+

Category: QtPyVCP

Hi Chris,

I heard there's been a lot of development on Probe_Basic recently and some new contributors.

Thanks for the fantastic work everyone !!!

Question; We currently have two CNC routers running Probe_Basic on Debian 10 and Mesa cards. We're trying to build a new Probe_Basic controller using a Raspberry Pi 4 and the BTT SKR v1.4 Turbo board. Do you know if the instructions above will work for that situation ?
12 Dec 2023 19:23

Mesa cards for BP412 Servo's

Category: Driver Boards

Hello Everyone,I'm excited to share that I'm embarking on a new adventure (BP412) in the upcoming months. To give you some context, I've previously worked with a CNC ISEL and an Emco 120, both paired with a 7C80 controller. These setups have worked well for me, but I've noticed that Linux runs quite slowly on a Raspberry Pi compared to a second-hand PC.Recently, I've been focused on working with a Bridgeport Interact 4 Series 2, using a 7I80DB-25 controller alongside a 7i76 and three servos. This setup has been running smoothly with a second-hand PC equipped with a dedicated Ethernet card.Now, with the new machine, I'm inclined to go analog as I believe it will offer better performance. My initial plan was to use a 7I80DB-25 paired with a 7i77, but I've encountered a challenge – the 7i77 is currently unavailable through eusurplus.I have a few questions and would appreciate any advice you can offer:
Considering the unavailability of the 7i77, would the Mesa 7I97 Ethernet-interfaced Analog servo plus I/O is a viable alternative, despite having only 16 outputs and 16 inputs.
  1. Is there a chance that the 7i77 might become available again in the future?
  2. What are the key differences between the Mesa 7i80HDT, HD-16, and HD25, and how do they compare when paired with a 7i33TA or 7I48? Are there significant variations in performance, especially concerning the number of supported axes?
  3. As a last option, the 7i83. However, I'm curious if there are any noticeable performance differences between this card and the 7i33TA, 7i48, and the currently unavailable 7i77.
Additionally, I'm interested in understanding if there are any distinctions between the DB25 and the 50-pin header connectors.Thank you for your insights and guidance.Best regards, Andries Tuinhof
11 Dec 2023 19:31

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

Thank you for help.
Currently my setup work on bench with serial communication of the box, just small adjustment of baud rate in rio.v and adjusting port in rio.h!
Still lot to do.
 

Hi Zayoo,
nice !
Are you using a Raspberry with Serial on GPIO or an USB-Serial-Adapter ?

 
11 Dec 2023 07:35

terminal and wifi won't open

Category: Installing LinuxCNC

It does, I was personally working with rod to make the current images for the raspberry pi 4.
I have personally used the image on a RP-400 and the RPi4. To say that the 2.9.1 image doesn’t support Raspberry Pi 4 is totally incorrect.
There has been an awful lot of testing and development gone into it. There would be no way that it would be released and not working.
I’d suggest redownloading the image and making sure it is not corrupted. One thing I would do, if you are using the raspberry pi imager utility to write the image is not to make any customisations. Whilst the image does work it is not based on the official raspberry pi OS image but it does use the same Debian bookworm repositories.
Many others are using this image quite fine.
11 Dec 2023 07:17

terminal and wifi won't open

Category: Installing LinuxCNC

Thank you for trying to help, but the problem is that linuxcnc does not support 2.9.1 for raspberrys, so I could not fully install it, so I could not connect to the terminal or wifi. also, for friends who have problems connecting to the screen, I would like to state that the reason why it cannot connect to the screen is due to the use of hdmi micro hdmi converter.
10 Dec 2023 15:46
Replied by chuckp47 on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Thanks for the feedback. I'm just feeling my way into this. I don't have a magic solution. I think we can agree that the new image still doesn't talk to the 7c81. I will start to follow the emc mailing lists.
10 Dec 2023 08:37
Replied by elovalvo on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

This image can be downloaded from here
drive.google.com/file/d/16kKamxMKPdYAeJp...KLf/view?usp=sharing
At first glance everything seems to work regularly and the lowest value that did not show the "Unexpected realtime delay" message was
latency-test 12000
Trying your image now. ... what username and pw does it take?

user: pi
pwd: raspberry
10 Dec 2023 04:40 - 10 Dec 2023 04:44

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

There's no need to "believe" that the 7c81 uses the SPI it does, unless you change the firmware for EPP and cook up a custom connector & use the hm2_7i90 driver to talk to the 7c81 over the parallel port.

github.com/jncronin/rpi-boot The last commit was in Feb 16 of 2022 I don't get why this is relevant.

www.abelectronics.co.uk/kb/article/2/spi...ux-on-a-raspberry-pi is well out of date

www.tomshardware.com/reviews/raspberry-pi-5 is just a run of the mill blurb on the RPi5, there is no mention of SPI.

github.com/raspberrypi/firmware/issues Has no issues related to the RPi5 & SPI

The resources you listed aren't really that helpful. The fact that the RP1 documentation isn't mentioned is absolutely astonishing. Next time could you you actually look through any resources you are given and sort out what is relevant and what is not. A few predate the release of the RPi5.

And as far as my research has led me, there is no "RP1" driver (although I havent played with the latest kernel), the SPI side is covered by the spi_bcm2835 driver. The hm2_spi driver uses this.

Another thing that is an issue in the hm2_rpspi driver is where it gathers the information for the clock, it's in a different location.

Actually I'm going to blow out of this part of the discussion. Good luck & all the best.

If you really want to get the attention of the devs your best course of action would to be raise an issue on github or via the emc mailing lists, the relevant information for those resources can be found on the Linuxcnc homepage.
10 Dec 2023 02:50 - 13 Dec 2023 00:12

Installing LinuxCNC 2.9 on Raspberry Pi 4B with Preempt-RT kernel

Category: Installing LinuxCNC

I don't think there is a solution to install  qtpyvcp and probe-basic yet.
Hi Rod,

I've been looking around to see if someone's been able to install probe_basic on a rpi4 setup but haven't found anything. Do you know if this has been accomplished yet ?

Thanks !

Jay

P.S. I should mention we're trying to use the BTT SKR v1.4 Turbo.
 

10 Dec 2023 02:40 - 10 Dec 2023 02:42
Replied by chuckp47 on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

I don't know that it's chip select.  That's educated speculation.  I believe it's true that the 7c81 requires a SPI connection.  I did some research last night by talking with google's "Bard".  This is what I got.  After the summary, I asked Bard where it found the information. The links to the projects are there.  (Sorry about the cut and paste formatting)

Bard" on RP5 SPI driver
Unfortunately, the Raspberry Pi 5 RP1 driver does not fully support SPI at this time. While basic SPI functionality is available, there are some limitations and missing features:Limitations:
10 Dec 2023 01:13

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Do you have a link to "The Rp1 peripherals project" ?

I 've gone thru the draft docs for the RP1 and couldn't find any reference to CS being missing. Nor could I have find any reference to the 2 M3 cores being user accessible, the docs show the memory for the RP1 cores being ROM.

As I said the CS seems to work as the hm2_spi (whic I mixed up with h2_7i90 which is the EPP driver) driver works fine within the context of a halrun session, but not within the context of a running config.
09 Dec 2023 23:31
Replied by chuckp47 on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Thanks. I realized I was wrong about the memory right after posting. The RPi peripherals project (firmware for RP1) says that it's not complete, and CS is one of the things missing. I'm just guessing from my previous experience with SPI that missing CS could be important. If no one else gets to it first I'll get to building the whole thing. Gotta start somewhere.
09 Dec 2023 22:42 - 10 Dec 2023 01:14

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

This image can be downloaded from here
drive.google.com/file/d/16kKamxMKPdYAeJp...KLf/view?usp=sharing
I installed this and it's quite nice.  Much like the default Pi release, everything came up normally.  The latency historgram looks good.  I'm trying to talk to a Mesa 7c81.  After I set it up for an XZ lathe I get this error report when launch.  The key part seems to be:

Note: Using POSIX realtime
hm2_rpspi: Can't map peripherals: Invalid argument
hm2_rpspi: cannot map peripheral memory.
hm2_rpspi: rtapi_app_main: Invalid argument (-22)
./my_LinuxCNC_machine.hal:9: waitpid failed /usr/bin/rtapi_app hm2_rpspi
./my_LinuxCNC_machine.hal:9: /usr/bin/rtapi_app exited without becoming ready
./my_LinuxCNC_machine.hal:9: insmod for hm2_rpspi failed, returned -1

One of you can probably point out how to correct the memory management.  Suggestions?  There are less errors on the rspi than in the past.  Maybe if I get the memory setup right it can load the rspi driver?
ulimit -l reports 1030416, much bigger than the 20480 noted in the build document.

 



OK it has nothing to do with ulimit.

If you look at the source and do some investigation you find to begin with the driver is detecting the board as a RPi3. Therefore the driver is trying to use a memory location that is completely wrong. I raised this issue on github, along with a few experiments I've made but as of yet no replies other than my own have been made. The hm2_rpspi driver takes over from the kernel driver for spi, in fact it unloads the spi_bcm2835 driver.

If you really want to investigate further the first thing you'll need to do is setup all the required dependencies to build Linuxcnc from source.

I dont know where you got the info regarding the chip select line from. The hm2_spi driver will communicate via SPI when using halrun, unfortunately when being used in a config the driver is not fast enough. This is due to the fact that this driver uses the linux kernel SPI driver, and this is actually noted in the man page for that driver.

The GPIO interface has changed to such a degree, the RPi5 will not work with many of the utils & libraries that access the GPIO on the RPi4.

And yes I do have access to boards that run both 7i90 & 7c81 firmware that run fine on a RP-400.

[/quote]
[/quote]
09 Dec 2023 22:18

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

rodw post=287637 userid=20660I did a bit of reading. can you guys try adding this at the beginning of cmdline.txt?

video=HDMI-A-1:1920x1080M@60D 

I also noticed that the RT patch 6.1,66 has been released and the 6.1.66 kernel was merged into the 6.1.y branch yesterday so it would be a good time to build another image.
 
There was no cmdline.txt. Creating one with this line didn't change anything.


cmdline.txt is in a subfolder of /boot
09 Dec 2023 21:31
Replied by chuckp47 on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

I used the OS customization in the rpi-img program to set them to my own and it worked. It also connected right up to WiFi.
Displaying 766 - 780 out of 1060 results.
Time to create page: 1.017 seconds
Powered by Kunena Forum