[U-Boot-Users] 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.

On Thursday 13 March 2008, Pawel Pastuszak wrote:
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@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
On Thu, Mar 13, 2008 at 3:38 PM, Stefan Roese sr@denx.de wrote:
On Thursday 13 March 2008, Pawel Pastuszak wrote:
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@denx.de =====================================================================

On Thursday 13 March 2008, Pawel Pastuszak wrote:
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@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
On Fri, Mar 14, 2008 at 3:15 AM, Stefan Roese sr@denx.de wrote:
On Thursday 13 March 2008, Pawel Pastuszak wrote:
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@denx.de =====================================================================

On Friday 14 March 2008, Pawel Pastuszak wrote:
My implemention is using the adddress for ALE/CLE. I did get it working and works great.
Ahh, I see. Good.
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@denx.de =====================================================================
participants (2)
-
Pawel Pastuszak
-
Stefan Roese