Remora - ethernet NVEM cnc board

More
12 Jan 2024 18:25 #290519 by rbobey1989
Hello everybody, well I can finally say that I received the encoder board from JLCPCB, the shipment took about 10 days, I leave here the link to my repository of the schematic and PCB design files for those who want to use or modify them, they are made with EasyEda, This board helps me keep the cable chaos I had before under control, As soon as I have some time I will prepare an image with the points where to place the jumpers on the EC500 and EC300 boards, greetings
The following user(s) said Thank You: scotta, Murphy

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

More
12 Jan 2024 20:23 #290526 by scotta
Thanks for highlighting the error. I've just corrected it. The board type is only used when loading the hardware encoder module.

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

More
12 Jan 2024 20:29 #290527 by scotta

Hello everybody, well I can finally say that I received the encoder board from JLCPCB, the shipment took about 10 days, I leave here the link to my repository of the schematic and PCB design files for those who want to use or modify them, they are made with EasyEda, This board helps me keep the cable chaos I had before under control, As soon as I have some time I will prepare an image with the points where to place the jumpers on the EC500 and EC300 boards, greetings

Looking great. There's a group of Ozzie guys working on a custom RT1052 based controller board, running Remora of course. Hope they see this and adapt your interface into the design.

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

More
12 Jan 2024 21:58 #290532 by rbobey1989
Hi Scott, I still want to improve the QDC module a little more, incorporate the accumulator mode for single channel encoders, the problem has been time hehehe, if these guys need any help I would be happy to help them, greetings

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

More
13 Jan 2024 17:10 #290570 by liampc
Hello, could anyone shed light on the serial communication coming from the EC300? I'm using a Picoprobe as a UART bridge but I receive garble uploading the config via ethernet. I know the baud is 115200 but are there any other changes from the default settings in RealTerm?

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

More
13 Jan 2024 19:52 #290578 by scotta

Hello, could anyone shed light on the serial communication coming from the EC300? I'm using a Picoprobe as a UART bridge but I receive garble uploading the config via ethernet. I know the baud is 115200 but are there any other changes from the default settings in RealTerm?

No standard settings. 115200 8N1

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

More
14 Jan 2024 09:12 #290624 by liampc
Well unfortunately that leaves me scratching my head. I've put a cheap logic analyzer in parallel and so it doesn't seem like the picoprobe's doing something funky.


This is a screenshot of RealTerm whilst the EC300 is not connected via ethernet. I've manually added in the line breaks between each message to show its just the same message repeating. I'm guessing this is some message indicating it's waiting for a connection or to initialise.

I'm not super fussed as currently LinuxCNC is connecting and coming out of e-stop, so everything else seems to be working. I'm just covering myself when if anything breaks.
Attachments:

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

More
14 Jan 2024 13:56 #290640 by raf1110
try
in display tab-all char+new line mode
make sure you trying correct port close change reopen-status closed only shows.
If this wont give you correct output probably you flashed incorrect .bin firmware (made same mistake as browser is not downloading correctly .bin files you need to pick from downloaded .zip after unpacking.

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

More
14 Jan 2024 14:07 #290644 by raf1110
Does uploading JSON require remora components installed with halcompile command.
Somehow I am unable to connect to board after uploading JSON config for stm32
This give me error due to incorrect pin assignment

ASSERT ERROR " instance < ARRAY_SIZE(s_gpioBases) ": file "fsl_gpio.c" Line "60"
function name "GPIO_GetInstance"

ip a

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether b8:27:eb:41:78:c2 brd ff:ff:ff:ff:ff:ff
inet 10.10.10.11/24 brd 10.10.10.255 scope global noprefixroute eth0
valid_lft forever preferred_lft forever
inet6 fe80::ba27:ebff:fe41:78c2/64 scope link
valid_lft forever preferred_lft forever

ping

ping 10.10.10.10
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
From 10.10.10.11 icmp_seq=1 Destination Host Unreachable
From 10.10.10.11 icmp_seq=5 Destination Host Unreachable
From 10.10.10.11 icmp_seq=8 Destination Host Unreachable

I have try number of eth cables and devices. Since I have uploaded incorrect config I am unable to fix it.
I have uploaded new .bin with CMSIS but JSON config have stayed old.

Please help.

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

More
14 Jan 2024 16:23 - 14 Jan 2024 16:27 #290662 by TimGow
Hi,
I am now at the stage of trying to run LinuxCNC on the RPi4; I have an EC300 with firmware programmed, hopefully.
Static IP is set to 10.10.10.2, ping 10.10.10.10 successful.
uname -a --> Linux rpi4-20240106 6.1.0-17-rt-arm64 #1 SMP PREEMPT_RT Debian 6.1.69-1 (2023-12-30) aarch64 GNU/Linux

I am using the files from: github.com/scottalford75/Remora-RT1052-cpp,
although there is no mention of EC300 in this branch, only EC500.
The Remora component in this branch is compiled from remora-eth-3.0.c & .h.
github.com/scottalford75/Remora-RT1052-c...eth/remora-eth-3.0.c
sudo halcompile --install remora-eth-3.0.c has created /usr/lib/linuxcnc/modules/remora-eth-3.0.so

Using config github.com/scottalford75/Remora-RT1052-c.../remora-rt1052-basic
I get a Linuxcnc crash with the following debug info:

==================================================
Debug file information:
Note: Using POSIX realtime
remora-nv: dlopen: /usr/lib/linuxcnc/modules/remora-nv.so: cannot open shared object file: No such file or directory
./remora-ec500.hal:9: waitpid failed /usr/bin/rtapi_app remora-nv
./remora-ec500.hal:9: /usr/bin/rtapi_app exited without becoming ready
./remora-ec500.hal:9: insmod for remora-nv failed, returned -1
2127
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
==================================================

The error is indicating that remora-nv.so is expected, although I know that only remora-eth-3.0.so is available.  I don't believe that the source to compile remora-nv.so is included in github.com/scottalford75/Remora-RT1052-cpp so I am confused.

Please guide me to the appropriate github files to use with the EC300, if what I am using is inappropriate, i.e. suitable for EC500 only, not EC300.
If EC300 vs EC500 is not the issue that please help me understand how to remedy the apparent mismatch.
Last edit: 14 Jan 2024 16:27 by TimGow.

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

Time to create page: 0.215 seconds
Powered by Kunena Forum