Difference between revisions of "Bootloading"

From Wiki at Neela Nurseries
Jump to: navigation, search
m (^ STMicro bootloaders: - add notes on USART1 pin assignments per AN2606 app note.)
m (^ STMicro bootloaders)
Line 52: Line 52:
 
With the STM32WL55xx Nucleo board, STMicro's AN2606 application notes document says that USART1 is enabled with RX and TX lines assigned to PA10 and PA9 respectively.  These MCU pins map to connectors and connector pins:
 
With the STM32WL55xx Nucleo board, STMicro's AN2606 application notes document says that USART1 is enabled with RX and TX lines assigned to PA10 and PA9 respectively.  These MCU pins map to connectors and connector pins:
  
  PA9  . . . CN5 pin 2
+
  USART1 TX --> PA9  . . . CN5 pin 2
  PA10 . . . CN8 pin 3
+
  USART1 RX --> PA10 . . . CN8 pin 3
GND  . . . CN5 pin 7 and others
+
              GND  . . . CN5 pin 7 and others
  
  

Revision as of 21:53, 30 August 2022

2022-08-01 Notes on bootloaders for microcontrollers

Keywords: bootloader :: bootloaders :: serial bootloader :: serial bootloading


A starting point, which links to five articles on differing bootloading approaches:


2022-08-03

What is a serial bootloader and how is it used?

Following link gives Silabs example, but is not a good general explanation:


^ Atmel bootloader


^ STMicro bootloaders

Following is an interesting link in that it appears to cause web browser to download the linked pdf file, and then subsequent visits to this link redirect to the local downloaded copy:


QUESTION: How to enter bootloader? activate bootloader for STM32 parts?

ANSWER: In a general sense STM32 bootloader activation depends often on both certain config register bits settings and also one or two pin states at power up. For the STM32WL55, document AN2606 pages 28 and 370 give us a starting point for the names of the configuration registers in which to set or clear certain bits, and the name of the pin, BOOT0, to hold high or low at power up. Each MCU family or line has variations on this theme . . .


With the STM32WL55xx Nucleo board, STMicro's AN2606 application notes document says that USART1 is enabled with RX and TX lines assigned to PA10 and PA9 respectively. These MCU pins map to connectors and connector pins:

USART1 TX --> PA9  . . . CN5 pin 2
USART1 RX --> PA10 . . . CN8 pin 3
              GND  . . . CN5 pin 7 and others


^ RP2040 bootloaders


^ References