diff --git a/src/spiFlashdb.hpp b/src/spiFlashdb.hpp index f82490d..0b67727 100644 --- a/src/spiFlashdb.hpp +++ b/src/spiFlashdb.hpp @@ -283,6 +283,20 @@ static std::map flash_list = { .bp_len = 5, .bp_offset = {(1 << 2), (1 << 3), (1 << 4), (1 << 5)}} }, + {0xc2201a, { + /* https://www.macronix.com/Lists/Datasheet/Attachments/8745/MX25L51245G,%203V,%20512Mb,%20v1.7.pdf */ + .manufacturer = "Macronix", + .model = "MX25L51245G", + .nr_sector = 1024, + .sector_erase = true, + .subsector_erase = true, + .has_extended = false, + .tb_otp = true, + .tb_offset = (1 << 3), + .tb_register = CONFR, + .bp_len = 5, + .bp_offset = {(1 << 2), (1 << 3), (1 << 4), (1 << 5)}} + }, {0xef4014, { /* https://cdn-shop.adafruit.com/datasheets/W25Q80BV.pdf */ .manufacturer = "Winbond",