kw123 wrote:try different baud rate (not 9600.. i believe the esp default is 1xxxxx > 100k
Karl thx.
Well, I'm so disappointed for the moment...
I was able to upload the sketch with 115k, while uploading the board was flashing, had no errors.
Thought the code was on it, but the board wasn't visible on my WiFi.
Then, re-tried to upload the sketch, since then I am not able anymore to upload something. Also tred another sketch (sned temp to the MQTT broker).
Connection is ok, speed too, board is recognized in Arduino IDE. Tried different COM ports, no chance.
Can't upload.
Also tried to reset the board (push FLASH button while pushing the RESET one), board blinks, but can't upload.
Attached the error codes (only the part with the errors)
Any idea what to do?
@Ross: you are using NodeMCU, can you help, please?
- Code: Select all
Der Sketch verwendet 237.041 Bytes (22%) des Programmspeicherplatzes. Das Maximum sind 1.044.464 Bytes.
Globale Variablen verwenden 33.072 Bytes (40%) des dynamischen Speichers, 48.848 Bytes f¸r lokale Variablen verbleiben. Das Maximum sind 81.920 Bytes.
C:\Users\Yasmin\AppData\Local\Arduino15\packages\esp8266\tools\esptool\0.4.9/esptool.exe -vv -cd nodemcu -cb 115200 -cp COM3 -ca 0x00000 -cf C:\Users\Yasmin\AppData\Local\Temp\build665457cce46db348b64e97e2e10523e7.tmp/NodeMCU_MQTT_DS18B20.ino.bin
esptool v0.4.9 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
setting board to nodemcu
setting baudrate from 115200 to 115200
setting port from COM1 to COM3
setting address from 0x00000000 to 0x00000000
espcomm_upload_file
espcomm_upload_mem
setting serial port timeouts to 1000 ms
opening bootloader
resetting board
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
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 241184 bytes from C:\Users\Yasmin\AppData\Local\Temp\build665457cce46db348b64e97e2e10523e7.tmp/NodeMCU_MQTT_DS18B20.ino.bin to flash at 0x00000000
erasing flash
size: 03ae20 address: 000000
first_sector_index: 0
total_sector_count: 59
head_sector_count: 16
adjusted_sector_count: 43
erase_size: 02b000
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
setting serial port timeouts to 15000 ms
read 0, requested 1
setting serial port timeouts to 1000 ms
warning: espcomm_send_command: didn't receive command response
warning: espcomm_send_command(FLASH_DOWNLOAD_BEGIN) failed
closing bootloader
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
error: espcomm_upload_mem failed
Beim Hochladen des Sketches ist ein Fehler aufgetreten