Hi @YingyingLu Apologies for the delayed update on this. We have received the below feedback from the Product team on this change.
LevelX NAND logic is modified in version 6.2.1. The new logic does not need defragment for now. As an alternate approach to this, we can use
lx_nand_flash_sector_release to release unused sectors, and the block will be freed.
Hope this helps. Please let us know if you have any additional questions or need further clarification. We would be glad to assist you.
If the response helped, please do click Accept Answer and Yes. Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.