In the Quartus® II software version 13.1 and version 14.0, altera_avalon_epcs_flash_controller HAL does not support EPCQ32.
This is due to "<install_dir>\ip\altera\sopc_builder_ip\altera_avalon_epcs_flash_controller\HAL\src\altera_avalon_epcs_flash_controller.c" the code for EPCQ32 is not included in the EPCQ checking condition within the line#145 to line#175.
To work around this issue, you may add the code below manually into line#151 to have EPCQ32 supported in HAL.
"
else if ((flash->silicon_id & 0xFFFFFF) == 0x20BA16) /* EPCQ32 */
{
flash->dev.region_info[0].region_size = 32 * 1024 * 1024 / 8;
flash->dev.region_info[0].number_of_blocks = 64; /* number of sectors */
flash->dev.region_info[0].block_size = 65536; /* sector size */
}
"
This problem is scheduled to be fixed in a future release of the Quartus® II software.