Remora - ethernet NVEM cnc board

More
22 Aug 2022 13:17 #250201 by CBollweg

  Hi all together,i was able to get hold of an EC500 card.I flashed the card , set up linux on a pi4 according to scott’s yt video, now to my issueIam able to ping the board and upload the config no problem ,but starting linuxcnc gives me the following result.anyone can help out and point me to where the issue could be.thanks 

Looks like you didn`t compile the nvmpg.c in Folder NVMPG und Linuxcnc/components

Please Log in or Create an account to join the conversation.

More
24 Aug 2022 11:03 #250314 by Snap1202
Thanks you where right was the nvmpg.c i needed to compile a second time.
Now it looks like it works.

Please Log in or Create an account to join the conversation.

More
24 Aug 2022 22:04 - 24 Aug 2022 22:09 #250355 by kwarup
Cloned github.com/scottalford75/Remora-Novusun/tree/feature/DMAstepgen with.
git clone github.com/scottalford75/Remora-Novusun.git --branch feature/DMAstepper
ping 10.10.10.10 and is ok.
Uploaded Remora-NVEM.bin to my novusum-nvem ..
sudo halcompile --install remora-nv.c
sudo halcompile --install nvmpg.c
linuxcnc Remora-Novusun/LinuxCNC/ConfigSamples/remora-nvem-basic/remora-nvem.ini
and the result is:
Unexpected realtime delay on task 0 with period 1000000
This Message will only display once per session.
Run the Latency Test and resolve before continuing.
joint 1 following error
emc/task/taskintf.cc 975: Error on joint 1, command number 109

joint 2 following erroremc/task/taskintf.cc 975:
Error on joint 2, command number 169
Attachments:
Last edit: 24 Aug 2022 22:09 by kwarup.

Please Log in or Create an account to join the conversation.

More
24 Aug 2022 22:47 #250357 by PCW
What are your ping times?

The following errors are possibly the result of the real time
errors so you may need to either increase the servo thread period
or improve the Ethernet latency of your host computer.
The following user(s) said Thank You: kwarup

Please Log in or Create an account to join the conversation.

More
25 Aug 2022 00:15 #250365 by Bari
This might not be obvious to everyone but all this beta testing of Remora over Ethernet should be done on the simplest of networks without any shared traffic. One host LCNC computer with Ethernet to one switch port and the NVEM on the same switch on another port and nothing else for now until this project is solid.

Please Log in or Create an account to join the conversation.

More
25 Aug 2022 06:12 #250375 by scotta

Cloned github.com/scottalford75/Remora-Novusun/tree/feature/DMAstepgen with.
git clone github.com/scottalford75/Remora-Novusun.git --branch feature/DMAstepper
ping 10.10.10.10 and is ok.
Uploaded Remora-NVEM.bin to my novusum-nvem ..
sudo halcompile --install remora-nv.c
sudo halcompile --install nvmpg.c
linuxcnc Remora-Novusun/LinuxCNC/ConfigSamples/remora-nvem-basic/remora-nvem.ini
and the result is:
Unexpected realtime delay on task 0 with period 1000000
This Message will only display once per session.
Run the Latency Test and resolve before continuing.
joint 1 following error
emc/task/taskintf.cc 975: Error on joint 1, command number 109

joint 2 following erroremc/task/taskintf.cc 975:
Error on joint 2, command number 169

Please do not attempt to use the feature branch, it's not working yet
"git clone  github.com/scottalford75/Remora-Novusun.git  --branch feature/DMAstepper"

That said the NVEM bin should be the same as in the main branch. I always get the initial realtime delay warning on first start but not after that.
The following user(s) said Thank You: kwarup

Please Log in or Create an account to join the conversation.

More
25 Aug 2022 21:38 #250465 by scotta

Cloned github.com/scottalford75/Remora-Novusun/tree/feature/DMAstepgen with.
git clone github.com/scottalford75/Remora-Novusun.git --branch feature/DMAstepper
ping 10.10.10.10 and is ok.
Uploaded Remora-NVEM.bin to my novusum-nvem ..
sudo halcompile --install remora-nv.c
sudo halcompile --install nvmpg.c
linuxcnc Remora-Novusun/LinuxCNC/ConfigSamples/remora-nvem-basic/remora-nvem.ini
and the result is:
Unexpected realtime delay on task 0 with period 1000000
This Message will only display once per session.
Run the Latency Test and resolve before continuing.
joint 1 following error
emc/task/taskintf.cc 975: Error on joint 1, command number 109

joint 2 following erroremc/task/taskintf.cc 975:
Error on joint 2, command number 169

Thinking on this a little more, I've seen a similar behaviour when the config file is corrupted and does not get passed correctly. Resulting in no step generators being loaded. Please try a full chip erase and re-flash so that the default 3 axis config is used or alternatively re-upload a config file to the board. Having a serial monitor attached would help to see what is going on, but this would be my first approach.
The following user(s) said Thank You: kwarup

Please Log in or Create an account to join the conversation.

More
25 Aug 2022 21:53 #250467 by kwarup
I've just downloaded the firmware in the main branch and  done a upload again to my novusum-NVEM without recompiling the driver remora-nv and everything is working..  :-)

Please Log in or Create an account to join the conversation.

More
25 Aug 2022 22:21 #250468 by kwarup

This might not be obvious to everyone but all this beta testing of Remora over Ethernet should be done on the simplest of networks without any shared traffic. One host LCNC computer with Ethernet to one switch port and the NVEM on the same switch on another port and nothing else for now until this project is solid.


I'm using dual ethernet card, one for Internet another to Remora .. 
 

Please Log in or Create an account to join the conversation.

More
26 Aug 2022 04:09 #250487 by scotta
I've spent the last two weeks developing an alternative to the DDS accumulator approach to fill a DMA stepgen buffer with the hope of being able to achieve higher step rates. Unfortunately with no success. The alternative approach is still computationally heavy.

Looks like the only way to go for crazy high step rates is to use hardware PWM in conjunction with DMA, which is the approach that MX_master shared.

Time to throw the towel in on the DMA stuff for now and focus on stability and additional features as well as work on the STM32H743.
The following user(s) said Thank You: tommylight, kwarup

Please Log in or Create an account to join the conversation.

Time to create page: 0.255 seconds
Powered by Kunena Forum