Sdram allocation in IP phone projects
0x000000--0x0000ff: System options
0x000100--0x00012f: System flags
0x000130--0x0001ff: System options
0x010000--0x01ffff: Http
0x020000--0x02ffff: Ac97 input buffers
0x030000--0x03ffff: Ac97 output buffers
0x040000--0x04ffff: Dsp encode output buffers
0x050000--0x05ffff: Basic dsp code and data (in page0)
0x060000--0x06ffff: Dsp decode input buffers
0x070000--0x07ffff: voice msg dsp data in page1
0x080000--0x09ffff: G723 data(page2¡¢page3)
0x0a0000--0x0bffff: G729 data(page4¡¢page5)
0x0c0000--0x0cffff: File-in£¬used in page0, 640k input file storage for debug
0x0d0000--0x0dffff: IVR
0x0e0000--0x0effff: Welcome
0x100000--0x10ffff: voice msg storage
0x160000--0x16ffff: File-out,used in page0, 640k output file storage for debug

options:
0x000000--0x000005: Local MAC address
0x000006--0x000009: Local IP address
0x00000a--0x00000d: Gatekeeper IP address
0x00000e:           1 to use gatekeeper, 0 to dial IP address directly
0x00000f:           Ring Type
0x000010--0x00001f: My phone number to use with a gatekeeper
0x000020--0x000023: Subnet mask
0x000024--0x000027: Router IP address
0x000028:           1 to use DHCP, 0 to use IP address in 06-09
0x000029:           Initial handset input vol
0x00002a:           Initial handset output vol
0x00002b:           1 to use AGC
0x00002c--0x00002f: DNS server IP address
0x000030:           1 to use h.235, 0 to ignore
0x000031:           Number to ring before auto answer, 0 to disable auto answer
0x000032:           0 -- same phone number as e.164 and h323id
		    1 -- same full phone number as e.164 and h323id 
		    2 -- full phone number as e.164, mac or addsional h323id as h323id
		    3 -- phone number as e.164, mac address as h323id 
		    4 -- etalk, special phone number as e.164, id and pin as h323id
		    5 -- mediaring
0x000033:           Initial handfree output vol
0x000034:           Default audio, 0 - g711u, 1 - g711a, 2 - g7231, 3 - g729, 4 - g729a, 5 - g729b, 6 - g729ab
0x000035:           Default audio frames in a send-out packet 
0x000036:           Q931 source port high
0x000037:           Q931 source port low
0x000038:           1 to enable VAD for G.723.1 or G.729, 0 to disable
0x000039:           1 to use 6.3k encode for G.723.1, 0 to use 5.3
0x00003a:           Initial handfree input vol
0x00003b--0x00003e: Proxy IP address
0x00003f:           Use built in H.323 proxy support
0x000040--0x000043: FTP or TFTP server IP address 
0x000044--0x000045: Rand seed
0x000046:           2 to use fast start with h.245 tunneling, 1 to use fast start, 0 to bring normal h245 
0x000047:           DTMF method, 0 - h245 string, 1 - h245 signal, 2 - Q931 Keypad, 3 - RFC2833 
0x000048--0x000057: Password
0x000058--0x00005d: Country Code; maximum length 4 digits
0x00005c--0x00005e: International Prefix: maximum length 3 digits
0x00005f:	    1 to use dial plan, 0 to ignore
0x000060--0x000063: Area Code: maximum length 4 digits
0x000064--0x000066: Longprefix: maximum length 3 digits
0x000067:           Length of local number: 1 numeric digit, default value: 8
0x000068:  	    1 - inner line, 0 - direct dial, default 0
0x000069--0x00006a: to access local outer line
0x00006b--0x00006c: to access long-distance outer line
0x00006d:	    1 to use calling card, 0 to direct dial
0x00006e--0x00007d: calling card account
0x00007e--0x00008d: calling card PIN
0x00008e:	    1 to enable CDR, 0 to disable CDR
0x00008f--0x000092: CDR IP address
0x000093--0x000096: voice gateway IP address, set 0.0.0.0 to disable direct call
0x000097:	    1 to dial number as e.164,  0 as h323id
0x000098--0x0000a7: additional H323 ID
0x0000a8--0x0000ad: 6 bytes test vals
0x0000ae:           handfree tone vol
0x0000af:           handset tone vol 
0x0000b0--0x0000c7: PPP id 
0x0000c8--0x0000d7: PPP password
0x0000d8--0x0000ef: GKID
0x0000f0:           Ras source port high
0x0000f1:           Ras source port low 
0x0000f2:           H245 source port high
0x0000f3:           H245 source port low
0x0000f4:           Rtp source port high
0x0000f5:           Rtp source port low
0x0000f6:           1 to use AEC
0x0000f7--0x0000fa: Reserved
0x0000fb:           Language support, 0 - ENG, 1 - GB, 2 - BIG5 
0x0000fc:           Protocol support, 0 - h.323, 1 - SIP, 2 - MGCP 
0x0000fd:           1 to use PPPoE 
0x0000fe:           1 to output debug information by udp, 0 to output nothing
0x0000ff:           Reserved
0x000130--0x00013f: Supervisor password 
0x000140--0x00015f: Service DNS
0x000160--0x000161: Service port, 6801 for net2phone
0x000162--0x000167: Reserved
0x000168--0x00016f: Gateway prefix
0x000170--0x00017f: Reserved
0x000180--0x0001ff: Reserved

