Dan Moos wrote:
I have I/O directly after the SRAM If I try to write to that, currently my UART will get some sort of garbage activity!
Instead of having the initial memory test work upward, can't you just start immediately below the I/O and work downward?
As for mirrored (aliased) regions, maybe you can detect those by writing the
address which you intend to test to that address. Move down by 8K (or whatever granularity seems suitable) and repeat until there's no more space (actual or aliased). When you read the values back any aliased locations will be apparent.
Finally, if desired, you can move on to exhaustive
functional testing.
-- Jeff
_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html