I encounter "error 125: AGDI: memory write failed" when trying to modify a value via a breakpoint command in a .ini script; however, the modification succeeds when manually entering the same command in the Command Window.
Will someone please explain this discrepancy and how to overcome it?
Keil has a helpful page explaining the error. Maybe try adding a MAP command before the BP in the .ini file, to see what the debugger thinks memory looks like. It could be an issue with when the failing command is issued?
View all questions in Keil forum