CC2541 IAR 9.10 更换代码后无法烧写固件
时间:10-02
整理:3721RD
点击:
CC2541我使用的是IAR 9.10 之前成功下载过代码,但是我换了一份代码之后,就出现
Mon Aug 17, 2015 15:27:48: Chip Erase caused Flash lock protection to be cleared.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 0 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 1 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 2 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 3 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 4 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 5 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 6 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 7 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 8 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 9 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 10 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 11 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 12 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 13 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 14 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 15 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 16 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 17 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 18 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 19 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 20 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 21 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 22 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 23 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 24 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 25 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Download completed and verification successful.
怎么解决?
Mon Aug 17, 2015 15:27:48: Chip Erase caused Flash lock protection to be cleared.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 0 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 1 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 2 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 3 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 4 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 5 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 6 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 7 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 8 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 9 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 10 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 11 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 12 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 13 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 14 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 15 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 16 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 17 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 18 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 19 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 20 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 21 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 22 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 23 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 24 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Warning: Flash page 25 is locked and was not written to.
Mon Aug 17, 2015 15:27:48: Download completed and verification successful.
怎么解决?
你可以尝试一下使用flash programmer 2读出该芯片的内容,你看是否能读的出来?
很有可能是电源问题,查下供电电压是否稳定