Avant Rev 03x: Why program Quad SPI Flash Programming failed with JTAG2SPI Bridge
Description
- User may experience Radiant Programmer fails to perform SPI flash programming via the JTAG2SPI bridge function on Avant Versa RevA Boards populated with Micron MT25QU512ABB8E12-0SIT (Quad) for Avant 03A silicon.
- There is no issue accessing MT35XU512 (Octal SPI Flash) with the JTAG2SPI interface.
- The dual function pins DQ3/Hold# of the Quad SPI flash are driven low by the Avant 03x device during JTAG2SPI bridge mode, causing flash programming to fail.
Resolution
Use any of the following workarounds to mitigate the issue:
- Use the SSPI->MSPI bridge or the SPI Direct Programming operation to program the QSPI flash.
- Source Quad SPI flash that does not have dual function pins DQ2/WP# and DQ3/Hold#. Example of QSPI flash is shown in the table below
Voltage | Density | Quad SPI Flash Part Number | Package |
3.3V | 256Mbit | MX25L25673GZ4I-08G | 8-WSON (8x6mm) |
512Mbit | MX25L51273GZ4I-08G |
1.8V | 256Mbit | MX25U25673GMI40 | 16-SOIC (7.5mm Width) |
512Mbit | MX25U51293GMI40 |
3.3V | 256Mbit | W25Q256JVEIQ | 8-WSON (8x6mm) |
512Mbit | W25Q512JVEIQ |
1.8V | 256Mbit | W25Q256JWFIQ | 16-SOI (7.5mm Width |
512Mbit | W25Q512NWFIQ |
- Use a third-party programmer to program the QSPI flash before mounting it on the board.
- Disable the WP and HOLD pins in the flash’s registers via a third-party programmer before mounting it on the board.
- Disconnect the DQ2 and DQ3 connections between the QSPI flash and FPGA on the board, temporarily using x1/x2 mode while waiting for silicon fix.
The issue is planned to be fixed in next Avant silicon revision.
Related Articles
Radiant Programmer: What is Erase, Program, Verify Quad 1 operation used for?
Description: Erase, Program, Verify Quad 1 enables that QE bit to '1'. In general, there are two (2) requirements/steps to enable booting from external SPI Flash through x4 (QUAD Mode) Step 1 - Convert the bitstream file into hex (Quad I/O read mode) ...
6179 - How do user program Lattice FPGA after programming a bitstream to the SPI Flash with JTAG_PORT and MASTER_SPI_PORT set to DISABLED?
Description: When JTAG_PORT and MASTER_SPI_PORT is set to DISABLED, user can no longer access the configuration logic through JTAG and MSPI Port. Thus, user can't perform programming with the interface. Solution: To workaround on this, user can ...
How to enable SSPI programming in MachX03-9400 Development Board
To enable SSPI programming, this is the generic checklist user should follow through: Enable SPI port in Diamond/Radiant Software Tools some device may have Slave SPI port enabled, but it is essential for user to cross-check their project to ensure ...
7118 - MachXO3D: Why does MachXO3D device flash programming operation failed with "ERROR - Failed in Function FLASH_ENABLE" when Password Protection was enabled?
Description: After user enabled Password Protection feature in Diamond Programmer and program the passkey into MachXO3D device, user may experienced Flash Programming Mode operation failed with the following error message: ERROR - Failed in Function ...
6916 - Avant-E Evaluation Board: How to speed up the Avant-E Evaluation Board boot/configuration time through external SPI flash?
To speed up the Avant-E Evaluation Board, you need to follow the steps described in the following. Resources used: Hardware: · Avant-E Evaluation Board REV B · HW-USBN-2B Lattice Programming Cable Software: · Radiant Software 2022.1.1.289.4 · Radiant ...