external flash erase problem

Started by levy_ariel June 29, 2006
Hi all
I am using the LPC2212 CPU with external flash.
I have two programs, boot and main application.
At first I put both of them in the external flash and all works well.
Now I have put the boot program in the internal flash, and it runs
well.
However, now when I try to erase several external flash block from the
boot application the proces fails.
I can see that the external flash CS is active.
Does anyone have ideas?

An Engineer's Guide to the LPC2100 Series

levy_ariel wrote:

> Hi all
> I am using the LPC2212 CPU with external flash.
> I have two programs, boot and main application.
> At first I put both of them in the external flash and all works well.
> Now I have put the boot program in the internal flash, and it runs
> well.
> However, now when I try to erase several external flash block from the
> boot application the proces fails.
> I can see that the external flash CS is active.
> Does anyone have ideas?
>
Maybe you have interrupts / are attemping to run other code from that
Flash when Erasing / Writing to it?

TomW
--
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net, http://cyberiansoftware.com
"Windows? No thanks, I have work to do..."
----------------