请老师指教一下,我现在烧不了程序了。
Error: Read status value 0x0001 from symbol PRG_status
Flash algorithm failed during clear operation
这是提示的错误信息。
MEMORY
{
PAGE 0:
VECS: origin = 00000h, length = 00040h
PROG: origin = 00044h, length = 07FBCh
SARAM: origin = 08000h, length = 00800h
EX1_PM : ORIGIN=08800h , LENGTH=07600h
B0: origin = 0FF00h, length = 00100h
PAGE 1:
REGS : ORIGIN=0h , LENGTH=60h
BLK_B2 : ORIGIN=60h , LENGTH=20h
BLK_B0 : ORIGIN=200h , LENGTH=100h
BLK_B1 : ORIGIN=300h , LENGTH=100h
SARAM_D : ORIGIN=0800h , LENGTH=0800h
PERIPH : ORIGIN=7000h , LENGTH=1000h
EX2_DM : ORIGIN=8000h , LENGTH=8000h
PAGE 2:
IO_EX : ORIGIN=0000h , LENGTH=0FFF0h
IO_IN : ORIGIN=0FFF0h , LENGTH=0Fh
}
/*--------------------------------------------------------------------------*/
/* SECTIONS ALLOCATION */
/*--------------------------------------------------------------------------*/
SECTIONS
{
.text : { } > PROG PAGE 0
.cinit : { } > PROG PAGE 0
.switch : { } > PROG PAGE 0
.const : { } > SARAM_D PAGE 1
.data : { } > SARAM_D PAGE 1
.bss : { } > SARAM_D PAGE 1
.stack : { } > SARAM_D PAGE 1
}
这是我的CMD
请问老师这是怎么回事啊?请老师帮我分析一下。为了避免再出错,请指出烧程序前要做好哪些准备工作。
以前我烧程序成功过,但现在怎么也烧不进去了,我是个新手,请老师回答,并希望老师能说得具体些,我毕竟是个新手,对有些术语还不是很清楚。谢谢!!