Forum Discussion
Altera_Forum
Honored Contributor
14 years agoAVALON-MM Master Template on DE2
I'm attempting to use the Avalon-MM Master Templates located at: (altera.com/support/examples/nios2/exm-avalon-mm.html) in order to control some external SDRAM on the Terasic DE2 Development board an...
Altera_Forum
Honored Contributor
14 years agoSince you are attempting to transfer only 2 bytes have you setup the read master to be 8 or 16 bits wide? I seem to recall it only being able to handle transfer lengths that are a multiple of it's data width. So if you set the read master to be 32-bit I could see it treating 2 bytes as 0 bytes and completing without issuing any reads.
The location being read from also needs to be aligned in memory as well. So if you use say a 16-bit master then your memory location needs to be on a 2 byte boundary.