ARM Technical Support Knowledge Articles

SOURCE BROWSER PROBLEMS WITH OBJECT DIRECTORY

Applies to: uVision IDE

Answer


Information in this article applies to:


SYMPTOMS

I am using uVision and trying to use the source browser. The source browser works OK when I select the Browse Information check box in the Output tab of the Project Options.

However, when I select a directory to use for my object files AND when I enable Browse Information, uVision responds with the following error message...

Can't open file 'C:KEILC51EXAMPLESTESTTESTCODE'

What's wrong?

CAUSE

When you select a directory for your object files, uVision puts the OBJ files as well as the absolute object file created by the linker in that directory.

The problem here is that the source browser is not looking in that directory. This is a problem that will be corrected in a subsequent release. Check http://www.keil.com/update/ for the latest updates.

RESOLUTION

One work-around for this problem is to specify the path for the executable that is generated. If you place the executable file (the output from the linker) in the project path, the source browser will be able to find it.

If your project path is: C:KEILC51EXAMPLESTEST

And, if your obj file path is: C:KEILC51EXAMPLESTESTOBJ

Then, enter the following path for the Name of Executable in the Output tab of the Project Options: ..TESTCODE

This assumes that your output file is named TESTCODE.

SEE ALSO

Article last edited on: 2004-06-29 10:46:33

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential