I've made a simple PCB for the esp32-c61 (HF4 variant, 4MB on-chip flash) with a serial port, 40mhz crystal, and not much else besides passives. Serial comms seem to be working fine, but when I go to flash something, the latest esptool (5.3.1) says flash encryption enabled.
Code: Select all
$ esptool write-flash 0x10000 firmware.bin
esptool v5.3.1
Connected to ESP32-C61 on /dev/ttyAMA0:
Chip type: Unknown ESP32-C61 (revision v1.0)
Features: Wi-Fi 6, BT 5 (LE), Single Core, 160MHz
Crystal frequency: 40MHz
MAC: 88:56:a6:cb:25:74
Stub flasher is already running. No upload is necessary.
Hard resetting via RTS pin...
A fatal error occurred: Detected flash encryption enabled and download manual encrypt disabled.
Data must be encrypted appropriately before flashing.
Flashing plaintext data may brick your device! Use the force argument to override the warning.
Code: Select all
espefuse v5.3.1
Connecting...
Detecting chip type... ESP32-C61
=== Run "dump" command ===
BLOCK0 ( ) [0 ] dump: 4085d5ef ff9fe670 0090e0e0 00400000 54c35f7f 00973f95
MAC_SPI_8M_0 (BLOCK1 ) [1 ] dump: a6cb2574 00008856 05012110 010d7811 00000000 00000000
BLOCK_SYS_DATA (BLOCK2 ) [2 ] dump: 172e131d 4cd30cf4 3ee3d69d 2ec61755 3abeb384 1ab72ceb 01408034 00011110
BLOCK_USR_DATA (BLOCK3 ) [3 ] dump: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
BLOCK_KEY0 (BLOCK4 ) [4 ] dump: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
BLOCK_KEY1 (BLOCK5 ) [5 ] dump: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
BLOCK_KEY2 (BLOCK6 ) [6 ] dump: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
BLOCK_KEY3 (BLOCK7 ) [7 ] dump: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
BLOCK_KEY4 (BLOCK8 ) [8 ] dump: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
BLOCK_KEY5 (BLOCK9 ) [9 ] dump: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
BLOCK_SYS_DATA2 (BLOCK10 ) [10] dump: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Code: Select all
$ esptool write-flash --force 0x10000 esp32-c61-lapnoi/firmware.bin
esptool v5.3.1
Connected to ESP32-C61 on /dev/ttyAMA0:
Chip type: Unknown ESP32-C61 (revision v1.0)
Features: Wi-Fi 6, BT 5 (LE), Single Core, 160MHz
Crystal frequency: 40MHz
MAC: 88:56:a6:cb:25:74
Stub flasher is already running. No upload is necessary.
Configuring flash size...
Flash will be erased from 0x00010000 to 0x00058fff...
Wrote 296448 bytes (160724 compressed) at 0x00010000 in 16.7 seconds (141.7 kbit/s).
Input MD5: 0dae5e86f9d52d9858ba002151f8725e
Flash MD5: afa8cda787cbdd7ffbe0a8fb96243330
Hard resetting via RTS pin...
A fatal error occurred: MD5 of file does not match data in flash!
