Carl-Daniel Hailfinger wrote: > @@ -64,6 +69,7 @@ > > int total_size; > int page_size; > + struct eraseblock eraseblocks[4]; I don't know.. What about chips with more blocks than 4? //Peter