logo elektroda
logo elektroda
X
logo elektroda

ESP-12E ESP8266 and Raspberry Pi 3 model B problem with flashing, connection

MrTomek010 2100 0
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 16414295
    MrTomek010
    Level 7  
    Hello, I recently bought two ESP8266 ESP-12Es, bought adapters for them and they came. I didn't buy a programmer because I have a Tiny and I've read some tutorials on various forums that it can handle it. But the problem is that in my little one in the file "/boot/cmdline.txt" there was no line with "ttyAMA0". The contents of the file /boot/cmdline.txt:
    dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
    
    .
    So, just to be sure, I removed "console=serial0,115200", later I found out that you have to deactivate some services with commands:
    
    sudo systemctl stop serial-getty@ttyAMA0.service
    sudo systemctl disable serial-getty@ttyAMA0.service
    
    
    sudo systemctl stop serial-getty@ttyAMA0.service
    sudo systemctl disable serial-getty@ttyAMA0.service
    
    .
    ESP-12E ESP8266 and Raspberry Pi 3 model B problem with flashing, connection .
    I have connected (Pi->ESP):
    1->VCC and CH_PC
    9->GND and GPIO0
    8->RXD
    10->TXD

    I wanted to upload the latest version of nodeMCU via "esptool.py" and I only get "Connecting..." all the time anyway.
    Command:
    
    python esptool.py -p /dev/ttyAMA0 write_flash 0x000000 ../nodemcu-master-7-modules-2017-04-14-12-40-42-integer.bin
    
    .

    When connecting the ESP to the power supply the blue light flashes for a while, I don't know what I'm doing wrong, let me know if I've accidentally damaged something and I'd appreciate your help

    Best regards and happy holidays,
    Tom
  • ADVERTISEMENT
ADVERTISEMENT