- Configuring LinuxCNC
- Configuration Tools
- PnCConf Wizard
- Changes in configuration files generated in pncconfig for 7i76 to 7i78
Changes in configuration files generated in pncconfig for 7i76 to 7i78
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 17624
- Thank you received: 5156
15 Dec 2025 16:54 #340133
by PCW
Replied by PCW on topic Changes in configuration files generated in pncconfig for 7i76 to 7i78
There is a 7I78X2 configuration: 7c81_7i78x2d.bit
Do you need MPG encoders or high speed encoders+index?
Do you need MPG encoders or high speed encoders+index?
Please Log in or Create an account to join the conversation.
- jaro_p
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 57
- Thank you received: 5
15 Dec 2025 19:53 - 15 Dec 2025 19:59 #340140
by jaro_p
Replied by jaro_p on topic Changes in configuration files generated in pncconfig for 7i76 to 7i78
[/attachment]
I know that there is a configuration 7c81_7i78x2d.bit, but there is the same on P2 as on P1 - 7i78. Another 4 axes. And I don't need that for the lathe. But I would like one MPG encoder for each axis - basically to be able to control the lathe "almost" manually. The rest of P2 controls the tool turret and on P7 there are limit switches and buttons.
So that's the goal.
So that's the goal.
Attachments:
Last edit: 15 Dec 2025 19:59 by jaro_p.
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 17624
- Thank you received: 5156
16 Dec 2025 00:32 #340158
by PCW
Replied by PCW on topic Changes in configuration files generated in pncconfig for 7i76 to 7i78
7C81 configuration for 7I78 on P1, INM on first 12 P2 pins
The inm module supports up to 4 MPG encoders,
it also has built in input filtering/debouncing.
The last 5 P2 pins are left as GPIO so can be inputs/outputs
as needed
The inm module supports up to 4 MPG encoders,
it also has built in input filtering/debouncing.
The last 5 P2 pins are left as GPIO so can be inputs/outputs
as needed
Attachments:
The following user(s) said Thank You: jaro_p
Please Log in or Create an account to join the conversation.
- jaro_p
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 57
- Thank you received: 5
16 Dec 2025 08:27 #340178
by jaro_p
Replied by jaro_p on topic Changes in configuration files generated in pncconfig for 7i76 to 7i78
Thank you very much, you are great.
Please Log in or Create an account to join the conversation.
- jaro_p
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 57
- Thank you received: 5
18 Dec 2025 09:15 #340275
by jaro_p
Replied by jaro_p on topic Changes in configuration files generated in pncconfig for 7i76 to 7i78
Unfortunately, the situation is anything but simple… I reinstalled Bookworm, but the command:
`sudo mesaflash --spi --addr /dev/spidev0.0 --device 7c81 --readhmid`
doesn't work:
- open: No such file or directory
- No 7C81 board found
The following works:
`halcmd -kf`
`halcmd: loadrt hostmot2`
`halcmd: loadrt hm2_rpspi`
`halcmd: show all hm2`
However, I don't know how to write a new bitfile. That is, the equivalent of:
`sudo mesaflash --spi --addr /dev/spidev0.0 --device 7c81 --fallback --write bitfile-name`
I tried installing an older version of LinuxCNC – Buster. However, the libraries for installing mesaflash are missing and cannot be installed because the repositories for this version no longer exist.
`sudo mesaflash --spi --addr /dev/spidev0.0 --device 7c81 --readhmid`
doesn't work:
- open: No such file or directory
- No 7C81 board found
The following works:
`halcmd -kf`
`halcmd: loadrt hostmot2`
`halcmd: loadrt hm2_rpspi`
`halcmd: show all hm2`
However, I don't know how to write a new bitfile. That is, the equivalent of:
`sudo mesaflash --spi --addr /dev/spidev0.0 --device 7c81 --fallback --write bitfile-name`
I tried installing an older version of LinuxCNC – Buster. However, the libraries for installing mesaflash are missing and cannot be installed because the repositories for this version no longer exist.
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Platinum Member
-
Less
More
- Posts: 887
- Thank you received: 325
18 Dec 2025 10:00 #340278
by unknown
Replied by unknown on topic Changes in configuration files generated in pncconfig for 7i76 to 7i78
What is the result of
ls /dev/spidev*
ls /dev/spidev*
Please Log in or Create an account to join the conversation.
- jaro_p
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 57
- Thank you received: 5
18 Dec 2025 11:20 #340279
by jaro_p
Replied by jaro_p on topic Changes in configuration files generated in pncconfig for 7i76 to 7i78
cnc@raspberrypi:~$ ls /dev/spidev*
ls: cannot access '/dev/spidev*': No such file or directory
ls: cannot access '/dev/spidev*': No such file or directory
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Platinum Member
-
Less
More
- Posts: 887
- Thank you received: 325
18 Dec 2025 12:51 #340282
by unknown
Replied by unknown on topic Changes in configuration files generated in pncconfig for 7i76 to 7i78
What RPi model are you using and what image are you using.
spi hasn't been enabled in config.txt
spi hasn't been enabled in config.txt
Please Log in or Create an account to join the conversation.
- jaro_p
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 57
- Thank you received: 5
18 Dec 2025 13:41 #340283
by jaro_p
Replied by jaro_p on topic Changes in configuration files generated in pncconfig for 7i76 to 7i78
Ok mea culpa, SPI was not enabled. As an apology, after about the fourth OS change I forgot about it out of nervousness.
Thank you, I hope it will be without problems.
Thank you, I hope it will be without problems.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Moderators: cmorley
- Configuring LinuxCNC
- Configuration Tools
- PnCConf Wizard
- Changes in configuration files generated in pncconfig for 7i76 to 7i78
Time to create page: 1.089 seconds