C o m m u n i c a t i o n s , I n c .
© 2006-2007
PalmMicro Communications, Inc.
Room 0611, Bldg.B Tsinghua Tongfang Technology Plaza, 1 Wangzhuang Road, Beijing, CHINA
8
2 Program Compile
Compile Environment
Compile AR1688 with SDCC compiler. The configuration of compile path is in the file
D:\sdcc\src\makefile and the configuration determines location of compiler and program.
Makefile is as follows:
PATH_SDCC=C:\SDCC
Compiler and program directory SDCC are in disk C:, namely C:\SDCC, which is default
setting.
Program File
The program file is a binary file and rules for a file name are
hardware_protocol_language_OEM_version.bin
Example: ar168x_sip_cn_oem_032000.bin.
“hardware”, “protocol”, “language” and “oem” correspond with parameters in mk command.
For more details see the chapter about mk command.
“version” denotes the API program version that is defined in C:\sdcc\src\version.h, they
are:
#define SOFT_VER_HIGH
0
#define SOFT_VER_LOW
3
#define SOFT_VER_BUILD
2
#define ENG_BUILD_HIGH
0
#define ENG_BUILD_MID
0
#define ENG_BUILD_LOW
0
The program file includes a safe-recovery mode program file and a phone update program
file, as follows:
1) safe-recovery mode program file
The safe-recovery mode program file is the update file for page0. While parameter
[protocol] in mk command is “none”, this file is created.
Note:
y
Safe-mode program file is called page0 updating file for short in the later description.