add Adesto AT25DF321A support

Add Adesto AT25DF321A (JEDEC 0x1f4701). Tested on GW2A-LV18QN144 with ft2232. Previously detected as unknown, unprotect failed. Fixed with bp_len=3 and global_lock=false.
This commit is contained in:
ND-00 2026-04-09 15:51:30 +03:00 committed by GitHub
parent daa8f26b66
commit 570b790aee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 16 additions and 1 deletions

View File

@ -813,7 +813,22 @@ static std::map <uint32_t, flash_t> flash_list = {
.quad_mask = (1 << 1),
.global_lock = false,
}},
{0x1f4701, {
.manufacturer = "Adesto",
.model = "AT25DF321A",
.nr_sector = 64,
.sector_erase = true,
.subsector_erase = true,
.has_extended = false,
.tb_otp = false,
.tb_offset = (1 << 3),
.tb_register = STATR,
.bp_len = 3,
.bp_offset = {(1 << 2), (1 << 3), (1 << 4), 0},
.quad_register = NONER,
.quad_mask = 0,
.global_lock = false,
}},
};
#endif // SRC_SPIFLASHDB_HPP_