anx flash command covers every step.
Prerequisites
Before flashing, confirm the following:- ANX CLI installed — run
anx --versionto verify. If the command is not found, follow the Quick Start guide to install the CLI. - Module connected via USB — use the cable that shipped with your module or any USB-C cable that supports data transfer (charge-only cables will not work).
- Module in bootloader mode — the device must be in bootloader mode before the CLI can write firmware. See Step 1 below.
Flashing Firmware
1
Enter Bootloader Mode
Place your module into bootloader mode so the ANX CLI can access the flash partition:
- Hold the BOOT button on the module.
- While holding BOOT, press and immediately release the RESET button.
- Release the BOOT button.
2
Flash the Latest Stable Firmware
With the module in bootloader mode, run the following command to download and flash the latest stable release:The CLI downloads the image, writes it to flash, and verifies the result. You will see output similar to:The module reboots automatically after a successful flash.
3
Verify the Flash
Confirm the correct firmware version is running:The If the firmware version does not match, re-run
Firmware field in the output should reflect the version you just flashed:anx flash --latest and ensure the USB connection is stable throughout the process.Flashing a Specific Version
To flash a particular firmware version instead of the latest, pass the--version flag:
Listing Available Versions
To see all firmware versions available for download across all channels, run:--channel to filter by channel, for example anx firmware list --channel beta.
Recovery Mode
If your module becomes unresponsive after a failed flash — the LED does not light up, or the CLI cannot detect the device — use recovery mode to force-flash a minimal bootable image:--recovery still fails to detect the device, try a different USB port, a different cable, or a different host machine to rule out a driver or hardware issue.