From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peihong Li To: ecos-discuss@sources.redhat.com Cc: danc@iobjects.com Subject: Re: [ECOS] Problem in modify ecos for EDB7312 Date: Tue, 04 Sep 2001 19:11:00 -0000 Message-id: <20010905021109.27193.qmail@web20203.mail.yahoo.com> References: <00a601c135ae$d0e2f140$4e09a43d@lphnotebook> X-SW-Source: 2001-09/msg00052.html Thx, Dan I have setup the registers for SDRAM - SDCONF(@0x80002300)=0x00000522 and SDRFPR(@80002340)=0x00000102. Is there anything else for SDRAM init? Peihong Li > ----- Original Message ----- > From: "Dan Conti" > To: > Sent: Wednesday, September 05, 2001 2:16 AM > Subject: RE: [ECOS] Problem in modify ecos for > EDB7312 > > > Are you initializing the sdram controller? You can't > use the on board > sdram until you do, and chances are gdb wont load at > all until sdram is > available. > > > -----Original Message----- > > From: Peihong Li [ mailto:liphhz@yahoo.com ] > > Sent: Monday, September 03, 2001 10:56 AM > > To: ecos-discuss@sources.redhat.com > > Subject: [ECOS] Problem in modify ecos for EDB7312 > > > > > > 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