This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Scrambling of Source Files

It appears that my previously reported difficulty in loading Keil processed source files into Metalink XF is due to the Keil IDE. I had to change the suffixes on all 4 source modules & then put together a new "source group" with them. Then, after rebuilding/loading,the HLL features in XF worked OK (for several hours.) When resuming work today the XF loaded properly again. I then rebuilt the existing code in Keil before making any additions/modifications. The result was 23 new errors in the assembly of the first of the 4 files accompanied by a "target not created" message. This file reads exactly as in the previous successful session but all the errors are due to the failure of the assembler to recognize a statement declaring the start of a relocateable bit segment. No amount of editing of this file seems to help. I may have to manually recreate this 500+ line file in order to make it assembleable. I think that there is a serious flaw in the way files are acessed & written under Keil IDE. Sometimes the source suffixes ".asm" & ".src" seem to matter, other times they do not.

Additionally, the last of the four source files in this group files fails to visually indicate that the "include dependencies" selection is in effect. During that last session it did so correctly. Nothing related to this choice has been intentionally changed. It is obvious that the IDE editor representation of this file differs from what the assembler actually sees.

I bought this software to use in developing my own firmware. It is supposed to be a tool to expedite my projects, not something for me to try to debug before I can efficiently use it.

  • Richard,

    did you already contact support for this problem?

    http://www.keil.com/support/contact.asp

    It should be noted that we never have seen a problem like this before.

  • I think I may have overreacted to the perceived problem regarding scrambling of source files. When I had loaded a source file which was not in the "source group" with which I was working & thought I was assembling it, IDE was actually assembling the similar file already named in the group. When the changes made in this file did not appear in the linked file I thought they had been ignored or not incorporated into the displayed source file. The IDE help material seems to indicate that whatever file you are looking at in the IDE editor will be the one assembled. This is not always true. But there appears to be no confusion or scrambling of files by IDE file management. I was further confounded when Metalink XF loaded the source file from the previous linking & did not reflect the changes I had made.

  • this is not a coplaint or a suggestion, just an observation.

    A result of all the wonderful ideas for making things easy (not just Keils IDE) so many facts get hidden and thus when they make trouble, you do not know what the h... is going on.

    Erik