Remora - ethernet NVEM / EC300 / EC500 cnc board
- Spyderbreath
-
- Away
- New Member
-
- Posts: 13
- Thank you received: 1
Attis92 post=327432 userid=41888Yes, correct!
But I’m still having some issues with the config upload, which I’m currently investigating on the EC500 board.
If you're unable to change the config, you may need to erase the entire chip first:
[/code]sudo pyocd erase -c --target mimxrt1050_quadspi Then flash the firmware again and upload the new config. [code]sudo pyocd flash remora-rt1052-3.1.3.bin --target mimxrt1050_quadspi This worked for me, but it's definitely not an ideal solution.
[code]OK, now for the most current question, just how were you able to determine you had trouble, was there an error at the point of issuing the flash command or did that seem to work and then you discovered the problem some other way? When I did this, it seemed to flash without error, or at least none were reported.
I have gotten past the point of running the upload script - python3 linuxcnc/configs/remora-rt1052-basic/upload_config.py configs/remora-rt1052-basic/nvem-rt1052.txt - and that reported back ...
Valid JSON config file, uploading to board
Config file length (words) = 1701
Config file length (bytes) = 6804
Remainder = 0
Config file length with padding (bytes) = 6804
CRC-32 = 0x9fd7ecb
[code]Now I need to get a hal config into the mix if I am not mistaken as to my next steps. I have found this on github -
wish me luck
Please Log in or Create an account to join the conversation.
- Spyderbreath
-
- Away
- New Member
-
- Posts: 13
- Thank you received: 1
No clue what happened and attempting to edit any of it looks to put the entire thing in quotes. As if I don't have enough problems.....
Please Log in or Create an account to join the conversation.
- Attis92
- Offline
- New Member
-
- Posts: 6
- Thank you received: 0
The Python upload script doesn’t show any issues — the problem only becomes visible when connecting to the board via serial port (RS232). On page 215, I described the core issue: the board rejects the new config with the message “JSON Config file CRC incorrect”, even though the CRC is actually correct.
When I initially prepared the board, I uploaded the “basic” EC500 config. This version uses the stepgen module on the BaseThread, which runs at 40kHz. That frequency was too low for my AC servo setup — I could only reach about 2400 mm/min feedrate.
So I tried uploading the DMA-accelerated stepgen config, which supports ~500kHz and lets me reach 6000–8000 mm/min. However, I couldn’t upload this new config due to the CRC issue.
Eventually, I erased the entire chip, re-flashed the firmware, and uploaded the DMA-based config again — and it worked without errors.
But when I tried to modify the config afterwards, the issue came back.
My theory:
The firmware stores the received config on the external NOR flash. After writing, it checks the validity (CRC) — and if it’s OK, it copies the config to another flash region and marks it as "Saved". It also erases the previous area (which is necessary for NOR flash writes).
However, if for some reason this copy/erase process doesn't happen correctly, then the new config can't be written to flash.
There’s no visible error, since the flash still contains data, but the system ends up checking and using the old (cached) config instead.
I’m not sure if I’m right, but it would explain the behavior.
Please Log in or Create an account to join the conversation.
- DarkPhoinix
- Offline
- Senior Member
-
- Posts: 53
- Thank you received: 6
forum.linuxcnc.org/18-computer/55914-nve...rmware-solved#327493
Please Log in or Create an account to join the conversation.
- DarkPhoinix
- Offline
- Senior Member
-
- Posts: 53
- Thank you received: 6
This driver has an EN input that I leave disconnected, as I was advised, I also tried to connect to COM + but without results.
I read these:
remora-docs.readthedocs.io/en/latest/har...thernet/rt1052.html#
remora-docs.readthedocs.io/en/latest/software/hal-examples.html
linuxcnc.org/docs/html/integrator/stepper-timing.html
the problem is this stepper movement is not smooth and the movements are too short:
youtube.com/shorts/Hnpl1kUg8-o
If someone is so kind to take a look at my configuration mess and help me solve it I would be grateful, even if I am thinking that the problem is the connections of this obsolete driver.
I also tried on mach 3 with its original controller and the stepper moves correctly(But have all 4 pin connected)
Please Log in or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
-
- Posts: 875
- Thank you received: 254
Please Log in or Create an account to join the conversation.
- jjdege
-
- Offline
- Premium Member
-
- Posts: 112
- Thank you received: 32
Hi
Hi guys
I couldn't resist and bought a new board, this time I opted for a 3-axis EC500,
it has LEDs that indicate the I/O status, I think it's more complete.
I tested it with Mach3 to make sure it was working well, given the previous ones,
and it worked on all three axes.
When loading the firmware, it got to 29% and timed out and everything froze,
the DAP wasn't receiving signals.
I reread page 115 of the thread that talks about how to unlock and after having
bridged BOOT_MO and 3V3 I managed to delete and write the new firmware!!
Now all 6 axes work.
Thanks again to Scott and to whoever made all this possible.
I connected to a small laser gantry structure the EC500 with Remora
and a small demo video .
I have to say it works great!!!
Thanks!
Please Log in or Create an account to join the conversation.
- Spyderbreath
-
- Away
- New Member
-
- Posts: 13
- Thank you received: 1
Honestly at this point I am sure I have an acute case of information overload and have wiped out and reinstalled remora more than a few times.
Please Log in or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
-
- Posts: 875
- Thank you received: 254
this is your config.txt and it loads on the board via tfpt, hence the NVEM in the title. It is board specific, and is the only thing board specific.
github.com/scottalford75/Remora-RT1052-c.../remora-rt1052-basic
this is the hal/ini file. it is not board specific. the same hal/ini file will work with the ec300 ec500 and nvem.
load the config.txt to the board, and load the remora-rt1052-basic in linuxcnc
dont go to any other github repos. dont run the file through AI. you configure your machine in the ini file.
Please Log in or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
-
- Posts: 875
- Thank you received: 254
[AXIS_Y]
MAX_VELOCITY = 5
MAX_ACCELERATION = 20.0
MIN_LIMIT = -0.01
MAX_LIMIT = 300.0
[JOINT_1]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = -5.0
MAX_LIMIT = 300.0
MAX_VELOCITY = 5
MAX_ACCELERATION = 20.0
STEPGEN_MAXACCEL = 2200.0
SCALE = 1600
FERROR = 1.0
MIN_FERROR = 0.5
HOME_OFFSET = 0.0
HOME_SEARCH_VEL = 0
HOME_LATCH_VEL = 0
HOME_SEQUENCE = 0
P_GAIN = 300
FF1_GAIN = 0.1
DEADBAND = 0.001
these options are not real, and im unsure where you got them from.
STEPPER_TYPE = external
STEP_PIN = ystep
DIR_PIN = ydir
#ENABLE_PIN = yen
STEP_INVERT = no
DIR_INVERT = no
ENABLE_INVERT = no
[DRIVERS]
# Generali impostazioni dei driver passo-passo
STEP_SPACE = 100000
STEP_TIME = 100000
DIR_SETUP = 50000
DIR_HOLD = 50000
Please Log in or Create an account to join the conversation.