Hi,
I've a small program in bram which has a pointer to sdram.
static volatile BYTE * const p_sdram = (BYTE *) XPAR_SDRAM_CTRL_BASEADDR;
in my code I try to fill the sdram (by the way, it's 32-bits wide databus):
for (i = 0; i < 16; i++) { *(p_sdram+i) = i; }
Now comes the problem: when I read back the data, each 2 bytes are exchanged. Reading back is done with the same byte pointer:
for (i = 1; i