Remora - ethernet NVEM / EC300 / EC500 cnc board
- Attis92
- Offline
- New Member
-
- Posts: 6
- Thank you received: 0
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
JSON Config file CRC incorrect
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
What am I doing wrong?Thanks in advance!
Please Log in or Create an account to join the conversation.
- Daz
- Offline
- New Member
-
- Posts: 12
- Thank you received: 0
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
- Download the necessary files from GitHub:
- github.com/scottalford75/Remora-RT1052-c.../remora-rt1052-basic (copy to LinuxCNC/Configs)
-
github.com/scottalford75/Remora-RT1052-c.../LinuxCNC/components (copy to LinuxCNC)
- Install Remora components by running in Terminal:sudo halcompile –install LinuxCNC/components/remora-eth-3.0.c
sudo halcompile –install LinuxCNC/components/nvmpg.c - 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
- 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
- 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.
- 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
- The basic setup is complete! Example HAL and INI files are available in the remora-rt1052-basic folder.
Please Log in or Create an account to join the conversation.
- Spyderbreath
-
- Offline
- New Member
-
- Posts: 8
- Thank you received: 0
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.
- Daz
- Offline
- New Member
-
- Posts: 12
- Thank you received: 0
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.
- Spyderbreath
-
- Offline
- New Member
-
- Posts: 8
- Thank you received: 0
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.
- cakeslob
- Offline
- Platinum Member
-
- Posts: 867
- Thank you received: 254
@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.
- Attis92
- Offline
- New Member
-
- Posts: 6
- Thank you received: 0
I'm curious about the CRC check.Thanks in advance!
Please Log in or Create an account to join the conversation.
- Daz
- Offline
- New Member
-
- Posts: 12
- Thank you received: 0
Valid JSON config file, uploading to board
Config file length (words) = 1702
Config file length (bytes) = 6805
Remainder = 1
Padding added = [0, 0, 0]
Config file length with padding (bytes) = 6808
CRC-32 = 0x4731b6
Please Log in or Create an account to join the conversation.
- Daz
- Offline
- New Member
-
- Posts: 12
- Thank you received: 0
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.
Here are the photos of how to connect to the board. Please note that the microcontroller gets the 3.3v from the board thus you need to power up the board with 24v when uploading the firmwareNow 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.
- Spyderbreath
-
- Offline
- New Member
-
- Posts: 8
- Thank you received: 0
At this point you had said to follow the instructions above, but those look to be for the EC300. Are they all the same files or are there different ones for the NVEM?
Please Log in or Create an account to join the conversation.