Page 2
Introduction to the installation of the UART driver on the PC, and Appendix Ⅰ the ESP-Launcher how to use the UART debug tool. Flash Download Tool Introduction to the Espressif flash download tool, and how to use Appendix Ⅱ Guide it to download the firmware into the ESP-Launcher. Release Notes...
3.4. The ESP-Launcher ........................4. Test Procedure ........................4.1. Download Firmware ........................4.2. Set ESP8266 to AP Mode for Ping Test ..................4.3. Set ESP8266 to Station Mode for Ping Test ................5. Conclusion of the Demonstration ..................I. Appendix - Installing UART Driver for ESP-Launcher ............
1. Overview Overview This guide is intended to help users run ping test on the ESP8266 easily and quickly. It demonstrates the testing of network connectivity by running ping test Station mode or SoftAP mode of ESP8266. The ping test has been demonstrated and run on the ESP-Launcher. However, with appropriate build settings, the test can be made to run on any ESP8266-based system. ...
Architecture of the Demonstration The architecture of the ping test demonstration is as follows: When the ESP8266 runs in SoftAP mode, the architecture of the ping test • demonstration is as Figure 2-1 shows. Figure 2-1. ESP8266 Running in SoftAP Mode When the ESP8266 runs in Station mode, the architecture of the ping test •...
PC provides power supply. • Micro USB Cable User can trace the log outputted from • ESP8266 on the PC UART tool. PC for running demo tools: Windows XP or Windows 7 OS is recommended. To run the Espressif phone APP: Android Mobile Phone Version Android4.0 or later is...
ESP-Launcher connects to the PC via the Micro USB cable. For instructions on how to • install the UART driver on your PC, please refer to Appendix Ⅰ. A router through which ESP8266 can access the internet is needed. • 3.3. Software Installation Flash Download Tool is for downloading the firmware into the ESP-Launcher.
4. Test Procedure Test Procedure 4.1. Download Firmware 1. Download firmware into the ESP-Launcher. Use Flash Download Tool (ESP8266 DOWNLOAD TOOL) to download ./Bin-FW/demo.bin into address 0x0000. For more details about using Flash Download Tool, please refer to Appendix Ⅱ.
1. Set UART baud rate to be 115200 for firmware installation. The illegible characters are printed at the baud rate of 74880 and this is normal during correct power-up. Reset ESP8266 upon power-on, when the “ready” message is printed, it means that the firmware is running properly.
Page 10
(espressif0-1) are set in the Step 2 above. ⚠ Notice: It is recommended to have a PC with an external wireless card to connect to ESP8266 SoftAP as a station. Using internal wireless card may cause poor Wi-Fi connectivity. 4. Click the network icon # (in the task bar at the lower right corner of the PC desktop screen).
Figure 4-6. Ping ESP8266 SoftAP Using a PC Note: The "-n 100" in the ping command specifies that the ESP8266 SoftAP is to be pinged 100 times. 6. The result of ping test is as shown below: Figure 4-7. Ping Test Result 4.3.
Page 12
2. Connect PC to a router. Suppose the SSID of the target router is “Smart1ap”, and the password is “espressif0-1”. 3. Power up the ESP-Launcher, and connect ESP8266 to the same router by using the following AT command. AT command: AT+CWJAP_DEF=“Smart1ap”,“espressif0-1”...
Page 13
Figure 4-11. PC Pinging the ESP8266 Station Note: The “-n 100” in the ping command specifies that the ESP8266 Station should be pinged 100 times. 6. The result of ping test is as shown below: Figure 4-12. Ping Test Result ...
ESP8266 has two Wi-Fi operation modes, Station and SoftAP modes. PC can connect to the ESP8266 in each Wi-Fi mode and test the connectivity by ping test. Both the SoftAP ping test and the Station ping test can be used when the ESP8266 is configured to be in Station + SoftAP mode.
Figure Ⅰ-2. UART Driver Installed ⚠ Notice: If the PC does not install the UART driver automatically, user can install it manually. Espressif provides the UART driver in ./Tools/ft232r-usb-uart.zip. 2. Unzip ./Tools/SecureCRT.rar, and open the SecureCRT to check if the UART driver is installed successfully.
Page 16
Figure Ⅰ-3. Creating a New Serial Port Connection - If the serial port connection was created before, users can change its configuration by right-clicking on it, and selecting “properties”. Figure Ⅰ-4. Checking the “Properties” of the Serial Port Espressif 13 19 2016.09...
Page 17
If AT commands are used, the baud rate should be 115200, and the “New Line • Mode” should be set because the AT commands end with a new line (CR-LF). " Figure Ⅰ-6. Setting the “New Line Mode” for AT Commands Espressif 14 19 2016.09...
Page 18
Appendix I Note: The default baud rate of ESP8266 is 74880. But to use AT commands, the baud rate should be 115200. 3. Power up the ESP-Launcher by toggling the switch “1” to the upper side. Check if the startup logs (baud rate 74880) are displayed on the SecureCRT.
Figure Ⅱ-1. Flash Download Tool Note: The selected firmware in the Download Path Config area will turn into green and be downloaded into the ESP-Launcher. If there is any other firmware which is not selected, it will be ignored. Espressif 16 19 2016.09...
Page 20
Appendix Ⅱ 3. Click the “START” button on the ESP8266 Flash Download Tool to enter the “SYNC” state. Wait for the ESP-Launcher to power up. Figure Ⅱ-2. “SYNC” State of Flash Download Tool 4. Power up the ESP-Launcher, and start downloading firmware.
Page 21
After the download is finished, toggle the switch “1” to the lower side to power off the ESP- Launcher. Set the ESP8266 to be in program execution mode by toggling the switch “2” to the upper side. Then toggle the switch “1” to the upper side again to power on the ESP-Launcher. ...
Need help?
Do you have a question about the ESP8266 and is the answer not in the manual?
Questions and answers