This post was last edited by dcexpert on 2020-7-8 21:51
Refer to ESP32-S2-Saola-1 Firmware and Download Software , write the firmware, and then refer to ESP32-S2-Saola-1 Connect USB . When running CircuitPython, you cannot use the onboard USB, you must use GPIO19 and GPIO20 to connect to the external USB.
After connecting, the system will prompt that a USB disk with the volume label CIRCUITPY is found , and the size is 1.98M. We can copy files and libraries to the disk just like using the pyboard. After writing the data, you also need to eject the disk before disconnecting the USB cable, otherwise it will cause a file system error. If the USB disk does not appear, it means that either the firmware is not written correctly or there is a problem with the connection.
After connecting USB, in addition to the USB disk, a USB serial port device will also appear, which can be used to run REPL, debug programs and send data. The onboard USB chip CP2102 is connected to UART0 of ESP32-S2, and will output some status information at startup, but it cannot be used for REPL.
After connecting, you can view REPL through the terminal software. The following is the Python programming software MU recommended by CircuitPython . After running, if the development board is connected, it will prompt that the circuitpython device is automatically detected.
Click the serial port icon to enter the REPL.