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 crashes from command line

Other Parts Discussed in Thread: OMAP-L138

I am working on a Windows 7, 64-bit machine using AISgen_d800k008.exe, and I have a .cfg file that, when I load it from the GUI, does exactly what I need (i.e., creates the bootable image for both DSP and ARM cores for my OMAP-L138 system).

I want to incorporate the AIS file generation into a script, but I find that when I use the same AISgen_d800k008.exe with the -cfg option (like the documentation says to), the program crashes, briefly putting up a dialog window that says "OMAP_L138_AIS_GUI has stopped working"

So, what is the right way to make AIS file generation scripted for the OMAP-L138, since it looks like the method the documentation suggests does not work?

  Jay

  • Jay,

    Can you share your command line usage?  The AISgen utility should not crash this way when run from the command line.

  • I just put in the path to the AISgen executable, -cfg, and the file to the configuration file generated from running the GUI:

    c:\Workdir\Vision\Software\ST4\common\release>"c:\ti\AISgen for D800K008\AISgen_d800k008.exe" -cfg c:\Workdir\Vision\Software\ST4\common\release\ST4_ais_config.cfg
    c:\Workdir\Vision\Software\ST4\common\release>dir c:\Workdir\Vision\Software\ST4\common\release\ST4_ais_config.cfg
     Volume in drive C is OSDisk
     Volume Serial Number is 727F-A96F

     Directory of c:\Workdir\Vision\Software\ST4\common\release

    04/02/2012  04:03 PM             1,132 ST4_ais_config.cfg
                   1 File(s)          1,132 bytes
                   0 Dir(s)   9,072,807,936 bytes free

    And the result is the stopped working dialog, even though I have confirmed I have the path to the AISgen program correct and the dir command above demonstrates I have the path to the config file correct.   I have tried this with "local" copies of both the executable and the config (to avoid the long, and I always get the same result:  the "not working" dialog that vanishes quickly.   Just to confirm:  this is a .cfg file that works (creates a bootable .ais file) when I just double click the AISgen programe and load from the GUI.

  • Jay,

    The command line usage is actually slightly different from what you are using.  I recommend trying the following:

    >"c:\ti\AISgen for D800K008\AISgen_d800k008.exe" -cfg="c:\Workdir\Vision\Software\ST4\common\release\ST4_ais_config.cfg"

    Let me know if this makes a difference.  If not, we will need to investigate further.

  • Fantastic!  It works now.  I feel dumb for missing the equal sign.  Thanks for the fix.