Page 1
EP06&EG06&EM06 DFOTA User Guide LTE-A Module Series Rev. EP06&EG06&EM06_DFOTA_User_Guide_V1.0 Date: 2018-08-31 Status: Released www.quectel.com...
Page 2
QUECTEL OFFERS THE INFORMATION AS A SERVICE TO ITS CUSTOMERS. THE INFORMATION PROVIDED IS BASED UPON CUSTOMERS’ REQUIREMENTS. QUECTEL MAKES EVERY EFFORT TO ENSURE THE QUALITY OF THE INFORMATION IT MAKES AVAILABLE. QUECTEL DOES NOT MAKE ANY WARRANTY AS TO THE INFORMATION CONTAINED HEREIN, AND DOES NOT ACCEPT ANY LIABILITY FOR ANY INJURY, LOSS OR DAMAGE OF ANY KIND INCURRED BY USE OF OR RELIANCE UPON THE INFORMATION.
LTE-A Module Series EP06&EG06&EM06 DFOTA User Guide About the Document History Revision Date Author Description Ramos ZHANG/ 2018-08-31 Initial Mayra XU EP06&EG06&EM06_DFOTA_User_Guide 2 / 16...
LTE-A Module Series EP06&EG06&EM06 DFOTA User Guide Contents About the Document ........................... 2 Contents ............................... 3 Table Index ..............................4 Introduction ............................5 Firmware Upgrade Procedure via DFOTA ..................6 2.1. Get Delta Firmware Package ....................7 2.2. Put Delta Package on FTP/HTTP(S) Server ................7 2.3.
Page 5
LTE-A Module Series EP06&EG06&EM06 DFOTA User Guide Table Index TABLE 1: SUMMARY OF <FTP_ERR>, <HTTP_ERR> AND <ERR> CODES ..........15 TABLE 2: TERMS AND ABBREVIATIONS ......................16 EP06&EG06&EM06_DFOTA_User_Guide 4 / 16...
EP06&EG06&EM06 DFOTA User Guide Introduction Quectel EP06&EG06&EM06 modules support DFOTA (Delta Firmware Upgrade Over-the-air) function, which allows customers to upgrade the firmware over the air. It can upgrade the firmware to a new version and revert to the old version as well.
LTE-A Module Series EP06&EG06&EM06 DFOTA User Guide Firmware Upgrade Procedure via DFOTA The following chart illustrates the firmware upgrade procedure via DFOTA. FTP/HTTP(S) Server 2. Put the package on FTP/HTTP(S) server 1. Get delta firmware package LTE/WCDMA/ (FTP/HTTP(S)) 4. Automatically download...
ATI command, and also need to know the target firmware version. Then the two firmware versions should be provided for Quectel or the module supplier in order to get the delta firmware package. 2.2. Put Delta Package on FTP/HTTP(S) Server When using the DFOTA function, customers need to set up an FTP/HTTP(S) server by themselves, for Quectel does not provide such a server.
LTE-A Module Series EP06&EG06&EM06 DFOTA User Guide Description of DFOTA AT Commands AT+QFOTADL command enables automatic firmware upgrade for the module via DFOTA. After executing the command, the module will automatically download the package from FTP/HTTP(S) server, reboot automatically and then enter into recovery mode. When the upgrade package is checked OK and the firmware upgrade is successful, the module will reboot and enter into normal mode.
Page 10
LTE-A Module Series EP06&EG06&EM06 DFOTA User Guide Parameter <ftpURL> String type. The URL of the FTP server. The maximum length is 255 bytes. It should be started with "ftp://". For example: “ftp://<user_name>:<password> @<serverURL>:<port>/<file_path>”. <username> String type. The user name for authentication.
Please refer to Chapter 5 for details. Example //Upgrade the firmware when the delta firmware package is stored on an HTTP server. //The HTTP server address is “http://www.quectel.com:100/update.zip". //Execute AT+QFOTADL command to enable automatic firmware upgrade via DFOTA, and then the EP06&EG06&EM06_DFOTA_User_Guide...
LTE-A Module Series EP06&EG06&EM06 DFOTA User Guide module will start to download the delta package and upgrade firmware automatically. AT+QFOTADL="http://www.quectel.com:100/update.zip" +QIND: "FOTA","HTTPSTART" //Start to download the delta package from the HTTP server. +QIND: "FOTA","HTTPEND",0 //Finish downloading the delta package. //The module will be rebooted automatically and the USB port will be re-initialized. If the current port is USB port, then the MCU should close and reopen it.
Page 13
LTE-A Module Series EP06&EG06&EM06 DFOTA User Guide Parameter <file_name> String type. The maximum length is 90 bytes. It should be started with "/data/ufs/" in UFS. <percent> Integer type. The upgrade progress in percentage. <err> Integer type. 0 means firmware upgrade successful. Any other value means an error.
LTE-A Module Series EP06&EG06&EM06 DFOTA User Guide Abnormalities and Important Note 4.1. Abnormalities 4.1.1. Wrong Delta Firmware Package After executing AT+QFOTADL command and the delta firmware package is downloaded, the module will reboot automatically and then enter into recovery mode. The module checks the upgrade package first, if there is something wrong with the package, the URC (+QIND: "FOTA","END",<err>) of an error code (504,...
LTE-A Module Series EP06&EG06&EM06 DFOTA User Guide 4.2. Important Note The URC of +QIND: "FOTA","START" indicates the firmware upgrade process really starts. If the Ext. MCU receives this URC after executing AT+QFOTADL command, please do NOT power off the module until the firmware is upgraded successfully and +QIND: "FOTA","END",0 is received.
LTE-A Module Series EP06&EG06&EM06 DFOTA User Guide Summary of Error Codes The error code indicates an error related to mobile equipment or network. The details about <ftp_err>, <http_err> and <err> are described in the following table. Table 1: Summary of <ftp_err>, <http_err> and <err> Codes <ftp_err>...
LTE-A Module Series EP06&EG06&EM06 DFOTA User Guide Appendix A References Table 2: Terms and Abbreviations Abbreviation Description DFOTA Delta Firmware Upgrade Over the Air Ext. MCU External Microprogrammed Control Unit File Transfer Protocol GPRS General Packet Radio Service HTTP(S) Hyper Text Transport Protocol (Secure)
Need help?
Do you have a question about the EP06 and is the answer not in the manual?
Questions and answers