[go: up one dir, main page]

0% found this document useful (0 votes)
245 views15 pages

HF-LPX30 Module Upgrade and Debug V1.4

This document provides instructions for upgrading the firmware of Shanghai High-Flying Electronics Technology HF-LPX30 Wi-Fi modules. It describes upgrading via the serial port, OTA upgrade using HFUpdate tools, and upgrading the internal webpage. The firmware and webpage files must use specific file names for serial port or OTA upgrades. Debug information can be output through UART1 by connecting the header and enabling debugging with an AT command.

Uploaded by

pepenasa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
245 views15 pages

HF-LPX30 Module Upgrade and Debug V1.4

This document provides instructions for upgrading the firmware of Shanghai High-Flying Electronics Technology HF-LPX30 Wi-Fi modules. It describes upgrading via the serial port, OTA upgrade using HFUpdate tools, and upgrading the internal webpage. The firmware and webpage files must use specific file names for serial port or OTA upgrades. Debug information can be output through UART1 by connecting the header and enabling debugging with an AT command.

Uploaded by

pepenasa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

Shanghai High-Flying Electronics Technology

HF-LPX30 Series
Wi-Fi Module Upgrade and Debug
V1.3
Overview
HF-LPX30 Wi-Fi module support upgrade via serial port and
mass production tools via OTA
1. Upgrade application via UART0 or UART1
2. OTA(Over the air, wireless) upgrade with webpage.
3. OTA(Over the air, wireless) upgrade via HFUpdate tools:
The upgrade file is different via serial port or via OTA ways. We
define file name with UPGRADE is used for OTA upgrade, for
example:
LPT230_HFV4.10.03_1MB :is for serial port upgrade
LPT230_UPGRADE_HFV4.10.03_1MB :is for HFUpdate tools and
OTA upgrade. It add CRC checksum which will check firmware
valid for OTA upgrade application.
HF-LPT230 module EVK

HF-LPT230 debug UART1 is fixed at 921600, must connect to


USB UART channel, the RS232 chip can not deal with such
high baud rate.
1. Upgrade application via UART0

Open SecureCRT and set serial port communication


parameters: 230400,8,1,none
Enter bootloader

Press down(Do not loose up) nReload Button on EVK and click nReset button or
power up the module, then click space key on keyboard instantly continuously until it
enter the bootloader.
Command

Command List:
‘B’:Clear all setting parameter.
‘S’:Upgrade application; Usually only need to upgrade
this. For example: HF-LPT230_3.0.1_20170725
‘G’:Run application.
Upgrade Process

Press ’S’ to upgrade application,the screen show Ready,


waiting for show ‘C’, then transfer upgrade file with
Xmodem:HF-LPT230_3.0.1_20170725
2. Upgrade application via debug UART1

Open SecureCRT and set serial port communication


parameters: 921600,8,1,none.
The way to enter bootloader is the same with UART0
2. Notes

Can set the Xmodem packet size to 1024 to speed up the


upgrade
3. Upgrade via webpage
PC connect to module AP(IP:10.10.100.254/iweb.html) or input the STA IP when
module connect to the router.(Ex:http://192.168.0.117/iweb.html),to enter the internal
webpage
1、Upgrade Application:load LPT230_UPGRADE_HFV4.10.03 to upgrade
2、Upgrade customized webpage:Upgrade the config webpage with diffferent language file. 1MB and
2MB/4MB webpage is different.
lpx30_webpage_2.0.0_cn:1MB Chinese language configure upgrade file
lpx30_webpage_2.0.0_en:1MB English language configure upgrade file
lpx30_webpage_1.0.14.bin:2MB/4MB webpage, AT+PLANG command to change language
3. External config webpage
PC connect to module AP(IP:10.10.100.254) or input the STA IP when
module connect to the router.(Ex:http://192.168.0.117),to enter the
external config webpage(If need English language, upgrade with that
English version). The following is 1MB webpage, for 2MB/4MB, see user
manual for detail.
4. Upgrade application via HFUpdate tools

Download HFUpdate mass production tools from High-


Flying website. Open the tools and load the upgrade file.
Method One: Config module and PC connecting to the
same router(Use Smartlink V7 or AT command), input
AT+OTA command to execute the upgrade process.
AT+WMODE=STA
AT+WSSSID=XXXXX
AT+WSKEY=WPA2PSK,AES,12345678
AT+Z
Then AT+WANN or AT+WSLK to check connection.
Method Two: PC connect to the predefined
router(SSID:UPGRADE-AP, no key), press down the
nReload button of module then reset or power on, then the
module will execute upgrade process automatically.
Refer to the tools manual for the detailed operation.
4. Upgrade application via HFUpdate tools
Tools download address:
http://www.hi-flying.com/download-center-1/applications-1/download-item-production-tool
SmartLink V7 download address:
Android:http://www.hi-flying.com/download-center-1/applications-1/app-smartlinkv7-android-1
Ios:http://www.hi-flying.com/download-center-1/applications-1/download-item-smartlinkv7-ios
Note:
The PC network firewall must be turned off or using HFUpdate Tools.
3.Webpage upgade
Module firmware 2.0.09-6 support webpage config and upgrade.
1、Connect to module AP(10.10.100.254) or use STA IP of module(connect to
router already), input IP/iweb.html to enter the internal webpage to upgrade the
external webpage(webpage.html file) or upgrade the firmware.
2、Due to the previous version does not support webpage, so this webpage
function must upgrade to 2.0.09 version via the previous way, then upgrade the
external webpage to use this webpage function
3、After upgrade success, manually reboot to make the new firmware or
webpage valid
5.UART1 Debug Output

Connect the header as the above picture. The right side of RS232(UART0) is usually
used for device communication, the left side USB(UART1) is
used for debug information output( The FT232 driver can be download from our website
http://www.hi-flying.com/download_detail_dc/downloadsId=108.html )
AT+NDBGL=2,1 enable UART1 debug information output(May input AT command with
UART1 ),AT+NDBGL=0 to turn off the debug information output.

You might also like