Advanced Search

Search Results (Searched for: )

  • 3404gerber
  • 3404gerber
09 Jan 2026 06:02 - 09 Jan 2026 06:09

Remora - Rpi Software Stepping Using External Microcontroller via SPI

Category: Computers and Hardware

I was using remora on BTT Octopus pro board. Few days back I had to remove the board for some reason. Now it's not working. Nothing has changed. I tried erasing and reflashing remora by stm32 programmer. Tried changing spi cable from board to rpi4. I can see remora firmware is working on board. I added blink module to verify remora, it's working. I can see via UART console that remora ha loaded correctly and comes to idle state.
But on LinuxCNC side machine don't comes out of estop. No configuration changed. Tried new trixie image but can't compile remora due to incomplete pointer error. Don't know what's going wrong?  
 

Hi,

I'm not sure I can help for the estop state in lcnc. I would start by checking the payloads in both BTT firmware and hal component.

For the compilation error, I ran into the same error when I was trying to compile my TMC5160 component and solved the problem by changing the code a bit. As I'm not a coder, I have no big idea what I'm doing, but sounds like a casting problem to me. You can try following changes in the rp1lib.c of the linuxcnc component:

Replace the lines:

dws = &inst->spi[spi_num];
spi = &inst->spi_dev[spi_num];

with

dws = (struct dw_spi*)&inst->spi[spi_num];
spi = (struct spi_device*)&inst->spi_dev[spi_num];

and:

dws = &inst->spi[spi_num];
cfg = &inst->spi_cfg[spi_num];
dev = &inst->spi_dev[spi_num];

with:

dws = (struct dw_spi*)&inst->spi[spi_num];
cfg = (struct dw_spi_cfg*)&inst->spi_cfg[spi_num];
dev = (struct spi_device*)&inst->spi_dev[spi_num];

After those changes I was again able to compile my component and could use it. BUT I didn't try it on a RPi5 actually using the rp1 lib, just on a RPi4.
Hope it helps.
  • grandixximo
  • grandixximo's Avatar
09 Jan 2026 05:44
Replied by grandixximo on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

You are right, my apologies, I was looking at it on my phone, and it formatted it intuitively. We'll be looking into it, thank you for reporting
  • nanowhat
  • nanowhat
09 Jan 2026 05:10 - 09 Jan 2026 05:18
Replied by nanowhat on topic Ethercat Motion Problem

Ethercat Motion Problem

Category: EtherCAT

Which error are you referring to?
 833.377534 pcieport 0000:00:1d.0: AER: Corrected error message received from 0000:00:1d.0
seems to be caused by PCI-express link power management
 8933.654387EtherCAT WARNING 0-4: Other mailbox protocol response for eoe0s4.
Which version of the ethercat library are you using? 1.6 by default has ethernet over ethercat active, and it doesn't seem to be compatible with linuxCNC. With 1.6, one must compile the library from source to disable EoE.
  • PCW
  • PCW's Avatar
09 Jan 2026 03:41 - 09 Jan 2026 14:58
Replied by PCW on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

it was true:

16 bit IN TRUE ini.traj_arc_blend_enable

I was running the torus gcode (from the torus.png --> image to gcode with whatever defaults)

EDIT: here's the gcode that triggered the bug:

 

File Attachment:

File Name: torus.ngc
File Size:51 KB

 
  • mika
  • mika's Avatar
09 Jan 2026 02:55
Replied by mika on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

Which G-code did you use for the test? I'd like to try it myself.
  • grandixximo
  • grandixximo's Avatar
09 Jan 2026 02:42
Replied by grandixximo on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

Could you try again with arc blend enable to true?
  • PCW
  • PCW's Avatar
09 Jan 2026 02:02 - 09 Jan 2026 02:05
Replied by PCW on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

OK so the bad ini values seem to be LinuxCNC defaults (they were not specified in my ini file)
With more reasonable values set the errors are of much smaller magnitude bu there are still accel violations: 







