xuyejin 发表于 2019-9-23 23:54:50

stm32l011下程序问题

       各位大侠好,我使用STM32L011D3   14脚的芯片,使用ST_LINK V2    MDK5.12,为什么总是连接不上?
也选择了 under reset下连接,也不行,各位大侠能指教下么?

mylovemcu 发表于 2019-9-24 07:51:59

你这一句话也太概括了叫大家怎么回答呢连接不上的问题太多了驱动问题硬件问题设置问题所有问题都有可能

xuyejin 发表于 2019-9-24 21:17:01

连接F103 207都正常的很,怎么就连接L011不上? d:\qq图片1.png

xuyejin 发表于 2019-9-24 21:26:55

我后来把NRST脚也连接到ST-LINK的rst 脚,也不行

radio2radio 发表于 2019-9-24 21:38:48

检查,电有没有,线通不通,有没有接错,接反。

xuyejin 发表于 2019-9-24 21:50:46

谢谢,检查过了,14脚SWDCLK   13脚 SWDIO    电源脚,地线,rst 都对啊

xuyejin 发表于 2019-9-25 22:54:19

PA14 pin on TSSOP14 package acts as an output pin when the embedded bootloader is active (SPI1_MISO). On empty
devices (devices from factory), the bootloader is active due to the empty check mechanism (refer to RM0377 reference
manual). PA14 pin also acts as SWCLK. When programming devices in TSSOP14 for the first time, it is necessary to use the
"connect under reset" method and the SWD interface to disable the bootloader by driving this PA14/SWCLK pin.

and the SWD interface to disable the bootloader by driving this PA14/SWCLK pin.
怎么处理?

xuyejin 发表于 2019-9-25 23:04:13

STM32 ST_LINK UTILITY   TARGET->SETTING里没有选择的地方啊

xuyejin 发表于 2019-9-25 23:08:45

是版本不对么?我安装的是   STSW-LINK009 版本   使用的是国产的ST-LINK V2RISYM 出的

butterflyspring 发表于 2019-9-26 10:37:57

一般来说,STM32的各个电源脚要上电,电源电压最好大于2.4v,小于的话要考验你手中的是哪家的ST-LINK.
其次检查SWD连接关系,不要影响通讯。 再次 看芯片是否进入低功耗(某些情况)。 一般用楼上建议的utility的烧录工具测试连接比较方便:)
页: [1] 2
查看完整版本: stm32l011下程序问题