Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20688 Discussions

Cyclone V: Can`t write data to MT25QL256 user space with ASMII II

Lecsano
Beginner
824 Views

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.

epcq_tclk.png

 

Can someone help with this issue?

0 Kudos
2 Replies
Lecsano
Beginner
425 Views

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)

0 Kudos
YuanLi_S_Intel
Employee
425 Views
Hi Alexandr, This is weird. By right the IP will automatically select the right code depending on the configuration device that you use. Just would like to check, have you selected the correct configuration device during the generation of POF file? Regards, YL
0 Kudos
Reply