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

  • ALittleOffTheRails
  • Visitor
  • Visitor
4 years 8 months ago #235948 by ALittleOffTheRails
Replied by ALittleOffTheRails on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
Btw adding —build to the colourlight_5a_75b.py command will run the build script as well. If it fails it is usually because stepgen.v isn’t in build/gateware directory.

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

More
4 years 8 months ago #235949 by tuxcnc

If you follow my instructions, you don’t need to install migen as a seperate item.

What is the vendor and product id of your programmer ?
 
I ran colorlight_5a_75b.py before set path, probably this is explanation.

The programmer is still in bag, because I have dispute with seller.
I don't know vendor and id, but have photo :
 

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

  • ALittleOffTheRails
  • Visitor
  • Visitor
4 years 8 months ago #235954 by ALittleOffTheRails
Replied by ALittleOffTheRails on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
I have a feeling that might work, I use an Altera USB Blaster clone works fine with openfpgaloader, which is included with oss-cad-suite

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

More
4 years 8 months ago #236039 by TOLP2
At this moment I'm trying to make the idea of ColorCNC more flexible and expandable to more ColorLight cards. Therefore I started LiteX-CNC based on the contributions.

Trying to:
- configure the card by a JSON file (click-and-program);
- firmware split over multiple files for better readability and expansion with new functions;
- supports all ethernet FPGA cards which are supported by LiteX.

It is still work in progress (only GPIO out is finished at this moment) and not tested as my card is not yet in.

The repository can be found here: github.com/Peter-van-Tol/LiteX-CNC
The following user(s) said Thank You: kwarup, ALittleOffTheRails, svb

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

  • ALittleOffTheRails
  • Visitor
  • Visitor
4 years 8 months ago - 4 years 8 months ago #236072 by ALittleOffTheRails
Replied by ALittleOffTheRails on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
Are you going to document the changes required to get any form of input ? I can document the way I'm going to implement my procedure if you like.

I have a 5A-75E so I will be willing to help in testing, if you have any a build environment ready, eg any make files, are you going to be using the pluto based stepgen source as per Romanetz ?
ATM I'm waiting for some 74LVC245 buffers to arrive.
Last edit: 4 years 8 months ago by ALittleOffTheRails.

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

More
4 years 8 months ago #236086 by TOLP2
If you could document your approach on enabling the inputs on a 5A-75E or 5A-75A, you're more then welcome. For the i5 and the i9 there are no changes required as far as I know.

The build files for the driver are available in the ./driver/build directory of the repo. However, the driver is in debug mode and will not transmit anything yet. I will create a separate debug driver (dumps everything to command line) and tidy up the ethernet driver so you should be able to test.

For building an image for the card, one could use the code below as an guideline (assuming you've installed the LiteX toolchain as described here ):
Code:
pip install -r requirements.txt
Code:
python -m firmware <path-to-config-file>

This will generate the files which can subsequently be uploaded to the board.
 

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

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