cancel
Showing results for 
Search instead for 
Did you mean: 

STM8L151F3 Bootloader

mengsk8086
Associate II
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
1 REPLY 1
Igor Cesko
ST Employee
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).