公司新做的 STM8L151C8T6 板子, IAR调试出现这个问题:
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是正常的,可以连上开发板。
离线
离线
STM8L芯片貌似没有 VCAP引脚.
离线
电压3V3正常,新的STM8L芯片默认用内部晶振, 应该没有写保护。
交换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
看起来和电路有关系。
离线