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
5
Although the IP phone reference design based on AR168M VOIP module and an external
MCS8051 UI controller is for demo purpose, it actually can be used in real production and
still maintain a very low BOM cost, because the MCS8051 we used is also very
cost-effective. Here listing some details of the open source software in SDCC\mcs51.
1. Compile with open source SDCC compiler, using small memory mode.
2. Can NOT be upgraded by software on board, need a programmer to make change if
needed.
3. Interface with 2x16 LCD, 8x6 keys and 4 LEDs.
4. Extra 4 LEDs if P4 port is available (on those Winbond devices we are testing).
5. Used 141 bytes of data and idata (means that we actually need a standard 8052 which
has 256 bytes internal RAM).
6. Used 2797 bytes of code space, including extended ISO-8859-1 fonts for 2x16 LCD (a
4K ROM 8052 is enough, cost about 0.5 USD).
7. UART at 19200 bps, 8 bit data, 1 stop, no parity check.
8. Oscillator at 22.1184Mhz.
Src Directory
Open source files, including makefile and batch files to generate upgrade binary file. All UI
related and VOIP protocol related implementations are provided in source code.
Measured in source code size, over 80% are open source in this API.
Tool Directory
Full source code of those special tools in "bin" directory, in Visual Studio 2008 or MS
Visual C++ 6.0 project.
AR1688 Program Structure
AR1688 series phones use Program Flash with 2M bytes. Details as follows:
structure, each page has 64k
page0 -- boot.bin and safemode.bin, ar168x_none_xx_xxxxxx.bin
page1 -- settings.dat, options, flags, digitmap and address book
page2 -- ring tone in g.711 u law, part 1
page3 -- ring tone in g.711 u law, part 2
page4 -- ring tone in g.711 u law, part 3
page5 -- hold music in g.711 u law, part 1
page6 -- hold music in g.711 u law, part 2
page7 -- hold music in g.711 u law, part 3
page8 -- GB font, part 1
page9 -- GB font, part 2
page10 -- GB font, part 3