10 - 13
10.2 Programming Using Bus Interface Functions
10.2.3 Creating and compiling new project of user program
10
FUNCTIONS AND PROGRAMMING
(3) How to check the endian format (memory layout) of the execution file
(a) Checking method
The endian format of the execution file can be checked by the objdumpsh
command of VxWorks.
Execute the objdumpsh command on the command prompt from the development
environment (personal computer) as follows.*1
objdumpsh -p Execution file name [Enter]
* 1 To use the objdumpsh command, execute the following file and set environment variables.
<Tornado InstallDir>\host\x86-win32\bin\torVars.bat
(<Tornado InstallDir> is a folder where Tornado was installed.)
(b) Checking result
The checking result is indicated as below.
(From previous page)
4) A compiling process appears on the screen as shown on the
left.
5) When the compile is finished, the execution file (user
program) to be used by the C Controller module is generated.
The user program is not generated if an error has occurred
during compile.
The file name of the user program is "<Project name.out>".
The directory where the user program is generated is
Directory "SH7750gnule" created under the directory where
the project was saved.
(Complete)
: Little endianelf32-shl
Execution file name: file format elf32-shl