logo elektroda
logo elektroda
X
logo elektroda

Problems uploading files to ESP8266 ESP12E via Raspberry Pi3

MrTomek010 3099 4
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 16454686
    MrTomek010
    Level 7  
    Hello I have this rather serious problem and I don't know how to deal with it myself, namely I bought myself a esp8266 esp12 microcontroller. At first I didn't have a USB to UART converter but I have a Raspberry PI3 so I thought I would just use that to program it. I had huge problems connecting it in such a way that it would work, finally after hours of trying it worked and fleshed out the NodeMCU.
    I used the documentation on this page to connect this in the correct way: Documentation - table 4 "pin mode" mode: UART. After disconnecting GPIO2 and trying to connect via minicom I gave a go and everything worked. When I wanted to use luatool to upload files to the ESP it gave a "no proper answer" error. I tried changing speeds but it didn't help, I decided to connect the monitor to the minicom, download ESPlorer and try to upload the software from there. However, every time I started the upload it all hung up. I typed the command
    print("TEST")
    to see what would happen and to my surprise I saw:
    
    print("TEST")
    print("TE
    
    .
    The command did not execute. To get around the problem I bought myself a USB to UART converter based on the CP2102 and when I connect it to my computer it doesn't search for it correctly in Windows 10. I installed the drivers from here: http://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers
    But first I tried to install from here: http://www.waveshare.com/wiki/File:CP210x_USB_TO_UART.zip and still nothing works. I did this without connecting devices to the converter. In Windows it is seen as an unknown device.

    Maybe someone has an idea? I would be grateful
  • ADVERTISEMENT
  • #2 16459819
    krzbor
    Level 28  
    I would suggest buying something based on FT232 (FTDI). They are more expensive, but there are usually no problems with them.
  • ADVERTISEMENT
  • #3 16474010
    MrTomek010
    Level 7  
    Can you recommend anything?
  • ADVERTISEMENT
  • #4 16474366
    krzbor
    Level 28  
    It is difficult to recommend something. There is a lot of it, also on Allegro.
  • #5 16623280
    bartosz.tarnowski
    Level 17  
    I would add that the Nucleo STM32 kits have a built-in converter on board.
ADVERTISEMENT