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.

Application not getting abort after its execution



Hi All,

I have an C6678 board. I am trying to execute an binary image through dload function.I have loaded the binary image to DDR and through dload i am able to execute the image. Like below,

/*dload.c*/

int main()

{

dloadHandle = DLOAD_load ((struct Elf32_Ehdr *)bootFxn, argc, argv, &ientry_point);

platform_write("\n over elf file %x",ientry_point);

 exit = (unsigned int (*)())ientry_point;

 (*exit)();

 platform_write("\n End of elf file");

}

My Query is , application i.e., binary image which i have loaded to DDR is not getting terminated and returning to main dload.c. I could not see any print of "End of elf file".

I want to return back to main dload.c and fetch another image and repeat the process.

Please guide me on this to solve the issue.