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.

Porting SYSBIOS C66x project back to C55x using DSP/BIOS

Guru* 95265 points

Other Parts Discussed in Thread: SYSBIOS

Dear all,

We have a C66x SYSBIOS project and gained a lots of interests on C55x customers recently. The C66x project contains some C source codes and a .cfg file, it involves XDC and SYSBIOS 6.x packages. My goal is to port this back to C55x platform.

Given that SYSBIOS 6.x doesn't support C55x architecture anymore. So I used a very old CCS (5.0.0) release which has DSP/BIOS 5.41 and XDC 3.20, supporting C55x targets. In the C66x .cfg files, we used a lots of the SYSBIOS modules:

var BIOS = xdc.useModule('ti.sysbios.BIOS');

var Clock = xdc.useModule('ti.sysbios.knl.Clock');
var Swi = xdc.useModule('ti.sysbios.knl.Swi');
var Task = xdc.useModule('ti.sysbios.knl.Task');
var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore');
var Hwi = xdc.useModule('ti.sysbios.hal.Hwi');
var LoggingSetup = xdc.useModule('ti.uia.sysbios.LoggingSetup');
var Timer = xdc.useModule('ti.sysbios.timers.dmtimer.Timer');

Given they are not available in DSP/BIOS 5.x, how do you replace them with DSP/BIOS modules? Any suggestions or example? Thanks!

Regards, Eric

 

  • To my knowledge, no one has ever tried to convert a SYS/BIOS application back to a DSP/BIOS application. Sadly, we do not have any tools to assist you with this.

    I think your best bet is to start from scratch with a .tcf file using one of the DSP/BIOS examples provided in that product and add your SYS/BIOS static config content one object at a time. after you've studied the syntax for the various DSP/BIOS static object creates.

    Most of the SYS/BIOS runtime APIs map pretty closely to DSP/BIOS APIs so globally changing them (ie Task = TSK, Semaphore = SEM, Swi = SWI, etc) will probably get you a long way in a short period of time.

    Alan
  • There was a suggested answer and since there has been no active on this thread for more than a week, the suggested answer was marked as verify. Please feel free to select the "Reject Answer" button and reply with more details.