Advanced Search

Search Results (Searched for: )

  • Sternfox
  • Sternfox
21 Nov 2024 23:27
Cant change from develop to stable was created by Sternfox

Cant change from develop to stable

Category: QtPyVCP

Hi I have installed Probebasic, each time i open it, i get the message about being in develop mode, when i go to change the repos to the stable mode, it is already down as stable mode!

I have tried to update Probe basic and get the following error.

Building module:
Cleaning build area...
'make' all KVER=6.1.0-27-rt-amd64...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-27-rt-amd64 (x86_64)
Consult /var/lib/dkms/rtl8814au/4.3.21/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.1.0-27-rt-amd64 failed!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-head
ers-6.1.0-27-rt-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.1.0-27-rt-amd64 (--configure):
 installed linux-headers-6.1.0-27-rt-amd64 package post-installation script subp
rocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-headers-rt-amd64:
 linux-headers-rt-amd64 depends on linux-headers-6.1.0-27-rt-amd64 (= 6.1.115-1)
; however:
  Package linux-headers-6.1.0-27-rt-amd64 is not configured yet.

dpkg: error processing package linux-headers-rt-amd64 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-headers-6.1.0-27-rt-amd64
 linux-headers-rt-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

many thanks
  • Masiwood123
  • Masiwood123's Avatar
21 Nov 2024 22:54
Replied by Masiwood123 on topic Remora - ethernet NVEM / EC300 / EC500 cnc board

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

``The firmware cannot see if there's a motor connected, so that's not the cause``

yes i agree such an error would be thrown out in case it has encoder feedback, so it's strange to me too.. it can be seen that the card works, communicates and the eth port lights up, also when I look at it, the halshow turns off the light when I disconnect the power supply.. in basic config, i didn't change anything except that I have inserted one input which is not responding in halshow. I will see in more detail when I adjust the configuration to my needs...I'm really glad, also in halshow I see that there are all 6 axes, the file I used for the firmware Remora-NVEM-STM32-1.0.0.bin, later I just halcompile with remora-eth.c and nothing else.

``To see if the config is uploaded correctly you'll see that on the uart output.`` did you mean uart on mpg port ? how to check it? thank you
  • stirra
  • stirra
21 Nov 2024 22:44
Replied by stirra on topic Problems with Lichuan Ethercat servo drive

Problems with Lichuan Ethercat servo drive

Category: EtherCAT

I just bought a set of Lichuan drives and motors (400w and 750w with brake), and am trying to bring one up.  I started with a fresh 2.9.3 debian 12 install, and have carefully gone through this entire thread.  As far as I can see, the last, most successful configuration was this one by Robbb:

forum.linuxcnc.org/ethercat/52341-proble...rive?start=60#304887

When I use this, I cannot get beyond PREOP state (blinking 2 0ry).  The dmesg output is:
[  +9.303879] EtherCAT: Requesting master 0...
[  +0.000004] EtherCAT: Successfully requested master 0.
[  +0.000248] EtherCAT 0: Domain0: Logical address 0x00000000, 24 byte, expected
 working counter 3.
