Smart Home Automation Forum
Cannot flash firmware, A8 not showing as connected serial device - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20)
+--- Forum: KC868-A8 (https://www.kincony.com/forum/forumdisplay.php?fid=23)
+--- Thread: Cannot flash firmware, A8 not showing as connected serial device (/showthread.php?tid=6806)



Cannot flash firmware, A8 not showing as connected serial device - kcampbell - 09-28-2024

I use a Mac, and do not have access to Windows PC

When powering on the A8 I hear the series of relay clicks and the power light is on.

I have connected USB C to C cable to my MacBook, but "ls /dev/cu.*" does not show any connected device and so I cannot flash firmware.

Any suggestions?

Kevin


RE: Cannot flash firmware, A8 not showing as connected serial device - admin - 09-28-2024

1. Install your USB driver for MAX os, download link: https://www.wch-ic.com/downloads/CH341SER_EXE.html
2. You can use Python tool download ESP32 firmware:
step-1:
Install esptool: Open Terminal and run:

pip install esptool
Connect ESP32: Connect your ESP32 via USB, then find the device port:

step-2.
ls /dev/cu.*
Erase flash (optional):

step-3.
esptool.py --port /dev/cu.SLAB_USBtoUART erase_flash
Flash firmware: Replace with the actual port and firmware file path:

step-4.
esptool.py --chip esp32 --port /dev/cu.SLAB_USBtoUART write_flash -z 0x1000 your_firmware.bin