Re: [U-Boot] Strange data behaviour

2009-02-18 Thread Kim Phillips
On Wed, 18 Feb 2009 09:19:08 +0100 Remco Poelstra wrote: > Wolfgang Denk schreef: > > I bet you are using a plain pointer access without a "volatile", > > which is essential here. Maybe even some form of "sync" is needed. In > > any case, you should use appropriate accessor functions to

Re: [U-Boot] Strange data behaviour

2009-02-18 Thread Remco Poelstra
Wolfgang Denk schreef: >> U0THR = hex_data[(0xDEADBEEF>>4)&0xF]; >>} >> } >> --- >> When I run it likes this I get 8 E's. Which is what I expect. When I run >> it with the commented-out line, I get back 8 0x0's. So it seems that the >> output is only correct when it is consta

Re: [U-Boot] Strange data behaviour

2009-02-17 Thread Wolfgang Denk
Dear Remco Poelstra, In message <499aa5b8.7030...@duran-audio.com> you wrote: > > I'm trying to get my LPC2468 based board to work. I've some problems > with the external memory databus. > I would like to know the settings of internal registers to see whether > I've initialized them correctly,

[U-Boot] Strange data behaviour

2009-02-17 Thread Remco Poelstra
Hi, I'm trying to get my LPC2468 based board to work. I've some problems with the external memory databus. I would like to know the settings of internal registers to see whether I've initialized them correctly, so I tried making a function that prints the content over the serial link. I'm still