Using eval board for LPC2370, can use IAP to prepare, erase and blank check sectors 9 and 10. When I try to copy to flash starting at beginning of sector 9 (adress 0x10000 is this case) get "sector not prepared for write error". I do have interrupts disabled during write/erase operatrions.