PowerPC 405EP - NAND Flash (MT29F2G08AAC)
Hi Guys,
I trying to get nand flashing working for powerpc 405ep, i am currently having some problem with read and writing to the flash. I was wondering if anybody got the MT29F2G08 flash working.
Pawel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080313/e1ef24d0/attachment.htm
Quoted 3 lines · Pawel Pastuszak
I trying to get nand flashing working for powerpc 405ep, i am currently having some problem with read and writing to the flash. I was wondering if anybody got the MT29F2G08 flash working.
Sure. It's working on multiple 405EP implementation I have seen so far. Perhaps not exactly with the NAND chips you mentioned. But that shouldn't really matter. You are aware that the 405EP doesn't have a build-in NAND controller and you need minimal external logic to connect a NAND chip to the 405EP?
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
Yes i am where that there is no NAND controller so did that already and i see stuff happing on my scope. I thought that i was missing something for this flash chip.
I am attaching my nand controllor code could any body tell me if i am missing something for the 405EP i am new to the 405EP processor... But i worked on did processors that i had nand setup and it was a lot lets work.
Most cases all it was just overwrite the ready and hwcontrol functions.
Pawel
Quoted 13 lines · Stefan Roese
Quoted 2 lines · Pawel Pastuszak
I trying to get nand flashing working for powerpc 405ep, i am currently having some problem with read and writing to the flash. I was wondering
if
Quoted 1 line
anybody got the MT29F2G08 flash working.
Sure. It's working on multiple 405EP implementation I have seen so far. Perhaps not exactly with the NAND chips you mentioned. But that shouldn't really matter. You are aware that the 405EP doesn't have a build-in NAND controller and you need minimal external logic to connect a NAND chip to the
405EP?
Quoted 9 lines
Best regards,
Stefan=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080313/85cb6fe8/attachment.htm
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nand.c
Url: http://lists.denx.de/pipermail/u-boot/attachments/20080313/85cb6fe8/attachment.txt
Quoted 7 lines · Pawel Pastuszak
Yes i am where that there is no NAND controller so did that already and i see stuff happing on my scope. I thought that i was missing something for this flash chip.
I am attaching my nand controllor code could any body tell me if i am missing something for the 405EP i am new to the 405EP processor... But i worked on did processors that i had nand setup and it was a lot lets work.
From looking at the code, I wonder *how* you did implement the external logic on your board. I would have thought you connected some of the NAND control pins to 405EP GPIO's. But this doesn't seem to be the case. You are accessing the CMD/ALE singals at different addresses. So what exactly is you external NAND controller logic?
If not, I suggest you take a look at:
board/esd/common/esd405ep_nand.c
This is an 405EP NAND implementation with external logic and signals attached to GPIO's.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
Stefan,
My implemention is using the adddress for ALE/CLE. I did get it working and works great.
I am providing the code that i have my nand flash working with.
P.S. Stefan thanks for the help.
Pawel
Quoted 30 lines · Stefan Roese
Quoted 1 line · Pawel Pastuszak
Yes i am where that there is no NAND controller so did that already and
i
Quoted 1 line
see stuff happing on my scope. I thought that i was missing something
for
Quoted 4 lines
this flash chip.
I am attaching my nand controllor code could any body tell me if i am missing something for the 405EP i am new to the 405EP processor... But
i
Quoted 1 line
worked on did processors that i had nand setup and it was a lot lets
work.
From looking at the code, I wonder *how* you did implement the external logic
on your board. I would have thought you connected some of the NAND control pins to 405EP GPIO's. But this doesn't seem to be the case. You are accessing
the CMD/ALE singals at different addresses. So what exactly is you external
NAND controller logic?If not, I suggest you take a look at:
board/esd/common/esd405ep_nand.cThis is an 405EP NAND implementation with external logic and signals attached
to GPIO's.
Quoted 9 lines
Best regards,
Stefan=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080314/d83c44d9/attachment.htm
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nand.c
Url: http://lists.denx.de/pipermail/u-boot/attachments/20080314/d83c44d9/attachment.txt
Quoted 2 lines · Pawel Pastuszak
My implemention is using the adddress for ALE/CLE. I did get it working and works great.
Ahh, I see. Good.
Quoted 3 lines
I am providing the code that i have my nand flash working with.
P.S. Stefan thanks for the help.
No problem.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================