Hanfeng HF-LPB100 module serial port mode programming process

This paper outlines an operation flow for the serial port mode programming process of the Hanfeng HF-LPB100 module. Cooperating vendors must follow the following steps when performing module write operations. Otherwise, uncontrollable errors will occur.

Operating procedures

1. Download the corresponding firmware of HF-LPB100

2. Extract the downloaded firmware package

After decompression, you will find two files, one of which is named BIN with the UART for the firmware we need.

3. Device connection

Connect the HF-LPB100 module according to the following schematic diagram. Note that nReload (pin 45) needs to input low level. This experiment is directly grounded. KEY1 implements an external reset function.

4. Serial port settings

4.1. Confirming Serial Port Parameters

After connecting the above serial port to the computer, the corresponding COM port can be seen through the "My Computer" -> "Administration" -> "Device Manager" -> "Port (COM and LPT)" options.

4.2 Downloading Serial Tools SecureCRT

Download address: http://pan.baidu.com/s/1dECLxYD

Download and double-click after decompression

The serial port configuration protocol is Serial, the port is the COM port in the above paragraph 2.4.1, the baud rate is set to 115200 (key), the data bit is 8 bits, the stop bit is 1 bit, there is no parity, and finally the connection is clicked. After successful connection, there will be a blinking cursor in the SecureCRT workspace.

5. Write operation

5.1. Enter programming mode

Step 1. After the serial port is connected successfully, reset the HF-LPB100 (press KEY1 as shown in section 2.3 Schematic and release it) or power on the module again. Step 2. At the same time when step 1 is completed, click the keyboard spacebar quickly and continuously. The following message will appear to indicate that the module enters the programming mode.

Remarks: This step is not easy to operate and requires multiple tests. When entering the programming mode and the above information cannot be displayed at all times, check whether the serial port settings are correct. After ensuring that the serial port settings are correct, perform the connection operation again.

In the above window display information, each command is interpreted as follows:

Command Meaning
B Clear all setting parameters, including factory parameters, etc.
F Firmware upgrade; Wi-Fi driver generally do not upgrade, such as the wrong part of the erase, from the Han Feng official website to download HF-LPB100/HF-LPT100WiFi driver to upgrade.
N Upgrade Nvram; radio frequency parameters, no change required.
S Upgrade the application; SDK and other compiled files are upgraded with this option.
G Execute the application.

Note: 'N', 'F', 'S' are the necessary conditions for module startup. If any of them is invalid, the module will directly enter the upgrade mode after power-on. Please input it carefully.

5.2. Writing

Step 1. Enter “S” to upgrade the application and enter “Y” to enter the firmware state.

Step 2. When the form continuously prints out “CCC....”, select “Transfer” -> “Send Xmode(N)” in the “Menu bar”, select the firmware file shown in section 2, and click Send.

After waiting for a while, the above message appears that the programming was successful.

Anti-Explossion HD Films

What is an Explosion-proof Screen Protector?
Now Mobile Phone Screen Protector can be seen everywhere in our daily life. The most common one should be "Tempered Glass Screen Protector", but I'm still relatively unfamiliar with "Explosion-proof Screen Protector for mobile phones". Next, I will briefly introduce Explosion-proof Screen Protective Film. membrane.

The Mobile Phone Explosion-proof Screen Protector is mainly made of imported PET material and a layer of silicone coating. Since the thickness of the silicone coating is thicker than that of ordinary screen protectors, it can decompose external force under strong collision to buffer the impact and prevent the mobile phone from being accidentally hit. The glass panel of the mobile phone is broken and scattered, which reduces the hidden damage of the glass panel and ensures the safety of users. That is to say, "Mobile Phone Explosion-proof Screen Protector" is not to prevent the phone screen from exploding, but to prevent the phone screen from being impacted, it can decompose the external force and reduce the chance of the phone screen breaking. The anti-impact, anti-scratch, anti-wear, etc. of the mobile phone Explosion-proof Protective Film can protect the screen to a certain extent compared to the general PET and PE Mobile Phone Screen Protectors.

Anti-Explossion HD Films,Anti-Impact Film,Anti-Scratch Protective Film,Anti-Wear Screen Protector,Scratch-Resistant Screen Film

Shenzhen TUOLI Electronic Technology Co., Ltd. , https://www.szhydrogelprotector.com

Posted on