初级会员

- 积分
- 135
- 金钱
- 135
- 注册时间
- 2014-10-11
- 在线时间
- 0 小时
|
5金钱
最近开始用stm32f107,发现始终无法用ISP下载,BOOT0为1,BOOT1为0,都没问题,USART3串口通信也是正常的。
网上解释如下:
查到了,是stm32的bug
请参考errata sheet
==============
2.13 Bootloader unavailability on STM32F105xx and
STM32F107xx devices with a date code below 937
Description
During the boot loader activation phase, if the USART1_RX (PA10), USART2_RX (PD6,
remapped pin), CAN2_Rx (PB5, remapped pin), OTG_FS_DM (PA11) and/or OTG_FS_DP
(PA12) pin(s) are connected to low level or left floating, the boot loader cannot be used. It is
not possible to connect to the bootloader through either of CAN2 (remapped), DFU (OTG
FS in Device mode), USART1 or USART2 (remapped).
In 64-pin packages, the USART2_RX remapped pin PD6 is not available and is internally
grounded. Therefore, the bootloader cannot be used at all.
Workaround
● For 64-pin packages: none. The bootloader cannot be used.
● For 100-pin packages: depending on the used peripheral, the pins for the unused
peripherals have to be kept at a high level during the boot loader activation phase as
described below:
– If USART1 is used to connect to the bootloader: PD6 and PB5 have to be kept at a
high level
– If USART2 is used to connect to the bootloader: PA10, PB5, PA11 and PA12 have
to be kept at a high level
– If CAN2 is used to connect to the bootloader: PA10, PD6, PA11 and PA12 have to
be kept at a high level
– If DFU is used to connect to the bootloader: PA10, PB5 and PD6 have to be kept
at a high level
Note: This limitation concerns only STM32F105xx and STM32F107xx devices with a date code
below 937.
STM32F105xx and STM32F107xx devices with a date code of 937 and above are not
impacted.
See Appendix A: Revision and date codes on device marking for where to find the date code
on the device marking.
我想问下有没有谁解决过这问题?使ISP下载功能实现?求指教 |
|