2016-03-15 04:43 AM
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 #bootloader2016-03-15 08:30 AM
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).