Thanks for your reply.
The issue occurs on all 4 of our custom boards. So I'd assume the RAM modules are working good.
I did try writing, 1k of data, to multiple places (0x31000000, 0x31000800, 0x33f80000, 0x33f80f00, etc.) and got the same result.
I did check the code to make sure it's writing only once. Not only it occurs with OpenOCD, the issue also occurs when writing to ram using U-Boot.
In addition, I just found out a different behavior. When running the board without initializations from U-Boot and writing one byte to location ADDR_X (ex: 0x31000000), it writes to all 4 bytes from ADDR_X to ADDR_X+4. In this case, it doesn't write to ADDR_X+0x400 as in the previous case.
Thanks.
|