Remora - ethernet NVEM / EC300 / EC500 cnc board

More
2 years 6 days ago #313163 by viaj2901
Hello, great job with porting remora to these boards.
I went through a lot of post on this forum thread, but I'm not able to find the schematics for the EC500. Does anyone have a reverse engineering version of the PCB schematics? Thanks!

Please Log in to join the conversation.

More
2 years 3 days ago #313338 by enddy
I need help about downloading config.txt to nvem v5.
I succeeded in downloading renoma nvem-rt1050 throw MCUXpresso IDE. 
and received ping from nvem like below. 
Code:
[code]cnc@raspberrypi:~/linuxcnc/configs/remora-nvem-basic$ ping 10.10.10.10 PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data. 64 bytes from 10.10.10.10: icmp_seq=1 ttl=255 time=0.443 ms 64 bytes from 10.10.10.10: icmp_seq=2 ttl=255 time=0.143 ms 64 bytes from 10.10.10.10: icmp_seq=3 ttl=255 time=0.141 ms ^C --- 10.10.10.10 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2029ms rtt min/avg/max/mdev = 0.141/0.242/0.443/0.141 ms

However, if I try to send config.txt, a timeout occurs.
Code:
[code]cnc@raspberrypi:~/linuxcnc/configs/remora-nvem-basic$ python3 upload_config.py  config.txt Valid JSON config file, uploading to Novusun board Config file length (words) = 134 Config file length (bytes) = 535 Remainder = 3 Padding added =  [0] Config file length with padding (bytes) = 536 CRC-32 = 0x2bf84f80 Timeout waiting for traffic, retrying... Timed-out waiting for traffic resending last packet Resending packet WRQ packet: filename = config mode = octet on sessions <tftpy.TftpStates.TftpStateSentWRQ object at 0x7fa39536d0> Timeout waiting for traffic, retrying... Timed-out waiting for traffic resending last packet Resending packet WRQ packet: filename = config mode = octet on sessions <tftpy.TftpStates.TftpStateSentWRQ object at 0x7fa39536d0> Timeout waiting for traffic, retrying... Timed-out waiting for traffic Traceback (most recent call last):   File "/home/cnc/.local/lib/python3.11/site-packages/tftpy/TftpContexts.py", line 171, in cycle     (buffer, (raddress, rport)) = self.sock.recvfrom(MAX_BLKSIZE)                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TimeoutError: timed out During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/home/cnc/linuxcnc/configs/remora-nvem-basic/upload_config.py", line 72, in <module>     client.upload("config", "/tmp/config.txt", timeout=30)   File "/home/cnc/.local/lib/python3.11/site-packages/tftpy/TftpClient.py", line 101, in upload     self.context.start()   File "/home/cnc/.local/lib/python3.11/site-packages/tftpy/TftpContexts.py", line 325, in start     self.cycle()   File "/home/cnc/.local/lib/python3.11/site-packages/tftpy/TftpContexts.py", line 174, in cycle     raise TftpTimeout("Timed-out waiting for traffic") tftpy.TftpShared.TftpTimeout: Timed-out waiting for traffic

As I see the letters in the temianl as below, I think the firmware was well put, but I don't know why it's not working. 

 

Attachment not found

[/code][/code]

Please Log in to join the conversation.

More
2 years 3 days ago #313347 by enddy
solved problems.

rebuilt and downlaod :
github.com/scottalford75/Remora-RT1052-cpp

and upload_config.py config file :
github.com/scottalford75/Remora-RT1052-c...xCNC/nvem-rt1052.txt

and board is working.

Please Log in to join the conversation.

More
1 year 11 months ago #313776 by stickys
Hello!
I'll try to flash remora firmware for my new board, but how do you know which pins are the SWCLK, SWDIO? I suppose the bottom one is the GND.

Please Log in to join the conversation.

More
More
1 year 11 months ago #313799 by stickys
So its same as the older version board, thank you!

Please Log in to join the conversation.

More
1 year 11 months ago #313896 by stickys
Hey guys!
Successfully installed firmware, now it's moving :)
Do you have a full config .file, for spindle, inputs, outputs etc. for sample?
Tried to add homing switches, I wrote remora.input.03 but it said unkown pin.
I have dual Y axis, I followed the tutorials but only one motor is moving, if I set sync home sequence it will be OK?

Please Log in to join the conversation.

