B4R Question D1 mini clone error load sketch

micro

Well-Known Member
Licensed User
Hi to all
I have the same device (see cableguy thread https://www.b4x.com/android/forum/t...ving-problems-uploading-sketch.68525/#content
I'm trying to load the EspConfigureWiFi file of erel but I always fail.
The serial driver for CH340 is installed
In the selection of the Board i have selected:
LOLIN(WEMOS) D1 R2 & mini
LOLIN(WEMOS) D1 mini Pro
LOLIN(WEMOS) D1 mini Lite
Generic ESP8266 module
but failed always.

Error:
B4X:
B4R Versione: 2.51
Analisi del Codice.    (0.00s)
Compilazione del codice.    (0.03s)
Compilazione Progetto    (0.03s)
Compilazione & distribuzione del progetto Ino (LOLIN(WEMOS) D1 mini Pro - COM5)    Error
Sto caricando la configurazione...
Sto inizializzando i pacchetti...
Sto preparando le schede...
Sto verificando...
Sto caricando...
esptool v0.4.13 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
    setting board to nodemcu
    setting baudrate from 115200 to 921600
    setting port from COM1 to COM5
    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
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
    serialport_receive_C0: FF instead of C0
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
    serialport_receive_C0: FF instead of C0
...........
Where is the problem?
Thanks
 

Attachments

Cableguy

Expert
Licensed User
Is the board recognised when you connect it? is there a COM port assigned when you select the board? Its been quite a while since I've touched my boards, but I recall using Wemos D1 R2 mini. be sure to select the right amount of RAM, as there seem to be some different types of clones, some with 4MB others with just 2MB.
 

micro

Well-Known Member
Licensed User
Is the board recognised when you connect it? is there a COM port assigned when you select the board? Its been quite a while since I've touched my boards, but I recall using Wemos D1 R2 mini. be sure to select the right amount of RAM, as there seem to be some different types of clones, some with 4MB others with just 2MB.
Hi Cableguy
the board is chosen from the list, I have also selected D1 R2 & mini but the problem is the same.
The option for card are many
upload_2018-9-19_10-21-18.png
 

Cableguy

Expert
Licensed User
Honestely I Don't recall seeing the word (LOLIN) in my board selector…
I will have to check my home computer later and get back to you
 
Top