ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board

More
11 Jun 2023 09:48 - 11 Jun 2023 09:50 #273322 by deroj
Is there a quick way to install the #11-add-external-extensions?

git checkout and pip3 install ./ gives error.
seems like it deletes the temp files too early....

oj@debian:~/LiteX-CNC$ pip3 install ./
Processing /home/oj/LiteX-CNC
Installing build dependencies ... done
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.7/tokenize.py", line 447, in open
buffer = _builtin_open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-req-build-ox305jnb/setup.py'


Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-ox305jnb/


oj@debian:~/LiteX-CNC$ pip3 install ./
Processing /home/oj/LiteX-CNC
Installing build dependencies ... done
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.7/tokenize.py", line 447, in open
buffer = _builtin_open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-req-build-i5bpps12/setup.py'

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-i5bpps12/
oj@debian:~/LiteX-CNC$
 

It is the DEBIAN 10 LinuxCNC 2.8.4 ISO
Last edit: 11 Jun 2023 09:50 by deroj.

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

More
30 Jun 2023 12:52 #274502 by romanetz
I made #11 to run using poetry

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

More
30 Jun 2023 13:07 #274505 by Pro_El
Hello all,

Can someone explain is 5A-75E board work now or still is work in progress as i presume
I wach this topic, but is quiet for some time..
I have two of this board so if someone need to test something i can do that..

github Peter-van-Tol is not updated from January, is it stoped development or is in other github project active??

github.com/Peter-van-Tol/LiteX-CNC/commits/main

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

More
01 Jul 2023 06:31 #274557 by romanetz
I've found a bug in existing software in "main" branch. When a stepgen is configured to 1000 pulses per millimeter, the user can set velocity 100 mm/sec, but not 150: driver reports inverted value of speed and position decreases according to this inverted speed. This leads to appearance of "joint following error" because the commanded speed differs from actual speed by sign. It seems that somewhere in the guts of the driver an overflow of unsigned integer appears therefore the speed is being inverted. I'm preparing the solution for this problem right now.

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

More
01 Jul 2023 06:42 #274558 by romanetz

Hello all,

Can someone explain is 5A-75E board work now or still is work in progress as i presume
I wach this topic, but is quiet for some time..
I have two of this board so if someone need to test something i can do that..

github Peter-van-Tol is not updated from January, is it stoped development or is in other github project active??

github.com/Peter-van-Tol/LiteX-CNC/commits/main
 

Work on the project is in progress in another branch, github.com/Peter-van-Tol/LiteX-CNC/tree/...tensions-to-litexcnc
The way of configuration has changed: in this branch, the configuration is prepared during gateware (==the firmware of FPGA) compilation and upon start the driver fetches it from the FPGA. Also, the current state of firmware expects another structure of configuration JSON file. I appreciate any help regarding this issue as the new way of configuration is not documented yet.
The following user(s) said Thank You: Pro_El

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

More
03 Jul 2023 04:10 #274675 by tuxcnc
Can anyone force (11-add-external-extensions-to-litexcnc) an encoder to work ?

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

More
More
05 Jul 2023 13:37 #274830 by tuxcnc

Have you tried this?

litex-cnc.readthedocs.io/en/11-add-exter...modules/encoder.html
 

Yes.
I got some hal pins but values not change when encoder acts.
I need working hal configuration.

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

More
05 Jul 2023 13:57 #274831 by meister
some encoder needs pullup resistors

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

More
05 Jul 2023 15:50 - 05 Jul 2023 15:52 #274833 by tuxcnc

some encoder needs pullup resistors
 
 


Most of encoders needs pullups.
These have built-in can burn 3.3 V inputs...
I always use pullups and Schottky diodes.
Last edit: 05 Jul 2023 15:52 by tuxcnc.

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

Moderators: PCWjmelson
Time to create page: 0.179 seconds
Powered by Kunena Forum