Keil Logo

MCB900: Flash Magic: Parameter-Settings with PK51


Information in this knowledgebase article applies to:

  • PK51
  • µVision4
  • Flash Magic Version 6.80 and later

SYMPTOM

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"

CAUSE

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.

RESOLUTION

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

"DEVICE(P89LPC935,$X,0) HEXFILE("#H",NOCHECKSUMS,NOFILL,PROTECTISP) COM(2,7200) HARDWARE(KEILMCB900)"

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.
Please refer to Help -> Manual in Flash Magic for detailed information about each parameter.

MORE INFORMATION

SEE ALSO

Last Reviewed: Monday, August 20, 2012


Did this article provide the answer you needed?
 
Yes
No
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.