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.

Rebuild the SYS/BIOS

Other Parts Discussed in Thread: SYSBIOS

Hello, Everyone!

When I used the package in CCSv5.1.1 and that package was rebuilt in DOS command line according to the procedures described in the pdf named "Bios_User_Guide", there is a question.

I used the event example in CCS. But I modified the return value of the function Event_pend in Event.c file (the path:\ti\sysbios\knl). Meanwhile, I selected the repository from file-system, and browsed to the “packages” directory of the location where I copied and rebuilt SYS/BIOS.

But when the program was running, the printed information about the return value was not the value I set.

I can  confirm that the file I modified is rebuilt, but why is the return value not the same as what I set??

Can you give me the answer?

And what is the problem I have?

  • Hi Meng,

    can you perform a "Clean Project" on your CCS project and then perform a build?

    When you are building your project, is the console output showing that you are using your custom version of SYS/BIOS?

    Does your console output show print something similar to this: --xdcpath="C:/mybios/custom_bios_#_##_##_##/packages;

    Have you deselected the all of the SYS/BIOS repositories in your CCS project?



  • Thank you, Tom.

    1. Before I performed a build, I had already performed a "Clean Project" as follows.

    2. When I built my project, the console output showed the package I rebuilt. it printed the xdcpath as follews.

    3. Of course, I deselected all of the SYS/BIOS repositories in my CCS project as follows.

    So what's the problem??


    Meng

  • Hi Meng,

    Looking at the snapshots, you are pulling in your custom SYS/BIOS. I don't know what changes you've made to your Event_pend(). Could there be a problem with your changes?

    Are you able to put a breakpoint in the Event_pend() function at which you made the changes?

    1. When you debug your code, you can use the disassembly window and find the: ti_sysbios_knl_Event_pend__E symbol.
    2. Insert a breakpoint at the beginning of the function and Run your application.
    3. When your app hits the breakpoint, you should be able to view the modified source code in the editor and step through the code.