LitexCNC: firmware and driver for 5A-75B and 5A-75E

More
2 years 8 months ago - 2 years 8 months ago #294403 by vre
I have tried usb blaster clone and ft232RL but nothing works.
Has anyone the bin fine to flash directly the flash chip with programmer Xgecu TL II plus ?

# openFPGALoader --scan-usb
found 10 USB device
Bus device vid:pid probe type manufacturer serial product
002 003 0x0403:0x6001 ft232RL FTDI A50285BI FT232R USB UART

# openFPGALoader --detect --cable ft232RL
Jtag probe limited to 3MHz
Jtag frequency : requested 6000000Hz -> real 3000000Hz
ret 0

# openFPGALoader --unprotect-flash --cable ft232RL -f --pins=0:1:2:3 5a-75e_v6.0_i48o56/ok/gateware/colorlight_5a_75e.bit
write to flash
Jtag probe limited to 3MHz
Jtag frequency : requested 6000000Hz -> real 3000000Hz
ret 0
Error: no device found
Last edit: 2 years 8 months ago by vre.

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

More
2 years 8 months ago #294498 by uba100
Hello, I have another question. On my V8.2 board, the two encoder inputs listed in the JSON file as " {"pin_A": "j3:5", "pin_B": "j3:6"}," seem to be connected to buffer U18. If I have only re-soldered the buffers U23, U24 and U28, as described in the example, I cannot use these two pins as encoders. Is this a special feature of my board version?

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

More
2 years 8 months ago #294510 by hmnijp

Hello, I have another question. On my V8.2 board, the two encoder inputs listed in the JSON file as " {"pin_A": "j3:5", "pin_B": "j3:6"}," seem to be connected to buffer U18. If I have only re-soldered the buffers U23, U24 and U28, as described in the example, I cannot use these two pins as encoders. Is this a special feature of my board version?
chubby75/issues they said that pinout 8.2 corresponds to version 6.0.
From the photos I can see that it looks like 8.0 (which is similar to 6.0). and U18 is on the other side...

Could you upload photos for comparison?

If this is not the case, and you have some new version of the board, then you will have to match the J-pin to FPGA-pin in the pinout table in the file \litex\litex-boards\litex_boards\platforms\colorlight_5a_75b.py"
and then edit the json according to the new direction of the buffers on your board...

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

More
2 years 8 months ago - 2 years 8 months ago #294548 by uba100
Last edit: 2 years 8 months ago by uba100.

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

More
2 years 8 months ago - 2 years 8 months ago #294572 by hmnijp

5A-75B_V8.2.jpeg
 
Sorry, at first I thought you were talking about 75E.

But I have the same 75B-8.2
J3:5 -> U24
J3:6 -> U18
U18 is also connected to the distributed pins.
This means you won't be able to use these pins as input. (only with baypass)

Change the JSON, assign the encoder to the pins that you made as input... 
Last edit: 2 years 8 months ago by hmnijp.
The following user(s) said Thank You: uba100

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

More
2 years 8 months ago #294598 by vre
I have a ulink2 (with cmsis-dap firmware) can with this flash litexcnc bit file ?

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

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