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.

DM8168 C674 SYS/BIOS PROGRAM CANOT LOAD BECAUSE OF SYS/BIOS BUG?

Other Parts Discussed in Thread: SYSBIOS

Hey friends!

        I have just encouter a problem  when debuging  the evmdm8168,the C674`s sys/bios based program I establish  by the CCS SYS/BIOS demo wizzard canot load!!

         when l load the sys/bios based pregram ,the dubug state auto show "running "state,with the report says,

        "canot find a sourse file at "/db/vtree/library/trees/avala/avala-q27x/src/ti/sysbios/timers/dmtimer/timer.c".

         by the way,the  CCS version I used is 5.2.0.00069?

         does it a SYS/BIOS bug?

  • Hi vivian MO,

    I don't think you're seeing a bug.

    vivian MO said:
    when l load the sys/bios based pregram ,the dubug state auto show "running "state,with the report says,

    The default configurations for CCS are to automatically run to main() when the program is loaded.  I think this is why you see the target running after loading.

    You can configure CCS not to run automatically after program load and instead the PC will stay at c_int00 and wait for you to run or step.

    vivian MO said:
    "canot find a sourse file at "/db/vtree/library/trees/avala/avala-q27x/src/ti/sysbios/timers/dmtimer/timer.c".

    This message is normal and will appear when you halt the processor.  The message is telling you that the PC is currently located within the context of that file (timer.c), but CCS doesn't know where to find it.  If you are building for debug mode, you should be able to browse to that file (you'll find it in your SYS/BIOS installation) to open it for source debugging.

    Steve

  • Hi Steven Conell

           Thanks for your suggsetion.I have found the reason is that the dmtimer hasnot be initialed .

  • vivian MO,

    Ok.  But has your problem been resolved?  Or are you stuck on the DMTIMER initialization?

    This initialization should be done in a  GEL file.  Are you loading the correct GEL file?

    Steve

  • Dear Steven

            My problem has partly resolved ,because I didnot find the correct GEL flie yet.I  disable the Clock module,

            by add the following to your config script:

             BIOS.clockEnabled = false;

  • vivian MO,

    vivian MO said:
      BIOS.clockEnabled = false;

    Why did you set this to false?  Is this what you really want or were you just doing it to try to get things working?

    I think at this point it would be best for you to try running a simple SYS/BIOS example.

    Can you try building and running the "hello" example?  Does that example work for you?

    Steve

  • Steven:

    ]

    Steven Connell said:

    Why did you set this to false?  Is this what you really want or were you just doing it to try to get things working?

          

          I just try to get things working.

    Steven Connell said:

    I think at this point it would be best for you to try running a simple SYS/BIOS example.

    Can you try building and running the "hello" example?  Does that example work for you?

          I have building and runing the SYS/BIOS hello example.   The example is not work for me if i donot set

          "BIOS.clockEnabled = false;".

          By the way, my CCS version  is"CCS5.2.0.00069".

  • vivian MO,

    Can you try using this GEL file?  This should enable the timers correctly on your device.

    Steve

    5481.ti816x_ddr.gel