Keil Logo

µVISION DEBUGGER: Internal DLL Error Debugging with ST-Link Driver

Information in this knowledgebase article applies to:

  • ST-Link Firmware VJ15xx and later


When starting the debugger with the ST-Link target driver, you receive the following error in the command window:

Internal DLL Error
Internal command error
*** error 57: illegal address (0x08000000)


This can happen with the ST-Link target driver when the Download to Flash option is checked in the Cortex-M Target Driver Setup dialog.


Uncheck the Download to Flash option in Options for Target, Debug tab, Settings.

To automatically download your application when the debugger starts, check the Update Target before Debugging checkbox in Options for Target, Utilities tab.


This is corrected in MDK V5.15.



The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Friday, March 23, 2018

Did this article provide the answer you needed?
Not Sure
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.