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
=====================================================================