Key-Value Database for SPI NOR Flash