I'm a little bit confused on how to properly connect Altera UsbBlaster to BF609 EZ-BOARD. Tool named bfin-jtag (of bfin linux toolchain) can properly detect UsbBlaster so it should be possible to use, but it has 10 pin connector while board JTAG connector has 14 pins.
So i looked at the board schematics and ICE-1000 pinout:
Also also there's this table from UsbBlaster:
So i get it i should connect TMS, TDI, TDO, TCK to their relatives, but do i need to connect anything to EMU and TRST? Does bfin-jtag use this signals via UsbBlaster? I couldn't find anything about it. And not less importantly: pin 1 on the ICE is GND - isn't it a mistake? Shouldn't it be Vcc instead as on the board and be connected to Vcc pin of UsbBlaster?
Thank you for your time
Okay, no replies, so I did the following connection:
Header 2JTAG connector on EZ-BOARD
EMU and TRST signals are left unused as EMU can be ignored and TRST seems to be able to be not used and replaced by special sequence via TMS.
Here's the output i get when i try to detect JTAG devices in chain:
UrJTAG 0.10 #Copyright (C) 2002, 2003 ETC s.r.o.Copyright (C) 2007, 2008, 2009 Kolja Waschk and the respective authors
UrJTAG is free software, covered by the GNU General Public License, and you arewelcome to change it and/or distribute copies of it under certain conditions.There is absolutely no warranty for UrJTAG.
warning: UrJTAG may damage your hardware!Type "quit" to exit, "help" for help.
jtag> cable probeFound USB cable: UsbBlasterConnected to libftdi driver.jtag> detectwarning: TDO seems to be stuck at 0jtag> printerror: illegal state: Run "detect" firstjtag>
So obviously something's wrong here. I double-tested the cable - it's ok. I also know that UsbBlaster is working fine at least with Altera FPGA (and i have two of them UsbBlasters, they behave the same). I checked with an oscilloscope what the signals look like when i try to run "detect" command. Here's TMS (orange) against TCK (blue). Doesn't look healthy at all (note the time scale).
Here's TDI (orange) against TCK (blue). Seems better but 1V amplitude still bothers me.
What could be wrong here? Could it be driver? Did anyone try to get Linux working on blackfin DSP with Altera UsbBlaster? What was your experience?
By the way, i'm running Ubuntu development host inside oracle virtual box in Win 10. Could virtual environment somehow screw driver-device communication?