Remora - ethernet NVEM / EC300 / EC500 cnc board

More
3 years 3 months ago #276482 by scotta
It looks like you are using a config file for an STM32 board where the ports are designated with a letter, like PD_12. The RT1052 config file needs the ports to be addressed with a number, like P1_22.

Please use the example configuration files from the RT1052 repo.

github.com/scottalford75/Remora-RT1052-cpp/tree/main/LinuxCNC
The following user(s) said Thank You: JAMSys

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

More
3 years 3 months ago #276508 by frayja2002
Sorry if I am asking another dumb question here but...

I have flashed an EC500 pwba with Remora-RT1052-cpp-main (as opposed to Remora-RT1052)

I can ping the board & take it out of Estop, but when I try to upload a config file with...
python3 upload_config.py ec500-rt1052.txt
It says no tftpy module found.

Here is the full text of the install & error....

(Sat Jul-29)-(40K in 5 files)-(alex:~/01_install/Remora-RT1052-cpp-main/LinuxCNC)
(12:10:32pm)> pip install tftpy
Collecting tftpy
Downloading files.pythonhosted.org/packages/c1/8f/43...4/tftpy-0.8.2.tar.gz
Building wheels for collected packages: tftpy
Running setup.py bdist_wheel for tftpy ... done
Stored in directory: /home/alex/.cache/pip/wheels/7e/76/31/0b8b0c463d90688eb47f9326beaaf1232aa9f009a8d1843d99
Successfully built tftpy
Installing collected packages: tftpy
Successfully installed tftpy-0.8.2
(Sat Jul-29)-(40K in 5 files)-(alex:~/01_install/Remora-RT1052-cpp-main/LinuxCNC)
(12:11:04pm)> python3 upload_config.py ec500-rt1052.txt
Traceback (most recent call last):
File "upload_config.py", line 7, in <module>
import tftpy
ModuleNotFoundError: No module named 'tftpy'


Thanks in advance.

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

More
3 years 3 months ago #276516 by JAMSys
Yes, you are right.
To remove the wrong config file, I had to full erase the chip.
With pyocd, this is very easy.
After flashing the firmware again, the board works OK.

Thanks for your support, Scotta!

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

More
3 years 3 months ago - 3 years 3 months ago #276520 by raf1110
Got to this point but not sure where to find problems from this log. There is missing file remora-nv.so 

 
Last edit: 3 years 3 months ago by raf1110.

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

More
3 years 3 months ago #276533 by cakeslob
i think you probably need to install the linuxcnc component

github.com/scottalford75/Remora-NVEM/tre...Components/Remora-nv
Code:
sudo halcompile --install remora-nv.c


remora-docs.readthedocs.io/en/latest/sof...mp-installation.html
The following user(s) said Thank You: raf1110

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

More
3 years 3 months ago #276537 by scotta

Sorry if I am asking another dumb question here but...

I have flashed an EC500 pwba with Remora-RT1052-cpp-main (as opposed to Remora-RT1052)

I can ping the board & take it out of Estop, but when I try to upload a config file with...
python3 upload_config.py ec500-rt1052.txt
It says no tftpy module found.

Here is the full text of the install & error....

(Sat Jul-29)-(40K in 5 files)-(alex:~/01_install/Remora-RT1052-cpp-main/LinuxCNC)
(12:10:32pm)> pip install tftpy
Collecting tftpy
Downloading files.pythonhosted.org/packages/c1/8f/43...4/tftpy-0.8.2.tar.gz
Building wheels for collected packages: tftpy
Running setup.py bdist_wheel for tftpy ... done
Stored in directory: /home/alex/.cache/pip/wheels/7e/76/31/0b8b0c463d90688eb47f9326beaaf1232aa9f009a8d1843d99
Successfully built tftpy
Installing collected packages: tftpy
Successfully installed tftpy-0.8.2
(Sat Jul-29)-(40K in 5 files)-(alex:~/01_install/Remora-RT1052-cpp-main/LinuxCNC)
(12:11:04pm)> python3 upload_config.py ec500-rt1052.txt
Traceback (most recent call last):
File "upload_config.py", line 7, in <module>
import tftpy
ModuleNotFoundError: No module named 'tftpy'


Thanks in advance.
Do you have both python2 and python3 installed on the system? Might have to use 
Code:
pip3 install tftpy

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

Time to create page: 0.164 seconds
Powered by Kunena Forum