Heltec WirelessBoot System
This topic describe the quick start and application mode for WirelessBoot .
Install WirelessBoot Firmware
For devices that already have WirelessBoot firmware preinstalled, such as Capsule Sensor V3, please skip this step, go to Enter WirelessBoot Mode.
For devices without WirelessBoot firmware, follow the steps below.
Download the relevant WirelessBoot firmware.
Download and install ESP32 flash tool.
Connect the hardware serial port. Devices like Capsule Sensor V3 may require proprietary tools, which you can purchase from Heltec Automation.
Click to run
flash_download_tool_xxx.exe
.
Select the corresponding MCU type,
Delepod
,UART
, clickOK
.
Click on the location in the figure and select the downloaded WirelessBoot firmware.
Fill in the address. It depends on the chip type, the Esp32-S3 is “0”. You can check the chip manual or contact the manufacturer of the product.
Select the corresponding serial port and click Start.
Enable WirelessBoot Mode
Enter WirelessBoot mode. Here is the entry method for some products:
Capsule Sensor V3: Long press the button 8 seconds( 16 seconds on some older versions), util the blue LED stays on.
Once the device is in WirelessBoot mode, you can use PC to find its AP hotspot: WirelessBoot_xxxx.
Connect the device’s AP hotspot. Password: “heltec.org”.
Visit the configuration page IP address. Usually, the IP address of Heltec’s device is set to “192.168.4.1” and the password is “heltec.org”.
In the configuration page, enter your LAN WiFi account and password, and click
Save Configuration
.
At this point, if your PC and the device are on the same LAN, you can use WirelessBoot to access the device. Please refer to the topics below for specific application scenarios.
Typical Application Mode
Upload or upgrade firmware via web page
Enable WirelessBoot on the device. If you don’t know how to do this, please refer to this topic: Enable WirelessBoot.
Connect your PC and device are on the same LAN.
Locate the device IP in the router.
Visit this IP address to navigate to the WirelessBoot configuration page.
Erase old firmware that is not needed.
Select the firmware. Select the partition you want to upload, Click
Upload
to upload the firmware.
After uploading the firmware successfully, click
Run
to run the firmware, after the prompt is successful, remember to restart.
Directly upgrade and debug devices in the IDE.
Installing development environment
The development environment of Capsule Sensor V3 is a branch of Heltec-Esp32-development environment: WirelessBoot-Framework.
Install Heltec ESP32 development environment.
Tip
If you don’t know how to install, check out the Readme.MD file.
If you already have a development environment installed, update to the latest version.
git pull
Switch to the WirelessBoot branch by entering the following command:
git branch --set-upstream-to=origin/WirelessBoot-Framework
Getting branch updates
git pull
Work with Arduino IDE
Enable WirelessBoot on the device. If you don’t know how to do this, please refer to this topic: Enable WirelessBoot.
Connect your PC and device are on the same LAN.
Open Arduino IDE.
Click
Tools
, select the appropriateBoard
andPort
.At this point, you can program the device through the IDE. You can choose a sample code or write your own and upload it to your device.
Replacing serial ports through WiFi interaction
Installing development environment
The development environment of Capsule Sensor V3 is a branch of Heltec-Esp32-development environment: WirelessBoot-Framework.
Install Heltec ESP32 development environment.
Tip
If you don’t know how to install, check out the Readme.MD file.
If you already have a development environment installed, update to the latest version.
git pull
Switch to the WirelessBoot branch by entering the following command:
git branch --set-upstream-to=origin/WirelessBoot-Framework
Getting branch updates
git pull
Install the serial port plug-in
Download the serial port serial port plug-in: Heltec Esp Network Minitor
Access path:
C:\Users\{ueser name}\.arduinoIDE
.Create a new folder calledplugins
, If the folder already exists, there is no need to create a new one.Copy the Heltec Esp Network Minitor file to the folder plugins.
Open Arduino IDE, Press Ctrl+Shift+P on your keyboard at the same time.
In the dialog box that pops up, search: Heltec Esp Network Minitor.
Click the searched plugin to enable it.
Check the serial port
Enable WirelessBoot on the device.
If you don’t know how to do this, please refer to this topic: Enable WirelessBoot
Connect your PC and device are on the same LAN.
Open your IDE, click the Tools option and select the appropriate
Board
andPort
.Open the port and connect the device’s serial port to your PC via WiFi.