Hi I am using an Arria 10 with Linux on the HPS. The EPCQ-L is my FPGA configuration device. I want to be able to update it through the HPS. I connected the avl_csr and the avl_mem from the Serial Flash Controller II Altera IP to the HPS’s lightweight hps2fpga bridge. I can read and write to the EPCQ, but I cannot write 1’s. In order to write 1’s I believe I need to erase sectors. This is where my problem occurs, I cannot seem to get the erase to work at all.
I feel like I am missing something minor that is causing it not to work. I am writing at the offset FLASH_MEM_OP 0x3 on avl_csr. I have tried different values, but I thought the easiest to test would be sector 0, which I wrote 0x00000002 to try to erase it. However, as mentioned before there is no change. If I write all 0s, no bits will flip to 1 until I reprogram the .jic file.
How can I start debugging this problem? (I am still pretty new to all of this)
I have also tried using ASMI II IP core, but I run into the same problem. I can read and write, but I cannot erase sectors.