Keil Logo

MCB900: Flash Magic: Parameter-Settings with PK51

Information in this knowledgebase article applies to:

  • PK51
  • µVision 4
  • Flash Magic Version 6.80 and later


After upgrading Flash Magic, flash downloading no longer works in µVision. What do I have to adapt?
I see one of the following messages in µVision:

 "Invalid parameters for DEVICE directives"
 "Hex file programming failed: device configuration not supported"


The provided Keil examples are compatible to former versions of the command-line version of Flash Magic (FM.EXE) only. 

We have recognized an incompatibility since version 6.80 of Flash Magic. This and later versions require different parameter settings of the parameter string passed.


The parameter string offered in the KEIL examples (Options for Target/Utilities at Arguments) has to be modified. A functional example is:


Please note that the DEVICE argument now requires an additional 3rd parameter. 

Also, the DEVICE CPU parameter must be identical to the CPU in use as there is no automatic detection offered.

Refer to Help -> Manual in Flash Magic for detailed information about each parameter.



Last Reviewed: Monday, October 26, 2020

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.