问题
给Keil uv5安装新的器件pack时报错。本以为是版本问题,因为以前安装STM32F4的软件包时因为安装的包太新了而报错。于是这次安装STM32L0系列时就下了好几个更低版本的包试试,发现还是报错:Cannot copy psdc file to “.download” folder 。
解决
打开软件根目录,找到:
右键选择“以管理员身份运行”,打开包安装器:
导入软件包 Keil.STM32L0xx_DFP.2.0.0.pack (在官网下载 http://www.keil.com/dd2/pack/ ):
到这里就成功安装了。
总结
安装keil5的器件包时要使用管理员权限打开安装器安装。