flags
0x000100:	    upgrade mode flag, 0 - serial port, 1 - tcpip
0x000101:	    upgrade page flag, 127 - serial, 128 - options, 129 - program, 130 - ring, 131 - voicemsg
0x000102:	    upgrade size flag, 127 - serial, 1 - options
0x000103:           ivr dsp data loaded, 2 -- g.723.1, 3 -- g.729
0x000104:	    page3 loaded flag to indicate normal power up
0x000105:	    page3 run flag to indicate normal power up
0x000106:           sdram size flag, 1 -- 1Mx16, 4 -- 4Mx16, 8 -- 8Mx16
0x000107--0x000108: voice msg size
0x000109--0x00010a: pcm ring size
0x00010b:	    language flag
0x00010c--0x00010f: Reserved for flags
0x000110--0x00011f: product tag flags
0x000120:           Software version begin
0x000121:           Software version high
0x000122:           Software version dot
0x000123:           Software version low
0x000124:           Software version build
0x000125:           Software version end
0x000126--0x00012f: Reserved for flags

speed dial 
0x000200--0x000fff: Speed Dial 0-111,esch has 32 bytes (16 bytes phone number and 16 bytes name),total 3584 bytes

0x001000--0x001fff: Reserved for more options

0x002000--0x0024ff: Answered calls
0x002500--0x0029ff: missed calls
0x002a00--0x002eff: dialed calls
		    each type has 40 items, each item has 32 bytes, total 3840 bytes
                    bytes 0-15  phone number
		    bytes 16	length of phone number
                    bytes 17-19 reserved

0x002f00--0x002fff: Reserved
0x003000--0x003fff: Reserved

0x004000--0x0040ff: IVR length

0x004100--0x004fff: Reserved
0x005000--0x005fff: Reserved
0x006000--0x006fff: Reserved

0x007000--0x00dfff: data buffers used by communication protocols

Tcpip data
0x00e000--0x00e1ff: Telnet send buffer
0x00e200--0x00e3ff: Http server
0x00e400--0x00e5ff: Upgrade 

0x00e600--0x00e7ff: Ftp Control
0x00e800--0x00e9ff: Ftp Data

0x00e600--0x00e7ff: Server ICQ
0x00e800--0x00e9ff: Server H225 send buffer
0x00ea00--0x00ebff: Server H245 send buffer

