eraseRegion min/max eraseable bytes

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

eraseRegion min/max eraseable bytes

跳至解决方案
508 次查看
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 项奖励
1 解答
379 次查看
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.

在原帖中查看解决方案

1 回复
380 次查看
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.