This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SYS/BIOS issue with finding BIOS.c in Debug

Other Parts Discussed in Thread: SYSBIOS

Howdy!  My current issue is a repeated issue that I found in another forum post.  The previous post was never fully resolved:

http://e2e.ti.com/support/embedded/bios/f/355/p/196122/699944.aspx#699944

Ed Wahler said:

OK, Hello runs and I tried Mutex and it runs. So only when I do a "typical" SYS/BIOS project selection do I have  a problem. So , for now I can take one of the existing samples projects and work from there. Thanks much.

Ed

I am currently having the same problem as Ed...the SYS/BIOS "hello world" program works, but the "typical" program & the "minimal" programs do not work.

Here's the error after running in Debug:

Can't find a source file at "/db/vtree/library/trees/avala/avala-r20x/src/ti/sysbios/BIOS.c"

In CCSv5 my target is C6678, XDCtools version is 3.24.5.48, & SYS/BIOS version is 6.34.2.18.  I am running simulations, not on actual hardware.

Also please let me know if another forum would be better suited for this question!

  • Chris,

    If I understand you correctly, the program builds fine and even runs fine?  But when stepping into code it pops up that error message?

    Judah

  • Correct. Thanks for the reply Judah.

    It builds correctly and runs in the simulator (I see my printf's in the console, etc.).  Then at the end it gives that error.

    What other information could I provide in this forum to help understand this issue?

  • Chris,

    I think what's happening is that you are linking with some prebuilt BIOS libraries and so when it tries to find the source file, its complaining that it can't find the original path of the source file.

    There's a couple of ways you could get around this:

    1.  Rebuild your application specifying a custom BIOS library.  You can do this by doing adding the following lines to your .cfg file:

        var BIOS = xdc.useModule("ti.sysbios.BIOS");
        BIOS.libType = BIOS.LibType_Custom;

    2.  You could rebuild the pre-built BIOS libraries but this requires a few additional steps so I don't recommend do it this way unless you have to.  You can look at Appendix A in the BIOS User Guide.pdf for more info.

    Judah

  • judahvang said:

    1.  Rebuild your application specifying a custom BIOS library.  You can do this by doing adding the following lines to your .cfg file:

        var BIOS = xdc.useModule("ti.sysbios.BIOS");
        BIOS.libType = BIOS.LibType_Custom

    Judah, Thank you for your response.

    Unfortunately, my project does not have a .cfg file.  I am not using RTSC.

    Does this sound correct?  Or am I missing something?

  • Chris,

    That doesn't sound right.  You are building a SYSBIOS application without a .cfg file?  Using RTSC should mean that you have a .cfg file because the .cfg file is also known as the RTSC configuration file.  RTSC is what is used to comprehend the .cfg file.

    Judah