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

Can't step through STR9LIB code

If I use any of the library source code from C:\Keil\ARM\RV30\LIB\ST\STR91x (91x_ssp.c for example but it is the same for all of them) and build the project (with no compiler or linker warnings or errors), I can not step through any lines that are in 91x_ssp.c. It appears to be a bug in uVision, since it opens the correct file if you step-into (F11) but it does not display the PC pointer (yellow arrow) and aligns the window to line1 of the text file, not the function you have stepped into. Also, the left margin of the editor is all light-grey, which is wrong. It should show dark gray where break-points are possible. It is as if the debug database is corrupted for these files (but not the other files, such as main.c or Retarget.c). This happens out-of-the box using the EXAMPLE code for the STR912 (MCB-STR9 demo board).
C:\Keil\ARM\RV30\Examples\ST\STR91xLib\SSP\EXAMPLE1

If I cut'n'paste the contents of the file into main.c for example, then I can step into the source code. However, a bunch of other games I have tried (renaming the files, moving them to different directories) all gives the same result -- I can't step through the library code.

Parents
  • This is a bug (or a feature) in the evaluation version. You cannnot step trough source in different directories.

    Copying the source files to the project directory would
    help, I hope. The full version don't have this behavior.

    Please recheck in the coming update this again.

Reply
  • This is a bug (or a feature) in the evaluation version. You cannnot step trough source in different directories.

    Copying the source files to the project directory would
    help, I hope. The full version don't have this behavior.

    Please recheck in the coming update this again.

Children
No data