Try to flash a esp8266 firmware.
Here using qio (dio, dout make no difference).
$ esptool.py --port /dev/tty.wchusbserialfd12240 --baud 115200 write_flash \ --flash_freq 80m --flash_mode qio --flash_size 4m \ 0x0000 "boot_v1.6.bin" 0x1000 espruino_esp8266_user1.bin \ 0x7C000 esp_init_data_default.bin 0x7E000 blank.bin WARNING: Flash size arguments in megabits like '4m' are deprecated. Please use the equivalent size '512KB'. Megabit arguments may be removed in a future release. esptool.py v2.3.1 Connecting.... Detecting chip type... ESP8266 Chip is ESP8266EX Features: WiFi Uploading stub... Running stub... Stub running... Configuring flash size... Flash params set to 0x000f Compressed 3856 bytes to 2762... Wrote 3856 bytes (2762 compressed) at 0x00000000 in 0.3 seconds (effective 114.4 kbit/s)... Hash of data verified. Compressed 459684 bytes to 320164... Wrote 459684 bytes (320164 compressed) at 0x00001000 in 28.7 seconds (effective 128.1 kbit/s)... Hash of data verified. Compressed 128 bytes to 75... Wrote 128 bytes (75 compressed) at 0x0007c000 in 0.0 seconds (effective 31.0 kbit/s)... Hash of data verified. Compressed 4096 bytes to 26... Wrote 4096 bytes (26 compressed) at 0x0007e000 in 0.0 seconds (effective 1139.4 kbit/s)... Hash of data verified. Leaving... Hard resetting via RTS pin... $ espruino --no-ble "-b" "75600" Espruino Command-line Tool 0.1.31 ----------------------------------- Using first port, {"path":"/dev/tty.wchusbserialfd12240","usb":[1,7523]} Connecting to '/dev/tty.wchusbserialfd12240' ets Jan 8 2013,rst cause:2, boot mode:(3,6) load 0x40100000, len 2408, room 16 tail 8 chksum 0xe5 load 0x3ffe8000, len 776, room 0 tail 8 chksum 0x84 load 0x3ffe8310, len 632, room 0 tail 8 chksum 0xd8 csum 0xd8 2nd boot version : 1.6 SPI Speed : 80MHz SPI Mode : QIO SPI Flash Size & Map: 4Mbit(256KB+256KB) jump to run user1 @ 1000
@opichals 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.
Here using qio (dio, dout make no difference).