Keil™, An ARM® Company

Technical Support

ARM: MEMORY MISMATCH ERRORS DURING LOAD


Information in this article applies to:

  • ARM Version 1.1
  • ARM GNU Version 3.22

QUESTION

In the debugger, when I try to load an application, I sometimes get "Memory Mismatch" errors and the error:

*** error 57: illegal address (0x0xxxxxxx)

using the LOAD command. But other times the program loads without error. What could be wrong?

ANSWER

This can be caused by the microcontroller hardware not being reset properly. Check the Use Reset at Startup check box in the ARM Target Driver Setup Dialog (Options for Target -> Debug -> Settings). Checking this tells the debugger to send a hardware reset over the JTAG link before loading.

MORE INFORMATION

  • Getting Started of ARM User's Guide, JTAG Debugging, ULINK: Debug - Settings

SEE ALSO

Last Reviewed: Monday, April 24, 2006


Did this article provide the answer you needed?
 
Yes
No
Not Sure