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.

ti.bios.conversion errors

I am trying to convert a BSP/BIOS config file to SYS/BIOS cfg file, and I got this error:

TypeError: Cannot call property oldLoadPlat in object [object Object]. It is not a function, it is "undefined".
js: "<home directory>/bios_6_33_06_50/packages/ti/bios/conversion/Main.xs", line 91: Error: ti.bios.conversion: ReferenceError: "prog" is not defined.

What does this error mean?

Thanks,

Sam

 

  • Sam,

    Our conversion tool expert is out on vacation this week.

    My advice to you in the meantime is to not attempt to use the conversion tool as it has never worked to our satisfaction and we have recently dropped support for it. I suggest that you take the time to manually convert your application to use the SYS/BIOS APIs directly. In most cases, the runtime API calls convert with very little modification except for string substitution (ie SEM_pend() -> Semaphore_pend()).

    TCF to CFG file conversion is a bit more effort but once you've converted your app.tcf file's 'TSK' APIs to their corresponding app.cfg file 'Task' API equivalents, you'll probably quickly catch on to the new syntax.

    I apologize for this disappointing advice. However, I believe you will be much better served (ie bug fixes, new features) in the long run if you convert your application to use the SYS/BIOS native APIs.

    Alan
  • Sam,
    if you are still trying to use the conversion tool, please post the complete command line you are using. I would like to see the version of XDCtools you are using and what's in your xdcpath.