- Posts: 39
- Thank you received: 6
ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
- DePrutser
- Offline
- Junior Member
-
Less
More
3 years 9 months ago #262047
by DePrutser
Replied by DePrutser on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
I've tested some more, but I cannot get it to work on my linuxCNC installation yet. I have replaced the first part of the links by the string "https--" to keep the forum software happy
I've created a new user to my LinuxCNC machine, to test with a fresh start:
root@mill:~# useradd -m testuser
root@mill:~# passwd testuser
New password:
Retype new password:
passwd: password updated successfully
root@mill:~# su testuser
$ bash --login
testuser@mill:/root$ cd
testuser@mill:~$
Now let's try the commands:
testuser@mill:~$ pip install --extra-index-url https--test.pypi.org/simple/ litexcnc[cli]
bash: pip: command not found
Pip was installed, but it is known as pip3, not just pip
root@mill:~# apt-get install python3-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-pip is already the newest version (18.1-5).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
testuser@mill:~$ pip3 install --extra-index-url https--test.pypi.org/simple/ litexcnc[cli]
Looking in indexes: https--pypi.org/simple, https--test.pypi.org/simple/
Collecting litexcnc[cli]
Could not install packages due to an EnvironmentError: 404 Client Error: Not Found for url: https--pypi.org/simple/litexcnc/
Try again with python2
# apt-get install python-pip
$ pip install --extra-index-url https--test.pypi.org/simple/ litexcnc[cli]
Looking in indexes: https--pypi.org/simple, https--test.pypi.org/simple/
Collecting litexcnc[cli]
Could not install packages due to an EnvironmentError: 404 Client Error: Not Found for url: https--pypi.org/simple/litexcnc/
The url https--test.pypi.org/simple/litexcnc/ is valid, but pip doesn't seem to use it.
testuser@mill:~$ pip install -i https--test.pypi.org/simple/ litexcnc[cli]
Looking in indexes: https--test.pypi.org/simple/
Collecting litexcnc[cli]
Could not find a version that satisfies the requirement litexcnc[cli] (from versions: )
No matching distribution found for litexcnc[cli]
Pip3 goes a bit further:
testuser@mill:~$ pip3 install -i https--test.pypi.org/simple/ litexcnc[cli]
Looking in indexes: https--test.pypi.org/simple/
Collecting litexcnc[cli]
Downloading https--test-files.pythonhosted.org/packages/30/26/efc54ae0864aa303387ac22bfc985fb9f7235fea4e63ac462d0439528a54/litexcnc-0.9.0a4-py3-none-any.whl (146kB)
100% |████████████████████████████████| 153kB 3.5MB/s
Collecting packaging<22.0,>=21.3 (from litexcnc[cli])
Could not find a version that satisfies the requirement packaging<22.0,>=21.3 (from litexcnc[cli]) (from versions: 16.7)
No matching distribution found for packaging<22.0,>=21.3 (from litexcnc[cli])
I've created a new user to my LinuxCNC machine, to test with a fresh start:
root@mill:~# useradd -m testuser
root@mill:~# passwd testuser
New password:
Retype new password:
passwd: password updated successfully
root@mill:~# su testuser
$ bash --login
testuser@mill:/root$ cd
testuser@mill:~$
Now let's try the commands:
testuser@mill:~$ pip install --extra-index-url https--test.pypi.org/simple/ litexcnc[cli]
bash: pip: command not found
Pip was installed, but it is known as pip3, not just pip
root@mill:~# apt-get install python3-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-pip is already the newest version (18.1-5).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
testuser@mill:~$ pip3 install --extra-index-url https--test.pypi.org/simple/ litexcnc[cli]
Looking in indexes: https--pypi.org/simple, https--test.pypi.org/simple/
Collecting litexcnc[cli]
Could not install packages due to an EnvironmentError: 404 Client Error: Not Found for url: https--pypi.org/simple/litexcnc/
Try again with python2
# apt-get install python-pip
$ pip install --extra-index-url https--test.pypi.org/simple/ litexcnc[cli]
Looking in indexes: https--pypi.org/simple, https--test.pypi.org/simple/
Collecting litexcnc[cli]
Could not install packages due to an EnvironmentError: 404 Client Error: Not Found for url: https--pypi.org/simple/litexcnc/
The url https--test.pypi.org/simple/litexcnc/ is valid, but pip doesn't seem to use it.
testuser@mill:~$ pip install -i https--test.pypi.org/simple/ litexcnc[cli]
Looking in indexes: https--test.pypi.org/simple/
Collecting litexcnc[cli]
Could not find a version that satisfies the requirement litexcnc[cli] (from versions: )
No matching distribution found for litexcnc[cli]
Pip3 goes a bit further:
testuser@mill:~$ pip3 install -i https--test.pypi.org/simple/ litexcnc[cli]
Looking in indexes: https--test.pypi.org/simple/
Collecting litexcnc[cli]
Downloading https--test-files.pythonhosted.org/packages/30/26/efc54ae0864aa303387ac22bfc985fb9f7235fea4e63ac462d0439528a54/litexcnc-0.9.0a4-py3-none-any.whl (146kB)
100% |████████████████████████████████| 153kB 3.5MB/s
Collecting packaging<22.0,>=21.3 (from litexcnc[cli])
Could not find a version that satisfies the requirement packaging<22.0,>=21.3 (from litexcnc[cli]) (from versions: 16.7)
No matching distribution found for packaging<22.0,>=21.3 (from litexcnc[cli])
Please Log in or Create an account to join the conversation.
- TOLP2
- Offline
- Elite Member
-
Less
More
- Posts: 225
- Thank you received: 178
3 years 9 months ago #262068
by TOLP2
Replied by TOLP2 on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
@DePrutser: Thanks for trying! Could you please provide me with:
Above won't solve your error, I've to look into that error based on the version you use.
Update on Linux 2.9:
The complete driver has been re-written and I'm able to connect to the card using halrun. I'm going to merge the branches tomorrow and do another pre-release.
In the update is also a small bug-fix for Python 3.7 in building the firmware. Python 3.7 does support Literal, so it would lead to strange errors. The error was in LitexCNC, however the error was pointing to Litex. Anyway, this has been fixed by an added depency 'typing_extensions' and some error catching at start up.
5A-75E Version 8.2
I spotted a new FPGA in the wild. I received a version 8.2 of the 5A-75E. It took me some time to get it talking to LinuxCNC, but that was my fault. If you receive such an FPGA, you can use the firmware for the version 6.0 as the pin-out seems to be the same. The only difference seems to be a higher speed grade for the FPGA.
- your Linux distro type and version;
- your LinuxCNC version
- your python version (i.e. python --version)
Code:
sudo env PATH="$PATH" litexcnc build_firmware ...
Above won't solve your error, I've to look into that error based on the version you use.
Update on Linux 2.9:
The complete driver has been re-written and I'm able to connect to the card using halrun. I'm going to merge the branches tomorrow and do another pre-release.
In the update is also a small bug-fix for Python 3.7 in building the firmware. Python 3.7 does support Literal, so it would lead to strange errors. The error was in LitexCNC, however the error was pointing to Litex. Anyway, this has been fixed by an added depency 'typing_extensions' and some error catching at start up.
5A-75E Version 8.2
I spotted a new FPGA in the wild. I received a version 8.2 of the 5A-75E. It took me some time to get it talking to LinuxCNC, but that was my fault. If you receive such an FPGA, you can use the firmware for the version 6.0 as the pin-out seems to be the same. The only difference seems to be a higher speed grade for the FPGA.
The following user(s) said Thank You: Pro_El
Please Log in or Create an account to join the conversation.
- wuyatom
- Offline
- Senior Member
-
Less
More
- Posts: 42
- Thank you received: 0
3 years 9 months ago #262232
by wuyatom
Replied by wuyatom on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
Hello , do you support 5A75E board?
Please Log in or Create an account to join the conversation.
- TOLP2
- Offline
- Elite Member
-
Less
More
- Posts: 225
- Thank you received: 178
3 years 9 months ago #262323
by TOLP2
Replied by TOLP2 on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
Yes, it is supported. Please find two configuration files attached. These will work perfectly fine for any version 6.0, 8.0 or 8.2 5A-75E board. You should change the extension to .json, because the forum does not allow me to upload that type.Hello , do you support 5A75E board?
The following user(s) said Thank You: besriworld, wuyatom
Please Log in or Create an account to join the conversation.
- TOLP2
- Offline
- Elite Member
-
Less
More
- Posts: 225
- Thank you received: 178
3 years 9 months ago #262438
by TOLP2
Replied by TOLP2 on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
I just released a new pre-release of LitexCNC. This pre-release focuses on support of LinuxCNC 2.9 and solving compiler warnings. It contains also some minor bug-fixes.
One can install this pre-release with:
The documentation can be found here .
Next step
I will now focus on getting the card in my EMCO5 to get some experience in its real-life performance. This little EMCO has a toolchanger, which requires some extra firmware (toolerator3000). I would like to add this carroussel type of firmware to the card. LitexCNC is going to have a plugin eco-system to add more components in the future.
One can install this pre-release with:
Code:
pip install --extra-index-url https://test.pypi.org/simple/ litexcnc
The documentation can be found here .
Next step
I will now focus on getting the card in my EMCO5 to get some experience in its real-life performance. This little EMCO has a toolchanger, which requires some extra firmware (toolerator3000). I would like to add this carroussel type of firmware to the card. LitexCNC is going to have a plugin eco-system to add more components in the future.
The following user(s) said Thank You: tommylight, besriworld
Please Log in or Create an account to join the conversation.
- besriworld
- Offline
- Platinum Member
-
Less
More
- Posts: 327
- Thank you received: 92
3 years 9 months ago - 3 years 9 months ago #262494
by besriworld
Replied by besriworld on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
I want to try, is there anything special when starting in virtual OS ?
Last edit: 3 years 9 months ago by besriworld.
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 7.562 seconds