In 37.3.10 FCR : Flash Control Register, the CMDs for erasing the sector/block states: “Set the start address of the target erasure block in the FSARH and FSARL registers, and set the end address of the target erasure block in the FEARH and FEARL registers.” The “end address of the target erasure block” means 1) “address of the last block to erase”: end_address = block_number * 0x800 // means start address of block_127 == 0x3F800 2) “last address of the last erasure block”: end_address = (block_number+1) * 0x800 – 1 // means end/last address of block_127 == 0x3FFFF.
geek
Asked: April 25, 20222022-04-25T12:39:50+05:30 2022-04-25T12:39:50+05:30In: Microcontroller
RA2L1 block erase end address
Share
The register should be set to the last address of the last erasure block.
The register should be set to the last address of the last erasure block.