eclipse-threadx / levelx

Eclipse ThreadX - LevelX Provides Flash Wear Leveling for FileX and Stand Alone purposes.
https://github.com/eclipse-threadx/rtos-docs/blob/main/rtos-docs/levelx/index.md
MIT License
102 stars 61 forks source link

levelx rewrite a nand physical page twice!!! #15

Closed yinglli closed 1 year ago

yinglli commented 2 years ago

when i tested the sample nand simulator,i got an error: _lx_nand_flash_simulator_system_error block:0 page:0 error_code:5

when format media,_lx_nand_flash_open is called,it writes the initial erase count 1 into block n,page 0. when the block is full, it rewrites the page 0, the error occurs. Also, i found that levelx rewrites the nand spare several times. As i know, one nand page is writted, we should erase the block before write the same page again.

bhnaphade commented 2 years ago

@yinglli thank you for the feedback, we are working on single write implementation on nand flash

bhnaphade commented 1 year ago

This issue is fixed in release v6.2.1