I am trying to interface a SPI based External NOR flash memory (Winbond W25Q128JVSIQ) to EC200U. I am using SPI2 port to interface flash memory. There are two demo examples I have tried. spi4_ext_nor_flash_demo.c and spi_nor_flash_demo.c but none of them worked. Flash model not support error is occurs in debugger. I checked all hardware connections and it’s proper.
Kindly help by pointing where the actual mistake is.