ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
27 Feb 2023 21:54 #265520
by TOLP2
Also...
I implemented the aforementioned improvements in Litex-CNC. When pulling the latest version from this GitHub branch you can now load extra modules and directly connect to the FPGA, for example with:
The above statement will load the extra module toolerator and will connect to a FPGA using:
Replied by TOLP2 on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
This error is due to an error in your project. Can you share the location of you repository or a zip-file with your code, the I can correct the error for you.To run litexcnc in your poetry environment, please use:
sudo -E env PATH=$PATH poetry run litexcnc install_driver
Sorry...This doesn´t work either.oj@VMLinuxCNC:~$ sudo -E env PATH=$PATH poetry run litexcnc install_driver [sudo] Passwort für oj: /home/oj/src/litexcnc does not contain any element
Also...
I implemented the aforementioned improvements in Litex-CNC. When pulling the latest version from this GitHub branch you can now load extra modules and directly connect to the FPGA, for example with:
loadrt extra_modules="toolerator" connections="eth:10.0.0.10:1234"
The above statement will load the extra module toolerator and will connect to a FPGA using:
- ethernet / etherbone protocol (this is the only supported protocol at this moment);
- the ip-address 10.0.0.10 (adjust this to the value in your config json);
- the port 1234 (when the port is 1234, this can be omitted, as 1234 is the default).
Please Log in or Create an account to join the conversation.
27 Feb 2023 22:41 #265523
by deroj
Replied by deroj on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
Don't think it is an error in my project because I did not add one.
I am just not familiar with poetry and/or your workflow
Deleted litexcnc from the python site-package folder.
Reinstalled it with pip (0.9.0a5)
Did the poetry add git+http://......
Then sudo ... poetry run litexcnc....
I am just not familiar with poetry and/or your workflow
Deleted litexcnc from the python site-package folder.
Reinstalled it with pip (0.9.0a5)
Did the poetry add git+http://......
Then sudo ... poetry run litexcnc....
Please Log in or Create an account to join the conversation.
28 Feb 2023 08:16 #265536
by TOLP2
Replied by TOLP2 on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
Wth the template I might have a mistake, which causes this behavior.
With he reinstall: did it work?
With he reinstall: did it work?
Please Log in or Create an account to join the conversation.
28 Feb 2023 12:01 #265555
by deroj
Replied by deroj on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
No it didn't...
There is a simple thing I am not doing right I think.
But I don't know where to look.
Do I have to clone the branch into a certain folder or path?
Or only poetry add?
I tried to clone the branch with git clone.
Then went into the cloned LiteX-CNC folder.
Then the poetry run command kind of worked. But it also did not include any of the "litexcnc_...py" modules
There is a simple thing I am not doing right I think.
But I don't know where to look.
Do I have to clone the branch into a certain folder or path?
Or only poetry add?
I tried to clone the branch with git clone.
Then went into the cloned LiteX-CNC folder.
Then the poetry run command kind of worked. But it also did not include any of the "litexcnc_...py" modules
Please Log in or Create an account to join the conversation.
02 Mar 2023 17:59 #265730
by deroj
Here is the terminal...compilation failed because I did not use "sudo".
But it shows the behaviour.
Only when I am in the LiteX-CNC folder, the poetry command kind of works
Replied by deroj on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
oj@VMLinuxCNC:~/LiteX-CNC$ poetry run litexcnc install_Driver
Usage: litexcnc [OPTIONS] COMMAND [ARGS]...
Try 'litexcnc --help' for help.
Error: No such command 'install_Driver'.
oj@VMLinuxCNC:~/LiteX-CNC$ poetry run litexcnc install_driver
INFO: Retrieving main driver to compile...
Copying file 'watchdog.h'
Copying file 'litexcnc.c'
Copying file 'halcompile.py'
Copying file 'watchdog.c'
Copying file 'wallclock.c'
Copying file 'litexcnc.h'
Copying file 'wallclock.h'
Copying file '__init__.py'
Copying file 'pos2vel.h'
Copying file 'pos2vel.c'
INFO: Retrieving modules to compile...
INFO: Retrieving board drivers to compile...
INFO: Compiling LitexCNC driver...
Compiling realtime litexcnc.c
litexcnc.c: In function ‘litexcnc_register’:
litexcnc.c:494:1: warning: label ‘fail0’ defined but not used [-Wunused-label]
fail0:
^~~~~
Linking litexcnc.so
cp litexcnc.so /usr/lib/linuxcnc/modules/
cp: reguläre Datei '/usr/lib/linuxcnc/modules/litexcnc.so' kann nicht angelegt werden: Keine Berechtigung
make: *** [/usr/share/linuxcnc/Makefile.modinc:105: install] Fehler 1
Error: Compilation of the driver failed.
oj@VMLinuxCNC:~/LiteX-CNC$ cd ..
oj@VMLinuxCNC:~$ poetry run litexcnc install_driver
/home/oj/src/litexcnc does not contain any element
oj@VMLinuxCNC:~$ litexcnc install_driver
INFO: Compiling LitexCNC driver...
Compiling realtime litexcnc.c
Linking litexcnc.so
cp litexcnc.so /usr/lib/linuxcnc/modules/
cp: reguläre Datei '/usr/lib/linuxcnc/modules/litexcnc.so' kann nicht angelegt werden: Keine Berechtigung
make: *** [/usr/share/linuxcnc/Makefile.modinc:105: install] Fehler 1
Error: Compilation of the driver failed.
oj@VMLinuxCNC:~$
Here is the terminal...compilation failed because I did not use "sudo".
But it shows the behaviour.
Only when I am in the LiteX-CNC folder, the poetry command kind of works
Please Log in or Create an account to join the conversation.
09 Mar 2023 19:15 #266230
by deroj
It seems that this for.loop do not find any files.
I added "print("Module") to check if there is any output.
Maybe the path is not right? What should be in "os.path.basename(file)" ?
Replied by deroj on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
for module in ModuleBaseModel.__subclasses__():
print("Module")
for file in module.driver_files:
click.echo(f"Copying file '{os.path.basename(file)}'")
shutil.copy2(file, os.path.join(temp_dir, os.path.basename(file)))
if re.search("litexcnc_.*\.c", os.path.basename(file)):
modules.append(os.path.basename(file))
It seems that this for.loop do not find any files.
I added "print("Module") to check if there is any output.
Maybe the path is not right? What should be in "os.path.basename(file)" ?
Please Log in or Create an account to join the conversation.
21 Mar 2023 11:08 #267222
by song_gy
Replied by song_gy on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
Do you have any shades for this project? What's new? He's great.
Please Log in or Create an account to join the conversation.
21 Mar 2023 19:46 #267248
by Pro_El
Replied by Pro_El on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
I really hope this project gain attention and we can have good documentation for the ordinary user can build the machine with these board.
In future will be good to implemente driver in linuxcnc and some configuration tool will be game changer for a lot users.
In future will be good to implemente driver in linuxcnc and some configuration tool will be game changer for a lot users.
Please Log in or Create an account to join the conversation.
21 Mar 2023 22:39 #267257
by Bari
Replied by Bari on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
The project is still at the mercy of hardware vendors that make these boards for signage.
Please Log in or Create an account to join the conversation.
24 Mar 2023 06:42 #267399
by romanetz
Replied by romanetz on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
The board is almost totally reverse-engineered, but without such a bulk production one won't get this affordable price
Please Log in or Create an account to join the conversation.
Time to create page: 0.151 seconds