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.

How to create a AIS for 6437 EVM?

Other Parts Discussed in Thread: CCSTUDIO

Dear Sir,

I want to update the FW code on 6437 EVM board.

 

I already study the document "spraag0d_Using the TMS320DM643x Bootloader"

And I also have the project codes from http://www-s.ti.com/sc/techlit/spraag0.zip

Actually, I have already erased the boot code in the NOR flash by using the sample code in "C:\CCStudio_v3.3\boards\evmdm6437_v2\tests\norflash".

 

I have problems in creating the .bin file.

I have already installed Perl 5.10.X.X.

But when I run the batch files under "\ais_utility\bin\" directory

It shows error message "genAIS is not an internal or external command, not an executable program or batch"

Can you show me how to create the .bin file with any App.out file?

 

Best Regards,

 

Eric Fang

  • Eric Fang said:
    I have already installed Perl 5.10.X.X.


    For one thing you will need to revert back to ActivePerl version 5.8.x. The tools were not made to run with the newer 5.10.x Perl software - see this thread for more info.

    Eric Fang said:
    It shows error message "genAIS is not an internal or external command, not an executable program or batch"

    For this one I think you will need to make sure that you add the path to the Perl install inside your PATH environment variable. Alternately you may wish to add the extension '.pl' to the PATHEXT environment variable. What this does is allow you to automatically run a perl script that requires the use of the perl interpreter from anywhere.

    To do this go into the Control Panel->System->Advanced->Environment Variables. Scroll down the list of System variables until you see one titled PATH. Double click this to edit, and add the path to your perl interpreter at the end (seperate the last entry and this one with a semicolon). Similarly, you can add a .PL to the end of the PATHEXT variable right below it.

  • I am trying to boot the DM6437 evm from UART. I can get the simple example (docExample_uart.ais) to load and I get a DONE. However, when I try my converted program (video_encdec) ais it just sits there after loading the 1.3+MB text. Is there a limit on the file size? Do I need to build a secondary bootloader?

    I tried with -crc 2 and without.

    Thanks,

    Shaun

  • I encountered the problem too. I don't how to use the genAIS.pl to create a AIS file. are the AIS opcodes  generated automalically or added by user manually? and the cfg file is created by hands or there is  another tools to create it?

    thanks:)

  • Dear Jerry,

    To convert AIS file.

    You need a batch file like this:

    genAIS -otype bin -i XXX.out -o XXX.bin -bootmode spimaster -addrsz 24 -cfg dm6437.cfg
    pause

    This batch file will convert .out file to .bin file in AIS format.

    You have to write your own config file (dm6437.cfg)

    I think you can find some sample config files from TI  website.

    To write the config file, you need to to study the bootloader document.

    Wish you luck!

     

    Eric Fang

     

     

     

  • Eric Fang,Thank you[:)]