https://www.espruino.com/binaries/espruino_2v05_esp32/
C:\Users\lixas\Workspace\JS\ESP32_Firmware\2v05>esptool.py --chip esp32 --port COM3 --baud 115200 erase_flash esptool.py v2.8 Serial port COM3 Connecting..... Chip is ESP32D0WDQ6 (revision 1) Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None Crystal is 40MHz MAC: 24:6f:28:0b:87:90 Uploading stub... Running stub... Stub running... Erasing flash (this may take a while)... Chip erase completed successfully in 8.5s Hard resetting via RTS pin...
C:\Users\lixas\Workspace\JS\ESP32_Firmware\2v05>esptool.py --chip esp32 --port COM3 --baud 115200 write_flash -z 0x1000 bootloader.bin 0x8000 partitions_espruino.bin 0x10000 espruino_esp32.bin esptool.py v2.8 Serial port COM3 Connecting...... Chip is ESP32D0WDQ6 (revision 1) Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None Crystal is 40MHz MAC: 24:6f:28:0b:87:90 Uploading stub... Running stub... Stub running... Configuring flash size... Auto-detected Flash size: 4MB Compressed 15392 bytes to 10130... Wrote 15392 bytes (10130 compressed) at 0x00001000 in 0.9 seconds (effective 135.9 kbit/s)... Hash of data verified. Compressed 3072 bytes to 166... Wrote 3072 bytes (166 compressed) at 0x00008000 in 0.0 seconds (effective 773.5 kbit/s)... Hash of data verified. Compressed 1377808 bytes to 891091... Wrote 1377808 bytes (891091 compressed) at 0x00010000 in 79.6 seconds (effective 138.4 kbit/s)... Hash of data verified.
Leaving... Hard resetting via RTS pin...
IMPORTANT: change baud speed at IDE-> Settings-> Communication t0 115200
Thanks Lixas, but unfortunately I did not receive the same result.
I've tried with lower speed. Tried with different cables and changed the pc's USB port
I got always the same boot loop as reported in my upload.
May be my board is not a standard one? I've attached a picture.
1 Attachment
@Sdellava started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
https://www.espruino.com/binaries/espruino_2v05_esp32/
C:\Users\lixas\Workspace\JS\ESP32_Firmware\2v05>esptool.py --chip esp32 --port COM3 --baud 115200 erase_flash
esptool.py v2.8
Serial port COM3
Connecting.....
Chip is ESP32D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 24:6f:28:0b:87:90
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
Chip erase completed successfully in 8.5s
Hard resetting via RTS pin...
C:\Users\lixas\Workspace\JS\ESP32_Firmware\2v05>esptool.py --chip esp32 --port COM3 --baud 115200 write_flash -z 0x1000 bootloader.bin 0x8000 partitions_espruino.bin 0x10000 espruino_esp32.bin
esptool.py v2.8
Serial port COM3
Connecting......
Chip is ESP32D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 24:6f:28:0b:87:90
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 15392 bytes to 10130...
Wrote 15392 bytes (10130 compressed) at 0x00001000 in 0.9 seconds (effective 135.9 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 166...
Wrote 3072 bytes (166 compressed) at 0x00008000 in 0.0 seconds (effective 773.5 kbit/s)...
Hash of data verified.
Compressed 1377808 bytes to 891091...
Wrote 1377808 bytes (891091 compressed) at 0x00010000 in 79.6 seconds (effective 138.4 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
IMPORTANT: change baud speed at IDE-> Settings-> Communication t0 115200