Article ID: 000079422 Content Type: Troubleshooting Last Reviewed: 06/15/2015

Flash Memory Corrupted

Environment

  • Quartus® II Subscription Edition
  • BUILT IN - ARTICLE INTRO SECOND COMPONENT

    Critical Issue

    Description

    The contents of flash memory might be corrupted when you erase or write to the memory using the Nios II HAL driver for the Altera serial flash controller, also known as the EPCQ controller. Memory corruption can occur two ways:

    • The EPCQ erase function incorrectly assumes that the location is specified by a sector number, but the correct generic HAL API definition requires a sector offset.
    • The write function writes the specified data correctly, but writes beyond the length specified in its arguments, corrupting data directly after the modified data.
    Resolution

    Upgrade to the Nios II Embedded Design Suite v15.0 or later.

    Related Products

    This article applies to 2 products

    Intel® FPGA Configuration Device EPCQ
    Intel® Programmable Devices