我初学ARM,在裸机(不嵌入系统)下进行系统寄存器的初始化后,希望在P0-P17的管脚上量到电平,但当我
在AXD下单步执行到“IOPCON=0x00000000;”时,在AXD的system output monitor窗口显示“RDI warning
00148: can't set point”,若做连续执行,则显示“DBE warning 00085: the target has stopped
because of a hardware beakpoint or watchpoint”请问这是什么错误,使系统初始化的问题吗?怎么解决
?先谢了!!!
程序:(汇编)
IMPORT Main AREA Init,CODE,READONLY ENTRY LDR SP,=0X3FE1000 BL Main B . END (c语言) int Main(void) {
SYSCFG=0xE7FFFF82; EXTDBWTH=0x0FFFFFFF; ROMCON0=0x02000060; DRAMCON0=0x14010380; REFEXTCON=0xce3383fd; IOPCON=0x00000000; IOPMOD=0xFFFFFFFF; IOPDATA=0x55555555; while(1); }