Skip to main content
Visitor II
March 15, 2016
Question

STM8L151F3 Bootloader

  • March 15, 2016
  • 1 reply
  • 1164 views
Posted on March 15, 2016 at 12:43

Hello!

Have anybody any information on bootloader interface configuration for I couldn't find direct instructions on port connections. I assume they should be PC2 and PC3 pins (due to SYSCFG->RMPCR1 default value) but there is some problem: STM8LF151F3 in UFQFPN20 package have no these pins.

#stm8l151f3 #bootloader
    This topic has been closed for replies.

    1 reply

    ST Employee
    March 15, 2016
    Posted on March 15, 2016 at 16:30

    The STM8L151F3 in 20-pin package has different reset value for SYSCFG->RMPCR1 (0x2C instead of 0x0C for another packages) - see device datasheet: ''Table 8. General hardware register map''. So the USART is mapped after device reset on pins: USART1_TX on PC5 and USART1_RX on PC6. On those pins works also the bootloader. 

    So - bootloader always works on default USART mapping ( but on UFQFPN20 the defaut mapping is different due to PC2/PC3 absence).