Hi pasad,

I haven't had this problem exact problem. But I've had a lot of board isues before i got the MCF5208 to boot even properly. The MCF5208 seems to pretty sensetive regarding Voltage supply and in the errata datasheet form Freescale mentions an "Potential boot failure when using 32-bit wide SDRAM", which seems to be fixed with 2M28B mask set. Did you add the reset configuration (resistors or LVX573) in 32-bit mode? Most likely it thinks its using the flash memory in split mode(16-bit). Could you keep me updated with you errors by using the forum or possibily by email: [EMAIL PROTECTED] This would improve the process. The forum would offcourse be best lay down some problems, so others may benefit also from our experience.

Ferry de Groot
[EMAIL PROTECTED]

From: Prasad <[EMAIL PROTECTED]>
Reply-To: uClinux development list <[email protected]>
To: "uClinux development list" <[email protected]>
Subject: Re: [uClinux-dev] Porting DBUG MCF5208 to 32-bits mode
Date: Wed, 7 Mar 2007 14:09:18 -0800

Hi,
I have the same kinda hardware using 2 SDRAM's connected to MCF5208
(D0-D15 to one sdram and D16-D31 to another). When i pull the DDRAMSEL
to high(SDRAM), then i couldn't view the flash memory content through
the coldfire-debugger. If i put the DRAMSEL to low(which is DDR and is
wrong) i could view the flash memory content. Seems like some kinda
bus contention to me. I checked the rest of the connection. Seems to
be identical to the eval board.

Went back to the eval board and checked the same. It also exhibited
the same way once i moved the jumper to make the DRAMSEL to high. How
did u make the system boot-up properly with 2 SDRAM's and also view
the flash content from debugger ?

- dp


On 2/4/07, Ferry de Groot <[EMAIL PROTECTED]> wrote:
That was pretty much also what I expected to. The applicatrion seemed never
to use any of the hardware configuration. Is there some reference for
porting it to an 32-bits design? I've been look at the other DBUG
applications but these seems to use mostly 16-bits split mode and some of
them use other Registers names. Since some I've seen some few discussion
about using 32-bit mode for teh MCF5208, does anybody want to share some
there source code about the SDRAM initialisation for instance? Or any
suggestoin are alwas welcome.

Ferry de Groot


>From: "Bob Furber" <[EMAIL PROTECTED]>
>Reply-To: uClinux development list <[email protected]>
>To: "uClinux development list" <[email protected]>
>Subject: RE: [uClinux-dev] Porting DBUG MCF5208 to 32-bits mode
>Date: Fri, 2 Feb 2007 18:06:34 -0800
>
>Hi Ferry,
>
> > Anyway where can I find the system initialisation of the MCF5208 in the
> > uClinux distribution?
>
>Much of the initialization is done by dBUG, which then runs uClinux. You
>should be able to download the dBUG source code from the Freescale website.
>
>I believe that uClinux probes the flash to figure out how to interact with
>it ..provided it is CFI flash. I am not certain about this, though.
>
>Bfn,
>
>Bob Furber
>
>
> > Ferry de Groot
> >
> > >From: "Bob Furber" <[EMAIL PROTECTED]>
> > >Reply-To: uClinux development list <[email protected]>
> > >To: "uClinux development list" <[email protected]>
> > >Subject: RE: [uClinux-dev] Porting DBUG MCF5208 to 32-bits mode
> > >Date: Mon, 29 Jan 2007 09:21:36 -0800
> > >
> > >Hi Ferry,
> > >
> > > > We've just made an board with MCF5208EVB with, 2 x 16 bits
> > > > K4S641632H SDRAM
> > > > and 2 x 16 bits S29JL032H Flash memory. Since the evalution
> > board design
> > > >         :
> > > > In other words is there an part
> > > > in the flash memory where its stores the hardware
> > configuration, such as
> > > > telling it's running in 32 bits SDRAM mode? Or does the pin
> > > > DRAMSEL describe this all?
> > >
> > >You will have to modify sysinit.c (..\proj\m5208evb\src\sysinit.c on
>the
> > >M5208EVB dBUG project) to support your SDRAM.
> > >
> > >You will also have to change ..\src\dev\flash\amd_flash.c and
> > amd_flash.h
> > >to
> > >support your flash and in the equivalent of
> > ..proj\m5208evb\src\m5208evb.h
> > >you will wnat to change "#define AMD_FLASH_AM29BDD160GB_16BIT" to
>specify
> > >your flash.
> > >
> > > > DBUG uses several files for programming configuration files the
> > > > programmer
> > > > such as the mcf5208.cfg, but these seem to used by the programmer
> > > > it self.
> > >
> > >I am not sure what you mean by "the programmer"
> > >
> > > > Some of the linker configuration files flash.lcf and sdram.lcf in
> > > > 5208_DBUG\dbug\proj\m5208evb\build\mwerks refer to the hardware
> > > > configuration, but I can't see any reference to 32 bits SDRAM
> > mode. Do I
> > > > need to change one of these files to get it running.
> > >
> > >I can't speak to MWerks. But, gor GCC you will want to adjust
> > RAM and flash
> > >sizes in the equivalent of \proj\m5208evb\build\gnu\flash.ld.
> > >
> > > > Ferry de Groot
> > > >
> > > > _________________________________________________________________
> > > > Windows Live Mail: Kies je eigen kleur, indeling en contacten!
> > > > http://imagine-windowslive.com/mail/launch/default.aspx?Locale=nl-nl
> > > >
> > > > _______________________________________________
> > > > uClinux-dev mailing list
> > > > [email protected]
> > > > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> > > > This message was resent by [email protected]
> > > > To unsubscribe see:
> > > > http://mailman.uclinux.org/mailman/options/uclinux-dev
> > > >
> > >
> > >
> > >_______________________________________________
> > >uClinux-dev mailing list
> > >[email protected]
> > >http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> > >This message was resent by [email protected]
> > >To unsubscribe see:
> > >http://mailman.uclinux.org/mailman/options/uclinux-dev
> >
> > _________________________________________________________________
> > Profiteer van de nieuwe, fantastische voordelen van Live Mail!
> > http://imagine-windowslive.com/mail/launch/default.aspx?Locale=nl-nl
> >
> > _______________________________________________
> > uClinux-dev mailing list
> > [email protected]
> > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> > This message was resent by [email protected]
> > To unsubscribe see:
> > http://mailman.uclinux.org/mailman/options/uclinux-dev
> >
>
>
>_______________________________________________
>uClinux-dev mailing list
>[email protected]
>http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
>This message was resent by [email protected]
>To unsubscribe see:
>http://mailman.uclinux.org/mailman/options/uclinux-dev

_________________________________________________________________
Geef jouw Hotmail kleur met Windows Live Mail! Stap nu over!
http://imagine-windowslive.com/mail/launch/default.aspx?Locale=nl-nl

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

_________________________________________________________________
Nieuws: Windows Live Mail met rechtermuis- en versleepfuncties! http://imagine-windowslive.com/mail/launch/default.aspx?Locale=nl-nl

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to