Remora - ethernet NVEM / EC300 / EC500 cnc board

More
17 Aug 2023 22:15 #278307 by MotoMishka
Hi, i have some issues with the EC500 rt1052. Please note, i'm a complete beginner when it comes to this.
I tested the board with Mach3 and it was running without any problems.
I connected the ST-Link to the board pins as follows:
SWCLK -> SCK(number 5 in the picture)
SWDIO -> SWD(number 4 in the picture)
GND ->GND(number 6 in the picture) 
Added a jumper between BOOT and 3v3(number 1 and 2 in the picture)
I powered the board using 24v PSU.

Using "pyocd list" it shows the STLink but no target.
I tried the flash: "pyocd flash .\remora-rt1052-EC500-beta.bin --target mimxrt1050_quadspi"
Got the following: 
0016578 I Erased 131072 bytes (2 sectors), programmed 117760 bytes (460 pages), skipped 0 bytes (0 pages) at 7.38 kB/s [loader]
I ejected the stlink from the system, disconnected the board from power, removed all the wires and reconnected power and ethernet cable.
Configured the PC's IPv4 address to 10.10.10.100/24 and tried to ping 10.10.10.10 but got no reply. I tried this on my windows pc and my debian laptop. Didn't work.
I then tried to flash the original firmware from here: github.com/scottalford75/Remora-RT1052/t.../original%20firmware and got the following:
pyocd flash .\ec500.bin --target mimxrt1050_quadspi
0114903 I Erased 196608 bytes (3 sectors), programmed 196608 bytes (768 pages), skipped 3997696 bytes (15616 pages) at 35.99 kB/s [loader]

It looks like(to me) it wasn't able to fully upload the firmware. 
After that i changed my ip address to 192.168.4.100 and tried to ping 192.168.4.1 but it didn't work. Tried to connect it to Mach3 but it didn't work.
I tried to reflash the remora firmware but again, no ping responses.

Can someone please help? I'm not even sure i connected the STLink correctly or if i skipped any steps...

Thank you 


 
Attachments:

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

More
18 Aug 2023 02:13 #278320 by scotta

Hi, I would like help setting up the inputs for the NVEM_1052. I tried fw : github.com/scottalford75/Remora-RT1052/b...t1052-NVEM-0.2.1.bin and this : github.com/scottalford75/Remora- RT1052-cpp/blob/main/Firmware/remora-rt1052-1.0.0.bin .
After uploading config.txt, the inputs are not changed in halshow. When listening to the serial line fw. loads the configuration from config.txt. Any advice? thank you in advance, I've been struggling with this for a long time. I am sorry for my English

You also need to be out of e-stop so the communications with the board is running.

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

More
18 Aug 2023 02:16 #278321 by scotta

Hi, i have some issues with the EC500 rt1052. Please note, i'm a complete beginner when it comes to this.
I tested the board with Mach3 and it was running without any problems.
I connected the ST-Link to the board pins as follows:
SWCLK -> SCK(number 5 in the picture)
SWDIO -> SWD(number 4 in the picture)
GND ->GND(number 6 in the picture) 
Added a jumper between BOOT and 3v3(number 1 and 2 in the picture)
I powered the board using 24v PSU.

Using "pyocd list" it shows the STLink but no target.
I tried the flash: "pyocd flash .\remora-rt1052-EC500-beta.bin --target mimxrt1050_quadspi"
Got the following: 
0016578 I Erased 131072 bytes (2 sectors), programmed 117760 bytes (460 pages), skipped 0 bytes (0 pages) at 7.38 kB/s [loader]
I ejected the stlink from the system, disconnected the board from power, removed all the wires and reconnected power and ethernet cable.
Configured the PC's IPv4 address to 10.10.10.100/24 and tried to ping 10.10.10.10 but got no reply. I tried this on my windows pc and my debian laptop. Didn't work.
I then tried to flash the original firmware from here: github.com/scottalford75/Remora-RT1052/t.../original%20firmware and got the following:
pyocd flash .\ec500.bin --target mimxrt1050_quadspi
0114903 I Erased 196608 bytes (3 sectors), programmed 196608 bytes (768 pages), skipped 3997696 bytes (15616 pages) at 35.99 kB/s [loader]

