In LPC1768, i have to types of software section.
1) bootloader (flash sector 0 to sector 7)
2) system software (flash sector 8 to 12)
when i am trying to write on flash sector 0 to 7 using IAP, from system software. prepare_sector will execute properly but
when i am try to write to sector 0 it is giving error(status 9) stating that sector is not prepared.
(I want to flash bootloader from system software which is not able to do. please suggest me solution).