[Solved]
Using a higher bit rate solved the issue. Upload is running until the end.
Hi,
Since a few hours, uploads on a Wemos D1 mini are very slow and unable to run until the end. I'musing the Arduino IDE 1.8.1 on Ubuntu.
I've been testing it on 2 different and new Wemos boards.
Here is the view from the IDE : link
And the detailed log :
Sketch uses 315138 bytes (30%) of program storage space. Maximum is 1044464 bytes.
Global variables use 35668 bytes (43%) of dynamic memory, leaving 46252 bytes for local variables. Maximum is 81920 bytes.
/home/ron/.arduino15/packages/esp8266/tools/esptool/0.4.9/esptool -vv -cd nodemcu -cb 9600 -cp /dev/ttyUSB0 -ca 0x00000 -cf /tmp/arduino_build_838911/TAN_horaire_C6_Derv.ino.bin
esptool v0.4.9 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
setting board to nodemcu
setting baudrate from 115200 to 9600
setting port from /dev/ttyUSB0 to /dev/ttyUSB0
setting address from 0x00000000 to 0x00000000
espcomm_upload_file
espcomm_upload_mem
opening port /dev/ttyUSB0 at 9600
tcgetattr
tcsetattr
serial open
opening bootloader
resetting board
trying to connect
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
trying to connect
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
Uploading 319296 bytes from /tmp/arduino_build_838911/TAN_horaire_C6_Derv.ino.bin to flash at 0x00000000
erasing flash
size: 04df40 address: 000000
first_sector_index: 0
total_sector_count: 78
head_sector_count: 16
adjusted_sector_count: 62
erase_size: 03e000
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
setting timeout 15000
setting timeout 100
espcomm_send_command: receiving 2 bytes of data
writing flash
................................................................................ [ 25% ]
................................................................................ [ 51% ]
................................................................................ [ 76% ]
......................
And a video of the board (blinking very very slowly !):
Any ideas are welcome !
Thanks !
Ron