Keil Logo

µVISION DEBUGGER: PROGRAMS BUILT WITH MAKE UTILITIES


Information in this article applies to:

  • µVision Version 2

QUESTION

I have an existing application that I built with an external MAKE utility. Can I use the µVision debugger without generating a project file for my application?

ANSWER

Yes. The µVision Debugger requires only a dummy project that configures the CPU. All other information can be obtained from the object file you are debugging. Use the following steps to debug an application that is built with a standard MAKE utility:

  1. Start the µVision IDE and create a new project.
  2. When prompted to select a chip from the device database, select the chip that you use on the actual hardware. This chip is used to configure the debugger. Note: Be sure to set the target options under the Target tab to match your target hardware memory requirements.
  3. Do not add any files to the project.
  4. Specify the name of the executable file you want to test under Project - Options for Target - Output - Name of Executable. By default, µVision uses the project file name without extension.
  5. Under Project - Options for Target - Debug. Change the debugger settings as required for your application. Note: Be sure that the Simulator Setup is what's actually required for your target hardware.
  6. Select Start Debug Session from the Debug menu. This starts the debugger and loads the application you specified in step 4.
  7. If your application was built with debug information, the µVision Debugger searches the project folder for the source code to use for source-level debugging. You may set the folder where the source code is located as follows:
    SET SRC = folder1;folder2;folder3
    

    You may specify multiple source folders. You may also specify the SET SRC command in a debugger ini file that is loaded at the beginning of a debugging session.

Note: If you used µVision to create the initial application, check your Target and Debug settings very closely! Make sure that you have copied the original settings exactly.

SEE ALSO

FORUM THREADS

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

Last Reviewed: Saturday, July 9, 2005


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.