Skip to contentSkip to conversation

mpc8315 DDR2 controller

U-Boot Marcos Cunha 2 participants 3 messages Aug 25, 2009 – Aug 31, 2009

lore
Share & tools
lore
#0 lore raw

Dears,

I am using u-boot 1.2.0 for mpc8315e processor with BDI2000 debugger in a new design based on MPC8315ERDB. Our board has a different DDR2 and Flash memory. The flash memory works fine. The problem could be DDR2.

We are using Samsung K4T1G164QE DDR2 Memory. I can read/write DDR2 memory with BDI2000, but I have problems when u-boot try to write the first information in DDR2 memory (lib_ppc/board.c line 493 => *s-- = 0). After that, the program does not work.

There is a breakpoint in this line. After the breakpoint accours, I do a step command and I receive this message from gdb:

Program received signal SIGSTOP, Stopped (signal). 0x00001200 in ?? ()

It could be a problem with DDR2 configuration registers?

Thanks in advance,

Marcos Cunha
Electrical Enginner
Instituto Atl?ntico
www.atlantico.com.br

#1 lore raw

Dear Marcos Cunha,

Quoted 4 lines · In message <[email protected]> you wrote:

I am using u-boot 1.2.0 for mpc8315e processor with BDI2000 debugger in a new design based on MPC8315ERDB. Our board has a different DDR2 and Flash memory. The flash memory works fine. The problem could be DDR2.

U-Boot 1.2.0 is more than 2 years old.

You really should not use such ancient stuff for a new design.

You get the expected reply: please update, use current code and try again. If the problem still persists, please report back.

Best regards,

Wolfgang Denk

Signature · 5 lines
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
Some programming languages manage to  absorb  change,  but  withstand
progress.          -- Epigrams in Programming, ACM SIGPLAN Sept. 1982