Skip to content

Installing

9dl edited this page Jan 12, 2025 · 2 revisions

image

Steps to Flash Your Device

Step 1: Prepare the Flash Tool

  1. Open https://esp.huhn.me/ in your web browser.

Step 2: Connect Your Device

  1. Connect your M5Stack CPLUS to your computer via USB.
  2. Press "Connect" and Select the Device.

Step 3: Upload Your Firmware Files

  1. Click the "+" button next to each file field to upload the corresponding file:
    • bootloader.bin
    • partitions.bin
    • firmware.bin

Step 4: Set the Correct Memory Addresses

Make sure to enter the correct flash memory addresses for each file:

  • For bootloader.bin: Enter 0x1000 (bootloader location).
  • For partitions.bin: Enter 0x8000 (partition table location).
  • For firmware.bin: Enter 0x10000 (application firmware location).

Step 5: Flash the Firmware

  1. Click FLASH on the website. This will start the flashing process.
  2. Wait for the process to finish. You'll see progress indicators on the screen.
  3. Once complete, the device should be flashed and ready to run the firmware.

Troubleshooting:

  • Device not detected: Make sure your device is properly connected and in bootloader mode.
  • Flashing errors: Try using a different USB cable or port.
  • Verify addresses: Double-check the memory addresses entered for each binary file.