[  +0.000003] EtherCAT 0:   Datagram domain0-0-main: Logical offset 0x00000000,
24 byte, type LRW.
[  +0.000014] EtherCAT 0: Master thread exited.
[  +0.000001] EtherCAT 0: Starting EtherCAT-OP thread.
[  +0.000048] EtherCAT WARNING 0: 1 datagram TIMED OUT!
[Nov21 11:52] e1000e 0000:00:1f.6 eno1: NIC Link is Up 100 Mbps Full Duplex, Flo
w Control: None
[  +0.000804] EtherCAT 0: Link state of ecm0 changed to UP.
[  +0.042737] EtherCAT 0: 1 slave(s) responding on main device.
[  +0.000005] EtherCAT 0: Slave states on main device: PREOP.
[  +0.002248] EtherCAT 0: Scanning bus.
[  +0.509737] EtherCAT WARNING 0: 2 datagrams TIMED OUT!
[  +0.840264] EtherCAT ERROR 0-0: Reception of CoE upload request for SDO 0x1c12
:0 failed with timeout after 1000 ms: No response.
[  +0.000007] EtherCAT ERROR 0-0: Failed to read number of assigned PDOs for SM2
.
[  +0.999993] EtherCAT ERROR 0-0: Reception of CoE upload request for SDO 0x1c13
:0 failed with timeout after 1000 ms: No response.
[  +0.000006] EtherCAT ERROR 0-0: Failed to read number of assigned PDOs for SM3
.
[  +0.000398] EtherCAT 0: Bus scanning completed in 2352 ms.
[  +0.000003] EtherCAT 0: Using slave 0 as DC reference clock.
[  +0.000003] EtherCAT 0: Starting EoE thread.
[  +0.039613] EtherCAT ERROR 0-0: Failed to set SAFEOP state, slave refused stat
e change (PREOP + ERROR).
[  +0.001998] EtherCAT ERROR 0-0: AL status message 0x001E: "Invalid input confi
guration".
[  +0.004007] EtherCAT 0-0: Acknowledged state PREOP.
[  +0.033984] EtherCAT ERROR 0-0: Failed to set SAFEOP state, slave refused stat
e change (PREOP + ERROR).
[  +0.000997] EtherCAT ERROR 0-0: AL status message 0x001E: "Invalid input confi
guration".
[  +0.002000] EtherCAT 0-0: Acknowledged state PREOP.

From the Lichuan LC-E manual, it looks like 0x1c12 sets the RxPDO allocation and 0x1c13 sets the TxPDO allocation.  I have programmed the drive EEPROM using the xml file and eeprom programming software provided to me by Lichuan.  It seems off that it is complaining about this, since I seem to be able to see the PDO registers with 'ethercat pdos':
SM0: PhysAddr 0x1000, DefaultSize  256, ControlRegister 0x26, Enable 1
SM1: PhysAddr 0x1400, DefaultSize  256, ControlRegister 0x22, Enable 1
SM2: PhysAddr 0x1800, DefaultSize   12, ControlRegister 0x64, Enable 1
  RxPDO 0x1600 "1st receive PDO Mapping"
    PDO entry 0x6040:00, 16 bit, "Control Word"
    PDO entry 0x607a:00, 32 bit, "TargetPosition"
    PDO entry 0x60b8:00, 16 bit, "Touch probe function"
    PDO entry 0x6060:00,  8 bit, "Modes of Operation"
    PDO entry 0x60ff:00, 32 bit, "Target velocity"
SM3: PhysAddr 0x1c00, DefaultSize   28, ControlRegister 0x20, Enable 1
  TxPDO 0x1a00 "1st transmit PDO Mapping"
    PDO entry 0x603f:00, 16 bit, "Error code"
    PDO entry 0x6041:00, 16 bit, "Statusword"
    PDO entry 0x6064:00, 32 bit, "Position actual value"
    PDO entry 0x606c:00, 32 bit, "Velocity Actual Value"
    PDO entry 0x60b9:00, 16 bit, "Touch probe status"
    PDO entry 0x60ba:00, 32 bit, "Touch probe pos1 pos value"
    PDO entry 0x60fd:00, 32 bit, "Digital inputs"
    PDO entry 0x6061:00,  8 bit, "Modes of Operation Display"

Can somebody help me over this hump?  I feel like I'm close to success.

Thanks!
-- Ralph
  • royka
  • royka
21 Nov 2024 22:07

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Perhaps a typo or a space in the folder name why it didn't work before, but if it works in this folder it's alright. Yes the firmware supports 6 axis, it can even be set to 8 axis in the firmware and component.
The firmware cannot see if there's a motor connected, so that's not the cause.
Possibly you didn't upload a config to the nvem yet? Otherwise you might use the wrong component. To see if the config is uploaded correctly you'll see that on the uart output.
Displaying 22441 - 22444 out of 22444 results.
Time to create page: 0.421 seconds
Powered by Kunena Forum