Forum Discussion
Altera_Forum
Honored Contributor
15 years agoThanks BadOMen. I'm still the same problem. The zs_dq_to_and_from_sdram[0..31] always retuns 0 when I call read. But the write ok.
I also include the capture Write and Read Write CS, RAS, CAS, WE = L H L L Read CS, RAS, CAS, WE = L H L H In Nios i = 5; IOWR_32DIRECT(SDRAM_BASE, i*4, i); printf("Write: %x\n", i); usleep(10); i = 5; r = IORD_32DIRECT(SDRAM_BASE, i*4); printf(" Read: %x\n", r); Output Write: 5 Read: 0 ~Sean