fillw in external flash.

Hi,

I’m trying to write in my external flash (cfi 64mb) which is in X16 mode.

If I do it from my application, everything seems ok.

Now, I’m trying to do it from openocd. I have configured the bank and so.

I issue the following:

flash fillw 0x803f8000 0x01234567 1

and

flash fillw 0x803f8004 0x76543210 1

When i try to read like this:

mdw 0x803f8000 2

here is what I got :

0x803f8000: ffffffff 76543210

If I do only the first fillw and read the value directly, it’s ok. The first value seems to be erased by the second write.

I’m using an lpc 2212.

Any idea of what’s wrong?

Thanks!