Other Parts Discussed in Thread: C2000WARE
Tool/software:
Hi champs,
I am asking this for our customer.
The user wants to erase/program only one sector in 32 – 127 sectors.
From P10 of the flash API doc below, because of Fapi_setupBankSectorEnable(), where each bit in CMDWEPROTB is used to configure protection for 8 sectors together, it seems impossible to erase/program only one sector.
Is it correct?
If so, why do we have smaller sectors which can't be erased/programmed?
If not, would you please show us how to erase/program only one sector?