Chapter 5. F.A.Q.

For a list of known problems in current versions, please also check the "Bugs" tracker at the UrJTAG website!

  1. The documentation is incomplete. Where can I get more information?::

  2. Please ask in the "Using UrJTAG" Forum on http://urjtag.org

  3. My flash isn’t detected or can’t be programmed. What can I do?::

  4. Please record the output of the "detect" and "detectflash" commands and ask in the Forum. If possible, re-compile UrJTAG before with "--enable-jedec-exp" to get extra information.

  5. My CPU/FPGA/etc. chip isn’t detected. What can I do?::

  6. First try to get hold of a "BSDL" description of the chip from the vendor, and specify where to find this file to UrJTAG using "bsdl path" before you "detect". Second, a bus driver has to be selected. Maybe "ejtag" or "prototype" work.

  7. When I type "cable parallel 0x378 DLC5" (in a Cygwin environment) I get "Unknown port driver: parallel"?::

  8. Please install the Cygwin ioperm package, and re-configure/compile.

  9. When I type "cable parallel 0x378 DLC5" (in a Cygwin environment) I get "Error: Cable initialization failed!".::

  10. Please install ioperm.sys driver using ioperm -i command.

  11. When running autogen.sh, I get "Can’t exec "autopoint": No such file or directory"::

  12. You need the headers for gettext (e.g. Debian package "gettext-devel").

  13. When running autogen.sh, it complains about missing CVS::

  14. The easiest solution is to actually install CVS for this step, just to get around this error message.

  15. During compilation, I get "svf_bison.y: No such file or directory"::

  16. You need "bison".

  17. During compilation, I get "flex: can’t open … src/svf/svf_flex.l"::

  18. You need "flex"

  19. During compilation, I get "src/svf/svf_flex.l", line 27: unrecognized %option: bison-locations"::

  20. You need a newer version of flex. It should be 2.5.31 or newer; Unfortunately, Cygwin comes with only 2.5.4a. You may try to compile and install a newer version of flex from source to solve this. The distributed source tarball contains source pregenerated with a current flex version, you need flex yourself only to compile from fresh SVN checkouts.

  21. When running "make install", I get "Permission denied" errors::

  22. If you want to install into a system directory (the default /usr/local is one), you’ll have to run "make install" as the superuser, e.g. do "sudo make install".

  23. My BSDL file defines the bus DAT as bit_vector(15 downto 0), how should I access single elements?::

  24. BSDL syntax is an extension of the VHDL language. Array elements are indexed with parentheses: DAT(4) selects index number 4 of the DAT vector. Also refer to the "print signals" command.

  25. My board requires certain signals to be set to dedicated values before external memories can be accessed.::

  26. Most (if not all) BSR-based bus drivers allow for static configurations of pins that are controlled by BSR bits. Apply the required "set" commands before issueing the "initbus …" command. These settings are preserved by all bus related commands if they don’t collide with the signals required for bus operation.

  27. My USB pod seems slow.::

  28. USB-based JTAG pods suffer from a couple of intrinsic issues. Consider the following to get maximum performance:

    • Run UrJTAG on native linux. Cygwin and VMWare are reportedly slower.

    • Connect the pod via a high speed USB hub to a high speed USB host port. Even though the pod is a full speed device, it benefits from the shorter turn-around times between host and hub.