Home

EZP-200/LV User's Manual

image

Contents

1. Connect the SMPS adaptor to EZP 200 and turn the power on and check if the following message appears on the Hyper Terminal screen If you cannot see this message verify the cable is connected firmly and check the properties of the serial port and then try again gor TCP HONEC DGD BSE 2 Mil Bel lt P Diel 518 cls BE IITE HE Al 10 H HE ES NUM EZP 200 User s Manual 1 5 Features overview EZP 200 is a serial port to TCP IP converter which converts protocols to access the Internet using CDMA phones TRS radio devices and PPP based wired modems It converts TCP IP PPP data transmitted from a phone modem into a recognizable format on a terminal and sends them to a terminal while converting data from a terminal into TCP IP PPP data format to send them to a phone modem Using this product the serial port can be configured with up to 230 4 Kbps Therefore you can enjoy 144 Kbps of data rate on a CDMA2000 1x compatible mobile phone which supports IS 95C EZP 200 User s Manual 2 How to Use EZP 200 2 1 Operation EZP 200 has 2 serial ports one port for connection to a device that requires the Internet access and the other port for connection to a mobile phone or modem The components and port name can be illustrated as follows TE2 device or terminal lt gt EZP 200 lt gt MT2 phone or modem When the power is on initially EZP 200 keeps the TE2 serial port
2. Table of Contents 2 3 1 Commands List RE EN SO EE DT ED BORD EE EO 12 2 3 2 Set Value Modification eae sa ree eb EE EE N EE rer AE 13 2 3 3 PPP Connection Failure tesisse Nie bye sker velde ie ben ee eie bee 14 23 4 TCP Connection Failure siete ints ee sei sk dee ede ae es eie 15 235 Successful TCP Connection siese ERA se RE SE ene FEE BYRNE es REK ER kk ee 16 2 3 6 Modem Hung up During TCP Data Exchange ve 17 2 37 Successful TCP Connection sers BEE SR eee FEE BERE R aaa 18 3 APPENDIX uaa aa aie Wea ele OR EE OE OE de EI OO wale a EE RT 19 3 1 Board Layout WE EER EE EE ON RR IE EA OE Mu wine Slee ue ae IE 19 EZP 200 User s Manual 1 Overview 1 1 Components EZP 200 Board EZP 200 EVB Optional RS232 Cable provided with EVB DC 5V SMPS Power Adaptor provided with EVB 1 2 Specifications Processor TS87C51U2 Memory ROM 64K RAM 32K Interface 10 Pin SIP X 2 2 mm pitch Protocols TCP IP PPP PAP TELNET Power DC 5V 10 1 3 EZP 200 EVB EZP 200 User s Manual 1 4 Installation Connect the TE2 connector of EVB to the serial port of PC and connect the MT2 connector to a mobile phone or modem Run Hyper Terminal or a serial terminal application and change the settings of the serial port as follows field name value note baud rate 19200 varies according to the firmware types data bit 8 parity N A stop bit 1 flow control N A
3. DTR output signal should remain Low after establishing a phone connection If you want to disconnect the phone call forcibly you should generate a pulse signal as High DO Low D7 in a short period of time After the PPP connection is terminated mobile phones will typically disconnect the call however some mobile phones do not terminate the call therefore you should forcibly disconnect the call using DTR signal 2 2 4 DN PPP Down It is used when terminating a PPP connection After terminating a TCP connection TE2 must terminate a PPP connection by using DN command before disconnecting the call As not having a function to check a connection status EZP 200 will recognize that the PPP connection is retained when you disconnect the call using DO D1 command rather than the PPP connection termination command This may cause an error when you try connecting it subsequently 2 2 5 EO E1 Local Echo Off On It is used when turning the input string echo OFF E0 or ON E1 It is recommended that the echo be ON by using E1 command because checking the commands input status is required when checking the operation of EZP 200 during the product development process 2 2 6 EC Escape Character It is used when changing ESC characters You should input the EZP 200 User s Manual ASCII code of that ESC character in 2 digit hexadecimal number Inputting a command without a factor will output the ASCII code of the current E
4. Start a PPP Configuration UP Start a TCP Connection TO Data Transmission Reception TCP Closure ESC3 PPP Closure DN Hang up MT2 The whole process of connecting to TCP port 1470 on a host computer IP address 211 222 78 210 using a CDMA mobile phone and EZP 200 can be summarized as follows For convenience sake using V1 command will output the response code with strings temporarily Not using V1 command will output the response message with 3 digit decimal number 1El enable local echo 1700 EZP 200 response message Wi enable verbose message output 1700 COMMAND OK IPA 211 222 718 210 Peer IP Address 1700 COMMAND OK IPP 1470 Peer TCP Port Number EZP 200 User s Manual 1700 COMMAND OK AT CRM 1 OK ATDT CONNECT IUP 1710 PPP UP ITO 1720 TCP CONNECTED lt data transfer m 1900 COMMAND STATE 1820 TCP CLOSED IDN 1810 PPP DOWN IDO 1700 COMMAND OK 1D1 1700 COMMAND OK Set phone s internal parameters modem response message dialling Phone or modem message Start PPP configuration PPP configuration complete Start TCP connection TCP connection complete Send amp recu application data TCP closure command Active close enter to command state TCP closure complete PPP configuration closure PPP configuration closure complete DTR high hang up call DTR low EZP 200 User s Manual 2 2 EZP 200 Commands 2 2 1 Commands
5. TCP Data Exchange IPA 211 222 178 210 Peer IP Address 1700 IPP 1470 Peer TCP Port number 1700 AT CRM 1 OK ATDT CONNECT UP Start PPP configuration 1710 PPP configuration complete ITO Start TCP connection 1720 TCP connection complete lt data transfer gt send amp recv application data 1900 enter to ESC command state 1820 TCP connection closed 1810 PPP configuration closed AT Confirm modem state EZP 200 User s Manual 2 3 7 Successful TCP Connection Verbose Mode ON Trace ON IPA 211 222 78 210 100 COMMAND OK IPP 1470 1700 COMMAND OK AT CRM 1 OK ATDT CONNECT UP 1921 ESTABLISH 10 01sec 1923 NETWORK I0 04secl 1925 INET 10 07secl I 10 62 1 146 10 62 1129 1 1710 PPP UP ITO 1932 TCP SYN SENT 10 62 1 146 12170 gt 211 222 78 210 1470 1934 TCP ESTABLISHED 10 62 1 146 12170 gt 211 222 78 210 1470 1720 TCP CONNECTED lt data transfer gt 1939 TCP LAST_ACK 10 62 1 146 12170 gt 211 222 78 210 1470 1900 COMMAND STATE 1820 TCP CLOSED IDN 1924 TERMINATE 158 84secl 1920 DEAD 1810 PPP DOWN NO CARRIER EZP 200 User s Manual 3 APPENDIX 3 1 Board Layout GND Function GND NC RxD TTL Level TxD TTL Level RTS TTL Level CTS TTL Level DTR TTL Level DSR TTL Level Reset Active High VCC 3 5V lo jojo For the pin number TE is a connector for DTE and MT is for Phone Modem 20
6. format All commands transmitted to EZP 200 must start with ESC and end with Ox0d CR on a case insensitive basis All messages output by EZP 200 start with ESC and end with CR and LF An ESC character will be set to an exclamation mark after the power is turned on and it can be changed to EC command The format of EZP 200 commands and output messages has the following structure TE2 gt EZP 200 ESC 1byte command 2 byte CR 0x0d EZP 200 gt TE2 ESC 1 byte message string CR 0x0d LF 0x0a 2 2 2 BR UARTO Baud Rate The serial port on TE2 side has the fixed baud rate while the serial port on MT2 side has a variable baud rate which is adjustable by BR command The set value is the contents of Baud Rate register on the processor and you must input the set value in 2 digit hexadecimal number Inputting a command without a factor will output the current set value Baud Rate will depend on the set value as follows baud rate 1200 bps 2400 bps 4800 bps 9600 bps 14400 bps 19200 bps IS 95A 14 4 Kbps Serial port baud rate 28800 bps 38400 bps 57600 bps 115200 bpsIS 95B 64 Kbps Serial port baud rate 230400 bps IS 95C 144 Kbps Serial port baud rate EZP 200 User s Manual When using with a CDMA mobile phone set values other than F4 FE and FF are not available 2 2 3 DO D1 DTR High Low It changes the output signal from DTR on MT2 to High DO or Low D1
7. to be passed to the MT2 serial port directly It transmits all characters from TE2 serial port to MT2 serial port and sends all characters from MT2 serial port to TE2 serial port You can check that both TE2 and MT2 serial ports are connected to each other directly However when an Escape Character hereafter ESC is received EZP 200 recognizes all characters from ESC to CR hexadecimal 0x0d as a command By default ESC is set to the letter but you can change it as required A mobile phone capable of wireless Internet access will function as a modem through a serial port Since the dialing process of a mobile phone is similar to that of a standard modem you can get access to Packet Network through AT commands Packet Network access through a mobile phone can be exemplified as follows AT OK AT CRM 1 OK ATDT CONNECT EZP 200 User s Manual After dialling MT2 with AT commands TE2 should conduct the PPP connection process by sending UP command to EZP 200 If the PPP connection process is successful you can access a host on the Internet and transmit or receive data from it by TO command After data exchange is completed a computer at the other end can terminate the TCP connection first or EZP 200 can terminate it first using ESC character When the TCP connection is terminated you should hang up the call after terminating the PPP connection using DN command This process can be summarized as follows Dialling MT2
8. EZP 200 LV Users Manual Revision B 1 Overview EE EA Ee AO Pe ee A 1 1 1 Components TE Maina ER ER bets Manin Ud ela Salus wists Ue seco SEK uate ii na da 1 1 2 Specifications RR AE ER AO ole 1 1 3 EZP 200 EVB ES EE A a ee OE EL AA OO wine ile 1 1 4 Installation A a A bes biniin Ee winlate 2 1 5 Features Overview EA EE A N N EE ie 3 2 How to Use EZP 200 RE N A EO LE Sistas 1 2 1 Operation ES EA EL Pe ra 1 2 2 EZP 200 Commands RR EE OR EL OR Ee T 4 2 2 1 Commands Format EE N AR EO a O a 4 2 2 2 BR UARTO Baud Rate EE ER A os 4 2 2 3 DO D1 DTR High Low Fi E E A AE 5 2 2 4 DN PPP Down TR a A N ee wae s atn 5 2 2 5 EO E1 Local Echo Off On ER EE ee OE OOR EO Ee Btn 5 2 2 6 EC Escape Character EE sinc Wwe Pe OE eo wets 5 2 2 7 FC Flow Control EE ER OE N EO 6 2 2 8 ID PW PAP User ID Password a E 6 2 2 9 PA Peer Host Address A a OE ED ee ae 6 2 2 10 PP Peer TCP UDP Port RE AE Oe ED Pe 6 2 2 11 Pl Product Information A OE site ve wee a 6 22 12 ST ezTCP Status A EE ee Or bee wets Stele 7 2 2 13 TO T1 Trace Off On ER n EE 7 2 2 14 TO TCP Open RE Ad GP ulate ue slate 8 2 2 15 UP PPP UP RE AR AT A e bee ecae Seale 8 2 2 16 VO V1 Verbose Response Off On e Ns na 9 22 17 HE HELP ER AE AD AE OO OO OP Ee Sua 9 2 2 18 EZP 200 Response Code RR ER A en 10 2 2 19 TCP Connection Termination ER OO E ueiclbiete 10 2 2 20 PPP Connection Termination EE EE A A a 11 2 3 Examples of EZP 200 Commands EE E EE Ee Oe re 12
9. EZP 200 User s Manual output message displayed by using ST command The following is an example of using PPP and TCP connection command under the trace ON ATDT CONNECT UP Start PPP configuratoin 1921 LCP configuration 1923 IPCP configuration 1925 IP address assignment successful 1710 PPP configuration complete ITO Start a TCP connection 1932 TCP SYN_SENT state 1934 TCP ESTABLISHED state 1720 TCP connected 2 2 14 TO TCP Open It is used when attempting to connect to a TCP port on a remote host If a TCP connection is established 720 TCP CONNECTED message is displayed if a TCP connection fails 820 TCP CLOSED message is displayed The ESC commands except the connection termination strings cannot be recognized when a TCP connection is established For more information about the connection termination strings see TCP Connection Termination section 2 2 15 UP PPP UP It is used when starting a PPP connection You should give this command when the CONNECT message is displayed after sending ATDT command to a mobile phone or modem If a PPP connection is EZP 200 User s Manual established 710 PPP UP message is displayed If a PPP connection fails 810 PPP DOWN message is displayed 2 2 16 VO V1 Verbose Response Off On For using EZP 200 for the first time this command has the response code followed by a string in order to make it easier for the developers to understand this messag
10. SC character setting The range of values is from 00 to FF You can set the standard control code or data from upper area to an ESC character 2 2 7 FC Flow Control It is used when turning ON or OFF the hardware flow control on the serial port connected to either TE2 or MT2 You should set the flow control to 01 for using on MT2 10 for using on TE2 and 11 for using on both MT2 and TE2 Inputting a command without a factor will output the current set value 2 2 8 ID PW PAP User ID Password It is used when setting user ID and password if Password Authentication Protocol PAP process is required For a CDMA wireless network it is expected that the PAP process is not required however for a wired telephone network the authentication process may be required depending on the PPP server types and configuration conditions when connecting to a PPP server through a modem 2 2 9 PA Peer Host Address It is used when setting the server IP address you are to connect to You should input a decimal number on each section of the IP address separated by dots such as www xxX yyy ZZZ 2 2 10 PP Peer TCP UDP Port It is used when setting the server TCP port number you are to connect to You must use a decimal number for assigning the port number EZP 200 User s Manual 2 2 11 Pl Product Information It shows the information about the EZP 200 firmware version and the built in module type The built in modules can vary according
11. T2 side 100 ID eztcp Set the PAP user ID to eztcp 100 HID Check PAP User ID eztcn 100 PW abcd set the PAP user password to abed 100 EZP 200 User s Manual 2 3 3 PPP Connection Failure IPA 211222 18 210 Peer IP Address 1700 IPP 1470 1700 AT CRM 1 OK ATDT CONNECT IUP 1810 NO CARRIER Peer TCP Port number phone or modem message Start PPP configuration PPP configuration fail phone or modem message EZP 200 User s Manual 2 3 4 TCP Connection Failure IPA 211 222 78 210 Peer IP Address 1700 IPP 1470 Peer TCP Port number 1700 AT CRM 1 OK ATDT CONNECT phone or modem message UP Start PPP configuration 1710 PPP configuration complete ITO Start TCP connection 1820 TCP connection fail IDN PPP configuration closure 1810 PPP configuration closure complete EZP 200 User s Manual 2 3 5 Successful TCP Connection IPA 211222 18 210 Peerr IP Address 1700 IPP 1470 Peer TCP Port number 1700 AT CRM 1 OK ATDT CONNECT UP Start PPP configuration 1710 PPP configuration complete ITO Start TCP connection 1720 TCP connection complete lt data transfer gt send amp recv application data 1900 enter to ESC command mode 1820 connection closed hy remote host IN Start PPP configuration closure 1810 PPP configuration closure complete NO CARRIER phone or modem message EZP 200 User s Manual 2 3 6 Modem Hung up During
12. condition TE2 should verify if the call is disconnected through a process of checking a NO CARRIER string or a response string to AT commands Most mobile phones disconnect a call after PPP connection termination but some phones do not In the latter case you should force the call to be disconnected through the command DO D1 which generates a proper pulse on the DTR pin In case the DTR pin is not connected you may also disconnect the call by using escape sequence however since some mobile phones are not compatible with the function it is highly recommended that the DTR s signal line be connected to a mobile phone during the product development process 2 3 Examples of EZP 200 Commands 2 3 1 Commands List IHE IBR VARTO Baud Rate F4 19 2k FE 115 2k FF 230 410 IDO DTR High D1 DTR Low IDN PPP Down IEO Disable Local Echo IF1 Enable Local Echo IEC Escape Character IFC Flow Control 11D PAP User ID IPA Peer Host Address IPI Product Information IPP Peer TCP UDP Port EZP 200 User s Manual IPW PAP User Password IST ezTCP Status ITO Trace Off Mm Trace On ITO TCP Open IUP PPP UP WO Disable Verbose Response W1 Enable Verbose Response 1700 EZP 200 User s Manual 2 3 2 Set Value Modification IBR FE Change the MT2 Serial Port Rate to 115 2 Kbps 1100 IBR Check set value IFE 100 IEC 23 Change the ESC character to 100 FC 01 enable the hardware flow control on M
13. e When the Verbose is turned OFF VO all response codes are output in the following format ESC 1byte resp code 3bytes CR 0x0d LF 0x0a When the Verbose is turned ON V7 the messages are output in the following format ESC 1byte resp code 3bytes msg string CR 0x0d LF 0x0a If the connection process described in T1 command section is applied under the Verbose ON status the results will be as follows ATDT CONNECT IUP 1921 ESTABLISH 10 01secl 1923 NETWORK 10 04secl 1925 INET 10 07secl I 10 62 1146 10 62 1129 1 1710 PPP UP ITO 1932 TCP SYN SENT 10 62 1 146 12170 gt 211 222 78 210 1470 1934 TCP ESTABLISHED 10 62 1 146 12170 gt 211 222 16 210 1410 1720 TCP CONNECTED EZP 200 User s Manual 2 2 17 HE HELP The EZP 200 commands list is displayed 2 2 18 EZP 200 Response Code 000 Power On Reset 001 External Reset 700 COMMAND OK The command is applied completely 710 PPP UP PPP Connection Successful 720 TCP CONNECTED TCP Connection Successful 800 UNKNOWN COMMAND Unknown command The command is not applicable under the current 801 BAD STATE conditions 810 PPP DOWN PPP Connection terminated 820 TCP CLOSED TCP Connection terminated 900 COMMAND STATE Shifted to ESC Command state 950 TCP ACK Outputting the length of the responded data 2 2 19 TCP Connection Termination TCP connection termination can be categorized into three types in
14. ime required for disconnection Accordingly it may increase the mobile phone usage time as well as the billing amount In addition since the RFC recommendation of 30 to 60 seconds of standby time cannot be maintained due to the wireless environment characteristics there is a possibility that a connection can be hung without a proper termination from the host side 2 2 20 PPP Connection Termination For PPP connection termination initial termination from the PPP server rarely occurs which is contrary to the case of TCP connection termination Therefore there can be two types of disconnection a termination from EZP 200 and a call disconnection due to a network failure When the TCP connection is terminated TE2 should terminate the PPP connection through the DN command In most case PPP connection termination takes tens of milliseconds however it may take more than 4 seconds to terminate the PPP connection in a disconnected state due to a network problem Therefore on EZP 200 you should wait for until the 810 PPP DOWN message is displayed You need only to check the connection termination message of EZP 200 since the connection termination process of PPP is rather 11 EZP 200 User s Manual simple than that of TCP However there is a possibility that a call is disconnected during TCP data exchange Accordingly make sure to always check for this message from EZP 200 When the PPP connection is terminated in the normal
15. itial request for termination from the host initial request for termination from the EZP 200 and abnormal disconnection without completing data transmission reception due to an interruption of call or unstable network conditions When a connection is terminated by the host or in an abnormal manner a TCP connection termination message 820 is displayed Therefore make sure to always check for this message during data exchange When terminating a connection from EZP 200 you should send an Escape string indicating that the TCP connection is terminated The process of terminating a TCP connection is similar to that of sending a Escape sequence of a standard modem The TCP connection termination string consists of 3 consecutive ESC characters and more than 500 milliseconds of guard 10 EZP 200 User s Manual times are reguired before and after the string That is there should not be any character transmission for 500 milliseconds before and after the string When a TCP connection is established EZP 200 cannot recognize any command starting with ESC other than the string of 3 ESC characters with 500 milliseconds guard times When terminating a TCP connection it is highly recommended that the termination be carried out from the host side first rather than the EZP 200 side Terminating the connection from EZP 200 first will force the TIME WAIT status to be maintained for several seconds at the final stage increasing the amount of t
16. to the version You should check the version and built in module information by using PI command if an operation related problem occurs 2 2 12 ST ezTCP Status It shows a PPP and TCP connection status of EZP 200 The type and its indication of output message are shown as follows DEAD Connection with IWF or PPP Server is terminated ESTABLISH Attempting a LCP Connection PAP Conducting PAP process NETWORK Assigning IP address TERMINATE Terminating a LCP connection INET Connection with IWF or PPP server is established CLOSED A TCP Connection is terminated LISTEN Not defined for EZP 200 SYN_SENT A TCP Connection signal is transmitted SYN_RCVD A TCP Connection signal is received ESTABLISHED A TCP Connection is established FIN_WAIT1 A TCP connection termination signal is transmitted FIN_WAIT2 A TCP connection termination signal is acknowledged CLOSE WAIT A TCP connection termination signal is received A TCP connection termination signal is transmitted and CLOSING received simultaneously A TCP connection termination signal is waiting to be LAST_ACK acknowledged TIME_WAIT TCP connection termination is waiting for confirmation 2 2 13 TO T1 Trace Off On It is used when turning OFF TO or ON T1 the output of PPP and TCP connection process When the Trace is turned ON the process of PPP and TCP connection is displayed which is the same as the

Download Pdf Manuals

image

Related Search

Related Contents

Quickoffice  Operating instructions  QuickSpecs - A Matter of Fax  Le mercredi 22 mai 2013 à 14h30  Ultron Soundcard UltraSound 5.1    9A5N Solid State CW Paddle User manual  MANUEL UTILISATEUR AX3-16  形FJ-SC5MG/S5MG  Computer Gear 24-0537 mice  

Copyright © All rights reserved.
Failed to retrieve file