Remora - ethernet NVEM / EC300 / EC500 cnc board

  • Attis92
  • Away
  • New Member
  • New Member
More
28 Apr 2025 17:05 #327225 by Attis92
Hello,

I'm trying to set up an EC500 board with Remora firmware, but I'm encountering an issue.
I successfully flashed the latest BIN file to the MCU (using DAPLink, PyOCD, etc.).
Then, I tried to upload the DMA-based stepgen configuration (
ec500-rt1052-DMA.txt
), but Remora reports:
JSON Config file CRC incorrect
My Python version is 3.11.2

Here is the upload log:
Valid JSON config file, uploading to NVEM board
Config file length (words) = 2171
Config file length (bytes) = 8681
Remainder = 1
Padding added =  [0, 0, 0]
Config file length with padding (bytes) = 8684
CRC-32 = 0x28a8b96b

And this is the serial port response:
Receiving new configuration. Stopping threads..
    timer stop
    timer stop


Checking new configuration file
mod = 1, padding = 3
Length (words) = 2171
JSON length (bytes) = 8681
crc32 = c17ec40f
JSON Config file CRC incorrect
Has anyone encountered this issue before?
What am I doing wrong?Thanks in advance!

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

More
28 Apr 2025 21:35 - 28 Apr 2025 21:51 #327240 by Daz
Hello Everyone

I had a great experience converting the EC300 board with Remora firmware and then using it for my CNC milling machine. I have decided to put my learning into good use and start selling EC300 boards on Ebay. If you are based in the UK and looking for a board for yourself, it is your lucky day

Installation Instructions
  1. Download the necessary files from GitHub:
  2. Install Remora components by running in Terminal:sudo halcompile –install LinuxCNC/components/remora-eth-3.0.c
    sudo halcompile –install LinuxCNC/components/nvmpg.c
  3. Configure Ethernet:
    • The EC300 IP address is 10.10.10.10. Set your LinuxCNC PC to a static IP such as 10.10.10.11.
    • Edit your network settings by running:
      sudo nano /etc/network/interfaces
    • Add at the end of the file:interface [your interface name, e.g., enp0s25 or eth0]
      static ip_address=10.10.10.11/24
    • Save and exit (CTRL+X, then Y, then Enter), then reboot your PC.
    • Confirm IP address with:
      ip addr
  4. Install tftpy module for uploading configuration files:
    • Open Terminal and navigate to a folder (suggested: LinuxCNC folder).
    • Create a Python virtual environment:
      python3 -m venv .venv
    • Activate the environment:
      source .venv/bin/activate
    • Install tftpy:
      pip install tftpy
    • To exit the environment later:
      deactivate
  5. Configure Inputs/Outputs:
    • Download the EC300 configuration file:  EC300 Config File
    • Copy it into LinuxCNC/configs/remora-rt1052-basic.
    • Ignore or delete the EC500 configuration file in the same folder.
  6. Upload the configuration file:
    • Power up the EC300 and connect it via Ethernet.
    • Run the upload script(in virtual environment):
      python3 LinuxCNC/configs/remora-rt1052-basic/upload_config.py configs/remora-rt1052-basic/ec300-rt1052.txt
  7. The basic setup is complete! Example HAL and INI files are available in the remora-rt1052-basic folder.
Last edit: 28 Apr 2025 21:51 by Daz. Reason: Correcting mistakes

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

More
29 Apr 2025 11:03 #327284 by Spyderbreath
Replied by Spyderbreath on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Good day all. I seem to be having a bit to trouble getting started. I have an NVEM V5 controller and RPI 5 with LinuxCNC installed. Is there anywhere on planet earth that has a start to finish, all in one place, all on one page, set of instructions or video that will tell me what version of what software from what source to use in what way using what commands and what wires to hook up where to get it all done with the hardware I have. I have gone through 100's of posts and can grasp the general concepts of what needs to be done but it's a small and sometimes incomplete piece of info from 1 post and then one has to read 5 or 20 more before the rest of the info is found. In the end, and totally a flaw of my own, I seem unable to pull all of this scattered info together and have it make any sense as to how to get from start to finish without burning something up or creating an unsalvageable mess.

I found a video by Scott 3D on youtube but it is 3 years old and several key points are just blown by with no explanation and no info on exactly what versions of what from where is needed today.

Is there a single set of complete instructions with valid links in existence anywhere for setting up an NVEM v5 with LinuxCNC?

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

More
29 Apr 2025 12:17 #327288 by Daz
Hello, first, you need to get yourself a CMSIS-DAP probe. You can buy one on eBay, Amazon, or covert an ST-link probe. Here is a line to the thread how to do it.

forum.linuxcnc.org/18-computer/44828-rem...rd?start=2050#321860

Once you have the probe, you need to upload the firmware, I will send you the commands later when I have a moment to take a look into my notes.

Once you have the new firmware, then you can follow the instructions from my post above:

forum.linuxcnc.org/18-computer/44828-rem...rd?start=2140#327240

Happy to help

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

More
29 Apr 2025 15:43 #327301 by Spyderbreath
Replied by Spyderbreath on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Thank you for the reply Daz, and the offer to help

I now have what appears to be a successfully flashed and converted ST to DAP-link.

Now I am at the point where I need to hook this newly converted DAP-link to the NVEM controller. Is there a wiring schematic somewhere or something that tells me which pads on the controller get which wires? The pads are not labeled on the controller.

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

More
29 Apr 2025 17:03 #327304 by cakeslob

@cakeslob , I had a look at your hal file again and copied your spindle stuff exactly just changed for my pins etc and it's still the same. So I think that rules out a hal file problem. I don't think it's the vfd because I can change the speed manually by pressing the + and - manually in the  Axis GUI and it responses quick with no dips when changing speeds. 


Hmm probably going to have to do a halscope to see what is happening with that remora.sp0 and/or RPM signal when using css. The fact that it only does it while CSS is making this difficult to narrow down

just do a quick double check of my config ini/hal, and see if anything stands out. This is the config I used to test out threading and css the last time we talked. I dont think my halfile was a whole lot different, but maybe something in the ini file. Im still very new with lathe, but threading and css appear to function as intended.

github.com/cakeslob/RRW_LAB/tree/inc/Lin...mora-RRW_LAB_latheng

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

Time to create page: 0.260 seconds
Powered by Kunena Forum