This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Problem in modify ecos for EDB7312
- To: ecos-discuss at sources dot redhat dot com
- Subject: [ECOS] Problem in modify ecos for EDB7312
- From: Peihong Li <liphhz at yahoo dot com>
- Date: Mon, 3 Sep 2001 10:56:07 -0700 (PDT)
All,
I am trying to modify ecos V1.3 (based on the
edb7212's) for my edb7312. What I have done on
hal_platform_setup.h is as follow:
......
#define INIT_MEMORY_CONFIG \
/* Initialize memory configuration ;\
ldr r1,=MEMCFG1 ;\
//*** ldr r2,=0x8200A080 ;\
ldr r2,=0x1f101710 ;\
str r2,[r1] ;\
ldr r1,=MEMCFG2 ;\
//*** ldr r2,=0xFEFC0000 ;\
ldr r2,=0x00001f13 ;\
str r2,[r1] ;\
//*** ldr r1,=DRFPR ;\
//*** ldr r2,=0x81 /*DRAM refresh=64KHz */ ;\
//*** strb r2,[r1] ;\
ldr r1,=0x80002300 ;\
ldr r2,=0x00000522 ;\
str r2,[r1] ;\
ldr r1,=0x80002340 ;\
ldr r2,=0x00000240 ;\
str r2,[r1]
#endif
......
But it still cannot connect with arm-elf-gdb. Who can
tell me why?
Thanks,
Peihong Li
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com