Altera_Forum
Honored Contributor
13 years agoNIOS : IOWR works fine but writing through a pointer not
I have two problems with a generic NIOS system with data and instruction caches.
1. A Avalon MM slave is attached to NIOS system. A write to the slave is successful through IOWR. However, without IOWR using simple pointers, its unsuccessful. The following code does not generate any write transaction to the slave port. Any suggestion..? int * PtrToSlave = (int *) Avalon_MM_Slave_Base; writedata = generatedata() ; *PtrToSlave = (int) writedata ; 2. How to support burst transfer to the same slave without DMA...? The NIOS Avalon data master does support burst transfer and caches are also used to support this.