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.

PRD_tick not defined error when migrated from DSPBIOS to SYSBIOS

Other Parts Discussed in Thread: SYSBIOS

Hi Talents,

There was orignally a DSPBIOS project, now I have migrate it to SYSBIOS with the legacy support. So I didn't need to modify the source code. But one function calls PRD_tick() which is just declared in SYSBIOS but where is the definition?

This what i found in bios_6_35_01_29\packages\ti\bios\include\Prd.h

extern Void PRD_tick(Void);

It seems the definition is included in a library. But which?

When I build it, there comes out a linker "undefined symbol"error for "_PRD_tick".

All the --abi of my project  are set to coffabi for both compiler and linker.

What might be the problem?

Thanks...

Allen

  • Another similar problem, maybe also caused by my missing on something...

    This is a statement in the converted cfg file. It is used to create a heap label which will be used in the project to allocate memory.

    bios.MEM.instance("EMIFB").heapLabel = "heapEMIFA";

    But the linker also reported a undefined symbol error for '_heapEMIFA'

  • SYSBIOS 6.x does not support PRD_tick() functionality.  This is stated in the Bios_Legacy_App_Note.pdf under the docs folder in your SYSBIOS installation.  We don't have "PRD" anymore.  Its functionality has been taken over by the Clock module.

    Please check out the legacy doc for additional information.

    Judah

  • Hi Judah,

    Yes, according to this document, PRD_tick is not supported.

    But the issue is that I truly need to invoke it in my project, is there any alternate way to replace it with off-the-shelf BIOS6 API, or a combination of several statements?

    Thanks,

    Allen

  • Allen,

    The basic functionality of a PRD is equivalent to a continous or periodic Clock instance in BIOS 6.x.

    There are some differences though, like PRD runs at SWI level in BIOS 5.x but Clocks run a Hwi level in BIOS 6.x.

    I think your PRD objects should become Clock objects.

    So in your app where are you calling PRD_tick from?

    Judah