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.

CCS/TMS320C6678: BIOS_start( ) in SRIO example projects

Part Number: TMS320C6678
Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

Hello,

I studied 3 example projects of SRIO:

example a) SRIO_LpbkDioIsr_evmc6678_C66BiosExampleProject

example b) SRIO_Loopback_evmc6678_C66BiosTestProject

example c) SRIO_TputBenchmarking_evmc6678_C66TestProject

My questions are:

1- Why BIOS_start( ) function is used in main() function of example a and example b and is not used in main() function of example c?

2- Does example c use BIOS_start( )?

3- If I want to send and receive Direct I/O packets between DSP C6678 and xilinx FPGA to achieve 1.25, 2.5, 3.125, and 5 Gbps rates based on interrupt mode, should I use BIOS_start( ) on main() function of dsp?

4- Does BIOS_start( ) affect on throughput of SRIO?

Best Regards,

Mohammad

  • Hi,

    Here is an explanation of SYSBIOS

    You are not necessarily to write a SYSBIOS project with BIOS_start(). The typical usage is:

    main() {

    some functions();

    task_creation();   //===========> This can also be configured in SYSBIOS .cfg file

    some other functions();

    BIOS_start();

    The BIOS_start() handles the call into tasks you created. 

    Example A) and B) uses task and BIOS_start(). Example C) doesn't have task and there is no BIOS_start() call. Note example C) has startup function cnfigured in .cfg 

    Startup.firstFxns.$add('&myStartupFxn'); ====> This will run between _c_int00 and main().

    2) No

    3) Doesn't matter.

    4) No

    Regards, Eric

  • Hi,

    Thank you for your guidance. 

    Regards,

    Mohammad