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.

AISgen to HexAISgen Conversion Utility?

Other Parts Discussed in Thread: CODECOMPOSER, OMAPL138

We have developed several products using the C6748 DSP and AISgen for creating our bootable images from .out files produced by the CodeComposer Studio build process. The AISgen utility uses a .cfg file to store the user defined options for the conversion process. This process worked perfectly for us in the past but we are now in the process of automating our build procedure. In order to do so, we need the ability to script AISgen for automation purposes and we have discovered that AISgen (GUI app) does not support a command line interface. Reading through the various forum posts we have discovered that HexAISgen does have this capability. So the question is: is there any way to import AISgen config files into an existing utility program that will convert  the .cfg  file into an .ini file that can be used with HexAISgen?

There appears to be architectural differences between the C6748 and the C6000 DSP within the L138. So is it even possible to create a bin file using HexAISgen that will work with the C6748? I haven't found any example ini files that are written exclusively for the C6748 but I have found a few files created for the L138.

  • HI Tom,

    Tom said:
    So the question is: is there any way to import AISgen config files into an existing utility program that will convert the .cfg file into an .ini file that can be used with HexAISgen?


    There is no such utility which converts the .cfg into .ini file.

    Tom said:
    There appears to be architectural differences between the C6748 and the C6000 DSP within the L138. So is it even possible to create a bin file using HexAISgen that will work with the C6748? I haven't found any example ini files that are written exclusively for the C6748 but I have found a few files created for the L138.


    For creating *.bin files from *.out file, you can use the out2rprc tool. processors.wiki.ti.com/.../OMAPL138_StarterWare_Booting_And_Flashing

    Regards,
    Shankari.
  • Hello Shankari,

    Thanks for letting me know that there is no such utility.

    We found a thread on the forum that discusses using AISgen from the command line using the -cfg option. This looks promising. If we can get it to work, it will do exactly what we need it to do and our automation issues will be resolved.

    Regards,

    Tom

  • Hi Tom,

    Whether the -cfg option worked for you?. Able to resolve your automation issues?
    If you are able to solve, you can post it here so that the future community members can make use of it.

    ----
  • Hi Shankari,

    Here's a script fragment that illustrates what we did to resolve the problem:

    rem Project Directory Structure
    set cfg_path ="C:\ti\AISgen for D800K008\cfg_files\[your_AISgen _config_file_name].cfg"

    rem Starting Binary Conversion
    start /wait AIS_gen_d800k008 -cfg=%cfg_path%

    Regards,
    Tom Pomphrey
  • Hi Tom,

    Thanks for the update.


    -------