Lpc2292 external flash

Started by July 7, 2005
Hi,

I'd build my own board with 4MB ext. SRAM and 4MB flash. The flash is at49bv320c.
I've try the olimex test program, SRAM test is fine,(after some waitstate tuning:), but flash test is fail. I know that olimex using INTEL flash with other ID, but I can't read the ID either.
It's a 16bit flash, so I connect OE,WE,CS0, lpc-A1 to at49-A0 and so on... I think it must be good.
In my program I setup BCFG0 wait states to max, PINSEL2 is configured to external bus(SRAM is working), A1 line configured to A1, but no success. :(

Any idea what may be the problem? (I have try it with 2 flash, 2 board) Or any other test code, or sure working code for the flash?
(Sorry for bad English)

Andra



An Engineer's Guide to the LPC2100 Series

--- In lpc2000@lpc2..., SzemzAndr <a.szemzo@k...> wrote:
> Hi,
>
> I'd build my own board with 4MB ext. SRAM and 4MB flash. The flash
is at49bv320c.
> I've try the olimex test program, SRAM test is fine,(after some
waitstate tuning:), but flash test is fail. I know that olimex using
INTEL flash with other ID, but I can't read the ID either.
> It's a 16bit flash, so I connect OE,WE,CS0, lpc-A1 to at49-A0 and so
on... I think it must be good.
> In my program I setup BCFG0 wait states to max, PINSEL2 is
configured to external bus(SRAM is working), A1 line configured to A1,
but no success. :(

Hi,

I'm having the same problem like you most likely.

A lpc2292 is connected to 2 m68aw256 and 2 m29w320.
The address lines A2-A22 are connected to the Flash
A0-A20 and A2-A19 to the RAM A0-A17. All 32 data
lines are connected to the respective data lines
on the memory IC's.
Also oe and we are there.
cs0 is used for the Flash and cs1 for the RAM.
And finally I have the 4 bls signals going to the
byte select inputs on the RAM IC's.

I have not tested the Flash yet, only RAM and that
is a no go :-(

bcfg0 and 1 are configured for maximum wait states
and the appropiate address and data bus length.
pinsel2 is also configured according to the UM.
Checked and reconfigured those a zillion times.

Yesterday I looked at the schematics from the olimex
lpc-h2294 board and that is, apart from the Flash
hookup which is 16 bits, the same as the schematic
for my board.

Can you share some more information on your success
and source with the RAM tests ?

TIA

roelof