Currently the user only gets an error when the echo buffer checker detects an overflow via the Echo buffer exceeded total space in ARAM by 0xXXXX bytes error message. This should be upgraded to instead do the following...
Detect a memory overflow caused purely by the sample data. A hot patch, if one isn't already used, may need to be auto-generated purely so that initialization can disable echo writes if it makes it to within the last 0x100 bytes of so without using echo.
Detect a memory overflow caused by the echo data overwriting sample data.
In both cases, they should also have greater precision than what they currently give (which is the nearest 0x100 byte block), especially for those close call cases.
Currently the user only gets an error when the echo buffer checker detects an overflow via the
Echo buffer exceeded total space in ARAM by 0xXXXX bytes
error message. This should be upgraded to instead do the following...0x100
bytes of so without using echo.0x100
byte block), especially for those close call cases.