From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Tue, 19 Jan 2010 15:04:18 +0100 Subject: [U-Boot] Solved: U-Boot (porting) problem on MCF5445x board In-Reply-To: <20100119131716.GC23389@leila.ping.de> References: <20100114143353.GC4092@leila.ping.de> <20100114161533.GD4092@leila.ping.de> <20100114165307.GE4092@leila.ping.de> <20100119131716.GC23389@leila.ping.de> Message-ID: <20100119140418.C857CC88AE@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Wolfgang Wegner, In message <20100119131716.GC23389@leila.ping.de> you wrote: > > The problem turned out to be a simple SDRAM setup problem. > I had set "burst read to read/precharge delay" and "burst write > to read/write/precharge delay" by 1 too low. > > Don't know how I messed these values up, but these lead to all > memory accesses in single-step mode and via BDM to work correctly > but gave erroneous results in real program execution. > > [note to self: in case of strange errors, always check memory > interface. If triple-checked: check again...] Congrats for fixing it - note that y ou are not the first one to discover this. There is a reason why this topic has a top entry in the FAQ. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offense. - E. W. Dijkstra