Advanced Search

Search Results (Searched for: )

  • 3404gerber
  • 3404gerber
13 Feb 2025 06:33

Anyone figured out how to get Trinamic's TMC5160 drivers working with LinuxCNC?

Category: Driver Boards

I think if you look into remora code. They are also sending hex codes payoad via spi such as estop is 0x65737470.

If you would integrate that into remora then it would be more useful.
 

More useful to whom? I do have a RPi and TMC drivers and want to avoid to buy an extra device. And the tests I made with FluidNC showed me that I was not able to get smooth acceleration at higher rates, that's why I decided to go full SPI. Maybe the audience would be larger if I'd add the functionality to the Remora code, but it would be useless for me.

Yes, the Remora-spi LCNC module sends SPI data to... a microcontroller. The microcontroller then translates the message into steps, or digital ins/outs, among other. To make TMC5160 work with Remora you'll need to adapt the Remora firmware. There's already a part of the TMCStepper library implemented to work with TMC2208/2209 over UART, and you configure the drivers options in the Remora config file, not in LinuxCNC ( like explained here ). The TMC5160 over SPI is not implemented yet, but most of the code is written and dispatched over the GRBLHAL/TMCStepper/FluidNC code. I think you have a better chance to find someone with the needed skills and knowledge to help you in the Remora thread.
  • unknown
  • unknown
13 Feb 2025 06:14
Replied by unknown on topic ssh connection instead of telnet

ssh connection instead of telnet

Category: General LinuxCNC Questions

I'm not too sure, there maybe other ways but I don't think there's an "out of the box solution". I don't think network integration was one of the major goals.
You may have to dive deeper into the documentation and source code.
There was a gent trying to integrate LabVIEW with Linuxcnc via nml.

I think your best bet maybe to layout what you want to achieve, keep it to a single and not start multiple threads trying to sort out a little bit at a time.
You could probably write your own client program that connects to linuxcncrsh server, it would still be a telnet connection, but would be a self contained client. That I think would involve diving head first into socket programming, once the initial connection is made is almost similar to reading to a writing from a file, that is a bit of simplification but it's close.
  • GeckoWorks
  • GeckoWorks
13 Feb 2025 05:54 - 14 Feb 2025 02:28
Replied by GeckoWorks on topic Flashing mesa firmware

Flashing mesa firmware

Category: General LinuxCNC Questions

OK, it's working now - as usual, it boiled down to user error - apologies for that. 
But perhaps, I stumbled upon an idea for a slight improvement but I am no wizzard at this so I could be wrong.

When I first tried adding the custom FW, the folder that the FW file needs to go into, I don't think it was created, yet(?).
It needs to go into: .local/lib/libmesact/7i962 but I am pretty sure there was no such folder at the time.
There was however a .local/lib/7i962 which I then dropped the custom FW into.
Which, of course, is the wrong folder and hence why it didn't show up.

But after having gone through and reflashed with the default FW from your download feature, the correct folder had automatically been established for those downloaded FW files. So, when I opened MesaCT again just now, the .local/lib/libmesact/7i962 was indeed there, full of FWs.
So, I just dropped the custom one in there and then it showed up when I rebooted MesaCT and I could flash it to the board, no problem.

If the above sounds plausible - then perhaps add a line in that text that pops up about where to put the file, that "you may have to create the folder manually". I know, I should have tried that but I am noob and likely not the only one. But if one hasn't used the download feature in MesaCT, it looks to me like you would have to make said folder yourself, no?

Again, maybe the above recollection of events may not be correct either.

Anyhow, thanks for your work on this:)
  • noqui
  • noqui
13 Feb 2025 04:44
Replied by noqui on topic ssh connection instead of telnet

ssh connection instead of telnet

Category: General LinuxCNC Questions

Thanks for your reply. Ok. I am not trying to use telnet.
For what you said, then i can´t use anymore linuxcncrsh server if i don´t want to use telnet, and then I need to eliminate it from the hal file? Can I connect ssh remotely to the server where i have the linuxcnc running without using telnet and still operate it remotely?
Thanks a lot
  • Lcvette
  • Lcvette's Avatar
13 Feb 2025 04:07 - 13 Feb 2025 04:09

Setting up Probe Basic on my machine questions and issues

Category: QtPyVCP

JOG is required but metric increments can be used I'll

Try commenting out the usertabs ini setting

Delete custom Hall file in ini
  • yoshimitsuspeed
  • yoshimitsuspeed
13 Feb 2025 03:50
Replied by yoshimitsuspeed on topic Setting up Probe Basic on my machine questions and issues

Setting up Probe Basic on my machine questions and issues

Category: QtPyVCP

Also is this required in imperial for a metric machine? Because my machine is in metric and I don't like it lol.
INCREMENTS = JOG .01in .001in .0001in # REQUIRED Setting for Probe Basic
  • GeckoWorks
  • GeckoWorks
13 Feb 2025 03:47 - 13 Feb 2025 03:59
Replied by GeckoWorks on topic Flashing mesa firmware

Flashing mesa firmware

Category: General LinuxCNC Questions

Yep, I installed MesaCT and I successfully flashed it once already using its download feature. So, it connects, verifies and flashes the board just fine.  

I'll be back in the workshop where the Linux computer is later today so will share some screenshots of the file location then. 
  • unknown
  • unknown
13 Feb 2025 03:45
Replied by unknown on topic ssh connection instead of telnet

ssh connection instead of telnet

Category: General LinuxCNC Questions

Unless you have setup sshd to listen on port 5007 that is the the expected behavior.

But what I think you are trying to do is connect to linuxcncrsh via ssh. To do this you would need to setup a ssh tunnel for telnet on port 5007. This is far beyond the scope of the forums.

Or ssh into the machine running the linuxcncrsh server then in the ssh session telnet into the local host on port 5007. Which I suspect is not what you want to do.
  • yoshimitsuspeed
  • yoshimitsuspeed
13 Feb 2025 03:34
Replied by yoshimitsuspeed on topic Setting up Probe Basic on my machine questions and issues

Setting up Probe Basic on my machine questions and issues

Category: QtPyVCP

If I click ignore the UI still closes and linuxcnc reports the following. 
Displaying 19246 - 19254 out of 19254 results.
Time to create page: 0.615 seconds
Powered by Kunena Forum