Updating Firmware - Adv
This will guide you through updating the device firmware using vscode with platformio to flash your device.
NOTE
Please assure you have all the Required Resources before you begin.
Firmware Upload
Setup Steps
- Clone the project source code AerPID3 into a local directory on your computer
- Git clone command:
git clone https://github.com/Aerify-Digital/AerPID3.git
- Git clone command:
- Open the source code using vscode
- This can be done using the commands:
cd AerPID3to change directorycode .to launchvscode.
- This can be done using the commands:
- Wait for
platformioto load the project and to download all required dependancies
NOTE
If platformio fails to find the project and load, you may have to navigate to and select manually...
- Connect device to PC using USB cable
- Assure device is in
Debug Mode
Flash Firmware Steps
- Navigate to and open the
platformiosection ofvscode.- Should be located on the left nav-bar and looks like an Ant
- Should be located on the left nav-bar and looks like an Ant
- Expand the environment section that is assiocated with the device you would like to flash
- Section:
aerpidis for the AerPID-lite, or AerTiny. - Section:
aerpid-hpis for the AerPID-Dual or AerTiny-HP.
- Section:
- Expand the sections
GeneralandPlatform
General: Upload
This section (under General) will compile and upload the firmware data.
NOTICE
Please verify you have the correct environment selected when performing this step.
- To begin the compile and upload process, press
Upload - Please wait for this process to complete
- You have now flashed the firmware of the device.
Platform: Upload Filesystem Image
This section (under Platform) will upload the SPIFFS data, aka; the web data.
NOTE
If this section is missing, you may upload the Filesystem Image from the alternate environment.
- To begin the compile and upload process, press
Upload - Please wait for this process to complete
- You have now uploaded the SPIFF data to the device.
Required Resources
- Supported Interface Device (PC)
- Windows 7 or above, MAC, or Linux
- VSCode installed
- PlatformIO extention installed for VSCode
- AerPID3 source code cloned locally
- USB Driver for FTDI FT231X
- Installed as Virtual COM Port
- USB Cable connected between device and computer
DEBUGMode eneabled on your device