你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

STM8下载时出现"Programming failed on Option Byte"

[复制链接]
armauk 提问时间:2013-9-25 11:22 /
STM8S103K3,   ST LINK V2 整个上午都碰到,快崩溃了,
 ST LINK V2拔了再手上,STVP卸了再重装,不行,能想到的都做了,最后还是NO!
QQ图片20130925092245.jpg
收藏 评论3 发布时间:2013-9-25 11:22

举报

3个回答
回答时间:2013-9-25 13:28:20

RE: STM8下载时出现

1)请用STVP解锁
2)STM8 OPTION BYTES的具体寄存器定义,请看STM8数据手册
dzc2001 回答时间:2013-9-25 16:42:47

RE: STM8下载时出现

http://www.keil.com/support/docs/3454.htm
上面是Keil给出的答案,应该是可以解释的
ANSWER
Please select the Erase Sectors option rather than Full Chip Erase option, under Cortex-M Target Driver Setup - Flash Download as the erase method when downloading to Flash.
The Full Chip Erase option programs the RDP Key (part of the Flash Option bytes) and disables Flash protection. Because of this, it is not possible to program the Flash Option bytes when the Full Chip Erase option is selected.
Full Chip Erase is intended to recover a protected Flash and will execute automatically when Erase is invoked from the Flash menu. When Download is invoked from the Flash menu, then the erase method selected configured in the Flash Download Setup - Download  Function is used.
照着操作一遍
shenzhifang 回答时间:2014-1-17 01:45:13

回复: STM8下载时出现"Programming failed on Option Byte"

 RST 要接上接电阻
关于意法半导体
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
招聘信息
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
关注我们
st-img 微信公众号
st-img 手机版