Page 1 of 1
Can I flash without using PIN34, 35?
Posted: Thu May 30, 2019 3:14 am
by jollytopper
I would like to map 34,35 to UART2 RX/TX and use 2, 15 for UART0 RX/TX (flashing, monitor). Is this possible?
Re: Can I flash without using PIN33, 34?
Posted: Thu May 30, 2019 7:29 am
by WiFive
No, not for initial flash. The pins can't be reconfigured that early in the boot process. Also what hardware pin numbering are you referencing?
Re: Can I flash without using PIN33, 34?
Posted: Fri May 31, 2019 4:02 am
by jollytopper
Sorry I was inconsistent with my naming. I am referencing the IO numbers as per pages 3 and 4 of
https://www.espressif.com/sites/default ... eet_en.pdf.
For 34 - RXT0 / 35 - TXD0, I was referencing the Pin Number.
How may I use RXT0/TXD0 as an UART?
Re: Can I flash without using PIN33, 34?
Posted: Fri May 31, 2019 4:26 am
by jollytopper
Code: Select all
# define ATE_RX_PIN 3
# define ATE_TX_PIN 1
...
uart_set_pin(UART_NUM_2, ATE_TX_PIN, ATE_RX_PIN, UART_PIN_NO_CHANGE, UART_PIN_NO_CHANGE);
Why does this not let me use TXD0/RXD0 pins as TX/RX for UART2?
Re: Can I flash without using PIN33, 34?
Posted: Fri May 31, 2019 4:53 am
by WiFive
You can, but you can't change pins for flashing in download boot mode.
Re: Can I flash without using PIN33, 34?
Posted: Fri May 31, 2019 7:23 am
by jollytopper
I'm not reading any input from my UART when using PINS 34, 35, corresponding to IO 3 and IO 1 respectively.