Why I'm unable to use UART to upload a program to NUCLEO L476?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-28 4:15 AM
I'm using Nucleo-L476RG as MCU. I am trying to upload a program to it using UART.
- I have tried connecting the BOOT0 with VDD.
- Rx/D0 with Rx of FTDI (USB to TTL cable).
- Tx/D1 with Tx of FTDI.
- The ground of FTDI with Ground of Nucleo.
I am using STM32 Flasher to upload the program but am unable to do so. I have tried another way to put MCU into bootloader mode which is pressing the USER button still no result. Why?
- Labels:
-
Bootloader
-
STM32L4 series
-
UART-USART
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-28 4:47 AM
Did you try cross connection?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-28 4:50 AM
Yes! Already done. No improvement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-28 5:57 AM
> Rx/D0 with Rx of FTDI (USB to TTL cable).
> Tx/D1 with Tx of FTDI.
RX and TX must be crossed. In other words, the TX signal transmitted by the adapter must be connected to the UART_RX pin on the MCU.
Also note that the onboard ST-Link may be holding the chip in reset. Upgrade firmware or otherwise verify NRST is high.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-28 7:34 AM
checked it all. I think it wont be possible because USB is already connected so first it needs to be desoldered then only serial/UART can be possible.
