> also if a flash block is locked and I try to flash something
> I have to reboot to reset the flash. both unlock and further
> flashes will fail. Seen on IDR with cvs.
Yeah, I know about this one -- sort of.
For me, the following sequence does succeeed:
<locked partition, e.g., after power cycle with C3 flash>
xdownload partition
flash partition
{flames out, oops}
unlock partition
flash partition
Except that unlock complains that it isn't happy. But it does work.
This is with the C3 flash.
I quickly eyeball'ed the code again, but I don't see anything obviously
wrong. Time to pore over the CFI docs again ... sigh.
I suppose a workaround is to check for locks before attempting flashing
...
-ch
|