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.

Bios conversion

Hello

I despair of the conversion tool DSP/BIOS 5 to SYS/BIOS 6

I have a running project with CCS 4.2.3.00004 and DSP/BIOS 5.41.10.36 and the Piccolo F28069 control card.
I want to convert it from DSP/BIOS 5 to SYS/BIOS 6

Paths:
%XDCPATH% C:\Program Files\Texas Instruments\bios_6_31_04_27\packages
%XDCROOT% C:\Program Files\Texas Instruments\xdctools_3_20_08_88

TCF File:
D:\TiBios\Dsp\myInfile.tcf

New (empty) Folder for Bios 6:
D:\TiBios\Sys\

Conversion comand line:
D:\TiBios\Dsp>xs --xp="C:/Program Files/Texas Instruments/bios_6_31_04_27/packages" ti.bios.conversion -c myOutfile.cfg --pr "D:/TiBios/Sys/myRepository" myInfile.tcf

Error: Can't load 'ti/bios/config/bios_28069.tci': Error: Can't find import file: 'ti/bios/config/bios_28069.tci' (not found along 'C:\Program Files\Texas Instruments\xdctools_3_20_08_88\packages\ti\platforms\control28069/;C:/Program Files/Texas Instruments/bios_6_31_04_27/packages;C:\Program Files\Texas Instruments\xdctools_3_20_08_88/packages;;C:/Program Files/Texas Instruments/bios_6_31_04_27/packages/ti/bios/conversion//bios5;C:\Program Files\Texas Instruments\xdctools_3_20_08_88/include;C:\Program Files\Texas Instruments\xdctools_3_20_08_88/packages')
js: "C:/Program Files/Texas Instruments/bios_6_31_04_27/packages/ti/bios/conversion/Main.xs", line 91: Error: ti.bios.conversion: TypeError: Cannot set property "ENABLEINST" of undefined to "true"

There isn't any ti/bios/config/bios_28069.tci in xdctools_3_20_08_88 and bios_6_31_04_27.
I found a bios_28069.tci in C:\Program Files\Texas Instruments\bios_5_41_10_36\packages\ti\bios\config 
I copied the path with tci file to bios_6_31_04_27. Then I got this:

D:\TiBios\Dsp>xs --xp="C:/Program Files/Texas Instruments/bios_6_31_04_27/packages" ti.bios.conversion -c myOutfile.cfg --pr "D:/TiBios/Sys/myRepository" myInfile.tcf

js: "C:/Program Files/Texas Instruments/bios_6_31_04_27/packages/ti/bios/config/bios_28069.tci", line 65: Illegal enumeration value: GBL.PLLTYPE set to a value outside the range "281x,280x,2802x,2803x
,282xx,283xx,2834x"
Error: Can't load platform definition 'ti.platforms.control28069': InternalError: Error
Platform: ti.platforms.control28069
        params.catalogName:ti.catalog.c2800
        params.deviceName:28069
        params.clockRate:80
Target: ti.targets.C28_large
Clock Rate: 160
js: "C:/Program Files/Texas Instruments/bios_6_31_04_27/packages/ti/bios/conversion/Main.xs", line 91: Error: ti.bios.conversion: InternalError: Error 

Any ideas ?

  • Mike,
    while I am looking for the real cause of the problem, can you try the following:
    1. copy bios_28069.tci to C:/Program Files/Texas Instruments/bios_6_31_04_27/packages/ti/bios/conversion/bios5/ti/bios/config
    2. copy 28xx.cdb from C:/Program Files/Texas Instruments/bios_5_41_09_34/packages/ti/bios/config/cdb to C:/Program Files/Texas Instruments/bios_6_31_04_27/packages/ti/bios/conversion/bios5/ti/bios/config/cdb, but first save the existing 28xx.cdb file in bios_6_31_04_27.
    3. run the conversion tool again

    The problem is most likely that bios 6.31.04.27 does not contain the support for the 28069 device for BIOS 5, so you can't run conversion for that device. If the hack I recommended above does not work, you may need to upgrade to a newer version of BIOS 6.

  • This is a bug in BIOS 6.31.04 and latest 6.32.00 as well.   The 28069 device was released after the update package was made.  We need to refresh the update package with the latest devices.  Sasha's workaround should work for you.  I filed a bug for this and it will be fixed in 6.32.01.

    SDOCM00081012 


    By the way, you need to update to 6.32.00 (or later) if you are configuring any of the PIE vectors from your .tcf file.  We did not support PIE configuration in the legacy support package.  If your use of BIOS 5.x APIs is modest, you might consider updating to the new APIs and not using the legacy package.

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/index.html


    -Karl-

  • Hi

    Thank you for your advices.
    The conversion is working with the workaround and SYS/BIOS 6.31.4.27 and the F28069

    Mike