This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Having problem with data.load.elf commands

Hi,

I tried to use cmm-style command to do load ELF file to my platform.

The script I used in my .cmm file:

    data.load.elf "fpga_a64.elf"

However I got below error code after I source the .cmm file:

- - -

ERROR(CMM10-IMG88):
! Failed to load image "fpga_a64.elf"
! Unsupported ELF File (EI_CLASS=ELFCLASS64, e_machine=EM_AARCH64)
ERROR(CMD656): The script C:\{path}\trial.cmm failed to complete due to an error during execution of the script

- - -

What should I do to deal with this problem?

Thanks.

Parents
  • That error message will be reported if you try to load an AArch64 ELF image for an AArch32 processor.

    This can happen on boards that contain both Armv8-A (Cortex-Axx) and Cortex-M processors, and you accidentally connect the debugger to the wrong one.

    Which type of processor do you have Arm DS Debugger connected to?

    Hope this helps

    Stephen

Reply
  • That error message will be reported if you try to load an AArch64 ELF image for an AArch32 processor.

    This can happen on boards that contain both Armv8-A (Cortex-Axx) and Cortex-M processors, and you accidentally connect the debugger to the wrong one.

    Which type of processor do you have Arm DS Debugger connected to?

    Hope this helps

    Stephen

Children
No data