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

More
3 years 4 months ago #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

Please Log in to join the conversation.

More
3 years 4 months ago #274502 by romanetz
I made #11 to run using poetry

Please Log in to join the conversation.

More
3 years 4 months ago #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 to join the conversation.

More
3 years 3 months ago #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 to join the conversation.

More
3 years 3 months ago #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.

Please Log in to join the conversation.

More
3 years 3 months ago #274675 by tuxcnc
Can anyone force (11-add-external-extensions-to-litexcnc) an encoder to work ?

Please Log in to join the conversation.

More
3 years 3 months ago #274809 by deroj

Please Log in to join the conversation.

More
3 years 3 months ago #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 to join the conversation.

More
3 years 3 months ago #274831 by meister
some encoder needs pullup resistors

Please Log in to join the conversation.

More
3 years 3 months ago #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.

Please Log in to join the conversation.

Time to create page: 0.621 seconds
Powered by Kunena Forum