Hi Vinay
in i.MX25 address translation is based on the following concept: COLUMN - ROW - BANK.
So for 0x81000000; // RAM destination address, 0x0"1"000000 corresponds to A24 described in
Table 24-17. Address Multiplexing by Column/Row Width for 16-bit Devices
i.MX25 Refernce Manual. Since device with row address width 13 do not have it,
it accesses to 0x80000000, ignoring it.
https://www.nxp.com/docs/en/reference-manual/IMX25RM.pdf
> Is it allowed to change the row address width after ESDRAM has been initialised?
sorry, not allowed.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
Thanks for the response.
After your response, it is clear that I cannot set the row address width to 14 for a 512 Mbit SDRAM memory device (I was trying to achieve a generic Redboot for both 512 Mbit and 1 GBit memory devices). It is messing up the bank selection if the row address width is set to 14 for a 512 Mbit SDRAM memory device.
The option I can think to make Redboot generic for both devices are -
Let me know what do you think.
Thanks,
Vinay
Hi Vinay
I think all these options are feasible.
Best regards
igor