Sollae Systems
https://phpoc.com
Programmable Serial Server
PBH-101 User Manual
Version 1.2
Страница 1: ...Sollae Systems https phpoc com Programmable Serial Server PBH 101 User Manual Version 1 2...
Страница 2: ...nsuring this product is disposed of correctly you will help prevent potential negative consequences to the environment and human health which could otherwise be caused by inappropriate disposal of thi...
Страница 3: ...6 Development Environment 13 1 6 1 Overview 13 1 7 PHPoC Debugger 13 1 7 1 Program Overview 13 1 7 2 Program Structure 14 2 Test Run 19 2 1 Development Environment Construction 19 2 1 1 Local PC 19 2...
Страница 4: ...eb interface 34 3 4 2 Practical Use of Web Interface 34 3 5 Firmware Upgrade 35 3 5 1 Download Firmware File 35 3 5 2 Firmware Upgrade 35 3 6 Etcetera 36 3 6 1 Using External Editor 36 3 6 2 PHP Debug...
Страница 5: ...PBH 101 User Manual Ver 1 2 4 https www eztcp com 6 1 1 Device overview 44 6 1 2 I O port 44 7 Revision History 45...
Страница 6: ...his language is easy to use and compatible with PHP which is widely used script language PHPoC is basically compatible with PHP but those languages are not the same because of restrictions about embed...
Страница 7: ...terfaces Serial 1 x RS232 RS422 RS485 Baud Rate 1 200bps 230 400bps Network 10 Base T 100 Base TX Ethernet Auto MDI MDIX cable auto sensing IEEE802 11b g require Ralink RT3070 5370 chipset WLAN adapte...
Страница 8: ...PBH 101 User Manual Ver 1 2 7 https www eztcp com 1 4 Dimension Figure 1 1 dimension Dimensions may vary according to a method of measurement...
Страница 9: ...5 Interface 1 5 1 Panel Layout Figure 1 2 panel layout LED PWR STS A H USB device port Setup PC connection DC 5V power supply Ethernet port 10 100M Serial port RS232 RS422 RS485 USB host port USB WLAN...
Страница 10: ...vice port is to connect with PC You can access to products via development tool with connecting USB cable to this port However PBH 101 may not work properly in case of supplying power via this port on...
Страница 11: ...me 1 5 7 Serial PBH 101 provides one serial port interfaced to D SUB 9pin male connector and you can select the type of RS422 RS485 or RS232 Uploading PHPoC codes to your product is required to set th...
Страница 12: ...ptional 8 CTS Clear To Send RS232 In optional 9 RI Ring Indicator RS232 N A Table 1 4 RS232 pin assignment RS422 pin assignment Pin Name Description Level I O Note 9 TX Transmit Data RS422 Out basic 1...
Страница 13: ...irect and cross over cable can be used because it automatically detects the type of cable LED of RJ45 Connector LED Operation State Green ON Connected to Network OFF Not connected to Network Blink Rec...
Страница 14: ...Debugger 1 7 1 Program Overview PHPoC Debugger is a software running on Windows This program does not require installation You can upload files to your product with this program through USB port Featu...
Страница 15: ...PBH 101 User Manual Ver 1 2 14 https www eztcp com 1 7 2 Program Structure Figure 1 5 program structure...
Страница 16: ...wn direction Find Previous Find the next text by up direction Change Replace specified text with given text Preferences Program preference Function Product Firmware information Information of current...
Страница 17: ...nal editor PHPoC Debugger internal editor External editor External editor Ask Show select option every time Backup path Path of backup files Initialization Enter initialization mode Set product to ini...
Страница 18: ...n the list Table 1 12 pop up menu on file list Editor Show and edit contents of selected file on the file list Following menus will be popped up when right clicking on editor area Menu Description Sho...
Страница 19: ...scroll Set Unset auto scroll Table 1 14 pop up menu on output console window Watch Resource This window is for checking run time variable information and system resources The following menus will be p...
Страница 20: ...1 Local PC A MS windows PC is required to upload php files to the PBH 101 while creating and modifying php files are available on other operating systems 2 1 2 Connecting PBH 101 Connect PBH 101 to PC...
Страница 21: ...r PC When automatic installation fails download and install the driver on ST Micro s web site STM32 USB Virtual Com Port Driver Download page https www st com web catalog tools FM147 CL1794 SC961 SS15...
Страница 22: ...PoC file system You can write a script on the init php as well as running other php files using php commands of system function The init php is implemented just once but loaded files by the command ca...
Страница 23: ...t every php file is directly or indirectly required to be loaded on init php to run it 2 3 2 Default Files PBH 101 is released with the following files uploaded File Name Description lib sd_101 php Ba...
Страница 24: ...2 3 3 Create init php Click file list with the right button of your mouse and select New menu Figure 2 5 create init php 1 Input init into the file name box Figure 2 6 create init php 2 Select init ph...
Страница 25: ...oading files icon will be changed 2 3 4 Excecute Script PHPoC automatically runs a script when it boots up or uploads file system You can find the result in the Output window of PHPoC Debugger Figure...
Страница 26: ...4 Saving Files to PC 2 4 1 Saving File to PC Select files in file list Figure 2 10 saving files to PC 1 Click File Save selected file s menu on menu bar Figure 2 11 saving files to PC 2 Choose a path...
Страница 27: ...4 2 Save as a Integrated poc file When you want to save all files on the file list as a single file use Save a poc file menu Figure 2 13 save as a poc file 1 poc is filename extension Input filename a...
Страница 28: ...lect and drag files on Window explorer to file list box and drop them Figure 2 15 add files to file list 1 Add menu If you click Add after right clicking in file list box a window for selecting files...
Страница 29: ...tcp com 2 5 2 Upload files Files in the file list will be uploaded to product by clicking upload button If the uploading is completed both files on the file list and in the product are synchronized wi...
Страница 30: ...be configured by PHPoC Debugger 3 1 1 Configuration Procedure Connect PHPoC product to PC Run PHPoC Debugger and click connect button After then click configuration button Sometimes you can see inacti...
Страница 31: ...Topology Ad hoc Infrastructure Soft AP Search AP Search channel Channel SSID Internal Antenna External Antenna Advanced Settings Security Settings Shared Key 802 1X EAP TLS EAP TTLS PEAP Buttons Pass...
Страница 32: ...ess than 1 second Button setup mode On 2 Keep pressing the function button over 5 seconds Preparing initialization Blink very rapidly 3 Check STS LED after 5 seconds Initialization ready Off 4 After t...
Страница 33: ...ation Procedure Step Action Product State STS LED 1 Set PHPoC to initialization mode Use Edit Preferences menu on PHPoC Debugger Enter Initialization mode after reboot Blink rapidly 2 Keep pressing th...
Страница 34: ...he product s MAC address after phpoc_ which is a prefix For example if the MAC address is 0030f9060101 the SSID is phpoc_060101 3 3 2 WLAN Connection Find your product s SSID via a smartphone or lapto...
Страница 35: ...php file should be in the file system of PBH 101 Connect to this page by entering device IP address after connecting it to network Figure 3 4 web interface 1 If the name of file is not index php just...
Страница 36: ...2 Firmware Upgrade Connect setup port of PHPoC product to local PC via USB cable Run PHPoC Debugger and click connect button Click Function Upgrade Firmware menu Figure 3 6 firmware upgrade 1 Click Op...
Страница 37: ...ut external editor just set External editor option of action of file add item on preferences window Figure 3 10 using external editor 1 Upload php files with this option synchronized files have lock i...
Страница 38: ...Buttons for debugging are enabled when you check the PHP debug mode option in PHPoC Debugger In this mode you can set break points or check values of variables at every command line Figure 3 12 enable...
Страница 39: ...mode Make PBH 101 to enter ISP mode by supplying power while pressing FUNC button In the ISP mode you can access to PHPoC by PHPoC Debugger without running a script Connect to PHPoC Connect a PC to PH...
Страница 40: ...php E mail support eztcp com 4 3 Warranty 4 3 1 Refund Upon the customer s request to refund the product within two weeks after purchase Sollae Systems will refund the product 4 3 2 Free Repair Servi...
Страница 41: ...applications provided by Sollae Systems for purposes other than those for which they were designed is prohibited Do not use the product in an extremely cold or hot place or in a place where vibration...
Страница 42: ...s not designed intended authorized to test develop or be built into applications where failure could create a dangerous situation that may result in financial losses damage to property personal injury...
Страница 43: ...ser le bo tier PBH 101 m me si Sollae Systems Co Ltd ou un de ses distributeurs a t inform de la possibilit de tels dommages Le bo tier PBH 101 est exclusivement pr vu pour un usage en int rieur dans...
Страница 44: ...llae Systems Co Ltd et de ses distributeurs ne puissent tre mise en cause ni que le bo tier PBH 101 puisse tre chang au titre de la garantie Rappel sur l vacuation des quipements lectroniques usag s L...
Страница 45: ...dp0 4 I O Digital Output LED 8 mmap io3 ST 4 mmap st0 3 Table 6 1 device overview 6 1 2 I O port Type Path and Mapping information LED mmap io3 UART Mode Serial Type mmap io4 Values for Serial Type Ty...
Страница 46: ...tps www eztcp com 7 Revision History Date Version History Author 2014 10 23 1 0 Created Roy Lee 2015 11 10 1 1 Updated screenshots Amy Kim 2020 05 13 1 2 Modify contents about approval in the Specific...