我将在我获得它时添加MCU进行预编程并锁定。我已经尝试通过向OPT0(ROP)写入0x00来禁用ROP(在DUKR上设置MASS并设置OPT位之后),我不知道这是否真的有效,但是该单元不再运行提供的程序了最小。
即使发生了什么事,我似乎也无法编写新数据。还有什么可以解锁/擦除MCU吗?
这真是令人沮丧,因为我到目前为止找到的文档(RM0016 - 参考手册STM8S系列和STM8AF系列8位微控制器,UM0470-用户手册STM8 SWIM通信协议和调试模块和PM0051 - 编程手册如何编程STM8S ,STM8A闪存程序存储器和数据EEPROM以及STM8S003F3的数据表都不够详细。
我一直在尝试在网上搜索线索,甚至查看我能找到的开源SWIM程序员项目的来源,但到目前为止我还没能找到丢失的部分。
最好的祝福
垫
以上来自于谷歌翻译
以下为原文
I'll add that the MCU when I got it was preprogrammed, and locked. I've tried disabling ROP by writing 0x00 to OPT0 (ROP) (after MASS on DUKR and setting the OPT bit), and I don't know if that really worked or not, but the unit is not running the supplied program anymore at least.
Even though something happened, I don't seem to be able write new data. Is there anything else to unlocking/erasing the MCU?
This is really frustrating, as the documentation that I've found thus far (RM0016 - Reference manual STM8S series and STM8AF series 8-bit microcontrollers, UM0470- User manual STM8 SWIM communication protocol and debug module and PM0051 - Programming manual How to program STM8S, STM8A Flash program memory and data EEPROM and the data sheet for STM8S003F3) are not detailed enough.
I've been trying to search the web for clues and even look into the source of the open source SWIM programmer projects I can find, but so far I haven't been able to find the missing piece(s).
Best Regards
Mats
我将在我获得它时添加MCU进行预编程并锁定。我已经尝试通过向OPT0(ROP)写入0x00来禁用ROP(在DUKR上设置MASS并设置OPT位之后),我不知道这是否真的有效,但是该单元不再运行提供的程序了最小。
即使发生了什么事,我似乎也无法编写新数据。还有什么可以解锁/擦除MCU吗?
这真是令人沮丧,因为我到目前为止找到的文档(RM0016 - 参考手册STM8S系列和STM8AF系列8位微控制器,UM0470-用户手册STM8 SWIM通信协议和调试模块和PM0051 - 编程手册如何编程STM8S ,STM8A闪存程序存储器和数据EEPROM以及STM8S003F3的数据表都不够详细。
我一直在尝试在网上搜索线索,甚至查看我能找到的开源SWIM程序员项目的来源,但到目前为止我还没能找到丢失的部分。
最好的祝福
垫
以上来自于谷歌翻译
以下为原文
I'll add that the MCU when I got it was preprogrammed, and locked. I've tried disabling ROP by writing 0x00 to OPT0 (ROP) (after MASS on DUKR and setting the OPT bit), and I don't know if that really worked or not, but the unit is not running the supplied program anymore at least.
Even though something happened, I don't seem to be able write new data. Is there anything else to unlocking/erasing the MCU?
This is really frustrating, as the documentation that I've found thus far (RM0016 - Reference manual STM8S series and STM8AF series 8-bit microcontrollers, UM0470- User manual STM8 SWIM communication protocol and debug module and PM0051 - Programming manual How to program STM8S, STM8A Flash program memory and data EEPROM and the data sheet for STM8S003F3) are not detailed enough.
I've been trying to search the web for clues and even look into the source of the open source SWIM programmer projects I can find, but so far I haven't been able to find the missing piece(s).
Best Regards
Mats
举报