18 - 18
18.2 Troubleshooting
18.2.14 When error occurred while downloading user program or executing it with Id command
18
TROUBLESHOOTING
18.2.14 When error occurred while downloading user program or executing
it with Id command
An error occurs if the endian format (memory layout) of the user program is different from
that of the C Controller module while:
• Downloading the user program to the C Controller module
• Executing the user program with the Id command
Error messages indicating the endian format mismatch are displayed as shown below.
If either of the following messages is displayed, take corrective actions referring to (2) in
this section.
(1) Error messages indicating the endian format mismatch between the
user program and the C Controller module
(a) When downloading the user program to the C Controller module
(b) When executing the user program with the Id command
(2) Corrective actions
1) Check the endian format of the user program.
For the checking method, refer to Section 10.2.3.
2) If the endian format of the user program is different from that of the C
Controller module, recompile the user program so that its endian format will
the same as that of the C Controller module.
Error: This is not an elf module for the SH architecture.
Error: Object module load failed for C:/xxx/Demo1.out
Removed Demo1.out from target..........done
WTX Error 0x1002e (LOADER_UNKNOWN_OBJ_MODULE_FORMAT)
Figure 18.13 Error message
ld(1,0,"/ROM/Demo1.out")
Incorrect ELF header size: 13312
ld error: error reading file (errno = 0x3d0001).
value = 0 = 0x0
Figure 18.14 Error message