STM32 ST-LINK Utility解决错误提示“Can not read memory!Disable Read Out Protection and retry”
来源:互联网 发布:数据库事务的原理 编辑:程序博客网 时间:2024/06/06 12:32
硬件及环境:
1.操作系统:win7旗舰版
2.stm32f030开发板
3.ST-LINK V2下载器
4.15cm长度杜邦线4根
硬件连接方式
1.stm32f030开发板通过SWD下载口连接到ST-LINK V2,连线是VCC3.3 SWCLK GND SWDIO四线
2.ST-LINK V2直接连接到电脑USB口
问题现象及解决过程:
1.首先安装keil5.11开发环境,ST-LINK Utility以及ST-LINK V2的驱动。说明:ST-LINK V2的驱动中未包含ST-LINK Utility,需要自行下载
2.在keil5.11中能够找到ST-LINK,说明ST-LINIK V2的驱动没有问题。
3.连接好硬件后,在ST-LINK Utility中,点击Target>connect,出现错误提示: “Can not read memory!Disable Read Out Protection and retry.”
但是可以发现能够读取到设备家族、ID、ID版本、Flash size等信息,说明通信正常。
而且杜邦线长度15cm,ST_LINK V2直接连接到USB上,排除线过长的问题。
4.根据“Disable Read Out Protection and retry.”判断,可能为设备设置了读保护。将ST-LINK V2设备拔下,重新插入USB中,重新启动ST-LINK Utility,不要点击connect,点击“Target > Option Bytes”调出选项字节对话框,发现读保护Read OutProtection 设置为Level 1,如下:
5.将读保护等级设置为Level0后,连接恢复正常。
原因:
由于STM内部提供了数据保护,有读出保护和写保护。禁止读出保护起作用,那么下载器就读不出内容了。是为了防止盗版的功能。做产品应该使用此功能。
- STM32 ST-LINK Utility解决错误提示“Can not read memory!Disable Read Out Protection and retry”
- stm32 read out protection
- STM32 can not read project
- STM32 ST-LINK Utility安装及使用
- stm8 在IAR 下烧写出现The Flash Memory Read-out protection 的解决方法
- The Flash Memory Read-out protection option must be disabled for debug.
- 4-I/O Read and Memory Read
- STM32 ST-LINK Utility无法下载的处理方法
- STM32 ST-LINK Utility无法下载的处理方法
- STM32 ST-LINK Utility介绍、下载、安装、使用方法
- 使用ST-Link Utility去除STM32芯片读写保护
- 解决maven提示:Could not read settings.xml, assuming default values 错误
- ResultSet can not re-read row data 错误
- read physical memory and others
- ResultSet can not re-read
- redis read time out 解决
- Could not read JSON: Can not deserialize instance of java.lang.Integer out of START_OBJECT token
- Could not read JSON: Can not deserialize instance of java.lang.String out of START_OBJECT token
- 安卓之高级控件Spinner下拉框
- Android之控件
- R语言神器
- 1118. Birds in Forest (25)
- ubuntu 12.04 安装Docker 实战
- STM32 ST-LINK Utility解决错误提示“Can not read memory!Disable Read Out Protection and retry”
- 30. 完成sort函数,实现:按照成绩从高到低的顺序输出各学生的信息。
- ISO8583报文协议
- java——类——final
- 权限列表
- 安卓高级控件3之RecyclerView的使用
- caffe-windows 训练mnist数据集
- 安卓之高级控件Listview的优化
- 单选框RadioGroup,单选按钮RadioButton的使用