IAR中出现 Failed to write memory at 0x866E: SWIM PROG error [42008]: Attempt to write to protected area
2014-12-31 20:54
405 查看
最近用ST-LINK在IAR编译器里下载STM8单片机的程序,总是出现SWIM PROG error [42008] Attempt to write to protected area这样的错误提示。后来无意间找到主界面上的ST_LINK下拉框,选择了Option Bytes。随后出现一个提示窗口,大概内容就是需要解除写保护才能操作,我确定之后退出来就发现已经可以下载程序了。现将我的方法分享给大家,希望能给遇到同样问题的伙伴们提供一些参考。
![](https://oscdn.geek-share.com/Uploads/Images/Content/201707/61c17ed2eb67211a84e137429ac3f7ad.gif)
![](https://oscdn.geek-share.com/Uploads/Images/Content/201707/61c17ed2eb67211a84e137429ac3f7ad.gif)
相关文章推荐
- IAR的STlink下载出现 Failed to set configuration with MCU name STM8S207MB: SWIM error [30006]:解决办法
- DM642使用ccs3.1时GEL的问题:GEL: Error calling OnPreFileLoaded(): memory map prevented write to target memory at 0x01800054
- modelsim仿真ISE工程时出现# ** Error: (vlog-19) Failed to access library 'rtl_work' at "rtl_work
- xilinx ISE 软件仿真时出现 Error: (vlog-19) Failed to access library 'rtl_work' at "rtl_work"解决办法
- modelsim仿真ISE工程时出现# ** Error: (vlog-19) Failed to access library 'rtl_work' at "rtl_work"
- 编译apk时出现“Error conversion to Dalvik format failed with error 1”的解决方法
- error: Data verification failed at address 0xxxx Please verify target memory and memory map
- 在真机上调试时出现“Error launching remote program: failed to get the task for process xxx"的解决方案
- 安装虚拟机时出现Failed to create the requested registry key Key installer:Error 1021的解决办法
- android中使用代码混淆出现Conversion to Dalvik format failed with error 1错误的解决办法
- 在android中使用proguard混淆代码出现“Conversion to Dalvik format failed with error 1”错误的解决方法
- Tornado启动仿真器时出现错误:error : simulator failed to initialize before timeout.
- IBM AppScan 7.8.1 更新安全规则库后出现“AppScan Severe Error: Failed to load rules/advisories file”错误的解决方案
- ios在真机上调试时出现“Error launching remote program: failed to get the task for process xxx"解决办法
- Message: Attempted to read or write protected memory. This is often an indication that other memory
- 在android中使用proguard混淆代码出现“Conversion to Dalvik format failed with error 1”错误的解决方法
- Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
- magento -- 使用magento connect 安装模块时出现ERROR: failed to mkdir ......
- 在android中使用proguard混淆代码出现“Conversion to Dalvik format failed with error 1”错误的解决方法
- The error about "Attempt to access the method failed"