[Solved] Cannot flash UIFlow 1.3.2 on M5StickC



  • I downloaded m5burner on Windows and tried to burn UIFlow 1.3.2 on m5stickc and got the following:

    Command:
    --chip esp32 --port COM3 --baud 115200 --before default_reset --after no_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0x10000 application_0x10000.bin 0x1000 bootloader_0x1000.bin 0x1f0000 fatfsImg_0x1f0000.img 0x8000 partitions_0x8000.bin
    ===================================================
    esptool.py v2.5.0
    Serial port COM3
    Connecting........_____....._____....._____....._____....._____....._____....._____
    
    A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
    

    I guess I need a driver on Windows which gives me a COM port?

    From the comment section of https://www.youtube.com/watch?v=zNxKkfbEkKU, it seems like I need to install the Arduino IDE first?!

    M5 Stack: Make sure your Arduino version is up to date and don't use the baud rate 921600. Most others should be fine but 115200 is recommended

    For m5stick (the grey color one), all I need to do is to install CP210x_VCP...


  • M5Stack

    you can flash the firmware without install Arduino IDE. if you could show me the UI screenshot on M5burner, sometimes it happens because misoperating on the APP



  • @m5stack said in Newbie question: Cannot flash UIFlow 1.3.2 on m5stickc:

    you can flash the firmware without install Arduino IDE. if you could show me the UI screenshot on M5burner, sometimes it happens because misoperating on the APP

    0_1564468931216_69d5bf7f-8281-4129-b541-c9eb30b78efa-image.png

    0_1564469358004_47ca75c8-2adf-4c92-b20d-57fd03c96c30-image.png

    0_1564470305144_921d92dd-71ef-4483-932c-669f924746a8-image.png

    I don't think COM3 is correct. The real problem is M5Stack Intf is not installed/setup correctly in Device Manager. BTW, I already tried shorting 3V3 to G0 before powerup to "reboot" it.

    Since I also have M5Stick (the grey color one), I got a new COM port (COM8) if I plug it in (because I have installed CP210x_VCP driver USB-to_UART):

    0_1564469661516_81ce7d88-c763-4e7a-ba6a-35e94af6300a-image.png



  • I solved the problem. I googled to: http://forum.m5stack.com/topic/841/m5stickc-driver-no-work/7 and find the location to the Windows 10 driver needed to M5StickC (https://www.ftdichip.com/Drivers/VCP.htm)

    I downloaded the zip file, extract it. Then I plugged the stick to the computer and open device manager and see the "M5Stack Intf" missing-driver device and go to "property" to update driver. I selected manually specify the location of the driver (to the top-level folder of the extracted folder). It will installed the "M5Stack Intf" driver. Then another missing-driver device will show up (USB serial converter). I did the same as the first device.

    After this is all done, a new COM port will show up (your COM port number will differ from mine).

    Good luck all! I strong suggest this to be documented. It's sad to see documentation and software limiting the robust hardware.


  • M5Stack

    Congrats, good to know