Working with Intel TE28F640J3A and Axis ETRAX100LX processor I ran over a bug in cfi_cmdset_0001.c: do_write_buffer. It checks ready state 20 times but does not resend Write-to-Buffer command (E8) before new checks. So if it was not ready first time it will never be ready later. Andrey Filippov