Advanced Search

Search Results (Searched for: )

  • Hakan
  • Hakan
20 Nov 2025 18:10 - 20 Nov 2025 18:13

Ethercat installation from repositories - how to step by step

Category: EtherCAT

"zstd: error 70 : Write error : cannot write block : No space left on device"
Boot device too small most likely.

A fresh install is never wrong.
You should be able to use a swedish I mean german version.
You seem to have missed a step where it says it will dismount the cd-rom and restart or something like that. A guess.
Install all in one large partition, or at least 100 Mb in the boot partition if you are required to have one.

This seem to be the proper sequence to remove raspi-firmware, you'll need to do that after a new install.
   sudo rm /etc/initramfs/post-update.d/z50-raspi-firmware
sudo rm /etc/kernel/postinst.d/z50-raspi-firmware
sudo apt purge --autoremove raspi-firmware
sudo apt update
  • kn612
  • kn612
20 Nov 2025 18:09
Replied by kn612 on topic Servo Driver Plasma Retrofit

Servo Driver Plasma Retrofit

Category: Plasmac

You guys rock. Thank you so much for pointing that out. I was editing hal with libre office instead of text editor. Added the line about offset mode and now the servos are quiet and don't move or jump when enabled.
  • kor
  • kor
20 Nov 2025 17:51

Ethercat installation from repositories - how to step by step

Category: EtherCAT

sudo apt remove raspi-firmware
[sudo] Passwort für bf20:
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Paket »raspi-firmware« ist nicht installiert, wird also auch nicht entfernt.
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
  linux-headers-6.1.0-30-amd64 linux-headers-6.1.0-30-common
Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
3 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
initramfs-tools (0.142+deb12u3) wird eingerichtet ...
update-initramfs: deferring update (trigger activated)
linux-image-6.1.0-41-rt-amd64 (6.1.158-1) wird eingerichtet ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-41-rt-amd64.
dkms: autoinstall for kernel: 6.1.0-41-rt-amd64.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-41-rt-amd64
zstd: error 70 : Write error : cannot write block : No space left on device
E: mkinitramfs failure zstd -q -9 -T0 70
update-initramfs: failed for /boot/initrd.img-6.1.0-41-rt-amd64 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: Fehler beim Bearbeiten des Paketes linux-image-6.1.0-41-rt-amd64 (--configure):
 »installiertes post-installation-Skript des Paketes linux-image-6.1.0-41-rt-amd64«-Unterprozess gab den Fehlerwert
 1 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von linux-image-rt-amd64:
 linux-image-rt-amd64 hängt ab von linux-image-6.1.0-41-rt-amd64 (= 6.1.158-1); aber:
  Paket linux-image-6.1.0-41-rt-amd64 ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes linux-image-rt-amd64 (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
Trigger für initramfs-tools (0.142+deb12u3) werden verarbeitet ...
update-initramfs: Generating /boot/initrd.img-6.1.0-41-rt-amd64
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return code 1
dpkg: Fehler beim Bearbeiten des Paketes initramfs-tools (--configure):
 »installiertes post-installation-Skript des Paketes initramfs-tools«-Unterprozess gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
 linux-image-6.1.0-41-rt-amd64
 linux-image-rt-amd64
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

I think it is probably better to do a fresh install by now. switching to english and see whether it will work right away. What do you guys think?
  • PCW
  • PCW's Avatar
20 Nov 2025 17:50 - 20 Nov 2025 17:53

Mesa - Can unused step & direction outputs be used as o/p's for other purposes?

Category: Driver Boards

Yes, special function pins revert to GPIO if the special function is disabled in HAL

For example on a 7I96S, if you only need 4 step/dir pairs you set num_stepgens=4 in the hal file
and then the GPIO pins that would have been STEP4 and DIR4  become GPIO 25 and 26

To use these GPIO pins as outputs, you must set them into output mode:

setp hm2_7i96s.0.gpio.025.is_output true
setp hm2_7i96s.0.gpio.026.is_output true

and then link the output to the desired signal

net  some_output hm2_7i96s.0.gpio.025.out

You may need to invert the output and choose the proper + or - pin
to insure that the output is low at power up or when you exit from LinuxCNC:

setp hm2_7i96s.0.gpio.025.invert_output true


To determine the terminal block to GPIO pin mapping, look at the appropriate .pin file
or run:

mesaflash --device [cardname] --addr [card_address] --readhmid




 
  • tommylight
  • tommylight's Avatar
20 Nov 2025 17:43
Replied by tommylight on topic Servo Driver Plasma Retrofit

Servo Driver Plasma Retrofit

Category: Plasmac

At the very top of your hal file, there is some symbol that does not belong there, seem like '
  • tommylight
  • tommylight's Avatar
20 Nov 2025 17:40

Mesa - Can unused step & direction outputs be used as o/p's for other purposes?

Category: Driver Boards

All Mesa cards have the ability to use every pin as I/O if not used for special purposes, like stepgen or PWM or encoder, so you can use the step/dir of stepgen 4 (5'th stepgen) by loading just 4 stepgens.
No idea about the pinout though, been a long time, but manual should have everything explained.
  • slowpoke
  • slowpoke
20 Nov 2025 17:29

Mesa - Can unused step & direction outputs be used as o/p's for other purposes?

Category: Driver Boards

If yes, where do I find them in HALSHOW?

I'm making a little interface board and have some leftover space, so I could gain a few extra o/p points if I can take advantage of these, perhaps drive a few SSR's.

Mesa 7i96s
  • tommylight
  • tommylight's Avatar
20 Nov 2025 17:14
Replied by tommylight on topic linuxcnc_2.9.4-amd64.hybrid.iso cheksum?

linuxcnc_2.9.4-amd64.hybrid.iso cheksum?

Category: General LinuxCNC Questions

Is that "missing amd gpu firmware something or another"?
That is not a fault, just a warning about missing firmwares for older GPU's.
  • kn612
  • kn612
20 Nov 2025 17:08
Replied by kn612 on topic Servo Driver Plasma Retrofit

Servo Driver Plasma Retrofit

Category: Plasmac

I am getting an error on startup after adding the lines about offset mode.  I attached error report and current hal.

Machine jogs around well.  Its when I hit the power button in qtplasmac that enables the motors that they move/jump a little bit.  Offset mode would  correct/dampen that I assume?
  • Hakan
  • Hakan
20 Nov 2025 17:00
Replied by Hakan on topic an CIA402 Stepper/Servo as Spindle

an CIA402 Stepper/Servo as Spindle

Category: EtherCAT

Yes there is an example. Two normal stepper drives and one stepper motor spindle.
In the example directory.
 
  • Red_D85
  • Red_D85
20 Nov 2025 16:59
Replied by Red_D85 on topic an CIA402 Stepper/Servo as Spindle

an CIA402 Stepper/Servo as Spindle

Category: EtherCAT

Hi Hakan
thank you
What should the whole thing look like in the hall and ini? is there an sample?
 
  • PCW
  • PCW's Avatar
20 Nov 2025 16:54
Replied by PCW on topic Servo Driver Plasma Retrofit

Servo Driver Plasma Retrofit

Category: Plasmac

Yes, you would have to set it manually in HAL, something like:

setp hm2_7i97.0.pwmgen.00.offset-mode true
  • Hakan
  • Hakan
20 Nov 2025 16:50

Ethercat installation from repositories - how to step by step

Category: EtherCAT

I think you hit all problems.
"raspi-firmware: missing /boot/firmware, did you forget to mount it?"
apt remove raspi-firmware
Displaying 136 - 150 out of 22458 results.
Time to create page: 0.598 seconds
Powered by Kunena Forum