It looks like(to me) it wasn't able to fully upload the firmware. 
After that i changed my ip address to 192.168.4.100 and tried to ping 192.168.4.1 but it didn't work. Tried to connect it to Mach3 but it didn't work.
I tried to reflash the remora firmware but again, no ping responses.

Can someone please help? I'm not even sure i connected the STLink correctly or if i skipped any steps...

Thank you 

 

There is no need to add the jumper, only the ground, SWDIO and SWSCK.

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

More
18 Aug 2023 08:48 #278336 by dusa09
hello scotta, I have an E-stop, with boost motors.

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

More
18 Aug 2023 13:23 #278368 by Eugene64
"you are not very clear if you driving stepper or servo." - No matter how funny it sounds, I do not know! On the one hand, I have a servo motor whose decoder is connected to the motor controller "2HSS86". On the other hand, the signal from the encoder does not come to the computer with LinuxCNC, and for LinuxCNC my configuration should look like a regular stepper motor. What is the right thing for me to do with the settings in my case ? Thank you in advance and shake your hand!

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

More
18 Aug 2023 13:57 #278374 by Eugene64
"Have you try to run wizard in linuxcnc examples?
That should have be on list if you have correctly installed :
github.com/scottalford75/Remora-NVEM/tre...Components/Remora-nv" - My computer with linuxcnc is connected to the nvram v2 controller via an ethernet line and the remora-nv component, which you advise using, does not allow you to control the controller, and the remora-eth component ( github.com/scottalford75/Remora/tree/fea...omponents/Remora-eth ) allows my motor to spin. Is the remora-nv component suitable for controlling the nvram v2 controller via ethernet ?

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

More
18 Aug 2023 14:04 #278376 by Eugene64
"and use

upload_config.py
usage: upload.py <config.txt>
accordingly to upload config.txt
from
github.com/scottalford75/Remora-NVEM/tre...es/remora-nvem-basic
to test.

Make sure drivers are also in correct configuration you require.

Below is default [TRAJ] from remora firmware in
github.com/scottalford75/Remora-NVEM/blo...asic/remora-nvem.ini

[TRAJ]
COORDINATES = X Y Z
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_LINEAR_VELOCITY = 100.00
MAX_LINEAR_VELOCITY = 200.00
NO_FORCE_HOMING = 1

I hope this make sense a little :)" - I compared the configuration that I have installed with the one that you recommended to install. The difference is only in one line. I have registered "loadrt remora-eth" in your version of "loadrt remora-nv". What should I do next ? Thank you.

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

More
18 Aug 2023 14:46 #278384 by cakeslob
Both components look almost identical. It probably wont make a difference if you change from eth to nv.

It sounds like you are using regular stepper motors with a closed loop in the driver. Regardless, try the thing I said earlier.
www.forum.linuxcnc.org/18-computer/44828...rd?start=1030#277956

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

More
19 Aug 2023 10:49 #278454 by MotoMishka
Hi Scott,

Thank you for your reply. Do you think i fried the board with that jumper? I ordered a pico probe, will try with that once it gets here.

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

More
21 Aug 2023 05:26 #278585 by Eugene64
"It sounds like you are using regular stepper motors with a closed loop in the driver. " - I am controlling a stepper motor with an N-coder connected to a 2HSS86 controller, and I'm absolutely right about it. Is it possible to change the motor type from servo to stepper in the configuration file? Please advise me where I can read more about finely tuning the parameters (P_GAIN, FF1_GAIN, DEADBAND) that I'm adding based on your recommendation. Thank you!

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

Time to create page: 0.224 seconds
Powered by Kunena Forum