Hi. I have custom board with Cyclon V and MT25QL256 .
Refer to "ASMI Parallel II Intel® FPGA IP Core User Guide", I can read, erase memory via SystemConsole. But "write_memory" command don`t work.
I try erase and write data to user space memory (from 0x0100'0000) and to area from from 0 to 0x0100'0000.
When I write JIC file with hex data at 0x0100'0000 address all fine, but I need write new data on fly.
On this picture I read data programmed with JIC, erase sector, write data, but memory don`t change.
Can someone help with this issue?
I found solution! Refer to "Quad-Serial Configuration (EPCQ) Devices Datasheet " from Intel, operation code is 0x12 for Extended Quad Input Fast Write Bytes Command. But for MT25QL256 this code is 0x38. So I changed it in "altera_asmi2_xip_controler.sv" and all works)