<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hi,<br>
    <br>
    I'm testing an Amontec JtagKey-tiny interface for programming a
    SST25VF040B eeprom i'm using in a project.<br>
    The Jtagkey-tiny is detected without problems, it reads the eeprom
    ID and is detected.<br>
    <br>
    But when i try to read it contents, i get an error:<br>
    <br>
    <blockquote>$ ./flashrom -p ft2232_spi:type=jtagkey,port=A -Vr
      test.bin<br>
      flashrom v0.9.3-r1205 on Linux 2.6.32-26-generic (i686), built
      with libpci 3.0.0, GCC 4.4.3, little endian<br>
      flashrom is free software, get the source code at
      <a class="moz-txt-link-freetext" href="http://www.flashrom.org">http://www.flashrom.org</a><br>
      <br>
      Calibrating delay loop... OS timer resolution is 2 usecs, 1000M
      loops per second, 10 myus = 11 us, 100 myus = 91 us, 1000 myus =
      904 us, 10000 myus = 9823 us, 8 myus = 10 us, OK.<br>
      Initializing ft2232_spi programmer<br>
      Using device type Amontec JTAGkey interface A<br>
      Set clock divisor<br>
      SPI clock is 2.000000MHz<br>
      No loopback of TDI/DO TDO/DI<br>
      Set data bits<br>
      [Probings ommited]<br>
      Probing for SST SST25VF040B, 512 KB: probe_spi_rdid_generic: id1
      0xbf, id2 0x258d<br>
      Chip status register is bf<br>
      Chip status register: Block Protect Write Disable (BPL) is set<br>
      Chip status register: Auto Address Increment Programming (AAI) is
      not set<br>
      Chip status register: Bit 5 / Block Protect 3 (BP3) is set<br>
      Chip status register: Bit 4 / Block Protect 2 (BP2) is set<br>
      Chip status register: Bit 3 / Block Protect 1 (BP1) is set<br>
      Chip status register: Bit 2 / Block Protect 0 (BP0) is set<br>
      Chip status register: Write Enable Latch (WEL) is set<br>
      Chip status register: Write In Progress (WIP/BUSY) is set<br>
      Resulting block protection : all blocks<br>
      Found chip "SST SST25VF040B" (512 KB, SPI) at physical address
      0xfff80000.<br>
      [More probings ommited]<br>
      [UNTESTED status warning ommited]<br>
      Some block protection in effect, disabling<br>
      Missing status register write definition, assuming EWSR is needed<br>
      Reading flash... ftdi_write_data: -110, usb bulk write failed<br>
      send_buf failed at end: 1<br>
      Read operation failed!<br>
      FAILED.<br>
      <br>
    </blockquote>
    As you can see, i tried to low the SPI speed to 2MHz.<br>
    Any idea? I know this part is marked as UNTESTED, but it should work
    as SST25VF080B do.<br>
    <br>
    Thanks,<br>
    Carlos<br>
  </body>
</html>