WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

A block (128K Byte) of 1.5M data written to the levelx of the main line and the nand partition of 4M will be erased. #42

@wono01

Description

@wono01

A block (128K Byte) of 1.5M data written to the levelx of the main line and the nand partition of 4M will be erased.
Trace the UINT _lx_nand_flash_metadata_allocate (LX_NAND_FLASH * nand_flash) call
_lx_nand_flash_driver_block_erase (nand_flash, block, nand_flash ->lx_nand_flash_base_erase_count+nand_flash ->lx_nand_flash_erase_count_table [block]) has been erased
, I locally implemented erase_count to erase multiple blocks, but the simulator only erased one block,
UINT _lx_nand_flash_simulator_block_erase (ULONG block, ULONG erase_count)
LX_PARAMETER_NOT_USED (erase_count);
According to the context, only one block is added to the list below, and it should be correct to erase only one block. I want to know the correct usage of erase_count.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions