从零开始操作STM8寄存器(风驰iCreate奉献)
【中文资料】初学STM8库函数的中文帮助软件
绝对经典的中文STM8学习手册,淘宝上学习板资料,友情大放送!
【原创教程】风驰iCreate独家开源STM8 27个例程和10多万字的pdf教程
STM8的LCD1602 4线驱动,为什么不工作
【精华资料】由零开始开发STM8
STM8S 的触摸库是如何在主程序中查询键的呢、
【精华资料】STM8的C语言编程1-14讲完整版
【精品教程】STM8系列单片机入门教程系列
STM8 第一次进中断不准【悬赏问答】
RE: STM8下载时出现
2)STM8 OPTION BYTES的具体寄存器定义,请看STM8数据手册
RE: STM8下载时出现
上面是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.
照着操作一遍
回复: STM8下载时出现"Programming failed on Option Byte"