0x00ec00--0x00edff: Dns retry data buffer
0x00ee00--0x00efff: TFTP retry data buffer
0x00f000--0x00f1ff: N2P doorman
0x00f200--0x00f3ff: N2P opal
0x00f400--0x00f5ff: N2P call
0x00f600--0x00f7ff: N2P balance
0x00f000--0x00f1ff: RAS retry data buffer
0x00f200--0x00f3ff: H.225.0 send buffer
0x00f400--0x00f5ff: H245 send buffer
0x00f600--0x00f7ff: RTP send buffer

0x00f800--0x00fbff: Reserved

0x00fc00--0x00fdff: Debug 
0x00fe00--0x00ffff: Temp buffer for Debug

page0 dsp code and data ------------------------------------------------------
PMIN:
0x050000--0x0507ff: G.711 PMIN code (G711.h)
0x050800--0x050fff: Frequency converter PMIN code (Freqcov.h)
0x051000--0x0517ff: G.721 PMIN code (G721.h)
0x051800--0x051fff: Sdram read and write test PMIN code (ramtst.h)
0x052000--0x0527ff: G.722 PMIN code (G722.h)
0x052800--0x052fff: DTMF Test PMIN code (dtmfmain.h)
0x053000--0x053fff: GSM 6.10 PMIN code (GSM.h)
0x054000--0x054fff: LPC 2.4k PMIN code (LPC_8k.h)

PMSWAP:
0x055000--0x055fff: PCM (G.711 and G.721) PMSWAP code (PCM.h)
0x056000--0x056fff: G.722 PMSWAP code (SBADPCM.h)
0x057000--0x057fff: GSM 6.10 encode PMSWAP code (GSMENC.h)
0x058000--0x058fff: GSM 6.10 decode PMSWAP code (GSMDEC.h)
0x059000--0x059fff: LPC 2.4k PMSWAP code (DODLPC.h)
0x05a000--0x05afff: Filter and DTMF PMSWAP code (DTMF.h)

DMSWAP:
0x05b000--0x05b7ff: PCM (G.721) DMSWAP data (G721DATA.h)
0x05b800--0x05bfff: G.722 DMSWAP data (G722DATA.h)
0x05c000--0x05c7ff: GSM 6.10 DMSWAP data (GSMDATA.h)
0x05c800--0x05cfff: LPC 2.4k DMSWAP data (LPCDATA.h)
0x05d000--0x05d1ff: 8k Filter DMSWAP data (F8KDATA.h)
0x05d200--0x05d3ff: 16k Filter DMSWAP data (F16KDATA.h)
0x05d400--0x05d7ff: DTMF DMSWAP data (DTMFDATA.h)

0x05d800--0x05dfff: Used by Dsp program
0x05f000--0x05f7ff: Used by Dsp program
0x05f800--0x05ffff: Used by Dsp program

0x060000--0x067fff: Dsp decode buffer
0x068000--0x06a7ff: default ring (ringdata.h)
0x06c000--0x06efff: Ring pcm data

0x06f000--0x06ffff: page128 upgrade data


--- for g.723.1 codec ---
0x080000--0x080fff g.723.1 PMIN code (G723Main.h)

