Nios-V alt_epcq_controller_write() Problem
Hi, I have a flash on my custom board which is MT25QU01G. The flash is connected to Nios-V/g with Epcq Controller. I am trying to erase, write, read sectors from flash. Before write and erase I unlock all sectors and after write and erase I lock all sectors. The problem is that my alt_epcq_controller_write() returns success(0) however it doesn't write to flash memory. I read same data from same place and it is not changed. I also look that memory from memory browser and still nothing changed. I call erase method before each write method since it is nor flash but nothing happens. Could you please help me about the problem. Thanks, BalerionSolved150Views0likes13CommentsAddress Space?
Hi I am confused about the address space requirements when using your own Avalon master in a custom module. (see attached) Why do I have to use more address bits than I need when I only drive one module. It appears that I have to add 2 extra bits to my address space for every module I go through to account for the interconnection fabric. This means that the address I generate has to be 28 bits instead of the 24 bits I need to address the RAM I know it is probably something stupid I am doing here. What am I missing? Thanks for the help100Views0likes12Comments