B
Brane2
Guest
I've managed to manually install Diamond ( latest 3.1 64-bit) on my Gentoo.
Now everything seems to be working, except programming the chip on board.
I am playing with their MachXO2 breakout board and such boards have FTDI-2232 chip for programming.
If doesn't matter if I start programming tool within Diamond or manually, it behaves the same.
It detects the FTDI chip, when I plug USB cable in the board and then start cable detect:
"Board with FTDI USB Host Chip detected.
INFO - Multiple cables detected!"
But if I try to scan chips in JTAG chain, i get:
"ERROR - Scan Failed - Creating Blank Programmer Project
The other process currently running. Cannot continue."
And programming attempt gets me:
"The other process currently running. Cannot continue."
So program can detect that the FTDI chip on breakout board is accessible, it just can't do anything with it.
I tried everything. I replaced the HW, cable, used different USB port, changed the FTDI VCP access library for newer one etc etc.
Nothing works. I don't think Diamond is that sensitive to library version since it packs all tricky libraries by itself.
Only thing I haven't checked yet is how the dynamic loader finds and loads them. It might be that some system libs are used instead of bundled ones.
Other thing that comes to mind is that maybe something within kernel changed wrt to files and maps in /sys directory ( sysfs).
After that, I'm out of options.
I am usiong a workaround atm - standalone programmer util on separate WinXP machine and I am about to try if I can do the same with 32-bit Linux version ( after failing with 64-bit one).
My system is:
AMD Phenom II x4 955BE stock
8 GiB RAM
Radeon 6850
all open source drivers AFAIR
Gentoo 64-bit with systemd+udev
xfce desktop
kernel gentoo-sources-3.13.7, without usb-serial and ftdi module driver
( if present they hog the ftdi chip and make two extra ttyS devices, while programmer expects to be able to access the chip directly)
And I had to add manually extra rule in udev so that at usb plugin udev would create device with right ownership and access rights so that programmer util could access it:
SUBSYSTEM=="usb" , ACTION=="add" , ATTR{idVendor}=="0403" , MODE="666" , OWNER="brane2" , GROUP="users"
So, if anyone has an idea, it is welcome.
Now everything seems to be working, except programming the chip on board.
I am playing with their MachXO2 breakout board and such boards have FTDI-2232 chip for programming.
If doesn't matter if I start programming tool within Diamond or manually, it behaves the same.
It detects the FTDI chip, when I plug USB cable in the board and then start cable detect:
"Board with FTDI USB Host Chip detected.
INFO - Multiple cables detected!"
But if I try to scan chips in JTAG chain, i get:
"ERROR - Scan Failed - Creating Blank Programmer Project
The other process currently running. Cannot continue."
And programming attempt gets me:
"The other process currently running. Cannot continue."
So program can detect that the FTDI chip on breakout board is accessible, it just can't do anything with it.
I tried everything. I replaced the HW, cable, used different USB port, changed the FTDI VCP access library for newer one etc etc.
Nothing works. I don't think Diamond is that sensitive to library version since it packs all tricky libraries by itself.
Only thing I haven't checked yet is how the dynamic loader finds and loads them. It might be that some system libs are used instead of bundled ones.
Other thing that comes to mind is that maybe something within kernel changed wrt to files and maps in /sys directory ( sysfs).
After that, I'm out of options.
I am usiong a workaround atm - standalone programmer util on separate WinXP machine and I am about to try if I can do the same with 32-bit Linux version ( after failing with 64-bit one).
My system is:
AMD Phenom II x4 955BE stock
8 GiB RAM
Radeon 6850
all open source drivers AFAIR
Gentoo 64-bit with systemd+udev
xfce desktop
kernel gentoo-sources-3.13.7, without usb-serial and ftdi module driver
( if present they hog the ftdi chip and make two extra ttyS devices, while programmer expects to be able to access the chip directly)
And I had to add manually extra rule in udev so that at usb plugin udev would create device with right ownership and access rights so that programmer util could access it:
SUBSYSTEM=="usb" , ACTION=="add" , ATTR{idVendor}=="0403" , MODE="666" , OWNER="brane2" , GROUP="users"
So, if anyone has an idea, it is welcome.