0x081000--0x081fff g.723.1 PMSWAP code -- Initialize Encoder (G723Init.h)
0x082000--0x082fff g.723.1 PMSWAP code -- Encoder Page  1 (G723Enc1.h)
0x083000--0x083fff g.723.1 PMSWAP code -- Encoder Page  2 (G723Enc2.h)
0x084000--0x084fff g.723.1 PMSWAP code -- Encoder Page  3 (G723Enc3.h)
0x085000--0x085fff g.723.1 PMSWAP code -- Encoder Page  4 (G723Enc4.h)
0x086000--0x086fff g.723.1 PMSWAP code -- Encoder Page  5 (G723Enc5.h)
0x087000--0x087fff g.723.1 PMSWAP code -- Encoder Page  6 (G723Enc6.h)
0x088000--0x088fff g.723.1 PMSWAP code -- Encoder Page  7 (G723Enc7.h)
0x089000--0x089fff g.723.1 PMSWAP code -- Encoder Page  8 (G723Enc8.h)
0x08a000--0x08afff g.723.1 PMSWAP code -- Encoder Page  9 (G723Enc9.h)
0x08b000--0x08bfff g.723.1 PMSWAP code -- Encoder Page 10 (G723En10.h)
0x08c000--0x08cfff g.723.1 PMSWAP code -- Encoder Page 11 (G723En11.h)
0x08d000--0x08dfff g.723.1 PMSWAP code -- Encoder Page 12 (G723En12.h)
0x08e000--0x08efff g.723.1 PMSWAP code -- Encoder Page 13 (G723En13.h)
0x08f000--0x08ffff g.723.1 PMSWAP code -- Encoder Page 14 (G723En14.h)
0x090000--0x090fff g.723.1 PMSWAP code -- Decoder page  1 (G723Dec1.h)
0x091000--0x091fff g.723.1 PMSWAP code -- Decoder page  2 (G723Dec2.h)
0x092000--0x092fff g.723.1 PMSWAP code -- Decoder page  3 (G723Dec3.h)
0x093000--0x093fff g.723.1 PMSWAP code -- Decoder page  4 (G723Dec4.h)
0x094000--0x094fff g.723.1 PMSWAP code -- Decoder page  5 (G723Dec5.h)
0x095000--0x095fff g.723.1 PMSWAP code -- Decoder page  6 (G723Dec6.h)
0x096000--0x096fff g.723.1 PMSWAP code -- Decoder page  7 (G723Dec7.h)

0x098000--0x0985ff g.723.1 data tables -- for Encoder page  1 (Epg1tab.h)
0x098600--0x0986ff g.723.1 data tables -- for Encoder page  2 (Epg2tab.h)
0x098700--0x098cff g.723.1 data tables -- for Encoder         (band0tb8.h)
0x098d00--0x0992ff g.723.1 data tables -- for Encoder 	      (band1tb8.h)
0x099300--0x099aff g.723.1 data tables -- for Encoder         (band2tb8.h)
0x099b00--0x099bff g.723.1 data tables -- for Encoder page  3 (Epg3tab.h)
0x099c00--0x09a0ff g.723.1 data tables -- for Encoder page  4 (Epg4tab.h)
0x09a100--0x09a1ff g.723.1 data tables -- for Encoder page  5 (Epg5tab.h)
0x09a200--0x09b1ff g.723.1 data tables -- for Encoder         (acbk085.h)
0x09b200--0x09d1ff g.723.1 data tables -- for Encoder         (acbk170.h)
0x09d200--0x09d4ff g.723.1 data tables -- for Encoder page  7 (Epg7tab.h)
0x09d500--0x09d8ff g.723.1 data tables -- for Encoder page 11 (Epg11tb.h)
0x09d900--0x09dbff g.723.1 data tables -- for Encoder page 12 (Epg12tb.h)
0x09dc00--0x09dcff g.723.1 data tables -- for Encoder page 13 (Epg13tb.h)
0x09dd00--0x09deff g.723.1 data tables -- for Encoder page 13 (Epg14tb.h)
0x09df00--0x09dfff g.723.1 data tables -- for Decoder page  1 (dpg1tab.h)
0x09e000--0x09e0ff g.723.1 data tables -- for Decoder page  4 (dpg4tab.h)
0x09e100--0x09e1ff g.723.1 data tables -- for Decoder page  5 (dpg5tab.h)
0x09e200--0x09e4ff g.723.1 data tables -- for Decoder 	      (combin.h)
0x09e500--0x09e5ff g.723.1 data tables -- for Decoder page  7 (dpg7tab.h)

--- for g.729 codec ---
(can also be put to 0x0a0000--0x0bffff)
0x080000--0x080fff g.729 PMIN code (G729Main.h)

