STM8L151F3 Bootloader
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-03-15 4:43 AM
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
Labels:
- Labels:
-
Bootloader
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-03-15 8:30 AM
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).