Menu

#134 ARM-TINY-USB-H Error

0.17
closed
nobody
None
5
2021-04-05
2021-04-05
No

I installed urjtag using the command: sudo apt-get install -y urjtag. My OS is Ubuntu 18.04.5 LTS.
I want to debug an Xilinx Arty A7 35T with a Olimex ARM-USB-TINY-H connector. When I typed: "cable probe" the following is returned.

Found USB cable: ARM-USB-TINY-H
error: invalid parameter: unknown cable driver 'ARM-USB-TINY-H'

But according to this repo, it should be known, right?

Discussion

  • Geert Stappers

    Geert Stappers - 2021-04-05

    On Mon, Apr 05, 2021 at 01:26:08PM -0000, Lucas Matheus dos Santos wrote:

    I installed urjtag using the command:
    sudo apt-get install -y urjtag.

    dpkg -l urjtag

    But according to this repo, it should be known, right?

    Why?

     
    • Lucas Matheus dos Santos

      Well, I think it should because of this doc section: http://urjtag.org/book/_system_requirements.html#_supported_jtag_adapters_cables

      Searching for ARM-USB-TINY-H in the source repo, it seems to have a cable declared for this adapter, that's the main reason I thought it would find. https://github.com/shuckc/urjtag/blob/master/urjtag/src/tap/cable/ft2232.c

       

      Last edit: Lucas Matheus dos Santos 2021-04-05
      • Geert Stappers

        Geert Stappers - 2021-04-05

        On Mon, Apr 05, 2021 at 02:55:34PM -0000, Lucas Matheus dos Santos wrote:

        Well, I think it should because of these docs part:
        http://urjtag.org/book/_system_requirements.html#_supported_jtag_adapters_cables

        Searching for ARM-USB-TINY-H in the source repo,
        it seems to have a cable declared for this adapter,
        that's the main reason I thought it would find.
        https://github.com/shuckc/urjtag/blob/master/urjtag/src/tap/cable/ft2232.c

        • Where is the output of dpkg -l urtjag?
        • How close is that version to the above versions?
         
        • Lucas Matheus dos Santos

          About the installation, I think there is no .deb available in the repo, right? Maybe the Ubuntu 18.04LTS available is just older (it seems to be, https://pkgs.org/download/urjtag).
          The return is:
          Desired=Unknown/Install/Remove/Purge/Hold
          | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
          |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
          ||/Name Version Aarch Descript
          +++-===============================-====================-====================-====================================================================
          ii urjtag 0.10+r2007-1.2build1 amd64 JTAG programmer for various flash parts and boards

          When I tried to install the newer version from the .tar.gz, I had to install using "sudo make install" otherwise it would return "Permission denied". But when I type "jtag" in sudo user or not, it returns:

          jtag: error while loading shared libraries: liburjtag.so.0: cannot open shared object file: No such file or directory

           

          Last edit: Lucas Matheus dos Santos 2021-04-05
  • Geert Stappers

    Geert Stappers - 2021-04-05

    Lucas, make new start.

     
  • Geert Stappers

    Geert Stappers - 2021-04-05
    • status: open --> closed
     
  • Geert Stappers

    Geert Stappers - 2021-04-05

    The idea behind the advice of a new start is have a pure issue.

    Either an issue pure about urjtag installed at Ubuntu 18.04 which states the version urjtag.

    Either an issue pure about self compiled urjtag or about a path to such binary.

    Either an issue pure about the original problem.

    Something different: No large edits after posting.

     
    • Lucas Matheus dos Santos

      Alright, sorry for my inconvenience.
      I'll modify the #135 Ticket to be about my current installation problem, because I think that the ARM-USB-TINY-H cable is available at the newer urjtag version, is it okay?

       

Log in to post a comment.