Forum Discussion

DomBraLV's avatar
DomBraLV
Icon for New Contributor rankNew Contributor
3 years ago
Solved

Failed driver initialization of Serial Flash Controller II Intel FPGA IP

Hi all, I'm having a little trouble initializing the driver of a Serial Flash Controller II Intel FPGA IP core within a Nios2 system on a Cyclone 10 (10CX220YF780) FPGA. The flash device is conn...
  • DomBraLV's avatar
    3 years ago

    Hi Sheng,

    I have received some information regarding this topic from another end. An acqaintance of mine contacted the Intel support directly and just heard back from them.

    Here's the answer he received:

    There is a mistake in the Platform Designer for the "Serial Flash Controller II"
    The "Serial Flash Controller II" IP does not support external flash such as Micron.
    If you refer to the document located here:
    https://www.intel.com/content/www/us/en/docs/programmable/683130/22-2/configuration-device-types-85589.html

    Somehow there is a bug in the platform designer for the "Serial Flash Controller II" that the drop down list showed other flash option than intended.

    The correct IP that the customer should use is the "Generic QUAD Flash Controller II".
    If you see the code, there is a shift of 2 bytes to properly read the "memory capacity" byte instead of the device ID.


    I verified his suggestion to use the "Generic QUAD SPI Controller II" instead. Now it gets initialized automatically in alt_main() like a charm.

    Thank you for your effort!

    Best regards

    Dominik