More
1 year 11 months ago #314034 by scotta

Hey guys!
Successfully installed firmware, now it's moving :)
Do you have a full config .file, for spindle, inputs, outputs etc. for sample?
Tried to add homing switches, I wrote remora.input.03 but it said unkown pin.
I have dual Y axis, I followed the tutorials but only one motor is moving, if I set sync home sequence it will be OK?
Great to hear. There are example configs in the following link. Check out the hypercube hal and ini files. This shows how to setup dual axes. Dual Z in this case but the same is for dual Y. For a dual axis setup, don't jog in manual until after you have homed the axes, they will not jog together until homed.

Remora/LinuxCNC/ConfigSamples at main · scottalford75/Remora

 

Please Log in to join the conversation.

More
1 year 11 months ago #314250 by stickys
Now it's working and stable!
Thank you for your work, it's awesome that we can use this cheap controller, we had a lot of problems with Mach3.

Please Log in to join the conversation.

More
1 year 11 months ago #314625 by LabOuest
Hello everyone,
I'm having some latency issues on my EC500 freshly flashed with remora-rt1052-3.1.3.bin
Thanks to ColdTurkey's tutorial, I got it working (skipping the optional step #2 "Upgrade Kernel to 6.3RT" and #3 "FOR REALTEK NIC ETHERNET LATENCY ISSUES"), the led turns on when I get LCNC out of Estop.

Though, when I start linuxcnc, I get an error: "Unexpected realtime delay on task 0 with period 1000000" (config: remora-rt1052-basic).
Obviously, I though that skipping step #3 was a stupid mistake, so I followed through:
  • Running sudo ethtool -i indicates a mismatched between the driver (r8169) and the firmware-version (rtl8168g-2_0.0.1 02/06./13)
  • The next step was to run sudo geany /etc/sources.list but the file was empty so I ran sudo geany /etc/apt/sources.list instead and commented out the first line (deb cdrom:[Debian GNU/Linux 12_Bookworm...)
  • I got to the next step and figured I'd run sudo apt-get install r8168-dkms like the example because there wasn't a packaged named rtl8168g.
  • Then, I ran sudo ethtool -i  again and found out that the driver did in fact changed to r8168 but the firmware-version line was now unexpectedly empty.
To make sure everything was fine, I ran "sudo dmesg | grep r8168" and got this:
Code:
[    1.033714] r8168: loading out-of-tree module taints kernel. [    1.034002] r8168: module verification failed: signature and/or required key missing - tainting kernel [    1.048699] r8168 Gigabit Ethernet driver 8.051.02-NAPI loaded [    1.064274] r8168: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625. [    1.066307] r8168  Copyright (C) 2022 Realtek NIC software team <nicfae@realtek.com> [    1.094005] r8168 0000:02:00.0 enp2s0: renamed from eth0 [    6.743754] r8168: enp2s0: link up

Still, following these steps didn't fix the latency error message.
Rebooting doesn't seem to help, as a newbie, I'm clueless haha !

Also, I should mention that running apt get update gives many errors:
Code:
Ign:1 cdrom://[Debian GNU/Linux 12 _Bookworm_ - Snapshot amd64 LIVE/INSTALL Binary 20240721-21:05] bookworm InRelease Err:2 cdrom://[Debian GNU/Linux 12 _Bookworm_ - Snapshot amd64 LIVE/INSTALL Binary 20240721-21:05] bookworm Release   Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs Hit:3 http://deb.debian.org/debian bookworm InRelease Get:4 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB] Get:5 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]                            Hit:6 https://www.linuxcnc.org bookworm InRelease                                                  Get:8 http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ InRelease [1,575 B] Err:8 http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ InRelease   The following signatures were invalid: EXPKEYSIG A94819A7CB97A204 science:EtherLab OBS Project <science:EtherLab@build.opensuse.org> Hit:7 https://repository.qtpyvcp.com/apt develop InRelease Reading package lists... Done E: The repository 'cdrom://[Debian GNU/Linux 12 _Bookworm_ - Snapshot amd64 LIVE/INSTALL Binary 20240721-21:05] bookworm Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ InRelease: The following signatures were invalid: EXPKEYSIG A94819A7CB97A204 science:EtherLab OBS Project <science:EtherLab@build.opensuse.org>

Thanks you for your help !

Please Log in to join the conversation.

Time to create page: 0.322 seconds
Powered by Kunena Forum