Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By Rasoul
#78242 Hi , i'm having a connection through UART and i use serial.swap() to change the pins of UART for having communication with another device . ( i cant use original pins because of problems with Serial programming whitch causes the 2nd device to crash )
after i use serial.swap() the 2 pins for UART are GPIO13 and GPIO15 .
but we should pull-down GPIO15 for booting up from flash ...

how can i use the second UART pins but also making sure that if my module resets it will boot up from flash (and not from SD-Card ) ?
User avatar
By Linus Hack
#96463 Hello, I am answering this question to help solve this problem. If we decide to connect some interface to the GPIO15 and at the same time we want to guarantee the programming operation (flash) it is sufficient to insert a 1n4148 diode between the GPIO15 and the external circuit and always keeping the 10K pull-down resistor between the GPIO15 and GND .
You do not have the required permissions to view the files attached to this post.