Neptune443Member since Oct 2018 • Last active Oct 2018
Most recent activity
- 64 comments
- 25,834 views
I use the CH340 USB to serial driver (COM5:)
I've installed python and esptool.py. I've used this to flash ESP8266 boards for microPython and that works fine.
PS C:\Users\me\OneDrive\Documents\esp8266\ESPruino> python ..\code\esptool\esptool.py --port COM5 --baud 115200 write_flash --flash_freq 80m --flash_mode qio --flash_size 32m 0x0000 "boot_v1.6.bin" 0x1000 espruino_esp8266_user1.bin 0x3FC000 esp_init_data_default.bin 0x3FE000 blank.bin WARNING: Flash size arguments in megabits like '32m' are deprecated. Please use the equivalent size '4MB'. Megabit arguments may be removed in a future release. esptool.py v2.3-dev Connecting.... Detecting chip type... ESP8266 Chip is ESP8266EX Uploading stub... Running stub... Stub running... Configuring flash size... Flash params set to 0x004f Compressed 3856 bytes to 2763... Wrote 3856 bytes (2763 compressed) at 0x00000000 in 0.3 seconds (effective 123.2 kbit/s)... Hash of data verified. Compressed 509332 bytes to 340820... Wrote 509332 bytes (340820 compressed) at 0x00001000 in 30.1 seconds (effective 135.6 kbit/s)... Hash of data verified. Compressed 128 bytes to 75... Wrote 128 bytes (75 compressed) at 0x003fc000 in 0.0 seconds (effective 78.7 kbit/s)... Hash of data verified. Compressed 4096 bytes to 26... Wrote 4096 bytes (26 compressed) at 0x003fe000 in 0.0 seconds (effective 3647.9 kbit/s)... Hash of data verified. Leaving... Hard resetting via RTS pin... PS C:\Users\me\OneDrive\Documents\esp8266\ESPruino> putty
From putty I am trying to connect to the board directly with 115200 baud and then I power cycle it and try again. After that I attempt the Espruino Web IDE with 115200 baud.
I have also tried this esptool.py line:
python ..\code\esptool\esptool.py --port COM5 --baud 460800 write_flash --flash_freq 80m --flash_mode qio --flash_size 4MB-c1 0x0000 "boot_v1.6.bin" 0x1000 espruino_esp8266_user1.bin 0x3FC000 esp_init_data_default.bin 0x3FE000 blank.bin
which flashes the board, also tried this one:
python ..\code\esptool\esptool.py --port COM5 --baud 115200 write_flash --flash_freq 40m --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
but that one says: Detected overlap at address: 0x7c000 for file ...
I have tried these versions, in order, with both working esptool.py lines above:
Still no console in putty or the Web IDE
I am using Windows 10 and tried a serial connection in putty every time as well after flashing the device.
Yes I verified the baud rate both in the Espruino web ide and in putty.
And after every time I flashed the device I tried to connect with both the web IDE and a serial connection in putty and then power cycle the device (disconnect from the usb). Still nothing. I am assuming that I am getting the wrong addresses in the flashing process but I have tried every set of addresses I have seen. I have not tried to downgrade the version though. Will try that.
Hi, I am brand new at this.
I can't get started. Flashing seems OK, well from esptool.py point of view.
My board says ESP-12F and ESP8266MOD on the chip.
I have tried all flashing versions of the readme file in both espruino_1v99_esp8266.tgz and espruino_1v99_esp8266_4mb.tgz. I just do not know what more to try.
The Espruino Web IDE says everytime I've flashed and tried connecting (using 115200 baud):
Unable to retrieve board information. Connection Error?
Connected to COM5 (No response from board)
What else can I do?
Finally got it!!! YiiiiiHaaaa!!!!