• Content count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About sleary78

  • Rank

Profile Information

  • Gender
    Not Telling
  1. sleary78

    Using flashrom with the Papilio Pro

    All, Thanks for the explanation. It hadn't occurred to me to use the Papilio Pro as a programmer for things not on the board. I'd assumed the programmer was for programming things on the board already! The xc3sprog may be the way to go. Although i'd be happy with read-modify-write cycle. But the papilio programmer doesnt have an obvious "read out contents of chip" feature. Cheers Stephen
  2. sleary78

    Using flashrom with the Papilio Pro

    Ok i think i have the issue here.. The wiki says.. "The Papilio Pro includes a reset header (JP4) that can be populated with a jumper to hold the Spartan 6 FPGA in permanent reset mode. This frees up the JTAG Header to be used as an FT2232 JTAG/SPI/MPSSE Programmer." Unfortunately this doesnt seem to work. With a jumper in place i still get ID's back from the Spartan 6 and cannot see the SPI Flash on the JTAG chain. If the above statement is not accurate could we remove it from the wiki? I've spent quite a bit of time trying to solve this one (and nagged the flashrom guys) and it appears that the hardware doesnt support direct access to the SPI flash. I'd rather others didnt do the same.
  3. Hi, I've been trying to get flashrom v0.98 working with the papilio pro with not much luck. I had Jumper 4 closed off and tried flashing the boundary scan bit file with the loader too. No luck. Im not satisfied with the bitmerge approach to the flash rom management and i'm looking for other tools to manage this. One thing i did notice while trying to diagnose the issue is that the wiki page says.. Channel A is connected to the Papilio Pro in an Asynchronous serial UART configuration that is capable of speeds up to 2MHz.Channel B is connected to the JTAG pins of the Papilio Pro and provides very fast programming of the FPGA (500mS). However the circuit diagram shows the JTAG pins connected to port A. Could this be updated? If anyone has had any luck with flashrom program let me know. I also have a bunch of other JTAG programmers (Xilinx USB and USB Blaster) if anyone has had success with them. Cheers Stephen Output from flashrom.. stephen@debiandev:~/svnwork/flashrom$ sudo ./flashrom -p ft2232_spi:type=2232H,port=A -V -c MX25L6436E/MX25L6445E/MX25L6465E/MX25L6473Eflashrom v0.9.8-r1896 on Linux 3.16.0-4-amd64 (x86_64)flashrom is free software, get the source code at flashrom was built with libpci 3.2.1, GCC 4.9.2, little endianCommand line (5 args): ./flashrom -p ft2232_spi:type=2232H,port=A -V -c MX25L6436E/MX25L6445E/MX25L6465E/MX25L6473ECalibrating delay loop... OS timer resolution is 1 usecs, 1479M loops per second, 10 myus = 15 us, 100 myus = 148 us, 1000 myus = 1417 us, 10000 myus = 8582 us, 4 myus = 5 us, OK.Initializing ft2232_spi programmerUsing device type FTDI FT2232H channel A.FTDI chip type 2 is not high-speed.Set clock divisorMPSSE clock: 12.000000 MHz, divisor: 2, SPI clock: 6.000000 MHzNo loopback of TDI/DO TDO/DISet data bitsThe following protocols are supported: SPI.Probing for Macronix MX25L6436E/MX25L6445E/MX25L6465E/MX25L6473E, 8192 kB: RDID byte 0 parity violation. probe_spi_rdid_generic: id1 0xff, id2 0xffffNo EEPROM/flash device found.Note: flashrom can never write if the flash chip isn't found automatically.
  4. sleary78

    MX25L6445 SPI/BPI device not found in iMPACT

    Thankyou. That should suffice for now. I think adding "write binary file to specific address" would be useful for the loader at some point. The SPI flash is a little large to fill up in one hit and some tools to generally manage them would be nice (but who has the time .. ).
  5. sleary78

    MX25L6445 SPI/BPI device not found in iMPACT

    Is there a way to write an mcs file to the papilio pro? More specifically the problem I am trying to solve is to have a file that writes data sections to predefined addresses in the SPI flash. e.g. I want to put binary images at the 1M boundary, different ones at the 2M boundary (just an example). My core can read the spi flash happily by address (ported from the Atlys) but I cant find a way to write a binary file to a specific SPI address like i can with the Adept software. Cheers Stephen