操作系统:WINDOWS 10
开发环境:IAR FOR STM8 7.1.4
下载器 : ST-LINK
开发语言:C
第一次用IAR 给 stm8,编写程序,编译通过后,用ST-LINK烧录程序,出现这个错误,烧录失败
- C-SPY Processor Descriptor V2.10.2.149 for STM8
- C-SPY Debugger Driver, ST-LINK V2.10.2.149 for STM8
- Connected to STM8 SWIM Debugging system, STM8-SWIM 1.6.10, GDI Version 1.2.6
- Errors while setting configuration with MCU name STM8S103K3: gdi-error [40301]: The Flash Memory Read-out protection option must be disabled for debug. Disabling this option will first erase the whole
- Flash Memory.
- C-SPY Processor Descriptor V2.10.2.149 for STM8
- C-SPY Debugger Driver, ST-LINK V2.10.2.149 for STM8
- Connected to STM8 SWIM Debugging system, STM8-SWIM 1.6.10, GDI Version 1.2.6
[color=rgb(51, 102, 153) !important]复制代码
- Failed to set ROP flag!
- Failed to set option byte: gdi-error [40703]: Option bytes badly programmed to the chip
- Failed to erase memory by toggling the "Read-Out Protection" bit.
[color=rgb(51, 102, 153) !important]复制代码
然后这个芯片就不能用了,这个芯片之前别人用正常,我烧录就坏了,我烧录过的芯片都坏了,已经坏了三片。硬件电路检查多次是没有问题的。
感觉芯片被锁住了,怎么解决啊,help me |
|