I am using the TMS570LS1227 flash bank 7 as data strorage,thus I connfig the fee by HALCoGen,as I have more then 16 data to storage ,I rewrite ti_fee_cfg.c and fee_cfg.h file .
During the test I can read,write the block and erase all the block with TI_Fee_Format(0xA5A5A5A5U),when I only want to erase some blocks ,I use TI_Fee_EraseImmediateBlock(),but it seemed it do not work.
I upload the code and the Memory View picture as below.
Only the first time I call the api it return E_OK,the other time it return E_NOT_OK,and the the block data is keep still ,do not erased from the flash.
Hope you guys can help me,thank you!