STM8的烧写
2020-06-07 来源:eefocus
最近一次烧写STM8遇到以下问题
1.Error : Cannot communicate with the tool.
Wrong tool selection or check tool power supply or check that a previous session is closed.
Error : < PROGRAM MEMORY programming failed.
和stlink的链接出问题,
有两种情况:
a.仿真器未连接
b.驱动没装好
2.Error : Cannot communicate with the device !
Check the SWIM cable connection and check all the needed pin connections on the SWIM connector.
If the application code uses Swim Disable and Reset pin as Output or has disabled SWIM Clock Divider:
Try Now to SWITCH OFF and ON the application Power Supply while NRST Reset pin is forced low.
Error : < PROGRAM MEMORY programming failed.
和板子的通信出现问题
有三种情况:
a.连接板子出错,检查有无连线,以及连线是否正确
b.旧的仿真器没有给板子供电
c.STM8板子上外接的板子因为是独立供电的,对STM8的电平情况构成了干扰
相关文章