
UiFlow Tutorial
When using M5Burner to flash firmware on a Mac device with an Intel chip, the error Error:spawn Unknown system error -86 may appear, as shown below. You can follow the solution outlined here to resolve it.
Download the esptool-v5.0.1 utility and extract it to obtain the esptool executable.
On your Mac, open Finder, click the Go tab at the top, locate Applications, and click to open it.
Applications section, find m5burner.app, right-click it, and select Show Package Contents.
Contents/Resources/packages/tool directory and replace the existing esptool with the esptool obtained in Step 1.