Forum Discussion
Altera_Forum
Honored Contributor
14 years agoIn the above code i was testing for just a word transfer(4 bytes) . When I tried transferring 16 bytes, the 00000000s in the result changed as follows:
Hello from Nios II! Testing DMA transfer from DDR to SRAM Data: abcd1234 is correctly written to memory offset on DDR: 00000500 Data: efab5678 is correctly written to memory offset on DDR: 00000501 Data: 4c263e03 is correctly written to memory offset on DDR: 00000502 Data: 9df77540 is correctly written to memory offset on DDR: 00000503 Read abcd1234 from address 00000500 on DDR Read efab5678 from address 00000501 on DDR Read 4c263e03 from address 00000502 on DDR Read 9df77540 from address 00000503 on DDR Transmit channel setup successful Receive channel setup successful Transfer successful! Read 08080808 from address 41030000 //WroNG RESULTS!:( Read 7665642f from address 41030001 Read 7665642f from address 41030002 Read 61746a2f from address 41030003 But still wrong results!:(:(:( Many Thanks. Appreciate your response!