In the demonstration of the flash swap feature in the Demo Flash application, the implementation seems to be a hybrid of calls to PFlashSwapCtl and a call to PFlashSwap which utilizes the SwapCallback function. The documentation states in section 10.5 "Note: Callback functions are not currently supported during flash erase or program operations".
Can someone explain why this demo is not a single call to PFlashSwap with calls to erase a programming functions implemented in the callback function? This seems to be the intention of the API author. (see Standard Software Driver (SSD) for C90TFS/FTFx Manual).
Also, does the note mean that the PFlashSwap function does not support erase or program operations OR does it mean the the DEMO does not support erase and program operations in the call back?