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.

GEL文件的作用。



*.gel是你的秘书,可以帮你打杂
Gel
文件用来处理一些繁琐的事情,例如我总是用Gel来自动初始化DSP系统,代码如下:

StartUp()
{
    int i;

    //setup_memory_map();
    for( i=0; i<1000; i++)    i=i;
    GEL_Reset();
    for( i=0; i<1000; i++)    i=i;
    init_emif();
    for( i=0; i<1000; i++)    i=i;
    GEL_ProjectLoad( "D:\\ti\\MyProjects\\EagleEye\\V100\\EagleEye.pjt");
    for( i=0; i<10000; i++)    i=i;
    GEL_Load( "D:\\ti\\MyProjects\\EagleEye\\V100\\debug\\EagleEye.out");
    for( i=0; i<10000; i++)    i=i;
    GEL_Go( main);
}

只要打开CCS,它就会自动依次执行:系统软件复位、配置EMIF的各种寄存器、打开项目文件、装载项目文件,并且自动执行到MAIN(),停在那里等着你继续操作。

如果不用Gel,你就麻烦了