I erased flash and loaded https://micropython.org/resources/firmw ... -v1.18.bin which appeared to proceed normally. Unfortunately I can't get a REPL. If I connect with a terminal and press reset, this is the outcome:
Code: Select all
$ mtusb
--- Miniterm on /dev/ttyUSB0 115200,8,N,1 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0xe70
load:0x4004c000,len:0x8ac
load:0x40050000,len:0x2a78
entry 0x4004c190
Here is the output from esptool.py
Code: Select all
$ esptool.py --chip esp32s2 --port /dev/ttyUSB0 write_flash -z 0x1000 GENERIC_S2-20220312-unstable-v1.18-212-geec07332b.bin
esptool.py v3.3-dev
Serial port /dev/ttyUSB0
Connecting......
Chip is ESP32-S2FNR2
Features: WiFi, Embedded Flash 4MB, Embedded PSRAM 2MB, ADC and temperature sensor calibration in BLK2 of efuse V1
Crystal is 40MHz
MAC: 7c:df:a1:94:a7:c4
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Flash will be erased from 0x00001000 to 0x0012bfff...
Compressed 1222880 bytes to 806262...
Wrote 1222880 bytes (806262 compressed) at 0x00001000 in 71.3 seconds (effective 137.2 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
[adminpete@capybara]: ~/Downloads