User Manual
High-Flying
HF-LPB Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 22 -
AT+UPCFG command to start remote Factory Config upgrade. After excuate this command, the
module will firstly download configuration file (“config.txt”), then download the upgrade file base on the
CFG address listed in the configure file.
AT+UPNVR command to start remote NVRAM Data upgrade. After excuate this command, the
module will firstly download configuration file (“config.txt”), then download the upgrade file base on the
NVR address listed in the configure file.
AT+UPAUTO command to start remote upgrade. After excuate this command, the module will firstly
download configuration file (“config.txt”), then download the upgrade file base on the URL,WEB,CFG
address listed in the configure file. It include the functions of AT+UPST,AT+UPWEB,AT+UPCFG.
General “config.txt” file format as following example:
[URL]=”http://10.10.100.100:80/lpb.bin”
[WEB]="http://10.10.100.100:80/web.bin"
[NVR]="http://10.10.100.100:80/nvram.dat"
[CFG]= "http://10.10.100.100:80/cfg.bin"
[URL]= the URL address of Application.
[WEB]=the URL address of Webpage
[NVR]= the URL address of NVRAM data
[CFG]= the URL address of Factory Parameter File
Direct Download and Upgrade
AT+UPURL command to set the remote directory and file name, such as:
AT+UPURL=http://www.hi-flying.com/!admin/down/,lpb.bin
After excuate this command, the module will directly download the “lpb.bin” file from remote directory
and start upgrade Application.
Notes: please contact with high-flying technical people before upgrade firmware, or maybe damage
the module and can’t work again.
2.7. GPIO/PWM Function
HF-LPT100 module can provide many GPIOs, which include max 3 PWM control pins. User devices
can read/write GPIO/PWM pins status.
Table 7 HF-LPT100 GPIO/PWM Pin Mapping Table
Pin Num
Configured Function
Describtion
Default Setting
Type
5
UART0_RX
UART0_RX
GPIO5
I
6
UART0_TX
UART0_TX
GPIO6
O
8
PWM Channel 3
PWM_3
GPIO18
I/O
9
PWM Channel 2
PWM_2
GPIO12
I/O
10
PWM Channel 1
PWM_1
GPIO11
I/O