Remora - ethernet NVEM / EC300 / EC500 cnc board

  • CBollweg
  • New Member
  • New Member
More
4 years 2 months ago #250201 by CBollweg

 

Attachment not found

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 to join the conversation.

More
4 years 2 months ago #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 to join the conversation.

More
4 years 2 months ago #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

Please Log in to join the conversation.

More
4 years 2 months ago #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.

Please Log in to join the conversation.

More
4 years 2 months ago #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 to join the conversation.

More
4 years 2 months ago #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.

Please Log in to join the conversation.

More
4 years 2 months ago #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.

Please Log in to join the conversation.

More
4 years 2 months ago #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 to join the conversation.

More
4 years 2 months ago #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 to join the conversation.

More
4 years 2 months ago #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.

Please Log in to join the conversation.

Time to create page: 0.600 seconds
Powered by Kunena Forum