From 52696309bb3d2bcd426ee0a3bd275781bec18da7 Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Mon, 21 Feb 2022 08:27:33 +0100 Subject: [PATCH] spiFlashdb: spansion S25FL256S --- src/spiFlashdb.hpp | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/spiFlashdb.hpp b/src/spiFlashdb.hpp index 98c14b5..7221e68 100644 --- a/src/spiFlashdb.hpp +++ b/src/spiFlashdb.hpp @@ -46,6 +46,19 @@ static std::map flash_list = { .bp_len = 3, .bp_offset = {(1 << 2), (1 << 3), (1 << 4), 0}} }, + {0x010219, { + .manufacturer = "spansion", + .model = "S25FL256S", + .nr_sector = 512, + .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", @@ -53,7 +66,7 @@ static std::map flash_list = { .sector_erase = true, .subsector_erase = false, .has_extended = true, - .tb_otp = false, + .tb_otp = true, .tb_offset = (1 << 5), .tb_register = CONFR, .bp_len = 3,