Remora - ethernet NVEM / EC300 / EC500 cnc board

More
2 years 7 months ago #297148 by pippin88
Apologies if already answered somewhere but I can't find info:

Is it possible to have multiple Remora controller boards used together?
E.g. if need more axis than one controller board can do, run two controller boards?

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

More
2 years 7 months ago #297155 by cakeslob
anyone with an rt1062/teensy 4.1 with ethernet, want to give the rt1052 firmware a try? it looks like they are very similar

Apologies if already answered somewhere but I can't find info:

Is it possible to have multiple Remora controller boards used together?
E.g. if need more axis than one controller board can do, run two controller boards?


I am hoping this becomes the next point of development, multiple instances of remora spi/ ethernet. I have tried to do 2 instances (quick and dirty with 2 comps, remora and remora2) but there are some IO that i dont know how to manage, with iocontrol

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

More
2 years 7 months ago #297164 by scotta
Running multiple boards should be feasible. Currently the IP address is hard coded in the firmware and LinuxCNC component. To run multiple boards we'll need to have the IP address configuration in the config.txt file and settable on the loadrt command line in LinuxCNC. Sounds like a great feature to implement.

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

More
2 years 7 months ago #297169 by cakeslob
running multi ethernet, dual spi boards (either 2 seperate spi channels or on the same), or SPI and ethernet at the same time. I tried doing spi + ethernet at the same time, but im stuck with how to deal with duplicate of these pins
Code:
# estop loopback, SPI comms enable and feedback net user-enable-out <= iocontrol.0.user-enable-out => remora.SPI-enable net user-request-enable <= iocontrol.0.user-request-enable => remora.SPI-reset net remora-status <= remora.SPI-status => iocontrol.0.emc-enable-in

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

More
2 years 7 months ago #297276 by peterling
Hi, thanks of the manual of Cold Turkey i was able to flash the board, but without success :-(
I erased the board with
(pyocd) cnc@raspberrypi:~/linuxcnc/Remora-RT1052-cpp-main/Firmware$ pyocd erase --chip --target mimxrt1050_quadspi
0000867 I Erasing chip... [eraser]
0009003 I Chip erase complete [eraser]
0009007 E Error during board uninit: [session]
(pyocd) cnc@raspberrypi:~/linuxcnc/Remora-RT1052-cpp-main/Firmware$

i got the same error as vpomerlo on page 166. I tried to ping the board -> no reaction, so somthing was done.
Next step was to flash the firmware with pyocd and a STLink V2 adapter. This worked well:
(pyocd) cnc@raspberrypi:~/linuxcnc/Remora-RT1052-cpp-main/Firmware$ pyocd flash remora-rt1052-3.1.2.bin --target mimxrt1050_quadspi
0000812 I Loading /home/cnc/linuxcnc/Remora-RT1052-cpp-main/Firmware/remora-rt1052-3.1.2.bin [load_cmd]
[==================================================] 100%
0043091 I Erased 393216 bytes (6 sectors), programmed 358656 bytes (1401 pages), skipped 0 bytes (0 pages) at 8.29 kB/s [loader]
(pyocd) cnc@raspberrypi:~/linuxcnc/Remora-RT1052-cpp-main/Firmware$

Result: one output pin was on
OK, now i was able to ping the board on 10.10.10.10 image missing /media/kunena/emoticons/smile.png
Next step loading a config on the board
(tftpy) cnc@raspberrypi:~/linuxcnc/configs/remora-rt1052-basic$ python3 upload_config.py ec500-rt1052.txt
Valid JSON config file, uploading to board
Config file length (words) = 1716
Config file length (bytes) = 6862
Remainder = 2
Padding added =  [0, 0]
Config file length with padding (bytes) = 6864
CRC-32 = 0x580751a8
(tftpy) cnc@raspberrypi:~/linuxcnc/configs/remora-rt1052-basic$

as a result all outputs are off and the "CONN" LED is now on.
Next step: i connected the serial interface, because on my old NVEM i was able to see some reactions on RS232. I directly connected a RS232 to USB vonverter to the board and looked with cutecom on the interface (115200;8;n;1) but i see no response? Is this normal?
Next step: i opened LinuxCNC
LINUXCNC - 2.9.2
Machine configuration directory is '/home/cnc/linuxcnc/configs/remora-rt1052-basic'
Machine configuration file is 'remora-ec500.ini'
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
Found file(REL): ./remora-ec500.hal
Found file(REL): ./remora-nv-mpg.hal
note: MAXV     max: 125.000 units/sec 7500.000 units/min
note: LJOG     max: 125.000 units/sec 7500.000 units/min
note: LJOG default: 50.000 units/sec 3000.000 units/min
note: jog_order='XYZ'
note: jog_invert=set()
task: main loop took 0.751144 seconds
Bad payload = 0
Unexpected realtime delay on task 0 with period 1000000
This Message will only display once per session.
Run the Latency Test and resolve before continuing.
Unexpected realtime delay on task 0 with period 1000000
This Message will only display once per session.
Run the Latency Test and resolve before continuing.

task: main loop took 0.271986 seconds
Bad payload = 0
task: main loop took 0.243142 seconds
Shutting down and cleaning up LinuxCNC...
task: 5535 cycles, min=0.000009, max=0.751144, avg=0.010250, 3 latency excursions (> 10x expected cycle time of 0.010000s)
Note: Using POSIX realtime

I have a new board with a number "6" on a sticker on it. Its the new board layout with LEDs for input and output.
Any idea why it won't work?


 

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

More
2 years 7 months ago #297310 by scotta
Hi, which board? EC300 / EC500?

You should be seeing debug output on the serial output.

The CONN light should only be solid when LinuxCNC is connected to the board.

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

Time to create page: 0.190 seconds
Powered by Kunena Forum