Menu

#51 JTAG operations hang with libftdi

0.10
closed-fixed
UrJTAG (101)
5
2008-09-07
2008-02-29
No

Initial JTAG operations hang after init when using the ft2232 cable with ftdi-mpsse.
Different systems exhibit different behavior:

System A
No hangs with r1106, but begins to hang when ftdi_set_latency_timer() in ftdi_mpsse_open() is increased from 16 to 50, for example.

System B
Hangs with r1106. No hangs with ftdi_set_latency_timer(1) but problems begin with latency 5.

System C
Even sporadic hangs with ftdi_set_latency_timer(1).

Several solutions were already tested (refer to thread [UrJTAG-dev] Sometimes detect command hangs).

Discussion

  • Arnim Läuger

    Arnim Läuger - 2008-02-29

    Logged In: YES
    user_id=156321
    Originator: YES

    Problems on system A could be resolved with an experimental patch against libftdi-0.10 (see mailing list thread). Didn't resolve issue with systems B and/or C.

     
  • Arnim Läuger

    Arnim Läuger - 2008-03-01

    Logged In: YES
    user_id=156321
    Originator: YES

    Enhanced the init sequence in ftdi.c to fix the hangs seen with a laptop. The sequence contains also additional commands that are disabled yet and might get enabled in the future if libftdi is updated accordingly.

     
  • Arnim Läuger

    Arnim Läuger - 2008-09-07

    Logged In: YES
    user_id=156321
    Originator: YES

    This issue doesn't occur anymore with r1354 on systems I have access to.

     
  • Arnim Läuger

    Arnim Läuger - 2008-09-07
    • status: open --> closed-fixed
     
  • Kolja Waschk

    Kolja Waschk - 2017-02-12
    • Group: 0.x --> 0.10
     

Log in to post a comment.

MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.