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

More
2 years 10 months ago - 2 years 10 months ago #288665 by horcsab
So, next problem..
I try flashing the FPGA (5A-75E v8.0) widt FT2232 modul, but always get this error:

nc@cnc:~/Downloads/proba2$ openFPGALoader -d /dev/ttyUSB0 -f prob.bit
write to flash
Jtag frequency : requested 6.00MHz   -> real 6.00MHz  
mpsse_write: fail to write with error -1 (usb bulk write failed)
mpsse_read: fail to flush buffer with error: -1 (usb bulk write failed)
JTAG init failed with: Unknown device with IDCODE: 0x1954fc56 (manufacturer: 0x62b (), part: 0x4a vers: 0x1

What is the problem?
 
Last edit: 2 years 10 months ago by horcsab.

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

More
2 years 10 months ago - 2 years 10 months ago #288673 by Mecanix
Prolly just because ya forgot to make a wish and didn't crossed your fingers... stuff's picky sometimes.
$ sudo openFPGALoader --unprotect-flash -c ft232 -f prob.bit
Last edit: 2 years 10 months ago by Mecanix.

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

More
2 years 10 months ago #288676 by horcsab
I tried but no change. (I see the /dev/ttyUSB0..3 the ftdi2232 modul)

$ sudo openFPGALoader --unprotect-flash -c ft232 -f prob.bit
write to flash
unable to open ftdi device: -3 (device not found)
JTAG init failed with: unable to open ftdi device

If I try this:
$ sudo openFPGALoader --unprotect-flash -c ft2232 -f prob.bit
write to flash
unable to open ftdi device: -3 (device not found)
JTAG init failed with: unable to open ftdi device

$ sudo openFPGALoader --unprotect-flash -d /dev/ttyUSB0 -f prob.bit
write to flash
Jtag frequency : requested 6.00MHz -> real 6.00MHz
mpsse_write: fail to write with error -1 (usb bulk write failed)
mpsse_read: fail to flush buffer with error: -1 (usb bulk write failed)
JTAG init failed with: Unknown device with IDCODE: 0x8d1d2c56 (manufacturer: 0x62b (), part: 0x68 vers: 0x8

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

More
2 years 10 months ago - 2 years 10 months ago #288680 by Mecanix
If it doesn't take the -c ft232 argument I suspect there is a driver issue.

$ sudo dmesg | grep FTDI
Post output. And while there enable --verbose-level=2 (or 3, forgot)
Last edit: 2 years 10 months ago by Mecanix.

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

More
2 years 10 months ago #288681 by horcsab
I'll try it tomorrow.

May be necessary external resistor? (4.7k)
TCK = Pull-down
TMS = Pull-up
TDI = Pull-up
TDO = Pull-up

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

More
2 years 10 months ago #288683 by Mecanix
No pullup/down required. Straight up ft232's AD0~AD03 to jtag inputs. Inserting a fully functional ft232/driver output below for your ref. Good luck with making this work.  

cnc@debian:~$ sudo dmesg | grep FTDI
[204748.812327] usb 1-1.4: Manufacturer: FTDI
[204748.843937] usbserial: USB Serial support registered for FTDI USB Serial Device
[204748.843970] ftdi_sio 1-1.4:1.0: FTDI USB Serial Device converter detected
[204748.848687] usb 1-1.4: FTDI USB Serial Device converter now attached to ttyUSB0
cnc@debian:~$




 

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

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