eraseRegion min/max eraseable bytes

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

eraseRegion min/max eraseable bytes

Jump to solution
499 Views
albrecht
Contributor I

I am using the bootloader to erase Flash with the eraseRegion command.

How big/small is the byte-count that i can use? Do i have to make shure the byteCount fits in the page-size?

I am using a "MK02FN64VLH10".

0 Kudos
1 Solution
370 Views
miduo
NXP Employee
NXP Employee

Hi,

Flash is erased on sector boundaries. For MK02, the minimum erase size is 4K bytes (one sector of program flash). So the eraseRegion min eraseable bytes is 4K.

View solution in original post

1 Reply
371 Views
miduo
NXP Employee
NXP Employee

Hi,

Flash is erased on sector boundaries. For MK02, the minimum erase size is 4K bytes (one sector of program flash). So the eraseRegion min eraseable bytes is 4K.