with target esp32c3 can't flash
Posted: Fri Nov 19, 2021 10:13 am
managed to install the latest esp-idf (master) on and if target is esp32 all is great, (nice work thanks!)
just received my first riscv/c3 from m5 - stamp C3,
connecting the usb, i get the output of the installed test, but after compiling example/wifi/scan write_flash --flash_mode dio --flash_size detect --flash_freq 80m 0x0 build/bootloader/bootloader.bin 0x8000 build/partition_table/partition-table.bin 0x10000 build/scan.bin
i cant flash it, I get
pampero> /vol/src/esp/esp-idf/components/esptool_py/esptool/esptool.py -p /dev/ttyU1 --before default_reset --after hard_reset --chip esp32c3
esptool.py v3.2-dev
Serial port /dev/ttyU1
Connecting...
Failed to get PID of a device on /dev/ttyU1, using standard reset sequence.
......
Chip is ESP32-C3 (revision 3)
Features: Wi-Fi
Crystal is 40MHz
MAC: 7c:df:a1:a3:61:74
Uploading stub...
A fatal error occurred: Failed to write to target RAM (result was 01070000)cant flash
just received my first riscv/c3 from m5 - stamp C3,
connecting the usb, i get the output of the installed test, but after compiling example/wifi/scan write_flash --flash_mode dio --flash_size detect --flash_freq 80m 0x0 build/bootloader/bootloader.bin 0x8000 build/partition_table/partition-table.bin 0x10000 build/scan.bin
i cant flash it, I get
pampero> /vol/src/esp/esp-idf/components/esptool_py/esptool/esptool.py -p /dev/ttyU1 --before default_reset --after hard_reset --chip esp32c3
esptool.py v3.2-dev
Serial port /dev/ttyU1
Connecting...
Failed to get PID of a device on /dev/ttyU1, using standard reset sequence.
......
Chip is ESP32-C3 (revision 3)
Features: Wi-Fi
Crystal is 40MHz
MAC: 7c:df:a1:a3:61:74
Uploading stub...
A fatal error occurred: Failed to write to target RAM (result was 01070000)cant flash