Note that the acceleration (green) which has a constraint of 200 IPS/S sometimes obeys this constraint
(right side of screen) but sometimes ignores it (spikes toward center of screen reaching more than 1500 IPS/S)


ini file settings: 



File Attachment:

File Name: ini1.txt
File Size:5 KB
 

 
  • soehlrich
  • soehlrich
  • ihavenofish
  • ihavenofish
09 Jan 2026 01:30
Replied by ihavenofish on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

These are in inches.

So my understanding would be:

So 20 IPS max Velocity
200 Max accel (~1/2g) so 1/10 second to maxvel with no jerk limit (old TP)
2000 Max jerk  so 1/10 second to full accel

Which (jerk=2000) actually sounds a bit low


I was doing some math to create paths (not real time) a little while back and on my machine with 0.5G (5000mm/s/s) a jerk of like 50000mm/s/s/s was the starting point of usefulness, and 500000 would probably be where I end up. So your 10:1 seems a logical place to start.

BUT, it shouldn't matter. Jerk should never create a following error, it should be mathematically precise, even if its comically low for real life machines.
 
  • PCW
  • PCW's Avatar
09 Jan 2026 00:57
Replied by PCW on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

Those ini values do not cause an issue with the old TP (0)

I'll check your suggestions in a bit...
 
  • PCW
  • PCW's Avatar
09 Jan 2026 00:54
Replied by PCW on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

These are in inches.

So my understanding would be:

So 20 IPS max Velocity
200 Max accel (~1/2g) so 1/10 second to maxvel with no jerk limit (old TP)
2000 Max jerk  so 1/10 second to full accel

Which (jerk=2000) actually sounds a bit low
  • grandixximo
  • grandixximo's Avatar
09 Jan 2026 00:49
Replied by grandixximo on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

Thank you Peter for looking at this.
I see a few issues with your ini.txt

16 float IN 1e+99 ini.traj_default_acceleration
16 float IN 0 ini.traj_default_jerk
16 float IN 1 ini.traj_default_velocity
16 float IN 1e+99 ini.traj_max_acceleration
16 float IN 0 ini.traj_max_jerk
16 float IN 1e+99 ini.traj_max_velocity


these settings seems a bit waky, if you want to have jerk control you need
ini.traj_default_jerk
and
ini.traj_max_jerk

to be more than 0
and the 1e+99 max acc and velocity, is this something people actually run with? is it something is supported without f-error on TP0 aka old TP?
  • andypugh
  • andypugh's Avatar
09 Jan 2026 00:46
Replied by andypugh on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

Is a jerk of 2000 reasonable? What units is your config?
  • soehlrich
  • soehlrich
09 Jan 2026 00:02 - 09 Jan 2026 01:55
Replied by soehlrich on topic Qtdragon_hd Zero button not zeroing

Qtdragon_hd Zero button not zeroing

Category: General LinuxCNC Questions

Hi, Apologies, did some more testing. If I start at ABS of Zero then Job axis 5mm at a time slowly (ie 100mm/min) every 3rd or 4th jog the counter will increment by .001 ie instead of reading 15.000 it will read 15.001, then if I keep joging it will then stay with the .001 until 35 then it will read 35.002.After some more testing here are my job results (jogging at 30mm/min and incr of 5mm)starts at ABS 0 G54=00->5->10->15->20->25.001->20->25.001->20->25.001->20->25.001->30.001...all .001 till 70.002jogging -ve from 70.002->65.001 ...all .001 til 25.000 .. all the way back to 0.000Feels like some sort of rounding / fp / devision error creaping inI have attached a HALShow screen - after joggin in cnrements of 5mm the first count was correct at 6400, then after a few it added an extra count then another at 30mm so now shows 30.001 as it must be rounding upHope this helps
  • HansU
  • HansU's Avatar
08 Jan 2026 21:54 - 09 Jan 2026 07:57

Linuxcnc 2.9.x and Glade GTK3 display issue

Category: Gmoccapy

Works for me as well with the change Aciera suggested.
Displaying 121 - 135 out of 20226 results.
Time to create page: 0.297 seconds
Powered by Kunena Forum