I am running a deubber script, insisted by intel for Intel Arria 10 development kit to program the QSPI binaries. I am getting the error failed to load image, even though the file is present in the specified path. u-boot image is available in the workspace also.
Attached are the screenshots of error and debugger script. Help me in solving this error soon.
HiMy name is Stephen and I work at Arm.The error message means the u-boot image could not be written to memory.There are a number of reasons why memory might not be writable, for example, memory does not exist at that address, or memory exists but is read-only (e.g. Flash), or memory is read/write but currently inaccessible due to e.g. MMU permissions.However, in this case, it looks like the write failed because the processor target is running ("Target is running, cannot access"). The target must be stopped before the loadfile command is executed.Sorry, but I am not familiar with the Intel Arria 10 development kit, so cannot help much further. You might get better support from the Intel forums at community.intel.com/.../soc-fpga-embedded-development-suiteHope this helpsStephen
Thanks for the information. What if the memory is only readable? In that case what can be done to clear the error?
Hi againThe loadfile command tries to write to memory. If that memory is read-only then the loadfile command will always fail.In your case, it looks like the write failed because the processor target is running. Try stopping the target before the loadfile command is executed.Stephen