Advanced Search

Search Results (Searched for: )

  • Thayloreing
  • Thayloreing
01 May 2025 10:31
  • pippin88
  • pippin88
01 May 2025 08:23
  • Attis92
  • Attis92
01 May 2025 06:30

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Hi Spyderbreath,I'll write down the steps I followed to create the DAPLink. I worked on Linux, so some parts may differ on Windows.1. I bought ST-Link devices.
2. I prepared the hardware based on the first part of Scott3D’s YouTube video :
It clearly shows the soldering process.
He uses the ST-Link Utility, but since it's not available on Linux, I used STM32CubeProgrammer, which works on both Linux and Windows:
I connected the four soldered wires to the ST-Link as follows:
3V3 → 3V3
GND → GND
SWCLK → CLK
SWDIO → DO
(The rest of the video is not relevant for this process.)

3. I downloaded (or cloned) the Remora-RT1052 repository.
It contains a CMSIS-DAP folder, and inside it, the CMSIS-DAP-STLINK21.hex file.

4. I opened STM32CubeProgrammer, plugged in the ST-Link device,
clicked “Connect” (top right corner), and once connected, the left-side menu became available.
Then:
Clicked the “OB” (Option Bytes) button
Under Read Out Protection, I unchecked the “RDP” flag.

5. I went back to the main menu (Memory & File Editing):
Clicked “Open File” → selected CMSIS-DAP-STLINK21.hex
Clicked “Download” to flash the firmware.
Now the DAPLink is ready to use. (Note: This version of DAPLink doesn't support drag-and-drop (MSC), so we’ll flash the RT1052 using pyOCD instead.)

6. I created a temporary folder (e.g., remora_flash) and set up a Python virtual environment inside it:
python3 -m venv .venv
source .venv/bin/activate
pip install pyocd

Plug in the DAPLink via USB and check if it's detected:
sudo pyocd list

Example output:
  #   Probe/Board          Unique ID      Target  
--------------------------------------------------
  0   X893 ARM CMSIS-DAP   0001A0000000   n/a  
  

7. Finally, I flashed the firmware to the RT1052.
Clone or download the Remora-RT1052-cpp repository.
In the Firmware folder, you’ll find the binary image: remora-rt1052-3.1.3.bin.

Connect the board via DAPLink and flash it using:
pyocd flash remora-rt1052-3.1.3.bin --target mimxrt1050_quadspi

8. Configuration upload is described in Daz’s post.

Hope this helps!
  • Hakan
  • Hakan
01 May 2025 05:46
Replied by Hakan on topic AX58100

AX58100

Category: EtherCAT

I think there is something not quite right in the eeprom_generator with bits, so I use uint8 instead.
And then create a bit pin in linuxcnc with
<pdoEntry idx="600x" subIdx="01" bitLen="8" halPin="enable1" halType="bit"/>

Those DI pins are the input pins, for switches etc. I think the halType should be "bit" for them.

What do you do in the code with the enable information?
  • Aciera
  • Aciera's Avatar
01 May 2025 05:35
Replied by Aciera on topic Plasma center punching operation

Plasma center punching operation

Category: General LinuxCNC Questions

Thanks for sharing!
  • Aciera
  • Aciera's Avatar
01 May 2025 05:32

GSK 980 MDI milling machine, I want to make my first program

Category: Milling Machines

Maybe you could post your gcode so we have something to go on.
  • ffffrf
  • ffffrf
01 May 2025 04:08

Can someone explain how squaring is handled on dual motor linear axis?

Category: CNC Machines

I currently am building out my machine and have somewhat of a stupid question that is racking my brain. I have a tiny homebuilt lathe that has XZC kinematics plus a stepgen servo spindle.

My plan is to add a dual motor Y axis (in my case it is a vertical axis) onto the lathe cross slide to give Y axis capabilities. Now my actual question is much more simple but I am struggling how to think it through and want to make sure I am capable of taking on this extra axis project.

Here is my issue:

In my case, i will have a rigid steel coupler between both sides of the Y axis to attach a spindle and gang tooling / etc. How can I ensure that the position of the coupler on each side ALWAYS stays at the exact same height, as there is no room for misalignment. My thoughts are:

1. Ensure the home switches are EXACTLY at the same height, but i cant imagine i could do it perfectly
2. Add some sort of adjustment mechanism to the coupler such as oversized bolt holes, allow it to home on both of the home switches, and then tap the coupler level and bolt it down which would account for any home switch misalignment
3. perhaps linuxcnc has some sort of axis offset you can add to account for something like home switch height difference? I.e you calculate the axis offset by jogging it until the coupler is perfectly parallel to the cross slide and then set a difference in height between the two axis?


Its clearly an easily solved issue given how common things like dual Y axis routers are - but I am a bit confused this and was hoping someone could chime in who has already done a dual motor axis?
  • MagMag5
  • MagMag5
01 May 2025 03:09

GSK 980 MDI milling machine, I want to make my first program

Category: Milling Machines

I want to run my first drilling, countersinking, and threading program on my GSK 980 mdi milling machine. Upon starting it, tool 1 crashed 3 times.

The job I want to do is a steel bar measuring 1 inch wide (y-axis), 0.5 inches high (z-axis), and 90 cm long (x-axis). It has drilled holes, followed by countersinking, and ends with a thread for an M10 x 1.5 screw.

If anyone has an example that could help me correct what I've done, that would be a great help.
  • PCW
  • PCW's Avatar
01 May 2025 00:49

[SOLVED]linuxcnc Latency test ambiguous results

Category: General LinuxCNC Questions

Another optimization is to pin the Ethernet IRQ to the last processor
(the one LinuxCNC uses for real time)

Here is a test script to run to temporarily set this:

 

File Attachment:

File Name: pinirq_2025-04-30.txt
File Size:1 KB


Download the script

chmod +x pinirq.txt

then

sudo ./pinirq.txt  ethernet_device_name

where ethernet device name is something like eth0 or eno1
( ip a to find the device name )



 
  • PCW
  • PCW's Avatar
01 May 2025 00:38

Absolute easiest way to add a 6th stepgen to my mesa 7i96s setup?

Category: Driver Boards

You can use say 7i96s_5abobd.bin. 

This gives you 10 stepgens total and expects a common "Mach 5Axis BOB"
(shown below) parallel port breakout connected to P1.

You can run step drives directly from the P1 outputs (step drive STEP+,DIR+ to +5V
STEP-,DIR- to P1 outputs) BUT a wiring mistake will be costly...
  • PCW
  • PCW's Avatar
01 May 2025 00:28

Is there a bug in the carousel component or am I doing it wrong ATC Denford

Category: Advanced Configuration

loadrt carousel pockets=4 encoding=counts dir=1 num_sense=1

I know nothing about the carousel component but should that be dir=2 ?
  • DarkPhoinix
  • DarkPhoinix
01 May 2025 00:26
Replied by DarkPhoinix on topic [SOLVED]linuxcnc Latency test ambiguous results

[SOLVED]linuxcnc Latency test ambiguous results

Category: General LinuxCNC Questions

unfortunately I don't have video outputs on the motherboard, I'm looking for a motherboard to be able to do this, are there any pcie video cards that don't create problems? No to video cards with additional power please!

small OT, I inserted these strings in hal and ini but I continue to have the same movements on the stepper, where should I ask for this problem?
remora-docs.readthedocs.io/en/latest/software/hal-examples.html

Thanks to everyone for the intervention in this post that helped me to improve the management of the IRQs in the system!
 
  • ffffrf
  • ffffrf
01 May 2025 00:20

Absolute easiest way to add a 6th stepgen to my mesa 7i96s setup?

Category: Driver Boards

I am building out an XZC+Stepgen spindle lathe and want to add a dual motor Y axis to this lathe. Right now i am using 4 of the 5 stepgens for XZC+Spindle but i am hoping there is something easy I can do to add one more stepgen.


Is there a firmware that would unlock another stepgen for my 7i96s? Should I forgo that and look for an addon card? My goal is to mess with as little stuff as possible so as to not break what is already working.

I heard there might be a firmware that would allow this without a daughter card but I am looking through the support software and it seems there isnt a currently built one?

Any ideas?
  • Spyderbreath
  • Spyderbreath's Avatar
01 May 2025 00:12
Replied by Spyderbreath on topic Remora - ethernet NVEM / EC300 / EC500 cnc board

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

OK, so no one actually knows exactly how to make this work for the current state of the software, or if they do, it must be way to difficult to explain the current process in a single post. Tragic, but I will have to accept it. I think I will cut my losses at this point and purchase a MESA 7I96 or some such. They seem to be only a few $$ these days anyway and they are in country, (less expensive than some of those DAP units on Amazon).

Thank you for your attempt to help, it has been appreciated. It all looked to be so straight forward at first glance and it probably was at one point.

It just seems hard to comprehend how the current process of converting an ST-link to a DAP-link has become so complex that it can not be explained in a single post, but here we are.
  • tommylight
  • tommylight's Avatar
30 Apr 2025 23:33
Replied by tommylight on topic [SOLVED]linuxcnc Latency test ambiguous results

[SOLVED]linuxcnc Latency test ambiguous results

Category: General LinuxCNC Questions

OK, i forgot what this was about, so yes, do continue testing and poking around.
Youtube will use graphic subsystem and that must use interrupts and other resources, causing spikes. Use integrated graphic, usually that works OK.
Displaying 1201 - 1215 out of 26467 results.
Time to create page: 0.395 seconds
Powered by Kunena Forum