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.

error occurred while loading image to DSP

printf:

<< DLOAD >> ERROR: Invalid file or memory size for segment 11.
<< DLOAD >> ERROR: Attempt to load invalid ELF file, '(null)'.


code:

/*---------------------------------------------------------------------*/
/* Sanity check for relative sizes of filesz and memsz. */
/*---------------------------------------------------------------------*/
if (!(phdr->p_type != PT_LOAD || phdr->p_filesz <= phdr->p_memsz))
{
DLIF_error(DLET_MISC,
"Invalid file or memory size for segment %d.\n", i);
return FALSE;
}