From f83670996e5e4b4ab51ec5d20349503154ff7642 Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Sat, 14 May 2022 10:16:08 +0200 Subject: [PATCH] spiFlashdb: adding S25FL512S --- src/spiFlashdb.hpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/spiFlashdb.hpp b/src/spiFlashdb.hpp index ba6d806..23b32aa 100644 --- a/src/spiFlashdb.hpp +++ b/src/spiFlashdb.hpp @@ -60,6 +60,19 @@ static std::map flash_list = { .bp_len = 3, .bp_offset = {(1 << 2), (1 << 3), (1 << 4), 0}} }, + {0x010220, { + .manufacturer = "spansion", + .model = "S25FL512S", + .nr_sector = 1024, + .sector_erase = true, + .subsector_erase = false, + .has_extended = true, + .tb_otp = true, + .tb_offset = (1 << 5), + .tb_register = CONFR, + .bp_len = 3, + .bp_offset = {(1 << 2), (1 << 3), (1 << 4), 0}} + }, {0x012018, { .manufacturer = "spansion", .model = "S25FL128S",