mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-29 09:30:52 +02:00
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:
+16
-1
@@ -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_
|
||||
|
||||
Reference in New Issue
Block a user