<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><div>I am trying to write to the sdram but am not 100% sure if I can directly write to it with out doing a ioremap or not. I am working with a xilinx ml403 board and have a program we are writing that accepts a pointer to the sdram address that contains the data the program needs. Do I need to do ioremap(xilinx base address, size) and then just use that address pointer I received to pull the data out?</div><DIV> </DIV><DIV>Or do I need to manipulate the address I receive I beleive the address I will receive will be the physical sdram address linux sees. But not sure if i need to set anything else to do read and writes to it. </DIV><DIV> </DIV><DIV>Any help or if anyone has an example code of reading and writing to an sdram I would greatly appreciate it.</DIV><DIV> </DIV><DIV>Attached is the code I wrote using ioremap that seems to work but it seems to be that I might just be writing to the hardware registers in the xilinx ddr controller.</DIV><DIV> </DIV><DIV>All the io to my custom hardware was tested and works fine with the ioremap function in the cpp file attached but again I feel I am writing to the hardware registers in the ddr controller and not the actual sdram. But I may be wrong just want to verify. </DIV><DIV> </DIV><DIV>Thanks<BR>Brett</DIV></FONT>