0x081000--0x081fff g.729 PMSWAP code -- Initialize Encoder (G729EnIn.h)
0x082000--0x082fff g.729 PMSWAP code -- Encoder Page  1 (G729Enc1.h)
0x083000--0x083fff g.729 PMSWAP code -- Encoder Page  2 (G729Enc2.h)
0x084000--0x084fff g.729 PMSWAP code -- Encoder Page  3 (G729Enc3.h)
0x085000--0x085fff g.729 PMSWAP code -- Encoder Page  4 (G729Enc4.h)
0x086000--0x086fff g.729 PMSWAP code -- Encoder Page  5 (G729Enc5.h)
0x087000--0x087fff g.729 PMSWAP code -- Encoder Page  6 (G729Enc6.h)
0x088000--0x088fff g.729 PMSWAP code -- Encoder Page  7 (G729Enc7.h)
0x089000--0x089fff g.729 PMSWAP code -- Encoder Page  8 (G729Enc8.h)
0x08a000--0x08afff g.729 PMSWAP code -- Encoder Page  9 (G729Enc9.h)
0x08b000--0x08bfff g.729 PMSWAP code -- Encoder Page 10 (G729En10.h)
0x08c000--0x08cfff g.729 PMSWAP code -- Encoder Page 11 (G729En11.h)
0x08d000--0x08dfff g.729 PMSWAP code -- Encoder Page 12 (G729En12.h)
0x08e000--0x08efff g.729 PMSWAP code -- Encoder Page 13 (G729En13.h)
0x08f000--0x08ffff g.729 PMSWAP code -- Encoder Page 14 (G729En14.h)
0x090000--0x090fff g.729 PMSWAP code -- Initialize Decoder (G729DeIn.h)
0x091000--0x091fff g.729 PMSWAP code -- Decoder page  1 (G729Dec1.h)
0x092000--0x092fff g.729 PMSWAP code -- Decoder page  2 (G729Dec2.h)
0x093000--0x093fff g.729 PMSWAP code -- Decoder page  3 (G729Dec3.h)
0x094000--0x094fff g.729 PMSWAP code -- Decoder page  4 (G729Dec4.h)
0x095000--0x095fff g.729 PMSWAP code -- Decoder page  5 (G729Dec5.h)
0x096000--0x096fff g.729 PMSWAP code -- Decoder page  6 (G729Dec6.h)

0x097000--0x0973ff g.729 data tables -- for Encoder page  1 (page1tab.h)
0x097400--0x0974ff g.729 data tables -- for Encoder page  2 (page2tab.h)
0x097500--0x0975ff g.729 data tables -- for Encoder page  4 (page4tab.h)
0x097600--0x0977ff g.729 data tables -- for Encoder page  5 (page5tab.h)
0x097800--0x097fff g.729 data tables -- for Encoder page  8 (page8tab.h)
0x098000--0x0981ff g.729 data tables -- for Encoder page  9 (page9tab.h)
0x098200--0x0982ff g.729 data tables -- for Encoder page 11 (page11tb.h)
0x098300--0x098bff g.729 data tables -- for Encoder page 12 (page12tb.h)
0x098c00--0x098dff g.729 data tables -- for Encoder page 13 (page13tb.h)
0x098e00--0x098eff g.729 data tables -- for Decoder Initialize (paged0tb.h)
0x098f00--0x0991ff g.729 data tables -- for Decoder page  1 (paged1tb.h)
0x099200--0x0993ff g.729 data tables -- for Decoder page  2 (paged2tb.h)
0x099400--0x0994ff g.729 data tables -- for Decoder page  3 (paged3tb.h)
0x099500--0x0999ff g.729 data tables -- for Decoder page  4 (paged4tb.h)
0x099a00--0x099bff g.729 data tables -- for Decoder page  5 (paged5tb.h)
0x099c00--0x09aaff g.729 data tables -- for Encoder page  3 
                                        and Decoder Page 1 
                                        and Decoder Page 4 (page3tab.h)

0x09ab00--0x09c6ff g.729 data exchange

