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

More
3 years 3 months ago - 3 years 3 months ago #275275 by RiJa
Now i can ping the 10.0.0.10 because I should've used the other ethernet port but i still get the same error
Code:
cnc@debian:~$ ping 10.0.0.10 PING 10.0.0.10 (10.0.0.10) 56(84) bytes of data. 64 bytes from 10.0.0.10: icmp_seq=1 ttl=128 time=0.101 ms 64 bytes from 10.0.0.10: icmp_seq=2 ttl=128 time=0.127 ms 64 bytes from 10.0.0.10: icmp_seq=3 ttl=128 time=0.122 ms cnc@debian:~$ halrun halcmd: loadrt litexcnc Note: Using POSIX realtime litexcnc: Loading Litex CNC driver version 1.1.0 litexcnc: Loading and registering default modules: litexcnc: Registered module gpio litexcnc: Registered module pwm litexcnc: Registered module encoder litexcnc: Registered module step halcmd: loadrt litexcnc_eth connection_string="eth:10.0.0.10" litexcnc: loading litexCNC etherbone driver version 1.0.0 failed to resolve remote socket address (err=-8 / Servname not supported for ai_socktype) LitexCNC-eth: ERROR: failed to connect to board on 'eth:10.0.0.10' rtapi_app: caught signal 11 - dumping core <stdin>:2: waitpid failed /usr/bin/rtapi_app litexcnc_eth <stdin>:2: /usr/bin/rtapi_app exited without becoming ready <stdin>:2: insmod for litexcnc_eth failed, returned -1


 
Last edit: 3 years 3 months ago by RiJa.

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

More
3 years 3 months ago - 3 years 3 months ago #275277 by deroj
So, what board do you have?

And don't use the "eth:" part in the connection string
Last edit: 3 years 3 months ago by deroj.

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

More
3 years 3 months ago - 3 years 3 months ago #275278 by RiJa
5A-75E ver8
EDIT: ok so i tried without the eth: and now it works. Thank you !
Code:
halcmd: loadrt litexcnc_eth connection_string="10.0.0.10" litexcnc: loading litexCNC etherbone driver version 1.0.0 LitexCNC-eth: connected to board on '10.0.0.10:1234' litexcnc: Setting up modules... litexcnc: Reading 20 bytes litexcnc:  - Watchdog litexcnc:  - Wallclock litexcnc:  - gpio ... done! litexcnc: Creating read and write buffers... litexcnc: Base addresses: init: 00000000, reset: 00000034, config: 00000038, write: 00000038, read: 00000044 litexcnc:  - Write buffer: 12 bytes litexcnc:  - Read buffer: 20 bytes litexcnc: Exporting functions...
Last edit: 3 years 3 months ago by RiJa.
The following user(s) said Thank You: deroj

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

More
3 years 3 months ago - 3 years 3 months ago #275412 by RiJa
Does anybody know what type of board type do i write in the JSON config if i have a version 8 5A-75E. Because right now I'm using VER 6 and it can write fine but when monitoring it in LinuxCNC it has problems reading the pins. e.g. When i set on an out pin and measure the pin in the board it, it doesnt show that it's on.
Last edit: 3 years 3 months ago by RiJa.

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

  • Cant do this anymore bye all
  • Offline
  • Platinum Member
  • Platinum Member
More
3 years 3 months ago #275413 by Cant do this anymore bye all
Replied by Cant do this anymore bye all on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
It will depend on which branch but for the main branch look here
github.com/Peter-van-Tol/LiteX-CNC/blob/....0_i12o14p6s6e6.json

or 11-add-external-extensions-to-litexcnc

github.com/Peter-van-Tol/LiteX-CNC/blob/...75b_v8.0_i24o32.json

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

More
3 years 3 months ago - 3 years 3 months ago #275501 by deroj

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.

It seems that there are some differences in the board definition.
There can be found in the litex folder
/litex/litex-boards/litex_boards/platforms/colorlight_5a_75e.py

maybe you can add or change the Pins for your needs

EDIT:
I found some information which says that the V6 should fit the V8 pinout.
github.com/q3k/chubby75/commit/0d1d55fee...bc2f96bbd8197571314d
 
Last edit: 3 years 3 months ago by deroj.

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

Moderators: PCW, jmelson
Time to create page: 0.239 seconds
Powered by Kunena Forum