STM32下载程序问题解决:Can not read memory! Disable Read Out Proyection and try.
用keil+stlink给STM32单片机下载程序出现这个问题:Can not read memory! Disable Read Out Proyection and try.
意思是无法访问内存,关闭读保护后重试。
出现这个问题的原因是因为单片机的FLASH开启了写保护,需要解除写保护后才能够对STM32刷程序。
解决办法:
下载安装ST官方的软件STM32 ST-LINK Utility
,选择target->Option Bytes...
ST官网软件下载地址:https://www.st.com/zh/development-tools/stsw-link004.html
ends…