B4R Question D1 mini clone error load sketch

Discussion in 'B4R Questions' started by micro, Sep 19, 2018.

  1. micro

    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:
    Code:
    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
     

    Attached Files:

  2. Cableguy

    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.
     
  3. micro

    micro Well-Known Member Licensed User

    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
     
  4. Cableguy

    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
     
  5. micro

    micro Well-Known Member Licensed User

    Found the problem, the module is damaged does not work
    with another is ok.
    Thanks for all
     
    Erel and Cableguy like this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice