Technical Support

GENERAL: FLASHING FROM A FILE DIFFERENT THAN THE PROJECT OUTPUT


Information in this knowledgebase article applies to:

  • µVision Version 2 and Later

SYMPTOM

After compiling my project in µVision I call a script that performs post processing and merges the µVision projects hex file with another hex file to create my final image. Can I tell my µVision project to load the final image instead of the project's output file?

RESOLUTION

Yes, you can accomplish this by taking advantage of the flash initialization file and the µVision Load command.

  1. Create a new text file with a ".ini" extension.
  2. In the .ini file add the Load command for the file that you wish to load. See LOAD in the More Information section for how to use the µVision Load command.
  3. In Options for Target — Utilities tab under Use Target Driver for Flash Programming, set the initialization file to the .ini file that you just created. 
Now when you perform a Flash Load, it will load the image specified in your .ini file.

MORE INFORMATION

  • Refer to LOAD in the µVision User's Guide.

Last Reviewed: Monday, August 10, 2009


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