看一下电源的驱动能力,再测一下输入的IO。
就是供电引起的。话说nb现在死透了吗?
]]>接外部电源了吗?只是ST-LINK供电的话电流不够。
这个有道理, 完全有可能, 两个耗电大户, 凭一个 STLINK供电,够呛.
]]>交换RST, SWIM引脚之后的错误是这样:
Tue Jun 19, 2018 20:51:12: Failed to set configuration with MCU name STM8L152K4: SWIM error [30006]: Comm init error: chip does not answer
不交换是这样:
Tue Jun 19, 2018 20:51:28: Errors while setting configuration with MCU name STM8L152K4: gdi-error [40409]: No answer from the SWIM: check chip connections and power supply; try a power on reset
看起来和电路有关系。
]]>Tue Jun 12, 2018 15:09:57: C-SPY Processor Descriptor V2.10.5.161 for STM8
Tue Jun 12, 2018 15:09:57: C-SPY Debugger Driver, ST-LINK V2.10.5.161 for STM8
Tue Jun 12, 2018 15:09:57: Errors while setting configuration with MCU name STM8L152K4: gdi-error [40409]: No answer from the SWIM: check chip connections and power supply; try a power on reset
stlink是正常的,可以连上开发板。
]]>